code/__DEFINES/_flags/item_flags.dm
IN_INVENTORY | is this item equipped into an inventory slot or hand of a mob? used for tooltips |
---|---|
FORCE_STRING_OVERRIDE | used for tooltips |
NEEDS_PERMIT | Used by security bots to determine if this item is safe for public use. |
NO_MAT_REDEMPTION | Stops you from putting things like an RCD or other items into an ORM or protolathe for materials. |
DROPDEL | When dropped, it calls qdel on itself |
NOBLUDGEON | when an item has this it produces no "X has been hit by Y with Z" message in the default attackby() |
ABSTRACT | for all things that are technically items but used for various different stuff |
IMMUTABLE_SLOW | When players should not be able to change the slowdown of the item (Speed potions, ect) |
SURGICAL_TOOL | Tool commonly used for surgery: won't attack targets in an active surgical operation on help intent (in case of mistakes) |
NO_UNIFORM_REQUIRED | Can be worn on certain slots (currently belt and id) that would otherwise require an uniform. |
ITEM_CAN_PARRY | This item can be used to parry. Only a basic check used to determine if we should proceed with parry chain at all. |
ITEM_CAN_BLOCK | This item can be used in the directional blocking system. Only a basic check used to determine if we should proceed with directional block handling at all. |
Define Details
ABSTRACT
for all things that are technically items but used for various different stuff
DROPDEL
When dropped, it calls qdel on itself
FORCE_STRING_OVERRIDE
used for tooltips
IMMUTABLE_SLOW
When players should not be able to change the slowdown of the item (Speed potions, ect)
IN_INVENTORY
is this item equipped into an inventory slot or hand of a mob? used for tooltips
ITEM_CAN_BLOCK
This item can be used in the directional blocking system. Only a basic check used to determine if we should proceed with directional block handling at all.
ITEM_CAN_PARRY
This item can be used to parry. Only a basic check used to determine if we should proceed with parry chain at all.
NEEDS_PERMIT
Used by security bots to determine if this item is safe for public use.
NOBLUDGEON
when an item has this it produces no "X has been hit by Y with Z" message in the default attackby()
NO_MAT_REDEMPTION
Stops you from putting things like an RCD or other items into an ORM or protolathe for materials.
NO_UNIFORM_REQUIRED
Can be worn on certain slots (currently belt and id) that would otherwise require an uniform.
SURGICAL_TOOL
Tool commonly used for surgery: won't attack targets in an active surgical operation on help intent (in case of mistakes)