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 |
COME_BACK_FROM_CAPTURE_TIME | How long till a spessman should come back after being captured and sent to the holding facility (which some antags use) |
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 |
SPY_OBJECTIVE_FILE | JSON file containing spy objectives |
IS_TRAITOR | Checks if the given mob is a traitor |
IS_CULTIST | Cult checks Checks if the given mob is a blood cultist |
GET_CULTIST | Checks if the given mob is a blood cultist and is guaranteed to return the datum if possible - will cause issues with above trait |
IS_CULTIST_OR_CULTIST_MOB | Checks if the mob is a sentient or non-sentient cultist |
IS_HERETIC | Heretic checks Checks if the given mob is a heretic. |
GET_HERETIC | Checks if the given mob is a heretic and is guaranteed to return the datum if possible - will cause issues with above trait |
IS_HERETIC_MONSTER | Check if the given mob is a heretic monster. |
IS_LUNATIC | Check if the given mob is a lunatic |
IS_HERETIC_OR_MONSTER | Checks if the given mob is either a heretic, heretic monster or a lunatic. |
IS_IN_MANSUS | CHecks if the given mob is in the mansus realm |
IS_CHANGELING | Etc. Checks if the given mob is a changeling |
IS_NUKE_OP | Checks if the given mob is a nuclear operative |
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_SPY | Checks if the given mob is a spy! |
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 |
OBJECTIVE_ITEM_TYPE_SPY | Only appears for spy bounties |
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 |
SYNDIE_ILLEGAL_TECH | Does this item provide illegal tech? |
SYNDIE_TRIPS_CONTRABAND | Does this item go off when scanned by a contraband scanner? |
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 |
SPY_DIFFICULTY_EASY | Can easily be accomplished by any job without any specialized tools, people won't really miss these things |
SPY_DIFFICULTY_MEDIUM | Requires some specialized tools, knowledge, or access to accomplish, may require getting into conflict with the crew |
SPY_DIFFICULTY_HARD | Very difficult to accomplish, almost guaranteed to require crew conflict |
BATTLE_ROYALE_CAMERA_NET | Camera net used by battle royale objective |
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
BATTLE_ROYALE_CAMERA_NET
Camera net used by battle royale objective
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
COME_BACK_FROM_CAPTURE_TIME
How long till a spessman should come back after being captured and sent to the holding facility (which some antags use)
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
GET_CULTIST
Checks if the given mob is a blood cultist and is guaranteed to return the datum if possible - will cause issues with above trait
GET_HERETIC
Checks if the given mob is a heretic and is guaranteed to return the datum if possible - will cause issues with above trait
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_CHANGELING
Etc. Checks if the given mob is a changeling
IS_CULTIST
Cult checks Checks if the given mob is a blood cultist
IS_CULTIST_OR_CULTIST_MOB
Checks if the mob is a sentient or non-sentient cultist
IS_HEAD_REVOLUTIONARY
Checks if the given mob is a head revolutionary.
IS_HERETIC
Heretic checks 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, heretic monster or a lunatic.
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_IN_MANSUS
CHecks if the given mob is in the mansus realm
IS_LUNATIC
Check if the given mob is a lunatic
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_SPY
Checks if the given mob is a spy!
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_SPY
Only appears for spy bounties
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
SPY_DIFFICULTY_EASY
Can easily be accomplished by any job without any specialized tools, people won't really miss these things
SPY_DIFFICULTY_HARD
Very difficult to accomplish, almost guaranteed to require crew conflict
SPY_DIFFICULTY_MEDIUM
Requires some specialized tools, knowledge, or access to accomplish, may require getting into conflict with the crew
SPY_OBJECTIVE_FILE
JSON file containing spy objectives
SYNDIE_ILLEGAL_TECH
Does this item provide illegal tech?
SYNDIE_TRIPS_CONTRABAND
Does this item go off when scanned by a contraband scanner?
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.