User Tools

Site Tools


crpl:docs:getdigitalis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:getdigitalis [2013/01/14 19:10] – external edit 127.0.0.1crpl:docs:getdigitalis [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#digitalis_Commands|Digitalis Commands]]
 =====  GetDigitalis  ===== =====  GetDigitalis  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|X, Y|Amount of Digitalis at Coordinates |''x1 y1 -- n1 ''|+|X, Y|Amount of Digitalis at Coordinates |''x1 y1 -- f1 ''|
  
  
Line 12: Line 12:
 1 means full health Digitalis is present. 1 means full health Digitalis is present.
 === Examples === === Examples ===
-<code>example goes here</code>  +<code># Sets 20 creeper at the current coords if there is active digitalis every 2 seconds 
- +once 
 + 60 SetTimer0 
 +endonce 
 +CurrentCoords GetDigitalis 1 eq if 
 + GetTimer0 eq0 if 
 + CurrentCoords 20 SetCreeper 
 + 60 SetTimer0 
 + endif 
 +endif</code> 
crpl/docs/getdigitalis.1358190614.txt.gz · Last modified: 2025/02/14 14:56 (external edit)