code/__DEFINES/crafting.dm ![code/__DEFINES/crafting.dm0](git.png)
CRAFTING_MACHINERY_CONSUME | If the machine is used/deleted in the crafting process |
---|---|
CRAFTING_STRUCTURE_CONSUME | If the structure 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_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 |
STACK_CHECK_CARDINALS | Checks if there is an object of the result type in any of the cardinal directions |
STACK_CHECK_ADJACENT | Checks if there is an object of the result type within one tile |
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_IS_FULLTILE | Setting this to true will effectively set check_direction to true. |
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_ON_SOLID_GROUND | If the craft requires a floor below |
CRAFT_CHECK_DENSITY | If the craft checks that there are objects with density in the same turf when being built |
CRAFT_APPLIES_MATS | If the created atom will gain custom mat datums |
CRAFT_TRANSFERS_REAGENTS | Crafting passes reagents of components to the finished product |
CRAFT_CLEARS_REAGENTS | Crafting clears all reagents present in the finished product |
Define Details
CRAFTING_MACHINERY_CONSUME ![code/__DEFINES/crafting.dm 2](git.png)
If the machine is used/deleted in the crafting process
CRAFTING_MACHINERY_USE ![code/__DEFINES/crafting.dm 6](git.png)
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 ![code/__DEFINES/crafting.dm 4](git.png)
If the structure is used/deleted in the crafting process
CRAFTING_STRUCTURE_USE ![code/__DEFINES/crafting.dm 8](git.png)
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_APPLIES_MATS ![code/__DEFINES/crafting.dm 30](git.png)
If the created atom will gain custom mat datums
CRAFT_CHECK_DENSITY ![code/__DEFINES/crafting.dm 28](git.png)
If the craft checks that there are objects with density in the same turf when being built
CRAFT_CHECK_DIRECTION ![code/__DEFINES/crafting.dm 24](git.png)
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_CLEARS_REAGENTS ![code/__DEFINES/crafting.dm 34](git.png)
Crafting clears all reagents present in the finished product
CRAFT_IS_FULLTILE ![code/__DEFINES/crafting.dm 22](git.png)
Setting this to true will effectively set check_direction to true.
CRAFT_MUST_BE_LEARNED ![code/__DEFINES/crafting.dm 18](git.png)
If this craft must be learned before it becomes available
CRAFT_ONE_PER_TURF ![code/__DEFINES/crafting.dm 20](git.png)
Should only one object exist on the same turf?
CRAFT_ON_SOLID_GROUND ![code/__DEFINES/crafting.dm 26](git.png)
If the craft requires a floor below
CRAFT_TRANSFERS_REAGENTS ![code/__DEFINES/crafting.dm 32](git.png)
Crafting passes reagents of components to the finished product
STACK_CHECK_ADJACENT ![code/__DEFINES/crafting.dm 14](git.png)
Checks if there is an object of the result type within one tile
STACK_CHECK_CARDINALS ![code/__DEFINES/crafting.dm 12](git.png)
Checks if there is an object of the result type in any of the cardinal directions