stock_parts
even though stacks aren't stock parts, get_part_rating() is defined on the item level (see /obj/item/proc/get_part_rating()) and defaults to returning 0.
Vars | |
abstract_type | The generic category type that the stock part belongs to. Generic objects that should not be instantiated should have the same type and abstract_type |
---|---|
base_name | Used when a base part has a different name to higher tiers of part. For example, machine frames want any servo and not just a micro-servo. |
Var Details
abstract_type
The generic category type that the stock part belongs to. Generic objects that should not be instantiated should have the same type and abstract_type
base_name
Used when a base part has a different name to higher tiers of part. For example, machine frames want any servo and not just a micro-servo.