SPLURT Station 13 - Modules - TypesDefine Details

code/__DEFINES/_flags/item_flags.dm

IN_INVENTORYis this item equipped into an inventory slot or hand of a mob? used for tooltips
FORCE_STRING_OVERRIDEused for tooltips
NEEDS_PERMITUsed by security bots to determine if this item is safe for public use.
NO_MAT_REDEMPTIONStops you from putting things like an RCD or other items into an ORM or protolathe for materials.
DROPDELWhen dropped, it calls qdel on itself
NOBLUDGEONwhen an item has this it produces no "X has been hit by Y with Z" message in the default attackby()
ABSTRACTfor all things that are technically items but used for various different stuff
IMMUTABLE_SLOWWhen players should not be able to change the slowdown of the item (Speed potions, ect)
SURGICAL_TOOLTool commonly used for surgery: won't attack targets in an active surgical operation on help intent (in case of mistakes)
NO_UNIFORM_REQUIREDCan be worn on certain slots (currently belt and id) that would otherwise require an uniform.
ITEM_CAN_PARRYThis item can be used to parry. Only a basic check used to determine if we should proceed with parry chain at all.
ITEM_CAN_BLOCKThis 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)