/tg/ Station 13 - Modules - TypesVar Details - Proc Details

rust_spread

#Rust spread datum

Simple datum that automatically spreads rust around it.

Simple implementation of automatically growing entity.

Vars

blacklisted_turfsStatic blacklist of turfs we can't spread to.
centreThe very center of the spread.
edge_turfsList of turfs at the edge of our rust (but not yet rusted).
rusted_turfsList of all turfs we've afflicted.
spread_per_secThe rate of spread every tick.

Procs

compile_turfsCompile turfs

Var Details

blacklisted_turfs

Static blacklist of turfs we can't spread to.

centre

The very center of the spread.

edge_turfs

List of turfs at the edge of our rust (but not yet rusted).

rusted_turfs

List of all turfs we've afflicted.

spread_per_sec

The rate of spread every tick.

Proc Details

compile_turfs

Compile turfs

Recreates the edge_turfs list. Updates the rusted_turfs list, in case any turfs within were un-rusted.