User Tools

Site Tools


prpl:growstruc

<- PRPL reference <- Everything Else 2

GrowStruc

ArgumentsResultNotation
X Y Enemy int [?] [ int int bool - int [?] ]

Description

Grow the struc at a location. Will grow over any “blueprint”/“redprint” connected. Will do nothing if there is no “blueprint”/“redprint”. The colour of the grown Struc is defined by the “Enemy” parameter.

If there is no blue/red-print, or it cannot make blueprint/redprint due to all of it being full, pushes 0 into the stack. If there is blueprint/redprint and it can place some of the blue/redprint, it will.

Examples

	CurrentCoords 0 GrowStruc pop #Grow one bit of struc every frame, so 30 times per second, then pop the output.
prpl/growstruc.txt · Last modified: 2017/08/08 15:47 by cpaca