User Tools

Site Tools


prpl:setshipenergycap

This is an old revision of the document!


<- 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...
prpl/setshipenergycap.1521068455.txt.gz · Last modified: 2025/02/14 14:56 (external edit)