Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/materials.dm

getmaterialrefGets the reference for the material type that was given
MATERIAL_EFFECTSWhether a material's mechanical effects should apply to the atom. This is necessary for other flags to work.
MATERIAL_COLORApplies the material color to the atom's color. Deprecated, use MATERIAL_GREYSCALE instead
MATERIAL_ADD_PREFIXWhether a prefix describing the material should be added to the name
MATERIAL_AFFECT_STATISTICSWhether a material should affect the stats of the atom
MATERIAL_GREYSCALEApplies the material greyscale color to the atom's greyscale color.
GET_MATERIAL_REFWrapper for fetching material references. Exists exclusively so that people don't need to wrap everything in a list every time.

Define Details

GET_MATERIAL_REF

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

MATERIAL_ADD_PREFIX

Whether a prefix describing the material should be added to the name

MATERIAL_AFFECT_STATISTICS

Whether a material should affect the stats of the atom

MATERIAL_COLOR

Applies the material color to the atom's color. Deprecated, use MATERIAL_GREYSCALE instead

MATERIAL_EFFECTS

Whether a material's mechanical effects should apply to the atom. This is necessary for other flags to work.

MATERIAL_GREYSCALE

Applies the material greyscale color to the atom's greyscale color.

getmaterialref

Gets the reference for the material type that was given