<- PRPL reference <- Everything Else 2

SETSHIPENERGYCAP

ArgumentsResultNotation
shipUID int [ shipUID int- ]

Description

Examples

#given:
#shipUID ->Ship

<-Ship 50 setShipEnergyCap
# Sets ship energy cap to 50
# A practical "growing reactor"

<-Ship dup getShipEnergyCap 1 setShipEnergyCap
# Energy cap increases by 1 per tick. ... not very good for energy mines...