/tg/ Station 13 - Modules - Types — Define Details

code/__DEFINES/~aphelion_defines/admin_tech.dm

COMPANY_ADMINCompany for Admin unique items
ITEM_SLOT_ADMINAdmin Tool Slot Catcher
NOSTRIPPrevents an item from being stripped unless you are an admin privileges holder.
ADMIN_ITEMIs this an Admin item? Adds an 'admistrative' obj detail, similar to how sec gloves show they cuff quickly or insuls provide insulation
ADMIN_OBJ_FLAGSAdmin Items and Flags These three defines belong to three different bitfields and are NOT interchangeable - the bits overlap. ADMIN_OBJ_FLAGS goes on obj_flags, ADMIN_OBJ_FLAGS_NOVA goes on obj_flags_nova, ADMIN_CLOTHING_FLAGS goes on clothing_flags.
ADMIN_OBJ_FLAGS_NOVAPrevents removal through strip menu, and tags the item as administrative on examine
ADMIN_CLOTHING_FLAGSAdmin worn gear doesn't get knocked off. Apply with |= so the parent type's own flags survive. Moths are kept off it by resistance_flags & INDESTRUCTIBLE, which every admin clothing type already carries - drop that from one and it becomes edible again.
ADMIN_TECHWEBUsed by Admin fabricators to select from admin / debug / useful / fun prints
TRAIT_ADMIN_STEALTHTrait which obscures identity like the Infiltration module, but provides text unique for admin techs
TRAIT_ADMIN_REACHABLETrait which provides an early return TRUE on IsReachableBy() that checks for CanSeeTarget
TRAIT_ADMIN_WALLHACKSTrait for wallhacks admin verb
TRAIT_BABEL_CLOTHINGTrait for clothing which provides the effects of the book of babel, which is handled by the babel_clothing element
TRAIT_BABEL_LISTENERTrait marking a mob the babel_clothing element already listens to, so a second babel item doesn't double-register
TRAIT_REVEAL_WIRES_ITEMTrait involved in reveal_wires element, to show the wire legend of anything when working
ADMIN_GEAR_TRAITLogical trait to prevent conflicts. Does nothing but exist and then not exist as needed on specific admin items.

Define Details

ADMIN_CLOTHING_FLAGS

Admin worn gear doesn't get knocked off. Apply with |= so the parent type's own flags survive. Moths are kept off it by resistance_flags & INDESTRUCTIBLE, which every admin clothing type already carries - drop that from one and it becomes edible again.

ADMIN_GEAR_TRAIT

Logical trait to prevent conflicts. Does nothing but exist and then not exist as needed on specific admin items.

ADMIN_ITEM

Is this an Admin item? Adds an 'admistrative' obj detail, similar to how sec gloves show they cuff quickly or insuls provide insulation

ADMIN_OBJ_FLAGS

Admin Items and Flags These three defines belong to three different bitfields and are NOT interchangeable - the bits overlap. ADMIN_OBJ_FLAGS goes on obj_flags, ADMIN_OBJ_FLAGS_NOVA goes on obj_flags_nova, ADMIN_CLOTHING_FLAGS goes on clothing_flags.

ADMIN_OBJ_FLAGS_NOVA

Prevents removal through strip menu, and tags the item as administrative on examine

ADMIN_TECHWEB

Used by Admin fabricators to select from admin / debug / useful / fun prints

COMPANY_ADMIN

Company for Admin unique items

ITEM_SLOT_ADMIN

Admin Tool Slot Catcher

NOSTRIP

Prevents an item from being stripped unless you are an admin privileges holder.

TRAIT_ADMIN_REACHABLE

Trait which provides an early return TRUE on IsReachableBy() that checks for CanSeeTarget

TRAIT_ADMIN_STEALTH

Trait which obscures identity like the Infiltration module, but provides text unique for admin techs

TRAIT_ADMIN_WALLHACKS

Trait for wallhacks admin verb

TRAIT_BABEL_CLOTHING

Trait for clothing which provides the effects of the book of babel, which is handled by the babel_clothing element

TRAIT_BABEL_LISTENER

Trait marking a mob the babel_clothing element already listens to, so a second babel item doesn't double-register

TRAIT_REVEAL_WIRES_ITEM

Trait involved in reveal_wires element, to show the wire legend of anything when working