Commit Graph

31452 Commits

Author SHA1 Message Date
WarlockD 1d0cc0c715 Papers Please! Now with Markup...again! (#51534)
* Initial update

* tgui ofcourse

* Small fixes

* More lint fix

* Updated to support signatures and adding to paper

* Sign and adding to paper work, need to tune it a bit though

* Ok, signatures and adding work, still working on stamps

* Stamps now, fix rotate and cleanup tommow

* Alrighty!  Lets try for some testing!

* Stupid travis

* annnd the bundle

* Minor fixes

* DONE.  Still have some code cleanup, but all the major features work now

* Requested changes cleaned up formating

* Dammmn you bundle!

* Fixed the preview issue

* Updated bundle

* Ok, some more fixes and clean up

* Ugh damn you tgui bundle

* Update tgui.bundle.js
2020-06-17 11:55:58 -04:00
tralezab 61c9ebeefa you can no longer raise the living into ghouls (#51668)
* fixes ghoul check (will test)

* jesus
2020-06-17 11:51:38 -04:00
Jordan Brown 6c196c70c8 Merge pull request #51679 from ShizCalev/ore-machine-exploit-fix
[s] Fixes ore machine exploits
2020-06-17 11:51:11 -04:00
Tlaltecuhtli d924b16bb1 adds the organ transport box (#51604)
* 1

* whiter box
2020-06-17 11:46:30 -04:00
Iamgoofball d4815172cb Fixes GARBAGE DAY. (#51699) 2020-06-17 16:24:38 +12:00
Iamgoofball df60e014ab Updates Gangster spawn text to correct a lie that's being told (#51638)
* Updates Gangster spawn text to correct a lie that's being told

* Update code/modules/antagonists/gang/gang.dm

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* Update code/modules/antagonists/gang/gang.dm

Co-authored-by: ラッピ from PSO2 <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

* Update gang.dm

* Update gang.dm

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: ラッピ from PSO2 <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-06-16 23:21:54 -04:00
ATH1909 c644988193 oops (#51690) 2020-06-16 22:15:51 -04:00
Mickyan e3d5fb1bbf fixes wigs again (#51632) 2020-06-16 14:22:00 -04:00
Jordan Brown 6c09eaf7d2 Merge pull request #51649 from Firecage/clowncar_nerf
Clown cars will no longer be able to float over ice chasms.
2020-06-16 14:21:13 -04:00
Jordan Brown ade117d5ec Merge pull request #51656 from ShizCalev/fixes-engineering-goggles-overlay-colors
fixes engineering goggles glasses overlay colors
2020-06-16 14:20:36 -04:00
Jordan Brown 44b9a2e0d2 Merge pull request #51658 from ShizCalev/cable-fix
Fixes cable coils always showing as a full stack.
2020-06-16 12:54:18 -04:00
Tümer Türkmen e314669651 ooc no longer checks if message is ic if round hasn't started (#51660)
* pog

* fixed

* oops
2020-06-16 12:18:04 -04:00
Ryll Ryll e461b24ee3 Removes turf embedding (#51571)
* Auto stash before rebase of "tgstation/master"

* updates for wounds

* more cleaning up

* reexamines examines
2020-06-16 13:39:47 +02:00
EdgeLordExe d5b97b3938 Heretics bugfix (#51648)
* aaa

* e
2020-06-16 06:35:17 -04:00
MrMelbert 053add1564 animate_atom_living proc (Staff of Animation) fix (#51637)
* fix

* This is probably a better way of doing it
2020-06-16 06:07:27 -04:00
ShizCalev a8e62d7132 [s] Fixes ore machine exploits 2020-06-16 05:33:43 -04:00
AnturK d12722e56c Areabound component & mapping helper (#51605)
* Adds areabound component and mapping helper.

* desc

* Delete multi-use one.

* doesn't really matter for this but sure
2020-06-15 15:36:00 -04:00
ShizCalev c164d9922f Fixes a few duplicate articles in examines (#51631)
* Fixes heavily fried foods naming issues

* a few more
2020-06-15 15:10:35 -04:00
Jordan Brown c17c4606de Merge pull request #51641 from Jared-Fogle/drunk
Implement unused drunk alert
2020-06-15 14:52:34 -04:00
ShizCalev 3c0d0f80fb Fixes powered off computer screen errors (#51628) 2020-06-15 19:26:15 +02:00
ラッピ from PSO2 7ba921ee6d Medbots now know they should be healing other damage types instead of brute (#51606) 2020-06-15 10:40:37 -04:00
Kaffe-work 8e5980802b Add wound armor values to wizard hat (#51644)
Fixes consistency issues between hat and robe
2020-06-15 10:34:26 -04:00
AnturK 24abb2ebf9 Adds keybindings sanity. (#51627)
* Adds keybindings sanity.

* Whoops

* clears the key if it's unsed
2020-06-15 20:54:18 +08:00
ShizCalev cbaf10eea1 Fixes singular cable stacks never showing up properly 2020-06-15 02:07:14 -04:00
Rohesie e6b5870737 [s] fixes a href exploit on shuttle computer code
User can crash the admins chat, or send them evil memes.

Fixes #51654
2020-06-15 16:59:47 +12:00
ShizCalev de6e3546d3 fixes engineering goggles glasses overlay colors 2020-06-15 00:53:11 -04:00
Firecage e5b3cb208f Clown cars will no longer be able to float over chasms. 2020-06-15 00:01:16 +02:00
AnturK 2d1f38e100 Cleans up sensors nonsense (#51623)
* Cleans up sensor mess

* Makes refresh button work on lists in vv
2020-06-14 19:01:04 +02:00
EdgeLordExe b237791423 HERETICS: Solo Antagonist that grows with power (#51199)
* basic antag items


hey


based


game is on


ree


e


brings back good sprites


eueuuee


eeeeeeeeeeeeeeeeeeee


more


tgui baby


FINALLY


e


Small changes


adds better point s


Finishing touch!


FINISHED

ANTAG FINISHED. FUCKING. FINALLY
grammer


E


E?

* rebuilt tgui

* gamemode fixes

* i love inconsistent var names

* sprootes

* ath review

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* Automatic changelog compile [ci skip]

* a shit ton of changes

* Apply suggestions from code review

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* sprootes

* more changes ree

* Fixes and upgrades

* sprootes done

* dmdoc compliance

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* mewtewnew revieww ~~

* e

* Automatic changelog compile [ci skip]

* e

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* autodoc

* E

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* removed Destroy()

* * 0.5

* bugsquash

* e

* changes to ashlord's rite

* e

e

* e?

* the fuck

* adds station wide alerts for ascension events

* fixes an autodoc

* tgui

* e

e

* removes a redundant line of code

* sickly blade is now normal size item

* changes a line of code in flesh

* no revives for ghouls!

* uwu

* Update code/modules/antagonists/eldritch_cult/eldritch_knowledge.dm

Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>

* E

* E2

* Automatic changelog compile [ci skip]

* Makes eldritch cult into HERETICS

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* unfucks medallions code

* long live list loops

* E

* E

* i love my git crashing

* Magics

* E

* removes TRAIT_GHOUL since it was redundant

* Update code/modules/mob/living/carbon/inventory.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/carbon/inventory.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/carbon/human/species.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/carbon/human/species.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/carbon/human/human_update_icons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* fixies uwu

* hopefully i fixed all return ..()

* E

* EEEEEEE

* wormie now is refactored

* removes destroy

* Update code/modules/surgery/bodyparts/bodyparts.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Automatic changelog compile [ci skip]

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/knowledge/rust_lore.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/knowledge/rust_lore.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* E

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/knowledge/rust_lore.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* E?

* E

* one more

* k

* OH SHIT OH FUCK

* replaces ROLE_ECULT with ROLE_HERETIC and fixes preferences

* REE

* fleshy fixes

* fixes summonings

* REE

* texture fix

* fixes a stupid fucking runtime that i noticed coz i forgot people can be borged. FUCK

* grammer

* nullrods can now remove runes

* HOLY SHIT, HOTFIX NERF

* E

* E

* TEMPORARY SOLUTION TO MAKE HERETICS SPAWN NATURALLY

* Update code/modules/antagonists/eldritch_cult/eldritch_antag.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_book.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_effects.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_items.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* SECOND TEMPORARY FIX

* fixes fixes fixes fixes

* i hope this no longer will qdel summons

* E

* please push this asap

* E

* buffs sickly blade to 17 damage and only allowes culties to use it

* Explanations uwu

* examine changes ree

* e

* E

* )

* E

* E

* Ash fix

* changes to mad touch

* replaces e_cult with heretics and fixes protect objective to suceed when someone suicides

* E

* makes worm code use COMSIG_MOVABLE_MOVED

* replaces bad var names

* makes eldritch knowledge an assoc list

* E

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* what the fuck

* the fuck

* fixies

* EEE

* fixes

* e

* fixes

* mansus grasp slight buff

* changes overall changes

* E

* logging

* changes the eldritch armor into a nicer looking kryson robes

* tgui bundle

* QOL sprites and a spell to contract armsy

* SPRITES

* readds rust floors

* Fixes pointed out by anturk

* E

* E

* E

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* Cleanup

* Fixes

* E

* EEEEEEEEEEE

* makes heretics a little bit more common

* Update code/modules/antagonists/eldritch_cult/knowledge/flesh_lore.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* EEE

* eee

* E

* E

* Init

* Makes shit more readable

* h

* e

* E

* wounds compatibility patch

* hnng

* rusty better sprite

* turn

* Apply suggestions from code review

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>

* E

* further renames e

* E

* JS side

* changes reee

* e

* E

* yeesh

* e

* E

* pr

* e

* E

* changes re

* AAAAAAAAAAAAAA

* e

* antag huud

* e

* e

* hnnng

* hnng

* HNNNNG final patch - LAST TESTMERGABLE COMMIT

* HNNG NEVERMIND THIS IS THE LAST TESTMERGABLE COMMIT DONT LISTEN TO LIES BELOW

* e

* FINAL PATCH - MERGE READY

Adds defines, buffs blood siphon a bit so it can utilize wounds and replaces ROLE_CULTIST with ROLE_HERETIC

* forgot about a single debug line aaa

* hnnnhng

* hng

* a!

* aaa

* applies code review

* e

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: Changelogs <action@github.com>
Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-06-14 18:10:16 +02:00
Jared-Fogle 1ca9ebb73f Implement unused drunk alert 2020-06-14 01:33:42 -07:00
Jordie 68db4a0c23 fix ban note expiry time (#51636)
Expiry time was being inserted as 0000-00-00 00:00:00 when NULL was expected for non-expiring notes.
2020-06-14 18:34:41 +12:00
Jared-Fogle 1d045501f2 New tgui based orbit menu (#51585)
* New tgui based orbit menu

* Update tgui.bundle.js

* Safely check len if orbiters is null

* Add a search bar

* Rename Antagonists to Ghost-Visible Antagonists

Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com>

* Move ghosts below alive

* Rebuild tgui.bundle

* Update as per stylemistake's feedback

* Cosmetic stuff

* Rebuild tgui

* Replace localeString with faster alternative

* Update tgui.bundle.js to latest upstream

* Hitting enter in the search bar will now snap you to orbit the most relevant result

Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-06-14 00:14:31 -04:00
Jared-Fogle 79a81ca137 Fix medical HUD showing skulls when a player leaves their body for a ghost (#51594)
* Don't reset medical hud on /mob/living/Logout

* Use ShizCalev's suggestion
2020-06-14 00:13:16 -04:00
Fikou 83eac9cc38 some ctf changes (#51595)
* some ctf changes

* oops

* Revert "oops"

This reverts commit 0817cbf4ed516c29159b5c1802e54a61612c6be1.

* fuck

* penis
2020-06-14 00:10:27 -04:00
Jordan Brown 95d028387c Merge pull request #51618 from yorii/patch-7
fix lavaboat oars
2020-06-14 00:08:07 -04:00
Bobbahbrown 9b6457f770 Fix Malformed SQL Queries When Editing Admin Permissions (#51625) 2020-06-13 21:52:05 -04:00
Shadark 99a2ed811c Nerfed arrest access through SecHUDs & small balance changes (#51600) 2020-06-13 14:18:49 -04:00
ShizCalev 1ff3945b30 Fixes more belt missing texture crap (#51597)
* Fixes more belt missing texture crap

* #51010 progress

* tank fixes

* typo

* Removed dead/duplicated code

* cleanup

* don't need the - meme anymore with build_worn_icon

* icon fix

* commentary

* yelling at future coders

* more condensedd
2020-06-13 14:16:52 -04:00
Jordan Brown 63f6fa1f16 Merge pull request #51592 from deathride58/skidbgone
[s] Fixes a pair of DoS vectors.
2020-06-13 14:15:09 -04:00
Ryll Ryll 6236e418e6 Finishes medbot tipping, adds voices (#51555)
About The Pull Request

#51409 wasn't actually finished as I was still waiting on making voice lines before testing it, I should have mentioned that a bit more clearly. Either way, this fixes medbot interaction menus, and adds voice lines to medbots for tipping, righting, and idle emagged quotes. It also actually immobilizes tipped medbots and prevents spamming/queueing up lots of flips and unflips.

Fixes #51548

Medbot voice reel
Why It's Good For The Game

Enhances medibot desperation, reduces spam abuse
Changelog

🆑 Ryll/Shaps
fix: Medbot interaction menus are fixed
fix: You can no longer queue multiple medbot flips at once
soundadd: Medbots now have lots more to say, especially if you knock them over!
/🆑
2020-06-13 14:57:57 +12:00
yorii 549303e10a fix lavaboat oars 2020-06-13 04:24:46 +02:00
deathride58 af9e728589 autodoc compatibility 2020-06-12 13:56:57 -04:00
Timberpoes 473d1cf11b A very large number of Science QoL tweaks and mapping changes. (#51457)
* Sci access level tweaks

* All the Science changes

* Defeating the Step Demons

* Imma wage a WAGHHHH on Steps

* Addtional tweaks, Xenobio changes

* Fix Delta bar disposals, modify winter science gear in Xenobio, modify Pubby Xenobio

* Pixels instead of steps

* Use dedicated science winter coats
2020-06-12 18:52:21 +02:00
tralezab 4c0660ada3 Revert "bababooey (#51466)" (#51570)
This reverts commit b8c4d29376.
2020-06-12 18:05:35 +02:00
Ryll Ryll 0f6496a55c [READY] Adds Medical Wounds: Bamboo Bones and the Skin of Your Teeth (#50558)
About The Pull Request

This PR adds medical wounds, new forms of injuries that people can suffer that cause debilitation and complications, and often require more than what can be found in a medkit to treat. But let's be honest, big complicated walls of text about medical changes make people's eyes glaze over easily- so I created a handy infograph to explain the basics!

Also there's a full guide here!

dreamseeker_2020-04-18_20-42-19.png

The infograph may not be fully up to date with the specifics of the PR's status, but it'll be updated along with major changes so people have something to use as a crash course for familiarizing themselves with how wounds function. I also have another infograph with all 9 of the possible initial wounds coming, and will be up soon. You can also find the longform design doc here with more info on the broad details, including descriptions of treatments: hackmd whee
What this does

There's a lot to cover, but here's the bullet points of the main features and changes:

    Getting lots of damage on a limb can result in wounds, with more damage causing worse wounds. These can range from dislocated joints and minor cuts to compound fractures and fourth degree burns, and can affect you in different ways depending on what bodypart they're applied to (namely with broken bones).
    You can damage individual bodyparts on clothing (only jumpsuits for now) through the use of lasers and sharp weapons. Bodyparts that reach max damage are considered "shredded" and will not apply any protection for that zone until it is repaired with cloth. If all zones are disabled, the entire piece of clothing is shredded and unwearable until repaired with 3 cloth. Jumpsuits give a small amount of wound protection, and since sharp weapons and lasers generally get extra wound bonuses against bare flesh, even a plain jumpsuit provides decent protection from a few laser shots or scalpel stabs.
    Lasers gain a powerful niche versus unarmored/lightly armored carbons! As noted above, lasers can shred clothing and burn away zones of jumpsuits in 2 shots each, after which the target's bare flesh is exposed (barring other clothing), and lasers excel at dealing burn wounds against uncovered skin. Think big, nasty charring!
    Bleeding is now totally limb based, and gauze is as well. Bleeding is also 95% cut wound based, meaning sharp weapons make you bleed rather than just having 40+ brute on a limb.
    The more wounds and damage you get on a bodypart, the easier it'll be to gain more severe wounds. Wounds are arranged from Moderate, to Severe, to Critical in increasing severity, and you'll generally have to suffer the lesser ones before getting the worse ones.

dreamseeker_2020-05-15_03-15-59.png
Above: Someone having an incredibly bad day from bloodloss

dreamseeker_2020-05-04_22-29-29.png
Above: Scars from healed wounds

ShareX_2020-05-15_06-55-20.png
Above: Actual combat involving someone's head getting cracked

Here's a quick, if non-exhaustive, list of things I have left to do before I consider it feature complete

Finish adding treatments for each wound type/severity (mostly surgeries/triage for critical wounds)
Add second winds for bad injuries to give the victim a chance to get away
Flesh out severe & critical injuries in general
Find sprites for the bonesetter, bone gel, and anything else that might be needed
Add the medical items for treating the less severe wounds to the station
Polish code and remove any redundancies I left behind

    Quick balance pass to make sure nothing is horribly abuseable

Why It's Good For The Game

Adds a flexible new system for representing damage on carbons with injuries that can be treated in different ways. Moderate wounds from getting toolboxed or sliced with a scalpel can usually be treated by a buddy or even by yourself with the right tools, but getting flayed with a fireaxe or a laser gun emptied into your bare skin may require extra attention or even surgery in bad cases! Also makes laser guns cooler and more like 40k lasguns that can flash fry people (cool!)

This should also make spessmen more resilient and harder to kill outright, while still adding consequences and complications to getting hurt. Wounds aren't immediately fatal, but they can do things like slow down interactions, deal damage over time through infections, and generally make you more fragile until fixed. They can also give you a "second wind" on being applied that gives you a small adrenaline boost (or whatever) to help disengage and escape immediate danger.
Changelog

🆑 Ryll/Shaps
add: Introduces medical wounds, new injuries that can happen to fleshy carbons when they sustain lots of damage on a bodypart. There's quite a lot of change here, but you can read the guide at: https://tgstation13.org/wiki/Guide_to_wounds and an extended changelog is available here: https://hackmd.io/l_FI9b3tSqa_woDadewJXA
add: Introduces scars and temporal scarring! Healing a wound leaves a scar behind that can be seen by examining someone twice rapidly, and if Temporal Scarring is enabled in character prefs, surviving a round with scars will save them to be granted at roundstart another round! Let your body tell stories!
tweak: Bleeding is now fully bodypart-focused, and 95% of bleeding comes from cut wounds from sharp weapons. Gauze is applied on a limb-by-limb basis, and helps staunch bloodflow rather than totally stop it. Notably, you no longer bleed just from having 40+ brute damage on a limb.
del: Organic bodyparts are no longer disabled at maximum damage, but are easier to cause wounds to
add: O2 medkits in emergency lockers have been replaced with new emergency medkits with basic tools for diagnosing and treating wounds and basic damage
tweak: Herapin now rapidly increases bleeding on all open cuts, rather than causing bleeding by itself. The more cuts on the target, the more it will affect them.
tweak: Neckgrab table slams now hit the targeted limb rather than just the head, with a large chance to dislocate or break a bone
tweak: Sharp weapons and burning weapons can now shred zones on jumpsuits, disabling protection on that limb. Damaged clothes can be repaired with cloth.
tweak: Slaughter demons now deal less raw damage, but gain the ability to cause cut wounds, which becomes more powerful with each attack on a humanoid but resets when bloodcrawling.
/🆑
2020-06-12 23:47:33 +12:00
Coconutwarrior97 9b96b043fc Various grammar and spelling fixes. (#51061)
* Various grammar and spelling fixes.

* Another grammar fix.

* Spelling fix.

* Extinguished fix.

* Update code/modules/mob/living/simple_animal/hostile/space_dragon.dm

* Update code/modules/mob/living/simple_animal/hostile/space_dragon.dm

* Update code/modules/mob/living/simple_animal/hostile/space_dragon.dm

Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
2020-06-12 13:13:56 +02:00
deathride58 282852d261 Fixes a pair of DoS vectors. This isn't very urgent since skids haven't picked up on these specific ones yet, but now that I'm making this set of PRs, it's only a matter of when now. 2020-06-11 23:43:14 -04:00
ATH1909 db51091d86 Borgs and AIs now start with their borgHUDs/siliconHUDs on by default (#51549)
* Update silicon.dm

* Update code/modules/mob/living/silicon/silicon.dm

Co-authored-by: MrPerson <spamtaffic@gmail.com>

* Update silicon.dm

Co-authored-by: MrPerson <spamtaffic@gmail.com>
2020-06-11 18:55:46 -04:00
tmtmtl30 a2b60fcbce Ports Families gamemode to Dynamic roundstart + midround rulesets (#51244)
* stage one

doesn't compile yet

* step 2

added newer changes and goof's balance requests. still doesn't compile

* phase 3

somewhere along the way, wanted code got fucked, and i have to commit to switch branches to debug it better

* documentation, first dyn rulesets

-deprecates a proc nobody needed
-documents a lot of things, hopefully enough of them
-reorganizes a lot of things to allow for admin-spawned families
-adds dynamic rulesets (unfinished, debug settings left in)
-hopefully finally fixes wanted level displays. all code sucks; ui code sucks especially. why can i put an acid level on a screen element? Fuck you
-implements fully functional jewish qabbalah system to replace families gamemode. discover secret names of god + knowledge of universe structure through study of tanach and talmud, use them to secure the station for israel 2
-introduces gay agenda to unsuspecting stationgoers
-remind me to check out gang tag code for mentions of ssticker.mode etc. if one of my later commits doesn't say i did that

* finishes up rulesets

-rulesets work now
-hopefully cleaned up the debug code for them
-minor adjustment to check_wanted_level() proc to ensure wanted stars update appearance correctly post-space cops
-i resisted the urge to modify one of the systems so that it was more "elegant" or whatever because knowing my luck it'd result in another 10 years of failures and tests
-checked out gang tag code; seems fine. perhaps the only part of families code i haven't gotten my mitts on. hopefully it won't break
-you can now print fully functional geneseed organs from the roundstart medlathe for use in self-augmentation
-consumed my soul and replaced it with a pathetic, empty husk
-implemented social security number skimming operation
-removed herobrine

* addressing issues

from the github

* suggestions

cleanin some things up

* more tweaks

goof requested on discord that i ensure 3 families every time, and adding the highlander ruleset flag makes sense because it means the 1-2 families-revs or families-nukies punch is less likely

* adjustments for midround ruleset

-wanted level no longer cares about deaths that happened before the handler's pre_setup_analogue() proc is called
-midround ruleset will not trigger if more people have died during the shift than there were people readied up at roundstart (in addition to the minimum population of 36).
-changes to antagonist code; only nonhumans may roll antagonist. if you have more than 1 hour of time spent playing as a human you are ineligible. something something 13%

* #51315 compatibility

removes useless "high_population_requirement" vars on families rulesets

* moves stuff

team creation should have gone in create_team() not on_gain() since the former gets called directly before the latter

* shuffles some procs

removes unnecessasry blocking_rules list for roundstart families gamemode
2020-06-11 23:29:18 +02:00
AnturK 20007b23d5 Proximity monitor related fixes. (#51544)
* Makes cameras create prox monitors only when necessary.

* typofix

* Makes proximity monitors behave properly on shuttle moves.

* Makes transit turfs work without crosslinked levels.
2020-06-11 16:30:15 +02:00