rust_spread

#Rust spread datum
Simple datum that automatically spreads rust around it.
Simple implementation of automatically growing entity.
Vars | |
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. |
Procs | |
compile_turfs | Compile 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.