code/__DEFINES/antagonists.dm

| CHALLENGE_MIN_PLAYERS | Min players requireed for nukes to declare war |
|---|---|
| PAYOFF_MIN | Minimum amount the pirates will demand |
| RESPONSE_MAX_TIME | How long pirates will wait for a response before attacking |
| ELIMINATION_NEUTRAL | Does not stop elimination hijacking but itself won't elimination hijack |
| ELIMINATION_ENABLED | Needs to be present for shuttle to be elimination hijacked |
| ELIMINATION_PREVENT | Prevents elimination hijack same way as non-antags |
| HERETIC_NO_HEART_ORGAN | Defines are used in /proc/has_living_heart() to report if the heretic has no heart period, no living heart, or has a living heart. |
| MAX_KNOWLEDGE_PRIORITY | A define used in ritual priority for heretics. |
| IS_VALID_GHOUL_MOB | Checks if the passed mob can become a heretic ghoul. |
| BLOB_FORCE_PLACEMENT | Forces the blob to place the core where they currently are, ignoring any checks. |
| BLOB_NORMAL_PLACEMENT | Normal blob placement, does the regular checks to make sure the blob isn't placing itself in an invalid location |
| BLOB_RANDOM_PLACEMENT | Selects a random location for the blob to be placed. |
| WIZARD_LOADOUT_CLASSIC | The Classic Wizard wizard loadout. |
| WIZARD_LOADOUT_MJOLNIR | Mjolnir's Power wizard loadout. |
| WIZARD_LOADOUT_WIZARMY | Fantastical Army wizard loadout. |
| WIZARD_LOADOUT_SOULTAP | Soul Tapper wizard loadout. |
| ALL_WIZARD_LOADOUTS | Convenient list of all wizard loadouts for unit testing. |
| GRAND_RITUAL_FINALE_COUNT | Number of times you need to perform the grand ritual to complete it |
| GRAND_RITUAL_RUNES_WARNING_POTENCY | The crew will start being warned every time a rune is created after this many invocations. |
| GRAND_RITUAL_IMMINENT_FINALE_POTENCY | The crew will get a louder warning when this level of rune is created, and the next one will be special |
| LOG_SPELL_TYPE | Used in logging spells for roundend results |
| TRAITOR_FLAVOR_FILE | File to the traitor flavor |
| MALFUNCTION_FLAVOR_FILE | File to the malf flavor |
| HERETIC_INFLUENCE_FILE | JSON string file for all of our heretic influence flavors |
| IS_TRAITOR | Checks if the given mob is a traitor |
| IS_CULTIST | Checks if the given mob is a blood cultist |
| IS_NUKE_OP | Checks if the given mob is a nuclear operative |
| IS_HERETIC | Checks if the given mob is a heretic. |
| IS_HERETIC_MONSTER | Check if the given mob is a heretic monster. |
| IS_HERETIC_OR_MONSTER | Checks if the given mob is either a heretic or a heretic monster. |
| IS_WIZARD | Checks if the given mob is a wizard |
| IS_REVOLUTIONARY | Checks if the given mob is a revolutionary. Will return TRUE for rev heads as well. |
| IS_HEAD_REVOLUTIONARY | Checks if the given mob is a head revolutionary. |
| IS_MALF_AI | Checks if the given mob is a malf ai. |
| IS_HUMAN_INVADER | Returns true if the given mob has an antag datum which is assigned to a human antagonist who doesn't spawn on the space station |
| ANTAGONIST_PREVIEW_ICON_SIZE | The dimensions of the antagonist preview icon. Will be scaled to this size. |
| OBJECTIVE_ITEM_TYPE_NORMAL | Can appear in everything |
| OBJECTIVE_ITEM_TYPE_TRAITOR | Only appears in traitor objectives |
| HIJACK_PROB | Chance that the traitor could roll hijack if the pop limit is met. |
| HIJACK_MIN_PLAYERS | Hijack is unavailable as a random objective below this player count. |
| MARTYR_PROB | Chance the traitor gets a martyr objective instead of having to escape alive, as long as all the objectives are martyr compatible. |
| KILL_PROB | Chance the traitor gets a kill objective. If this prob fails, they will get a steal objective instead. |
| DESTROY_AI_PROB | If a kill objective is rolled, chance that it is to destroy the AI. |
| MAROON_PROB | If the destroy AI objective doesn't roll, chance that we'll get a maroon instead. If this prob fails, they will get a generic assassinate objective instead. |
| TELECRYSTALS_DEFAULT | How many telecrystals a normal traitor starts with |
| TELECRYSTALS_PRELOADED_IMPLANT | How many telecrystals mapper/admin only "precharged" uplink implant |
| UPLINK_IMPLANT_TELECRYSTAL_COST | The normal cost of an uplink implant; used for calcuating how many TC to charge someone if they get a free implant through choice or because they have nothing else that supports an implant. |
| UPLINK_SHARED_STOCK_UNIQUE | Items with this stock key do not share stock with other items |
| UPLINK_SHARED_STOCK_KITS | Stock keys for items that share inventory stock |
| OBJECTIVE_STATE_INACTIVE | If the objective hasn't been taken yet |
| OBJECTIVE_STATE_ACTIVE | If the objective is active and ongoing |
| OBJECTIVE_STATE_COMPLETED | If the objective has been completed. |
| OBJECTIVE_STATE_FAILED | If the objective has failed. |
| OBJECTIVE_STATE_INVALID | If the objective is no longer valid |
| OBJECTIVE_WEIGHT_VERY_UNLIKELY | Weights for traitor objective categories |
| ANTAG_GROUP_ABDUCTORS | Antag panel groups |
| CHANGELING_POWER_INNATE | Changeling abilities with DNA cost = this are innately given to all changelings |
| CHANGELING_POWER_UNOBTAINABLE | Changeling abilities with DNA cost = this are not obtainable by changelings - either used for secret unlockable or abstract abilities |
| LING_ABSORB_RECENT_SPEECH | For changelings, this is how many recent say lines are retained when absorbing a mob |
Define Details
ALL_WIZARD_LOADOUTS
Convenient list of all wizard loadouts for unit testing.
ANTAGONIST_PREVIEW_ICON_SIZE
The dimensions of the antagonist preview icon. Will be scaled to this size.
ANTAG_GROUP_ABDUCTORS
Antag panel groups
BLOB_FORCE_PLACEMENT
Forces the blob to place the core where they currently are, ignoring any checks.
BLOB_NORMAL_PLACEMENT
Normal blob placement, does the regular checks to make sure the blob isn't placing itself in an invalid location
BLOB_RANDOM_PLACEMENT
Selects a random location for the blob to be placed.
CHALLENGE_MIN_PLAYERS
Min players requireed for nukes to declare war
CHANGELING_POWER_INNATE
Changeling abilities with DNA cost = this are innately given to all changelings
CHANGELING_POWER_UNOBTAINABLE
Changeling abilities with DNA cost = this are not obtainable by changelings - either used for secret unlockable or abstract abilities
DESTROY_AI_PROB
If a kill objective is rolled, chance that it is to destroy the AI.
ELIMINATION_ENABLED
Needs to be present for shuttle to be elimination hijacked
ELIMINATION_NEUTRAL
Does not stop elimination hijacking but itself won't elimination hijack
ELIMINATION_PREVENT
Prevents elimination hijack same way as non-antags
GRAND_RITUAL_FINALE_COUNT
Number of times you need to perform the grand ritual to complete it
GRAND_RITUAL_IMMINENT_FINALE_POTENCY
The crew will get a louder warning when this level of rune is created, and the next one will be special
GRAND_RITUAL_RUNES_WARNING_POTENCY
The crew will start being warned every time a rune is created after this many invocations.
HERETIC_INFLUENCE_FILE
JSON string file for all of our heretic influence flavors
HERETIC_NO_HEART_ORGAN
Defines are used in /proc/has_living_heart() to report if the heretic has no heart period, no living heart, or has a living heart.
HIJACK_MIN_PLAYERS
Hijack is unavailable as a random objective below this player count.
HIJACK_PROB
Chance that the traitor could roll hijack if the pop limit is met.
IS_CULTIST
Checks if the given mob is a blood cultist
IS_HEAD_REVOLUTIONARY
Checks if the given mob is a head revolutionary.
IS_HERETIC
Checks if the given mob is a heretic.
IS_HERETIC_MONSTER
Check if the given mob is a heretic monster.
IS_HERETIC_OR_MONSTER
Checks if the given mob is either a heretic or a heretic monster.
IS_HUMAN_INVADER
Returns true if the given mob has an antag datum which is assigned to a human antagonist who doesn't spawn on the space station
IS_MALF_AI
Checks if the given mob is a malf ai.
IS_NUKE_OP
Checks if the given mob is a nuclear operative
IS_REVOLUTIONARY
Checks if the given mob is a revolutionary. Will return TRUE for rev heads as well.
IS_TRAITOR
Checks if the given mob is a traitor
IS_VALID_GHOUL_MOB
Checks if the passed mob can become a heretic ghoul.
- Must be a human (type, not species)
- Skeletons cannot be husked (they are snowflaked instead of having a trait)
- Monkeys are monkeys, not quite human (balance reasons)
IS_WIZARD
Checks if the given mob is a wizard
KILL_PROB
Chance the traitor gets a kill objective. If this prob fails, they will get a steal objective instead.
LING_ABSORB_RECENT_SPEECH
For changelings, this is how many recent say lines are retained when absorbing a mob
LOG_SPELL_TYPE
Used in logging spells for roundend results
MALFUNCTION_FLAVOR_FILE
File to the malf flavor
MAROON_PROB
If the destroy AI objective doesn't roll, chance that we'll get a maroon instead. If this prob fails, they will get a generic assassinate objective instead.
MARTYR_PROB
Chance the traitor gets a martyr objective instead of having to escape alive, as long as all the objectives are martyr compatible.
MAX_KNOWLEDGE_PRIORITY
A define used in ritual priority for heretics.
OBJECTIVE_ITEM_TYPE_NORMAL
Can appear in everything
OBJECTIVE_ITEM_TYPE_TRAITOR
Only appears in traitor objectives
OBJECTIVE_STATE_ACTIVE
If the objective is active and ongoing
OBJECTIVE_STATE_COMPLETED
If the objective has been completed.
OBJECTIVE_STATE_FAILED
If the objective has failed.
OBJECTIVE_STATE_INACTIVE
If the objective hasn't been taken yet
OBJECTIVE_STATE_INVALID
If the objective is no longer valid
OBJECTIVE_WEIGHT_VERY_UNLIKELY
Weights for traitor objective categories
PAYOFF_MIN
Minimum amount the pirates will demand
RESPONSE_MAX_TIME
How long pirates will wait for a response before attacking
TELECRYSTALS_DEFAULT
How many telecrystals a normal traitor starts with
TELECRYSTALS_PRELOADED_IMPLANT
How many telecrystals mapper/admin only "precharged" uplink implant
TRAITOR_FLAVOR_FILE
File to the traitor flavor
UPLINK_IMPLANT_TELECRYSTAL_COST
The normal cost of an uplink implant; used for calcuating how many TC to charge someone if they get a free implant through choice or because they have nothing else that supports an implant.
UPLINK_SHARED_STOCK_KITS
Stock keys for items that share inventory stock
UPLINK_SHARED_STOCK_UNIQUE
Items with this stock key do not share stock with other items
WIZARD_LOADOUT_CLASSIC
The Classic Wizard wizard loadout.
WIZARD_LOADOUT_MJOLNIR
Mjolnir's Power wizard loadout.
WIZARD_LOADOUT_SOULTAP
Soul Tapper wizard loadout.
WIZARD_LOADOUT_WIZARMY
Fantastical Army wizard loadout.