FANDOM


A constructor is the hardware component that allows a robot to create other robots. Robots can only create types specified in their side file, not of other sides.

Language ReferenceEdit

Variable Meaning
constructor-max-rate
How fast the constructor can run.
constructor-rate
How fast the constructor is running.
constructor-type
ID of the child's type. Upon birth, this is automatically reset to 0.
constructor-progress
How much energy we've put into the child so far.
constructor-remaining
How much energy is needed to finish the child.
child-id
ID of the last child created, or 0.
Operator Stack Diagram Comments
autoconstruct
-- Turn the constructor on iff we have plenty of energy. May start a new child.
balance-type
fraction type -- Sets constructor-type if type's fraction of population < fraction.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.