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

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_overlayThe rust image itself, since the icon and icon state are only used as an argument

Procs

handle_tool_useWe call this from secondary_tool_act because we sleep with do_after
secondary_tool_actBecause 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

secondary_tool_act

Because do_after sleeps we register the signal here and defer via an async call