rust
Adding this element to an atom will have it automatically render an overlay. The overlay can be specified in new as the first paramter; if not set it defaults to rust_overlay's rust_default
Vars | |
rust_overlay | The rust image itself, since the icon and icon state are only used as an argument |
---|---|
Procs | |
handle_tool_use | We call this from secondary_tool_act because we sleep with do_after |
on_interaction | Prevents placing floor tiles on rusted turf |
secondary_tool_act | Because do_after sleeps we register the signal here and defer via an async call |
Var Details
rust_overlay
The rust image itself, since the icon and icon state are only used as an argument
Proc Details
handle_tool_use
We call this from secondary_tool_act because we sleep with do_after
on_interaction
Prevents placing floor tiles on rusted turf
secondary_tool_act
Because do_after sleeps we register the signal here and defer via an async call