code/__DEFINES/materials.dm ![code/__DEFINES/materials.dm0](git.png)
MAT_CATEGORY_ORE | Is the material from an ore? currently unused but exists atm for categorizations sake |
---|---|
MAT_CATEGORY_RIGID | Hard materials, such as iron or metal |
MAT_CATEGORY_BASE_RECIPES | Use this flag on TRUE if you want the basic recipes |
MATERIAL_INIT_MAPLOAD | Used to make a material initialize at roundstart. |
MATERIAL_INIT_BESPOKE | Used to make a material type able to be instantiated on demand after roundstart. |
MATERIAL_COLOR | Flag for atoms, this flag ensures it isn't re-colored by materials. Useful for snowflake icons such as default toolboxes. |
GET_MATERIAL_REF | Wrapper for fetching material references. Exists exclusively so that people don't need to wrap everything in a list every time. |
BREAKDOWN_ALLOYS | Can reduce an alloy into its component materials. |
MATERIAL_SLOWDOWN_PLASTEEL | The slowdown value of one SHEET_MATERIAL_AMOUNT of plasteel. |
MATERIAL_SLOWDOWN_ALIEN_ALLOY | The slowdown value of one SHEET_MATERIAL_AMOUNT of alien alloy. |
Define Details
BREAKDOWN_ALLOYS ![code/__DEFINES/materials.dm 27](git.png)
Can reduce an alloy into its component materials.
GET_MATERIAL_REF ![code/__DEFINES/materials.dm 23](git.png)
Wrapper for fetching material references. Exists exclusively so that people don't need to wrap everything in a list every time.
MATERIAL_COLOR ![code/__DEFINES/materials.dm 16](git.png)
Flag for atoms, this flag ensures it isn't re-colored by materials. Useful for snowflake icons such as default toolboxes.
MATERIAL_INIT_BESPOKE ![code/__DEFINES/materials.dm 13](git.png)
Used to make a material type able to be instantiated on demand after roundstart.
MATERIAL_INIT_MAPLOAD ![code/__DEFINES/materials.dm 11](git.png)
Used to make a material initialize at roundstart.
MATERIAL_SLOWDOWN_ALIEN_ALLOY ![code/__DEFINES/materials.dm 33](git.png)
The slowdown value of one SHEET_MATERIAL_AMOUNT of alien alloy.
MATERIAL_SLOWDOWN_PLASTEEL ![code/__DEFINES/materials.dm 31](git.png)
The slowdown value of one SHEET_MATERIAL_AMOUNT of plasteel.
MAT_CATEGORY_BASE_RECIPES ![code/__DEFINES/materials.dm 8](git.png)
Use this flag on TRUE if you want the basic recipes
MAT_CATEGORY_ORE ![code/__DEFINES/materials.dm 2](git.png)
Is the material from an ore? currently unused but exists atm for categorizations sake
MAT_CATEGORY_RIGID ![code/__DEFINES/materials.dm 5](git.png)
Hard materials, such as iron or metal