transformer
Vars | |
acceptdir | The direction that mobs must moving in to get transformed. |
---|---|
cooldown_duration | Cooldown between each transformation, in deciseconds. |
is_on_cooldown | If the factory is currently on cooldown from its last transformation. |
masterAI | The AI who placed this factory. |
robot_cell_type | The type of cell that newly created borgs get. |
transform_dead | TRUE if the factory can transform dead mobs. |
transform_standing | TRUE if the mob can be standing and still be transformed. |
Procs | |
do_transform | Transforms a human mob into a cyborg, connects them to the malf AI which placed the factory. |
initialize_belts | Used to create all of the belts the transformer will be using. All belts should be pushing WEST . |
reset_cooldown | Resets is_on_cooldown to FALSE and updates our icon. Used in a callback after the transformer does a transformation. |
Var Details
acceptdir
The direction that mobs must moving in to get transformed.
cooldown_duration
Cooldown between each transformation, in deciseconds.
is_on_cooldown
If the factory is currently on cooldown from its last transformation.
masterAI
The AI who placed this factory.
robot_cell_type
The type of cell that newly created borgs get.
transform_dead
TRUE if the factory can transform dead mobs.
transform_standing
TRUE if the mob can be standing and still be transformed.
Proc Details
do_transform
Transforms a human mob into a cyborg, connects them to the malf AI which placed the factory.
initialize_belts
Used to create all of the belts the transformer will be using. All belts should be pushing WEST
.
reset_cooldown
Resets is_on_cooldown
to FALSE
and updates our icon. Used in a callback after the transformer does a transformation.