/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/materials.dm

MAT_CATEGORY_OREIs the material from an ore? currently unused but exists atm for categorizations sake
MAT_CATEGORY_RIGIDHard materials, such as iron or silver
MAT_CATEGORY_ITEM_MATERIALMaterials that can be used to craft items
MAT_CATEGORY_BASE_RECIPESUse this flag on TRUE if you want the basic recipes
MATERIAL_INIT_MAPLOADUsed to make a material initialize at roundstart.
MATERIAL_INIT_BESPOKEUsed to make a material type able to be instantiated on demand after roundstart.
MATCONTAINER_EXAMINEIf the container shows the amount of contained materials on examine.
MATCONTAINER_NO_INSERTIf the container cannot have materials inserted through attackby().
MATCONTAINER_ANY_INTENTif the user can insert mats into the container despite the intent.
MATCONTAINER_SILENTif the user won't receive a warning when attacking the container with an unallowed item.
BREAKDOWN_ALLOYSCan reduce an alloy into its component materials.
BREAKDOWN_INCLUDE_ALCHEMYMakes the material composition include transmuted materials objects
BREAKDOWN_FLAGS_LATHEBreakdown flags used by techfabs and circuit printers.
BREAKDOWN_FLAGS_ORMBreakdown flags used by the ORM.
BREAKDOWN_FLAGS_RECYCLERBreakdown flags used by the recycler.
BREAKDOWN_FLAGS_SHEETIFIERBreakdown flags used by the sheetifier.
BREAKDOWN_FLAGS_ORE_PROCESSORBreakdown flags used by the ore processor.
BREAKDOWN_FLAGS_DRONE_DISPENSERBreakdown flags used by the drone dispenser.
BREAKDOWN_FLAGS_EXPORTBreakdown flags used when exporting materials.
MATERIAL_COLORFlag for atoms, this flag ensures it isn't re-colored by materials. Useful for snowflake icons such as default toolboxes.
GET_MATERIAL_REFWrapper for fetching material references. Exists exclusively so that people don't need to wrap everything in a list every time.
MATERIAL_SLOWDOWN_PLASTEELThe slowdown value of one [MINERAL_MATERIAL_AMOUNT] of plasteel.
MATERIAL_SLOWDOWN_ALIEN_ALLOYThe slowdown value of one [MINERAL_MATERIAL_AMOUNT] of alien alloy.

Define Details

BREAKDOWN_ALLOYS

Can reduce an alloy into its component materials.

BREAKDOWN_FLAGS_DRONE_DISPENSER

Breakdown flags used by the drone dispenser.

BREAKDOWN_FLAGS_EXPORT

Breakdown flags used when exporting materials.

BREAKDOWN_FLAGS_LATHE

Breakdown flags used by techfabs and circuit printers.

BREAKDOWN_FLAGS_ORE_PROCESSOR

Breakdown flags used by the ore processor.

BREAKDOWN_FLAGS_ORM

Breakdown flags used by the ORM.

BREAKDOWN_FLAGS_RECYCLER

Breakdown flags used by the recycler.

BREAKDOWN_FLAGS_SHEETIFIER

Breakdown flags used by the sheetifier.

BREAKDOWN_INCLUDE_ALCHEMY

Makes the material composition include transmuted materials objects

GET_MATERIAL_REF

Wrapper for fetching material references. Exists exclusively so that people don't need to wrap everything in a list every time.

MATCONTAINER_ANY_INTENT

if the user can insert mats into the container despite the intent.

MATCONTAINER_EXAMINE

If the container shows the amount of contained materials on examine.

MATCONTAINER_NO_INSERT

If the container cannot have materials inserted through attackby().

MATCONTAINER_SILENT

if the user won't receive a warning when attacking the container with an unallowed item.

MATERIAL_COLOR

Flag for atoms, this flag ensures it isn't re-colored by materials. Useful for snowflake icons such as default toolboxes.

MATERIAL_INIT_BESPOKE

Used to make a material type able to be instantiated on demand after roundstart.

MATERIAL_INIT_MAPLOAD

Used to make a material initialize at roundstart.

MATERIAL_SLOWDOWN_ALIEN_ALLOY

The slowdown value of one [MINERAL_MATERIAL_AMOUNT] of alien alloy.

MATERIAL_SLOWDOWN_PLASTEEL

The slowdown value of one [MINERAL_MATERIAL_AMOUNT] of plasteel.

MAT_CATEGORY_BASE_RECIPES

Use this flag on TRUE if you want the basic recipes

MAT_CATEGORY_ITEM_MATERIAL

Materials that can be used to craft items

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 silver