Files
Paradise/code/__HELPERS/trait_helpers.html

30 lines
58 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__HELPERS/trait_helpers.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="code/__HELPERS/trait_helpers.html#define">Define Details</a></header><main><h1>code/__HELPERS/trait_helpers.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__HELPERS/trait_helpers.html#define/ADD_TRAIT">ADD_TRAIT</a></th><td>Adds a status trait to the target datum.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/REMOVE_TRAIT">REMOVE_TRAIT</a></th><td>Removes a status trait from a target datum.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/REMOVE_TRAITS_NOT_IN">REMOVE_TRAITS_NOT_IN</a></th><td>Removes all status traits from a target datum which were NOT added by <code>sources</code>.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/REMOVE_TRAITS_IN">REMOVE_TRAITS_IN</a></th><td>Removes all status traits from a target datum which were added by <code>sources</code>.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/HAS_MIND_TRAIT">HAS_MIND_TRAIT</a></th><td>A simple helper for checking traits in a mob's mind</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/UNIQUE_TRAIT_SOURCE">UNIQUE_TRAIT_SOURCE</a></th><td>Gives a unique trait source for any given datum</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/GET_TRAIT_SOURCES">GET_TRAIT_SOURCES</a></th><td>Returns a list of trait sources for this trait. Only useful for wacko cases and internal futzing
You should not be using this</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SHOCKED_BY_SENTINEL">TRAIT_SHOCKED_BY_SENTINEL</a></th><td>Are we being shocked by a flock sentinel?</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_MOB_BREEDER">TRAIT_MOB_BREEDER</a></th><td>trait determines if this mob can breed given by /datum/component/breeding</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_DODGE_ALL_OBJECTS">TRAIT_DODGE_ALL_OBJECTS</a></th><td>Allows a mob to dodge all thrown objects</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ANTIMAGIC">TRAIT_ANTIMAGIC</a></th><td>This mob is antimagic, and immune to spells / cannot cast spells</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ANTIMAGIC_NO_SELFBLOCK">TRAIT_ANTIMAGIC_NO_SELFBLOCK</a></th><td>This allows a person who has antimagic to cast spells without getting blocked</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_RECENTLY_BLOCKED_MAGIC">TRAIT_RECENTLY_BLOCKED_MAGIC</a></th><td>This mob recently blocked magic with some form of antimagic</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_MANSUS_TOUCHED">TRAIT_MANSUS_TOUCHED</a></th><td>Trait given to anything linked to, not necessarily allied to, the mansus</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_BATON_RESISTANCE">TRAIT_BATON_RESISTANCE</a></th><td>This trait makes you immune to baton knockdown.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_IN_CALL">TRAIT_IN_CALL</a></th><td>Whether or not the user is in a MODlink call, prevents making more calls</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_MOB_TIPPED">TRAIT_MOB_TIPPED</a></th><td>Trait given when a mob has been tipped</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_MOB_EATER">TRAIT_MOB_EATER</a></th><td>Trait given to mobs that have the basic eating element</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_HYPOTHERMIC">TRAIT_HYPOTHERMIC</a></th><td>Trait for when you can no longer gain body heat</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_BEING_BLADE_SHIELDED">TRAIT_BEING_BLADE_SHIELDED</a></th><td>Used to prevent multiple floating blades from triggering over the same target</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_AI_PAUSED">TRAIT_AI_PAUSED</a></th><td>Trait that prevents AI controllers from planning detached from ai_status to prevent weird state stuff.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_AI_DISABLE_PLANNING">TRAIT_AI_DISABLE_PLANNING</a></th><td>trait that prevents AI controllers from making new plans, but not executing plans</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_IMPORTANT_SPEAKER">TRAIT_IMPORTANT_SPEAKER</a></th><td>This mob's speech is heard through walls by dead players/observers even if it has no client. Idk a better name</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_HEAR_THROUGH_WALLS">TRAIT_HEAR_THROUGH_WALLS</a></th><td>Ignores line of sight for the purposes of send_speech()</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_MENTOR_OBSERVING">TRAIT_MENTOR_OBSERVING</a></th><td>used for dead mobs that are observing, but should not be afforded all the same platitudes as full ghosts.
This is a mind trait because ghosts can be frequently deleted and we want to be sure this sticks.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SHOW_WIRE_INFO">TRAIT_SHOW_WIRE_INFO</a></th><td>Show what machine/door wires do when held.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SUPERMATTER_IMMUNE">TRAIT_SUPERMATTER_IMMUNE</a></th><td>Immune to the SM / makes you immune to it when worn</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_WIELDED">TRAIT_WIELDED</a></th><td>An item that is being wielded.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_OBSCURED_WIRES">TRAIT_OBSCURED_WIRES</a></th><td>Wires on this will have their titles randomized for those with SHOW_WIRES</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_NO_THROWN_MESSAGE">TRAIT_NO_THROWN_MESSAGE</a></th><td>Makes the item no longer spit out a visible message when thrown</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SILENT_INSERTION">TRAIT_SILENT_INSERTION</a></th><td>Makes the item not display a message on storage insertion</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ITEM_ACTIVE">TRAIT_ITEM_ACTIVE</a></th><td>Makes an item active, this is generally used by energy based weapons or toggle based items.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ALLOW_HERETIC_CASTING">TRAIT_ALLOW_HERETIC_CASTING</a></th><td>Allows heretics to cast their spells.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_LIVING_HEART">TRAIT_LIVING_HEART</a></th><td>Designates a heart as a living heart for a heretic.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_WAS_SACRIFICED">TRAIT_WAS_SACRIFICED</a></th><td>Added to those who have been sacrificed.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_HIDE_EXAMINE">TRAIT_HIDE_EXAMINE</a></th><td>Forbids running broadcast_examine() in examinate().</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SURGICAL">TRAIT_SURGICAL</a></th><td>A surgical tool; when in hand in help intent (and with a surgery in progress) won't attack the user</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ADVANCED_SURGICAL">TRAIT_ADVANCED_SURGICAL</a></th><td>An advanced surgical tool. If a surgical tool has this flag, it will be able to automatically repeat steps until they succeed.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SURGICAL_OPEN_HAND">TRAIT_SURGICAL_OPEN_HAND</a></th><td>A surgical tool; If a surgical tool has this flag it can be used as an alternative to an open hand in surgery</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SURGICAL_CANNOT_FAIL">TRAIT_SURGICAL_CANNOT_FAIL</a></th><td>Surgical tools with this trait have their prob_success set to 100 (but is still able to fail from other factors)</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ANTI_VIRAL">TRAIT_ANTI_VIRAL</a></th><td>A wearable item that protects the covered areas from viral infection</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ABSORB_RADS">TRAIT_ABSORB_RADS</a></th><td>Given to items that have something that absorbs radiation in them that is neither the item or in it's contents</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_TURF_COVERED">TRAIT_TURF_COVERED</a></th><td>Prevent mobs on the turf from being affected by anything below that turf, such as a pulse demon going under it. Added by a /obj/structure with creates_cover set to TRUE</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_OIL_SLICKED">TRAIT_OIL_SLICKED</a></th><td>An item that is oiled. If sprayed with water, it's slowdown reverts to normal.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_CAN_POINT_WITH">TRAIT_CAN_POINT_WITH</a></th><td>An item that can be pointed at mobs, while on non-help intent.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ORGAN_INSERTED_WHILE_DEAD">TRAIT_ORGAN_INSERTED_WHILE_DEAD</a></th><td>An organ that was inserted into a dead mob, that has not been revived yet</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_NO_STRIP">TRAIT_NO_STRIP</a></th><td>Prevents stripping this equipment or seeing it in the strip menu</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SKIP_EXAMINE">TRAIT_SKIP_EXAMINE</a></th><td>Prevents seeing this item on examine when on a mob, or seeing it in the strip menu. It's like ABSTRACT, without making the item fail to interact in several ways. The item can still be stripped however, combine with no_strip unless you have a reason not to.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_NO_WORN_ICON">TRAIT_NO_WORN_ICON</a></th><td>Items with this trait will not have their worn icon overlayed.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_I_WANT_BRAINS_ORGAN">TRAIT_I_WANT_BRAINS_ORGAN</a></th><td>A general trait for tracking whether a zombie owned the organ or limb</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_RELAYING_ATTACKER">TRAIT_RELAYING_ATTACKER</a></th><td>Trait given by /datum/element/relay_attacker</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SUBTREE_REQUIRED_OPERATIONAL_DATUM">TRAIT_SUBTREE_REQUIRED_OPERATIONAL_DATUM</a></th><td>Trait applied to a mob when it gets a required &quot;operational datum&quot; (components/elements). Sends out the source as the type of the element.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_LOUD">TRAIT_LOUD</a></th><td>Does this person produce loud runechat</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_MED_EXAMINE">TRAIT_MED_EXAMINE</a></th><td>allows user to do_after to give bone and IB locations</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_GERMOPHOBE">TRAIT_GERMOPHOBE</a></th><td>Grants a 85% chance to NOT catch a disease when contract() is called. You'll probably still catch it though with exposure</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_CORPSE_RESIST">TRAIT_CORPSE_RESIST</a></th><td>user wont vomit around corpses</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_QUICK_HEATER">TRAIT_QUICK_HEATER</a></th><td>user will take 25% less tox damage</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SPEED_DEMON">TRAIT_SPEED_DEMON</a></th><td>user can drive the ambulance cart to push people out of the way</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_CRAFTY">TRAIT_CRAFTY</a></th><td>user can craft things from the crafting menu in 1/4 time</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_GENETIC_BUDGET">TRAIT_GENETIC_BUDGET</a></th><td>User is alloted a higher genetics budget</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_CYBORG_SPECIALIST">TRAIT_CYBORG_SPECIALIST</a></th><td>allows the user to quick-charge borgs by using a battery on them</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_GREEN_THUMB">TRAIT_GREEN_THUMB</a></th><td>Allows user to pick weeds with their bare hands</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_JANITOR">TRAIT_JANITOR</a></th><td>Allows user to use mops faster, and have galoshes slow less</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ELECTRICAL_SPECIALIST">TRAIT_ELECTRICAL_SPECIALIST</a></th><td>Allows user to to quick-repair unlocked APCs with a frame and board, and quick-swap cells.alist</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_FIRE_FIGHTER">TRAIT_FIRE_FIGHTER</a></th><td>Allows user to spray extinguishers further, and gives precisions = 1 during spray</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_PACK_RAT">TRAIT_PACK_RAT</a></th><td>allows the user to stuff more items in lockers/crates and wrap them faster</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SMITH">TRAIT_SMITH</a></th><td>Allows the user to ????</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_BUTCHER">TRAIT_BUTCHER</a></th><td>Allows faster butchering times</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/PACK_RAT_WRAP_SPEEDUP">PACK_RAT_WRAP_SPEEDUP</a></th><td>How much faster pack rats are in wrapping packages as a percentage</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_JUDICIAL">TRAIT_JUDICIAL</a></th><td>Gives the user a new tab for being able to open up space law/sop book pages</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_COFFEE_SNOB">TRAIT_COFFEE_SNOB</a></th><td>Allows user to drink coffee to point rapidly to get others to do what you want</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ADJACENCY_TRANSPARENT">TRAIT_ADJACENCY_TRANSPARENT</a></th><td>An /obj that should not increase the &quot;depth&quot; of the search for adjacency,
e.g. a storage container or a modsuit.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_NO_BREAK_GLASS_TABLES">TRAIT_NO_BREAK_GLASS_TABLES</a></th><td>A trait for items that will not break glass tables if the user is buckled to them.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_CURRENTLY_Z_MOVING">TRAIT_CURRENTLY_Z_MOVING</a></th><td>A trait for determining if a atom/movable is currently crossing into another z-level by using of /turf/space z-level &quot;destination-xyz&quot; transfers</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/MENTOR_OBSERVING">MENTOR_OBSERVING</a></th><td>Mentor observing</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_KNOCKEDOUT">TRAIT_KNOCKEDOUT</a></th><td>Forces the user to stay unconscious.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_IMMOBILIZED">TRAIT_IMMOBILIZED</a></th><td>Prevents voluntary movement.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_FLOORED">TRAIT_FLOORED</a></th><td>Prevents voluntary standing or staying up on its own.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_HANDS_BLOCKED">TRAIT_HANDS_BLOCKED</a></th><td>Prevents usage of manipulation appendages (picking, holding or using items, manipulating storage).</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_UI_BLOCKED">TRAIT_UI_BLOCKED</a></th><td>Inability to access UI hud elements.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_CANNOT_PULL">TRAIT_CANNOT_PULL</a></th><td>Inability to pull things.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_RESTRAINED">TRAIT_RESTRAINED</a></th><td>Abstract condition that prevents movement if being pulled and might be resisted against. Handcuffs and straight jackets, basically.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/STATION_TRAIT_BANANIUM_SHIPMENTS">STATION_TRAIT_BANANIUM_SHIPMENTS</a></th><td>Traits given by station traits</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_FRAIL">TRAIT_FRAIL</a></th><td>QUIRK TRAITS</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_BLUESPACE_SPEED">TRAIT_BLUESPACE_SPEED</a></th><td>Removes slowdown while walking on these tiles.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SPINNING_WEB_TURF">TRAIT_SPINNING_WEB_TURF</a></th><td>A web is being spun on this turf presently</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SWARMER_CONSTRUCTION">TRAIT_SWARMER_CONSTRUCTION</a></th><td>A swarmer construct is being built here</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_SWARMER_DISINTEGRATING">TRAIT_SWARMER_DISINTEGRATING</a></th><td>A swarmer is deconstructing this already</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/ELEMENT_TRAIT">ELEMENT_TRAIT</a></th><td>Trait applied by element</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_HEARING_SENSITIVE">TRAIT_HEARING_SENSITIVE</a></th><td>every hearing sensitive atom has this trait</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_ACTIVE_STORAGE">TRAIT_ACTIVE_STORAGE</a></th><td>every object that is currently the active storage of some client mob has this trait</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/FLOCK_CONTROLLED_BY_OVERMIND_SOURCE">FLOCK_CONTROLLED_BY_OVERMIND_SOURCE</a></th><td>Under control</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_FLOCK_THING">TRAIT_FLOCK_THING</a></th><td>Is a flock object. Because of type fuckery.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_FLOCK_NODECON">TRAIT_FLOCK_NODECON</a></th><td>Flockdrones cannot deconstruct this object.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/TRAIT_FLOCK_EXAMINE">TRAIT_FLOCK_EXAMINE</a></th><td>Implements flock_examine() proc.</td></tr><tr><th><a href="code/__HELPERS/trait_helpers.html#define/UPDATE_TRANSFORM_TRAIT">UPDATE_TRANSFORM_TRAIT</a></th><td>Trait from mob/living/update_transform()</td></tr><tr><th>/proc/<a href="global.html#proc/callback_add_trait">callback_add_trait</a></th><td>Proc wrapper of add_trait. You should only use this for callback. Otherwise, use the macro.</td></tr><tr><th>/proc/<a href="global.html#proc/callback_remove_trait">callback_remove_trait</a></th><td>Proc wrapper of remove_trait. You should only use this for callback. Otherwise, use the macro.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/ADD_TRAIT"><aside class="declaration">#define </aside>ADD_TRAIT<aside>(target, trait, source)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L14"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 14"></a></h3><p>Adds a status trait to the target datum.</p>
<p>Arguments: (All Required)</p>
<ul>
<li>target - The datum to add the trait to.</li>
<li>trait - The trait which is being added.</li>
<li>source - The source of the trait which is being added.</li>
</ul><h3 id="define/ELEMENT_TRAIT"><aside class="declaration">#define </aside>ELEMENT_TRAIT<aside>(source)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L616"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 616"></a></h3><p>Trait applied by element</p><h3 id="define/FLOCK_CONTROLLED_BY_OVERMIND_SOURCE"><aside class="declaration">#define </aside>FLOCK_CONTROLLED_BY_OVERMIND_SOURCE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L635"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 635"></a></h3><p>Under control</p><h3 id="define/GET_TRAIT_SOURCES"><aside class="declaration">#define </aside>GET_TRAIT_SOURCES<aside>(target, trait)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L135"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 135"></a></h3><p>Returns a list of trait sources for this trait. Only useful for wacko cases and internal futzing
You should not be using this</p><h3 id="define/HAS_MIND_TRAIT"><aside class="declaration">#define </aside>HAS_MIND_TRAIT<aside>(target, trait)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L130"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 130"></a></h3><p>A simple helper for checking traits in a mob's mind</p><h3 id="define/MENTOR_OBSERVING"><aside class="declaration">#define </aside>MENTOR_OBSERVING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L531"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 531"></a></h3><p>Mentor observing</p><h3 id="define/PACK_RAT_WRAP_SPEEDUP"><aside class="declaration">#define </aside>PACK_RAT_WRAP_SPEEDUP <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L452"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 452"></a></h3><p>How much faster pack rats are in wrapping packages as a percentage</p><h3 id="define/REMOVE_TRAIT"><aside class="declaration">#define </aside>REMOVE_TRAIT<aside>(target, trait, sources)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L36"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 36"></a></h3><p>Removes a status trait from a target datum.</p>
<p><code>ROUNDSTART_TRAIT</code> traits can't be removed without being specified in <code>sources</code>.
Arguments:</p>
<ul>
<li>target - The datum to remove the trait from.</li>
<li>trait - The trait which is being removed.</li>
<li>sources - If specified, only remove the trait if it is from this source. (Lists Supported)</li>
</ul><h3 id="define/REMOVE_TRAITS_IN"><aside class="declaration">#define </aside>REMOVE_TRAITS_IN<aside>(target, sources)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L94"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 94"></a></h3><p>Removes all status traits from a target datum which were added by <code>sources</code>.</p>
<p>Arguments:</p>
<ul>
<li>target - The datum to remove the traits from.</li>
<li>sources - The trait source which is being searched for.</li>
</ul><h3 id="define/REMOVE_TRAITS_NOT_IN"><aside class="declaration">#define </aside>REMOVE_TRAITS_NOT_IN<aside>(target, sources)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L62"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 62"></a></h3><p>Removes all status traits from a target datum which were NOT added by <code>sources</code>.</p>
<p>Arguments:</p>
<ul>
<li>target - The datum to remove the traits from.</li>
<li>sources - The trait source which is being searched for.</li>
</ul><h3 id="define/STATION_TRAIT_BANANIUM_SHIPMENTS"><aside class="declaration">#define </aside>STATION_TRAIT_BANANIUM_SHIPMENTS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L557"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 557"></a></h3><p>Traits given by station traits</p><h3 id="define/TRAIT_ABSORB_RADS"><aside class="declaration">#define </aside>TRAIT_ABSORB_RADS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L367"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 367"></a></h3><p>Given to items that have something that absorbs radiation in them that is neither the item or in it's contents</p><h3 id="define/TRAIT_ACTIVE_STORAGE"><aside class="declaration">#define </aside>TRAIT_ACTIVE_STORAGE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L631"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 631"></a></h3><p>every object that is currently the active storage of some client mob has this trait</p><h3 id="define/TRAIT_ADJACENCY_TRANSPARENT"><aside class="declaration">#define </aside>TRAIT_ADJACENCY_TRANSPARENT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L469"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 469"></a></h3><p>An /obj that should not increase the &quot;depth&quot; of the search for adjacency,
e.g. a storage container or a modsuit.</p><h3 id="define/TRAIT_ADVANCED_SURGICAL"><aside class="declaration">#define </aside>TRAIT_ADVANCED_SURGICAL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L355"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 355"></a></h3><p>An advanced surgical tool. If a surgical tool has this flag, it will be able to automatically repeat steps until they succeed.</p><h3 id="define/TRAIT_AI_DISABLE_PLANNING"><aside class="declaration">#define </aside>TRAIT_AI_DISABLE_PLANNING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L300"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 300"></a></h3><p>trait that prevents AI controllers from making new plans, but not executing plans</p><h3 id="define/TRAIT_AI_PAUSED"><aside class="declaration">#define </aside>TRAIT_AI_PAUSED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L298"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 298"></a></h3><p>Trait that prevents AI controllers from planning detached from ai_status to prevent weird state stuff.</p><h3 id="define/TRAIT_ALLOW_HERETIC_CASTING"><aside class="declaration">#define </aside>TRAIT_ALLOW_HERETIC_CASTING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L341"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 341"></a></h3><p>Allows heretics to cast their spells.</p><h3 id="define/TRAIT_ANTIMAGIC"><aside class="declaration">#define </aside>TRAIT_ANTIMAGIC <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L263"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 263"></a></h3><p>This mob is antimagic, and immune to spells / cannot cast spells</p><h3 id="define/TRAIT_ANTIMAGIC_NO_SELFBLOCK"><aside class="declaration">#define </aside>TRAIT_ANTIMAGIC_NO_SELFBLOCK <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L265"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 265"></a></h3><p>This allows a person who has antimagic to cast spells without getting blocked</p><h3 id="define/TRAIT_ANTI_VIRAL"><aside class="declaration">#define </aside>TRAIT_ANTI_VIRAL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L364"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 364"></a></h3><p>A wearable item that protects the covered areas from viral infection</p><h3 id="define/TRAIT_BATON_RESISTANCE"><aside class="declaration">#define </aside>TRAIT_BATON_RESISTANCE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L274"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 274"></a></h3><p>This trait makes you immune to baton knockdown.</p><h3 id="define/TRAIT_BEING_BLADE_SHIELDED"><aside class="declaration">#define </aside>TRAIT_BEING_BLADE_SHIELDED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L295"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 295"></a></h3><p>Used to prevent multiple floating blades from triggering over the same target</p><h3 id="define/TRAIT_BLUESPACE_SPEED"><aside class="declaration">#define </aside>TRAIT_BLUESPACE_SPEED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L598"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 598"></a></h3><p>Removes slowdown while walking on these tiles.</p><h3 id="define/TRAIT_BUTCHER"><aside class="declaration">#define </aside>TRAIT_BUTCHER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L449"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 449"></a></h3><p>Allows faster butchering times</p><h3 id="define/TRAIT_CANNOT_PULL"><aside class="declaration">#define </aside>TRAIT_CANNOT_PULL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L550"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 550"></a></h3><p>Inability to pull things.</p><h3 id="define/TRAIT_CAN_POINT_WITH"><aside class="declaration">#define </aside>TRAIT_CAN_POINT_WITH <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L376"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 376"></a></h3><p>An item that can be pointed at mobs, while on non-help intent.</p><h3 id="define/TRAIT_COFFEE_SNOB"><aside class="declaration">#define </aside>TRAIT_COFFEE_SNOB <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L462"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 462"></a></h3><p>Allows user to drink coffee to point rapidly to get others to do what you want</p><h3 id="define/TRAIT_CORPSE_RESIST"><aside class="declaration">#define </aside>TRAIT_CORPSE_RESIST <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L413"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 413"></a></h3><p>user wont vomit around corpses</p><h3 id="define/TRAIT_CRAFTY"><aside class="declaration">#define </aside>TRAIT_CRAFTY <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L422"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 422"></a></h3><p>user can craft things from the crafting menu in 1/4 time</p><h3 id="define/TRAIT_CURRENTLY_Z_MOVING"><aside class="declaration">#define </aside>TRAIT_CURRENTLY_Z_MOVING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L476"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 476"></a></h3><p>A trait for determining if a atom/movable is currently crossing into another z-level by using of /turf/space z-level &quot;destination-xyz&quot; transfers</p><h3 id="define/TRAIT_CYBORG_SPECIALIST"><aside class="declaration">#define </aside>TRAIT_CYBORG_SPECIALIST <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L426"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 426"></a></h3><p>allows the user to quick-charge borgs by using a battery on them</p><h3 id="define/TRAIT_DODGE_ALL_OBJECTS"><aside class="declaration">#define </aside>TRAIT_DODGE_ALL_OBJECTS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L234"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 234"></a></h3><p>Allows a mob to dodge all thrown objects</p><h3 id="define/TRAIT_ELECTRICAL_SPECIALIST"><aside class="declaration">#define </aside>TRAIT_ELECTRICAL_SPECIALIST <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L438"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 438"></a></h3><p>Allows user to to quick-repair unlocked APCs with a frame and board, and quick-swap cells.alist</p><h3 id="define/TRAIT_FIRE_FIGHTER"><aside class="declaration">#define </aside>TRAIT_FIRE_FIGHTER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L440"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 440"></a></h3><p>Allows user to spray extinguishers further, and gives precisions = 1 during spray</p><h3 id="define/TRAIT_FLOCK_EXAMINE"><aside class="declaration">#define </aside>TRAIT_FLOCK_EXAMINE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L643"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 643"></a></h3><p>Implements flock_examine() proc.</p><h3 id="define/TRAIT_FLOCK_NODECON"><aside class="declaration">#define </aside>TRAIT_FLOCK_NODECON <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L641"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 641"></a></h3><p>Flockdrones cannot deconstruct this object.</p><h3 id="define/TRAIT_FLOCK_THING"><aside class="declaration">#define </aside>TRAIT_FLOCK_THING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L639"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 639"></a></h3><p>Is a flock object. Because of type fuckery.</p><h3 id="define/TRAIT_FLOORED"><aside class="declaration">#define </aside>TRAIT_FLOORED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L544"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 544"></a></h3><p>Prevents voluntary standing or staying up on its own.</p><h3 id="define/TRAIT_FRAIL"><aside class="declaration">#define </aside>TRAIT_FRAIL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L585"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 585"></a></h3><p>QUIRK TRAITS</p><h3 id="define/TRAIT_GENETIC_BUDGET"><aside class="declaration">#define </aside>TRAIT_GENETIC_BUDGET <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L424"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 424"></a></h3><p>User is alloted a higher genetics budget</p><h3 id="define/TRAIT_GERMOPHOBE"><aside class="declaration">#define </aside>TRAIT_GERMOPHOBE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L411"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 411"></a></h3><p>Grants a 85% chance to NOT catch a disease when contract() is called. You'll probably still catch it though with exposure</p><h3 id="define/TRAIT_GREEN_THUMB"><aside class="declaration">#define </aside>TRAIT_GREEN_THUMB <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L431"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 431"></a></h3><p>Allows user to pick weeds with their bare hands</p><h3 id="define/TRAIT_HANDS_BLOCKED"><aside class="declaration">#define </aside>TRAIT_HANDS_BLOCKED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L546"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 546"></a></h3><p>Prevents usage of manipulation appendages (picking, holding or using items, manipulating storage).</p><h3 id="define/TRAIT_HEARING_SENSITIVE"><aside class="declaration">#define </aside>TRAIT_HEARING_SENSITIVE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L629"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 629"></a></h3><p>every hearing sensitive atom has this trait</p><h3 id="define/TRAIT_HEAR_THROUGH_WALLS"><aside class="declaration">#define </aside>TRAIT_HEAR_THROUGH_WALLS <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L307"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 307"></a></h3><p>Ignores line of sight for the purposes of send_speech()</p><h3 id="define/TRAIT_HIDE_EXAMINE"><aside class="declaration">#define </aside>TRAIT_HIDE_EXAMINE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L348"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 348"></a></h3><p>Forbids running broadcast_examine() in examinate().</p><h3 id="define/TRAIT_HYPOTHERMIC"><aside class="declaration">#define </aside>TRAIT_HYPOTHERMIC <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L292"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 292"></a></h3><p>Trait for when you can no longer gain body heat</p><h3 id="define/TRAIT_IMMOBILIZED"><aside class="declaration">#define </aside>TRAIT_IMMOBILIZED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L542"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 542"></a></h3><p>Prevents voluntary movement.</p><h3 id="define/TRAIT_IMPORTANT_SPEAKER"><aside class="declaration">#define </aside>TRAIT_IMPORTANT_SPEAKER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L305"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 305"></a></h3><p>This mob's speech is heard through walls by dead players/observers even if it has no client. Idk a better name</p><h3 id="define/TRAIT_IN_CALL"><aside class="declaration">#define </aside>TRAIT_IN_CALL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L281"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 281"></a></h3><p>Whether or not the user is in a MODlink call, prevents making more calls</p><h3 id="define/TRAIT_ITEM_ACTIVE"><aside class="declaration">#define </aside>TRAIT_ITEM_ACTIVE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L338"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 338"></a></h3><p>Makes an item active, this is generally used by energy based weapons or toggle based items.</p><h3 id="define/TRAIT_I_WANT_BRAINS_ORGAN"><aside class="declaration">#define </aside>TRAIT_I_WANT_BRAINS_ORGAN <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L391"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 391"></a></h3><p>A general trait for tracking whether a zombie owned the organ or limb</p><h3 id="define/TRAIT_JANITOR"><aside class="declaration">#define </aside>TRAIT_JANITOR <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L433"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 433"></a></h3><p>Allows user to use mops faster, and have galoshes slow less</p><h3 id="define/TRAIT_JUDICIAL"><aside class="declaration">#define </aside>TRAIT_JUDICIAL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L457"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 457"></a></h3><p>Gives the user a new tab for being able to open up space law/sop book pages</p><h3 id="define/TRAIT_KNOCKEDOUT"><aside class="declaration">#define </aside>TRAIT_KNOCKEDOUT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L540"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 540"></a></h3><p>Forces the user to stay unconscious.</p><h3 id="define/TRAIT_LIVING_HEART"><aside class="declaration">#define </aside>TRAIT_LIVING_HEART <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L343"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 343"></a></h3><p>Designates a heart as a living heart for a heretic.</p><h3 id="define/TRAIT_LOUD"><aside class="declaration">#define </aside>TRAIT_LOUD <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L402"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 402"></a></h3><p>Does this person produce loud runechat</p><h3 id="define/TRAIT_MANSUS_TOUCHED"><aside class="declaration">#define </aside>TRAIT_MANSUS_TOUCHED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L272"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 272"></a></h3><p>Trait given to anything linked to, not necessarily allied to, the mansus</p><h3 id="define/TRAIT_MED_EXAMINE"><aside class="declaration">#define </aside>TRAIT_MED_EXAMINE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L409"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 409"></a></h3><p>allows user to do_after to give bone and IB locations</p><h3 id="define/TRAIT_MENTOR_OBSERVING"><aside class="declaration">#define </aside>TRAIT_MENTOR_OBSERVING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L319"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 319"></a></h3><p>used for dead mobs that are observing, but should not be afforded all the same platitudes as full ghosts.
This is a mind trait because ghosts can be frequently deleted and we want to be sure this sticks.</p><h3 id="define/TRAIT_MOB_BREEDER"><aside class="declaration">#define </aside>TRAIT_MOB_BREEDER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L200"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 200"></a></h3><p>trait determines if this mob can breed given by /datum/component/breeding</p><h3 id="define/TRAIT_MOB_EATER"><aside class="declaration">#define </aside>TRAIT_MOB_EATER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L286"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 286"></a></h3><p>Trait given to mobs that have the basic eating element</p><h3 id="define/TRAIT_MOB_TIPPED"><aside class="declaration">#define </aside>TRAIT_MOB_TIPPED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L284"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 284"></a></h3><p>Trait given when a mob has been tipped</p><h3 id="define/TRAIT_NO_BREAK_GLASS_TABLES"><aside class="declaration">#define </aside>TRAIT_NO_BREAK_GLASS_TABLES <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L472"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 472"></a></h3><p>A trait for items that will not break glass tables if the user is buckled to them.</p><h3 id="define/TRAIT_NO_STRIP"><aside class="declaration">#define </aside>TRAIT_NO_STRIP <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L382"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 382"></a></h3><p>Prevents stripping this equipment or seeing it in the strip menu</p><h3 id="define/TRAIT_NO_THROWN_MESSAGE"><aside class="declaration">#define </aside>TRAIT_NO_THROWN_MESSAGE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L334"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 334"></a></h3><p>Makes the item no longer spit out a visible message when thrown</p><h3 id="define/TRAIT_NO_WORN_ICON"><aside class="declaration">#define </aside>TRAIT_NO_WORN_ICON <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L388"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 388"></a></h3><p>Items with this trait will not have their worn icon overlayed.</p><h3 id="define/TRAIT_OBSCURED_WIRES"><aside class="declaration">#define </aside>TRAIT_OBSCURED_WIRES <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L332"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 332"></a></h3><p>Wires on this will have their titles randomized for those with SHOW_WIRES</p><h3 id="define/TRAIT_OIL_SLICKED"><aside class="declaration">#define </aside>TRAIT_OIL_SLICKED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L373"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 373"></a></h3><p>An item that is oiled. If sprayed with water, it's slowdown reverts to normal.</p><h3 id="define/TRAIT_ORGAN_INSERTED_WHILE_DEAD"><aside class="declaration">#define </aside>TRAIT_ORGAN_INSERTED_WHILE_DEAD <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L379"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 379"></a></h3><p>An organ that was inserted into a dead mob, that has not been revived yet</p><h3 id="define/TRAIT_PACK_RAT"><aside class="declaration">#define </aside>TRAIT_PACK_RAT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L445"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 445"></a></h3><p>allows the user to stuff more items in lockers/crates and wrap them faster</p><h3 id="define/TRAIT_QUICK_HEATER"><aside class="declaration">#define </aside>TRAIT_QUICK_HEATER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L415"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 415"></a></h3><p>user will take 25% less tox damage</p><h3 id="define/TRAIT_RECENTLY_BLOCKED_MAGIC"><aside class="declaration">#define </aside>TRAIT_RECENTLY_BLOCKED_MAGIC <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L267"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 267"></a></h3><p>This mob recently blocked magic with some form of antimagic</p><h3 id="define/TRAIT_RELAYING_ATTACKER"><aside class="declaration">#define </aside>TRAIT_RELAYING_ATTACKER <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L394"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 394"></a></h3><p>Trait given by /datum/element/relay_attacker</p><h3 id="define/TRAIT_RESTRAINED"><aside class="declaration">#define </aside>TRAIT_RESTRAINED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L552"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 552"></a></h3><p>Abstract condition that prevents movement if being pulled and might be resisted against. Handcuffs and straight jackets, basically.</p><h3 id="define/TRAIT_SHOCKED_BY_SENTINEL"><aside class="declaration">#define </aside>TRAIT_SHOCKED_BY_SENTINEL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L166"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 166"></a></h3><p>Are we being shocked by a flock sentinel?</p><h3 id="define/TRAIT_SHOW_WIRE_INFO"><aside class="declaration">#define </aside>TRAIT_SHOW_WIRE_INFO <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L323"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 323"></a></h3><p>Show what machine/door wires do when held.</p><h3 id="define/TRAIT_SILENT_INSERTION"><aside class="declaration">#define </aside>TRAIT_SILENT_INSERTION <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L336"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 336"></a></h3><p>Makes the item not display a message on storage insertion</p><h3 id="define/TRAIT_SKIP_EXAMINE"><aside class="declaration">#define </aside>TRAIT_SKIP_EXAMINE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L385"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 385"></a></h3><p>Prevents seeing this item on examine when on a mob, or seeing it in the strip menu. It's like ABSTRACT, without making the item fail to interact in several ways. The item can still be stripped however, combine with no_strip unless you have a reason not to.</p><h3 id="define/TRAIT_SMITH"><aside class="declaration">#define </aside>TRAIT_SMITH <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L447"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 447"></a></h3><p>Allows the user to ????</p><h3 id="define/TRAIT_SPEED_DEMON"><aside class="declaration">#define </aside>TRAIT_SPEED_DEMON <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L417"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 417"></a></h3><p>user can drive the ambulance cart to push people out of the way</p><h3 id="define/TRAIT_SPINNING_WEB_TURF"><aside class="declaration">#define </aside>TRAIT_SPINNING_WEB_TURF <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L604"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 604"></a></h3><p>A web is being spun on this turf presently</p><h3 id="define/TRAIT_SUBTREE_REQUIRED_OPERATIONAL_DATUM"><aside class="declaration">#define </aside>TRAIT_SUBTREE_REQUIRED_OPERATIONAL_DATUM <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L397"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 397"></a></h3><p>Trait applied to a mob when it gets a required &quot;operational datum&quot; (components/elements). Sends out the source as the type of the element.</p><h3 id="define/TRAIT_SUPERMATTER_IMMUNE"><aside class="declaration">#define </aside>TRAIT_SUPERMATTER_IMMUNE <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L325"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 325"></a></h3><p>Immune to the SM / makes you immune to it when worn</p><h3 id="define/TRAIT_SURGICAL"><aside class="declaration">#define </aside>TRAIT_SURGICAL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L352"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 352"></a></h3><p>A surgical tool; when in hand in help intent (and with a surgery in progress) won't attack the user</p><h3 id="define/TRAIT_SURGICAL_CANNOT_FAIL"><aside class="declaration">#define </aside>TRAIT_SURGICAL_CANNOT_FAIL <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L361"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 361"></a></h3><p>Surgical tools with this trait have their prob_success set to 100 (but is still able to fail from other factors)</p><h3 id="define/TRAIT_SURGICAL_OPEN_HAND"><aside class="declaration">#define </aside>TRAIT_SURGICAL_OPEN_HAND <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L358"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 358"></a></h3><p>A surgical tool; If a surgical tool has this flag it can be used as an alternative to an open hand in surgery</p><h3 id="define/TRAIT_SWARMER_CONSTRUCTION"><aside class="declaration">#define </aside>TRAIT_SWARMER_CONSTRUCTION <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L607"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 607"></a></h3><p>A swarmer construct is being built here</p><h3 id="define/TRAIT_SWARMER_DISINTEGRATING"><aside class="declaration">#define </aside>TRAIT_SWARMER_DISINTEGRATING <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L609"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 609"></a></h3><p>A swarmer is deconstructing this already</p><h3 id="define/TRAIT_TURF_COVERED"><aside class="declaration">#define </aside>TRAIT_TURF_COVERED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L370"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 370"></a></h3><p>Prevent mobs on the turf from being affected by anything below that turf, such as a pulse demon going under it. Added by a /obj/structure with creates_cover set to TRUE</p><h3 id="define/TRAIT_UI_BLOCKED"><aside class="declaration">#define </aside>TRAIT_UI_BLOCKED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L548"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 548"></a></h3><p>Inability to access UI hud elements.</p><h3 id="define/TRAIT_WAS_SACRIFICED"><aside class="declaration">#define </aside>TRAIT_WAS_SACRIFICED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L345"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 345"></a></h3><p>Added to those who have been sacrificed.</p><h3 id="define/TRAIT_WIELDED"><aside class="declaration">#define </aside>TRAIT_WIELDED <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L330"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 330"></a></h3><p>An item that is being wielded.</p><h3 id="define/UNIQUE_TRAIT_SOURCE"><aside class="declaration">#define </aside>UNIQUE_TRAIT_SOURCE<aside>(target)</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L132"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 132"></a></h3><p>Gives a unique trait source for any given datum</p><h3 id="define/UPDATE_TRANSFORM_TRAIT"><aside class="declaration">#define </aside>UPDATE_TRANSFORM_TRAIT <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/__HELPERS/trait_helpers.dm#L646"><img src="git.png" width="16" height="16" title="code/__HELPERS/trait_helpers.dm 646"></a></h3><p>Trait from mob/living/update_transform()</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>