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

crafting

Check if a generic atom (because both mobs and the crafter machinery can do it) can potentially craft all recipes, with the exact same types required in the recipe. Then, unless the recipe has the CRAFT_SKIP_MATERIALS_PARITY flag, compare the materials of the crafted result with a spawned instance of the same type to ensure that they match.

Vars

toolsThe tools that have been spawned so far, to be reused in other recipes as well.

Procs

allocate_bottomless_cupAllocate a reagent container with infinite capacity and no reaction to use in crafting
clear_trashClear the area around our crafting movable of objects that may mess with the unit test

Var Details

tools

The tools that have been spawned so far, to be reused in other recipes as well.

Proc Details

allocate_bottomless_cup

Allocate a reagent container with infinite capacity and no reaction to use in crafting

clear_trash

Clear the area around our crafting movable of objects that may mess with the unit test