Goonstation 13 - Modules - TypesVar Details

/datum/rc_entry/stack

Stackable item entry. Remarkably, used for items that can be stacked.

Vars

commodityCommodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.
mat_idMaterial ID string. If defined, will require the stack's material's mat_id to match the specified mat_id.
typepathType path of the item the entry is looking for.
typepath_altOptional alternate type path to look for. Useful when an item has two functionally interchangeable forms, such as raw or refined ore.

Var Details

commodity

Commodity path. If defined, will augment the per-item payout with the highest market rate for that commodity, and set the type path if not initially specified.

mat_id

Material ID string. If defined, will require the stack's material's mat_id to match the specified mat_id.

typepath

Type path of the item the entry is looking for.

typepath_alt

Optional alternate type path to look for. Useful when an item has two functionally interchangeable forms, such as raw or refined ore.