A new mind attached list, restricted_roles, will keep incompatible jobsout of rotation.
Players who would otherwise qualify to play as a protected role will spawn
as the most wanted not protected role they qualify for if they are an
onstation antagonist. If they don't qualify for any job in this way
depending on preferences they will either spawn as an assistant or a random
job (which also makes sure they don't end up in an incompatible job).
Note this doesn't impact late join antagonists or mulligan antagonists.
Roundstart only.
This commit first adds a new helper proc labeled isAntag(), as well as
adding a check for antags for every instance of msg_admin_attack().
Goals of this commit:
- Make admin ATTACK: logs indicate if attacker is an antagonist.
Note; High probability of merge conflicts, 47 files changed.
- Also adds ABSTRACT and NODROP flags in preparation for removal of
canremove and abstract vars.
- Sorts some of the setup.dm flags so they're in order.
- Replaces 'flags & 2' in policetape.dm with pass_flags & PASSTABLE,
should have the same effect.
Talismen made from starting cultist stack now equip to backpack, pockets
or hands. Will not use up a paper of the stack if the talisman cannot
be equipped.
Also:
Breathing in hot/cold air will affect your body temperature.
Fixes old body temperature stabilization code not working.
Thermometer icon now adjusts based on species.
Reduced BODYTEMP_AUTORECOVERY_MINIMUM to a less ridiculous value.
Conflicts:
code/game/objects/items/weapons/tanks/tanks.dm
code/modules/clothing/spacesuits/ninja.dm
code/modules/clothing/spacesuits/rig.dm
code/modules/mob/living/carbon/human/life.dm
Adds a variable to hats to determine how likely they are to fall off. Makes them fall off with the given probability when disarmed (some percentage of the time) or when the character falls. Space helmets, bio hoods, helmets, radiation helmets, etc, are unlikely to fall off
Conflicts:
code/game/gamemodes/cult/cult_items.dm
code/modules/clothing/clothing.dm
code/modules/clothing/head/hardhat.dm
code/modules/clothing/head/helmet.dm
code/modules/clothing/head/jobs.dm
code/modules/clothing/head/misc.dm
code/modules/clothing/head/misc_special.dm
code/modules/clothing/suits/bio.dm
code/modules/clothing/suits/utility.dm
code/modules/events/tgevents/holiday/xmas.dm
code/modules/mob/mob.dm
Overrides the generic sounds with more suitable ones where needed.
Weapons that do no damage don't have sound effects.
Conflicts:
code/game/gamemodes/wizard/artefact.dm
code/game/objects/items/stacks/sheets/glass.dm
code/game/objects/items/weapons/melee/misc.dm
code/game/objects/items/weapons/storage/toolbox.dm
code/game/objects/items/weapons/stunbaton.dm
code/game/objects/items/weapons/weaponry.dm
code/game/objects/weapons.dm
code/modules/hydroponics/hydroitemdefines.dm
code/modules/surgery/tools.dm
Makes them a bit creepier, and makes it so they don't spawn with
underwear. Because really, if the rune spawns anything, it should be
robes. But that would make things too easy.