SS1984 - Modules - TypesVar Details

crafting_recipe

Crafting recipe datum for defining craftable items and their requirements

Vars

alert_admins_on_craftIf TRUE, alerts admins when this recipe is crafted
always_availibleIf FALSE, this recipe must be learned before becoming available
blacklistType paths of items explicitly not allowed as ingredients (including subtypes if expanded in New())
categoryCategory where this recipe appears in the crafting UI (CAT_* constant)
chem_catalystsReagents needed as catalysts but not consumed (reagent = amount)
nameIn-game display name of the recipe
partsType paths of items that will be placed in the result (e.g. for storage items)
pathtoolsType paths of items needed but not consumed during crafting
reqsType paths of items consumed with their required amounts (type = amount)
resultType path of the item resulting from this craft
subcategorySubcategory for additional organization in UI
timeTime required to complete the craft in deciseconds
toolsTool behaviours of items needed but not consumed during crafting

Var Details

alert_admins_on_craft

If TRUE, alerts admins when this recipe is crafted

always_availible

If FALSE, this recipe must be learned before becoming available

blacklist

Type paths of items explicitly not allowed as ingredients (including subtypes if expanded in New())

category

Category where this recipe appears in the crafting UI (CAT_* constant)

chem_catalysts

Reagents needed as catalysts but not consumed (reagent = amount)

name

In-game display name of the recipe

parts

Type paths of items that will be placed in the result (e.g. for storage items)

pathtools

Type paths of items needed but not consumed during crafting

reqs

Type paths of items consumed with their required amounts (type = amount)

result

Type path of the item resulting from this craft

subcategory

Subcategory for additional organization in UI

time

Time required to complete the craft in deciseconds

tools

Tool behaviours of items needed but not consumed during crafting