User Tools

Site Tools


crpl:docs:getdigitalis

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Digitalis Commands

GetDigitalis

ArgumentsResultNotation
X, YAmount of Digitalis at Coordinates x1 y1 – f1

Description

Pushes the amount of digitalis at map coordinates X,Y. Digitalis will be between 0 and 1. 0 means no Digitalis is present and 1 means full health Digitalis is present.

Examples

# Sets 20 creeper at the current coords if there is active digitalis
once
	60 SetTimer0
endonce
CurrentCoords GetDigitalis 1 eq if
	GetTimer0 eq0 if
		CurrentCoords SetCreeper 20
		60 SetTimer0
	endif
endif
crpl/docs/getdigitalis.1447956110.txt.gz · Last modified: 2025/02/14 14:56 (external edit)