byond - Modules - TypesDefine Details

code/__DEFINES/crafting.dm

CRAFTING_MACHINERY_CONSUMEIf the machine is used/deleted in the crafting process
CRAFTING_STRUCTURE_CONSUMEIf the structure is used/deleted in the crafting process
CRAFTING_MACHINERY_USEIf the machine is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it
CRAFTING_STRUCTURE_USEIf the structure is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it
CRAFT_MUST_BE_LEARNEDIf this craft must be learned before it becomes available
CRAFT_ONE_PER_TURFShould only one object exist on the same turf?
CRAFT_IS_FULLTILESetting this to true will effectively set check_direction to true.
CRAFT_CHECK_DIRECTIONIf this craft should run the direction check, for use when building things like directional windows where you can have more than one per turf
CRAFT_ON_SOLID_GROUNDIf the craft requires a floor below
CRAFT_CHECK_DENSITYIf the craft checks that there are objects with density in the same turf when being built

Define Details

CRAFTING_MACHINERY_CONSUME

If the machine is used/deleted in the crafting process

CRAFTING_MACHINERY_USE

If the machine is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it

CRAFTING_STRUCTURE_CONSUME

If the structure is used/deleted in the crafting process

CRAFTING_STRUCTURE_USE

If the structure is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it

CRAFT_CHECK_DENSITY

If the craft checks that there are objects with density in the same turf when being built

CRAFT_CHECK_DIRECTION

If this craft should run the direction check, for use when building things like directional windows where you can have more than one per turf

CRAFT_IS_FULLTILE

Setting this to true will effectively set check_direction to true.

CRAFT_MUST_BE_LEARNED

If this craft must be learned before it becomes available

CRAFT_ONE_PER_TURF

Should only one object exist on the same turf?

CRAFT_ON_SOLID_GROUND

If the craft requires a floor below