Commit Graph

4104 Commits

Author SHA1 Message Date
SkyratBot
f1503016c5 [MIRROR] lava and weather immunities refactor (also jump boots fix) (#7893)
* lava and weather immunities refactor (also jump boots fix) (#61003)

In remembrance of all those people who used jump boots to cross lava unaware of an issue c*ders wouldn't fix....

EDIT: This is now a lava and weather immunities refactor:
Weather immunities are now status traits since they have a multitude of sources (especially for lava) which might conflict with one another otherwise.
The lava burn_stuff proc has also been been refactored in different procs, mostly because of that snowdin subtype with inconsistent, old checks.
Weather datums should now use can_weather_act instead of weather_act to check if something can be affected by weather or not, as they should.
All movables can protect contained mobs if they have the relative weather immunity traits. This works at any contents depth.
No more snowflake weather_protection variable for closets.
Removed the weather_immunities list from living mobs (simple animals still have it but it's only for traits assignment on init because way too many child types lack the immunities of their parents).
Removed some unused defines.
Renamed some variables as per guidelines.
It has been tested.
And yea, jump boots fixed because that's the original scope of this PR.

(Initially just made throwing make you fire immune, that was blocked because it breaks perma stuff, instead it ended up be a refactor to make jumpboots usable with weather immumnity stuff

* lava and weather immunities refactor (also jump boots fix)

* Update Ashwalkers.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-01 16:58:10 +01:00
SkyratBot
146469e37e [MIRROR] Fixes some unnecessary attack chain cancels (#7910)
* Fixes some unnecessary attack chain cancels (#61038)

Replaced attack chain cancels on some objects with parent calls

* Fixes some unnecessary attack chain cancels

Co-authored-by: GoblinBackwards <kinggreenyoshi@gmail.com>
2021-09-01 16:50:47 +01:00
Useroth
f900b1ec6d [MDB IGNORE] Eliminates Toxins (#60619) (#7911)
Repaths everything referring to "toxins" while actually meaning either the room in science or plasma gas. While this PR might be disrespectful to our forefathers, given this is (I believe) a holdover from as far back as the Exadv1 days, this has constantly irked me since I started working with the code. None of the player-facing stuff has referred to plasma as toxin since before 4407 hit, besides the Toxins Lab, and yet all of the type-paths are still pointing at toxins, making it a nightmare to search for in a map editor, and making the code needlessly easy to confuse with that of toxin damage. So this just fires it into the sun.

Anything relating to Toxins, the science subdepartment, now makes reference to Ordnance instead. This felt fitting enough given the focus of the subdepartment is around the creation of and testing of explosives.
Anything relating to plasma gas has, fittingly, been made to refer to plasma gas.

Edit: Ah yes, I feel I should probably apologise off the bat for the size of this PR- the code touched is mostly atmos machinery and simplemobs, a few sprites here and there, and of course the station maps + a few offstation maps.

Makes the code more legible and makes mapping less painful.

(The payment has been made)

Co-authored-by: EOBGames <58124831+EOBGames@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-01 16:50:22 +01:00
SkyratBot
9290399403 [MIRROR] Uses regex datums and macros for text-manipulation (#7805)
* Uses regex datums and macros for text-manipulation (#61042)

* Uses regex datums and macros for text-manipulation

* a

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-01 16:28:56 +01:00
SkyratBot
eae7233c5b [MIRROR] small refactor to can_interact() so that borg range is fully respected (#7891)
* small refactor to can_interact() so that borg range is fully respected (#60693)

Its a relatively small refactor that changes the previous machinery "can_interact()" proc that literally did a full override despite half of their checks already existing in not one, but TWO parent procs, so i removed the redundant checks, added callbacks to its parents and then added the cyborg range check on the can_interact_with() itself. in doing so i also moved the interaction range var from silicons only, to mobs as a whole and defaulted it to a single tile, silicons override it to 7 (so pAIs and borgs like before) but then set AI and AI.eye to "null", because i have a check in can_interact that if there is no range set, then the range is effectively unlimited. and i even added code for when AI is carded and their wireless transmission is disabled it sets their range to "0" aka, it has no range to do anything even if it could

this was really complicated for me so despite my extensive testing it probably would be a bad thing if any of you want to test my code yourself to ensure there isnt a bug with this (theres no runtimes ive come across)

note: i did a lot of searching and going through machinery to ensure i caught all the little snowflake overrides and added can_interact() checks to them, but i may have missed one or two things, especially maybe a altclick or ctrlclick somewhere, however i believe i caught most of them

one nice side effect of this refactor is that you can actually set another mobs range to something other than 1 tile and they can interact at range, rather than only silicons getting this ability, an admin could VV a human to have a 3 tile arm reach as a meme if they want

* small refactor to can_interact() so that borg range is fully respected

Co-authored-by: 小月猫 <alina.r.starkova@gmail.com>
2021-08-31 20:26:36 +01:00
AxieTheAxolotl
765ce3e285 [MODULAR] Readds Peacekeeper lockers with animation (#7704)
* have I told you the definition of insanity

* Update closet.dmi

* dm is a shitty coding language

Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>

* yuh

Co-authored-by: FlamingLily <80451102+FlamingLily@users.noreply.github.com>
2021-08-28 02:08:58 +01:00
Deek-Za
2f6aa64b75 Addition: Security Gun Vendor Circuit (#7678)
* Adds Gun Vendor Circuit

This adds a circuit for the weapons vendor

* Update code/game/objects/structures/crates_lockers/closets/secure/security.dm

Co-authored-by: AxieTheAxolotl <86872535+axietheaxolotl@users.noreply.github.com>

Co-authored-by: AxieTheAxolotl <86872535+axietheaxolotl@users.noreply.github.com>
2021-08-21 22:37:52 +01:00
SkyratBot
b0c01e40af [MIRROR] Del The World: Unit testing for hard deletes (#7589)
* Del The World: Unit testing for hard deletes (#59612)

Co-authored-by: SteelSlayer <42044220+SteelSlayer@ users.noreply.github.com>

* Del The World: Unit testing for hard deletes

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@ users.noreply.github.com>
2021-08-17 18:58:57 +01:00
death and coding
313a941538 [modular][ready]transfers the old cowboy poncho to the neckslot and adds obj sprites for mantles (#7586)
* [modular][ready]transfers the old cowboy poncho to the neckslot

* blood b gone

* Update cloaks.dm

* FINALLY

* AAAAAAAAAAAAAAAAAAAAA FIXES

* Update neck.dmi

Co-authored-by: louiseedwardstuart <bonniefluff>
2021-08-17 13:46:05 -04:00
SkyratBot
cbeb240fb0 [MIRROR] Fixes a warning that some guy left in freezer.dm code (#7602)
* Fixes a warning that some guy left in freezer.dm code

* Mirror!

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-08-17 15:42:38 +12:00
Gandalf
c46a2a7ac9 Ports pollution from Horizon - Original PR: https://github.com/hrzntal/horizon/pull/468 (Made by Azarak) (#7453)
* AAAAAAAAAAA

* pollution scrubbbies

* fires cause smoke, right? Also NSS journey has scrubbies

* washing things removes the smell!

* what the fuck were you doing last night

* Update temporary_pollution_emission_component.dm

* space turfs shouldn't have pollution

* Fix air now fixes smoke

* Update pollution.dm

* Update pollution.dm

* Update bonfire.dm
2021-08-15 23:41:20 +01:00
SkyratBot
d4e11d2080 [MIRROR] Redoes how alarms are handled, moves their behavior to datums (#7547)
* Redoes how alarms are handled, moves their behavior to datums

* a

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-15 23:38:01 +01:00
SkyratBot
a1c7bd4bae [MIRROR] knockback component to element. (#7542)
* knockback component to element.

* Update tgstation.dme

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/hostile/megafauna/demonic_frost_miner.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/hostile/megafauna/demonic_frost_miner.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

* Update freezer.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-08-15 23:09:21 +01:00
SkyratBot
9ab3e07909 [MIRROR] freezers will now actually protect their contents from explosions once. (#7579)
* freezers will now actually protect their contents from explosions once. (#60875)

It's supposed to shield contents from explosions, not only itself.

* freezers will now actually protect their contents from explosions once.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-15 22:52:05 +01:00
SkyratBot
d972fc5a15 [MIRROR] brings back barticles for bonfires (#7535)
* Revert "Revert "Barticles for bonfires 2021 (#59869)" (#59916)" (#60469)

* brings back barticles for bonfires

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-08-13 02:44:41 +01:00
AxieTheAxolotl
5c723cbd63 [SEMI-MODULAR] Command Clothing Vendor (#7472)
* guh

* update icon

* added more of the shitty HOS' clothing

* added qm's furcoat to vendor

* space

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>

* space

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>

* space

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>

* space

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>

* space

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>

* space

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>

* added vendor to journey

* fix this fucking merge

* MERGE PLEASE

* Revert "MERGE PLEASE"

This reverts commit b212932e730f1263ca6d10faa10d2066ffac9859.

* Revert "Merge branch 'command_vendor' of https://github.com/axietheaxolotl/Skyrat-tg into command_vendor"

This reverts commit b7623a5cd8c999ae43bc56cc78cc188b1d298831, reversing
changes made to 501a0b274e8e084357603ee9f0d0519d48d3e186.

* Revert "Revert "Merge branch 'command_vendor' of https://github.com/axietheaxolotl/Skyrat-tg into command_vendor""

This reverts commit 33700cd6cfbc147657a6bb9b1651ef8c775b53b8.

* nukes old hop parade armour

* funny conflict meme

Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>
2021-08-12 22:46:01 +01:00
SkyratBot
2ac8378e7e [MIRROR] fixes cannons not working (#7511)
* fixes cannons not working (#60757)

* fixes cannons not working

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-08-12 00:57:19 +01:00
SkyratBot
d2d89a863a [MIRROR] [Ready] Mining Loot Rework (#7461)
* [Ready] Mining Loot Rework

* AAAA

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-10 16:12:36 +01:00
AxieTheAxolotl
0902aaa86e idfk any more man (#7479) 2021-08-10 15:57:15 +01:00
GoldenAlpharex
42ebcf3798 Revert "Removes HOS parade jackets (#7425)" (#7464)
This reverts commit 1c178aac33.
2021-08-08 22:07:38 +01:00
SkyratBot
4cdde11754 [MIRROR] Toilet deconstruction error fix (#7455)
* Toilet deconstruction error fix (#60725)

* Toilet deconstruction error fix

Co-authored-by: aaaa1023 <74441292+aaaa1023@users.noreply.github.com>
2021-08-08 15:52:03 +01:00
SkyratBot
5ad507f0bc [MIRROR] railings can now be vaulted/climbed over from both sides. (#7441)
* railings can now be vaulted/climbed over from both sides. (#60110)

Quality of life; it spares us from having to walk all the way around or destroy them with either a wirecutter (faster) or any impromptu weapon (slower, as they currently have 300 maximum integrity, despite taking only three iron rods - one more than grilles - to make) in certain occasions, and it's already a thing on other codebases that have railing objects.

* railings can now be vaulted/climbed over from both sides.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-06 23:25:11 +01:00
AxieTheAxolotl
539f078a08 [(mostly) MODULAR] HOP Drip (#7432)
* le code man

* nukes bowman because jannies suck

Co-authored-by: Gandalf <jzo123@hotmail.com>

Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-06 14:30:18 +01:00
AxieTheAxolotl
1c178aac33 Removes HOS parade jackets (#7425)
* le code

* fix nerd

* Update code/game/objects/structures/crates_lockers/closets/secure/security.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update code/game/objects/structures/crates_lockers/closets/secure/security.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update modular_skyrat/modules/customization/modules/clothing/suits/armor.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update security.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>
2021-08-06 14:08:07 +01:00
SkyratBot
b48b61cd19 [MIRROR] Kills misc clothing files (Almost) (#7310)
* Kills misc clothing files (Almost)

* comment out clown cytology (#7369)

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Matthew J <12817816+ZephyrTFA@users.noreply.github.com>
2021-08-05 13:48:05 +01:00
AxieTheAxolotl
af61e40cf7 Added le code (#7398) 2021-08-05 13:16:18 +01:00
SkyratBot
a551aaa60f [MIRROR] removes TRAIT_RESTRAINED from xeno nests (#7382)
* removes TRAIT_RESTRAINED from xeno nests (#60676)

* removes TRAIT_RESTRAINED from xeno nests

Co-authored-by: InsaneRed <47158596+InsaneRed@users.noreply.github.com>
2021-08-04 15:09:50 +01:00
SkyratBot
bce50c3a84 [MIRROR] Deployable Component (Big Dakka Included) (#7380)
* Deployable Component (Big Dakka Included) (#60554)

* Deployable Component (Big Dakka Included)

Co-authored-by: Paxilmaniac <82386923+Paxilmaniac@users.noreply.github.com>
2021-08-04 15:08:40 +01:00
SkyratBot
f7ae1d7225 [MIRROR] surgery_initiator component to element. (#7335)
* surgery_initiator component to element. (#60634)

* surgery_initiator component to element.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-03 20:04:42 +01:00
SkyratBot
7db6e26066 [MIRROR] fixes cannons losing their sprites (#7286)
* fixes cannons losing their sprites (#60559)

* fixes cannons losing their sprites

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-08-01 11:55:53 +01:00
SkyratBot
ccc38b0fc4 [MIRROR] Trash Cannons (#7225)
* Trash Cannons (#60476)

* Trash Cannons

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-07-29 11:15:03 +01:00
SkyratBot
9f7d93f3f3 [MIRROR] Remove nanites (#7210)
* Remove nanites

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-29 00:45:17 +01:00
Pinta
caeea29798 [READY][MOSTLY MODULAR] Mediguns! (#6546)
* Creates the basis of the medigun

* Adds ability to take out and put in cells

* Adds Base cells in

Sprites are made by @Arctasia

* Cell Sprites change size when on ground

Uses the item scaling module from this PR, god bless the author for making this;
https://github.com/tgstation/tgstation/pull/56102

* Adds the other two variants of Mediguns

Upgraded version will be accessible by using a printable medigun upgrade kit.

* CMO medigun can't be put in chargers

Mostly balancing stuff to make sure the gun isn't too busted. I'll probably end up doing further tweaking down the line.

* Adds in the basic Tier II Ammo Types

* Adds in the basic tier III cells

also tweaks the recharge value on the CMO medigun cell

* Update modular_skyrat/modules/modular_weapons/code/modules/projectiles/guns/energy/medgun/medcells.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update modular_skyrat/modules/modular_weapons/code/modules/projectiles/guns/energy/medgun/medcells.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update modular_skyrat/modules/modular_weapons/code/modules/projectiles/guns/energy/medgun/medcells.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update modular_skyrat/modules/modular_weapons/code/modules/projectiles/guns/energy/medgun/medguns.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Update modular_skyrat/modules/modular_weapons/code/modules/projectiles/guns/energy/medgun/medguns.dm

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>

* Makes the medigun heal Radiation

also fixes an issue of the cell type not swapping after the medigun is removed, leaving the medigun on a mode that doesn't exist.

* haha whoops

* Fixes Medigun code a bit

Fixes the right click option to work with the new right click modifiers from https://github.com/tgstation/tgstation/pull/59656.
Fixes an oversight where basically anything could be shoved inside of a medicell. That seemed a little bit unrealistic.

* Adds upgrade kit

The standard medigun can be upgraded to the faster charge model! I might end up tweaking the crafting requirements later!

* Adds Medigun kits

* Adds Basic Medigun Kit to Cargo

* Makes the higher Tier medicells obtainable through research

* CMO medigun kit is in CMO locker

* Higher Tier Projectiles pass through windows

* Updates inhand sprite

* Gives the different cell projectiles colors when shot.

* Changes the sound of the medigun

* Updates description

* Changes medigun to use alt+click

* adds the medigun and medicell sprites in.

lets gooooooo

* Adds in overlays

* Adds empty and updates the CMO texture

* The basic Medicells are orderable by themselves

QoL, and this might be useful for future variants.

* Basic Brute Charge

* Changes mediguns to use their own texture file.

I don't want the original projectile file to get overly cluttered.

* Update projectile.dmi

* Adds in icons for other types

* Rest of the tiers have sprites

Co-authored-by: Matthew J. <12817816+ZephyrTFA@users.noreply.github.com>
2021-07-28 23:53:37 +01:00
SkyratBot
195373fc57 [MIRROR] fixes issues with prisoner EPBs (#7191)
* fixes issues with prisoner EPBs (#60435)

* fixes issues with prisoner EPBs

Co-authored-by: Greniza <61635418+Greniza@users.noreply.github.com>
2021-07-28 22:14:20 +01:00
SkyratBot
f4e61e4051 [MIRROR] Ports/Adds new outfits for command and centcom staff! (#7135)
* Ports/Adds new outfits for command and centcom staff!

* Update rust_g.dll

* Update security.dm

Co-authored-by: Imaginos16 <77556824+Imaginos16@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:54:26 +01:00
SkyratBot
227b722820 [MIRROR] Job refactor: strings to references and typepaths [This could seriously break things :)] (#7006)
* Job refactor: strings to references and typepaths

* 0

* holy fuck

* Update preferences.dm

* Update preferences.dm

* Update preferences.dm

* Update preferences.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:12:42 +01:00
GoldenAlpharex
1426798fea Magic mirrors are no longer scared of colorful ears and tails (#7112) 2021-07-26 18:38:13 +01:00
SkyratBot
0bb9dc48e7 [MIRROR] Add plasma xeno statue (#7137)
* Add plasma xeno statue (#60408)

The sprite existed for a long time but was never added to the code for some reason.

* Add plasma xeno statue

Co-authored-by: Tim <timothymtorres@gmail.com>
2021-07-26 15:48:51 +01:00
SkyratBot
247afa352b Kills grown/misc.dm (#7074)
Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-07-26 15:43:57 +01:00
Gandalf
7b8392db55 Armory minidate (#6921)
* a

* Update NSSJourney.dmm

* aaaa

* FFFF

* Update bullets.dm

* Update gun_spawns.dm

* a

* Update gun_spawns.dm

* a

* a

* Update gun_spawns.dm

* a

* Update guns.dm

* a

* aaaaaaaaaaaaaaaaaaaaaaaaaaa

* a

* Update gun_spawns.dm

* Update rack.dm
2021-07-26 15:38:50 +01:00
OrionTheFox
62f68df5ff Add HoP's Parade Uniform/Suit (#7035)
* Add HoP's Parade Uniform/Suit

I'm being forced against my will to do this, its 1:30AM. Help me.

* FIX THIS DAMN CONFLICT
2021-07-23 10:44:59 +12:00
SkyratBot
c1163dff19 [MIRROR] EVEN MORE HARDDEL FIXES (#7017)
* EVEN MORE HARDDEL FIXES (#60228)

Fixes a ton of harddels, sourced from #59996
I think this brings us down to like, ~100 per round from ~200, with only like 20 of those being proper hell failures. I've seen harddel profiles below 1 second of total cost. Feeling good.

See you on the other side

Makes the cryopod control computer into a weakref, never trust bee code
Converts brig door timer internal lists to weakrefs
Fixes a harddel caused by qdeling a motion sensitive camera after it had left its source area, jesus christ why didn't we do this already holy shit
Converts the radio implant ref held by the antenna mutation to weakrefs because it isn't reliably cleaned up, makes the radio implant actually qdel its fucking radio
Removes the target var from the throwing datum, it does literally nothing and just exists to cause harddels, mostly for the singularity
 Fixes a cable harddel sourced from things that try to enter blueprints after smoothing, but before roundstart. IE, shuttles. Removes shuttles from the blueprints
Fixes emmisive blockers being added post qdel
Removes some manual ghosting from cryopods, I initially did this for harddel reasons, but I figured out a better fix for that. I'm now doing it because it's got this really strange logic for like "re-entering the game" that doesn't actually link to what the ghostize proc does. We should remove this at some point
Fixes robot hud objects harddeling due to hanging refs
Fixes buildmode related hanging refs, I'm coming for you admin team
Fixes a few instances of trying to add the forensics component post qdel, hhhhhhhhhhh
Fixes some split personality harddels/weirdness
Replaces a use of disconnect_duct with an init qdel hint, I suspect there's more issues with duct harddels, I've seen some odd logs about ahhh the area_contents list, but we can worry about that later
Makes teleporter targets into weakrefs, properly types them as /atom
Makes frequency devices into weakrefs
Makes cameras remove themselves from camera nets on Destroy
Makes tgui ui datums implement destroy, this means if I ever see one hang a ref to user or whatever, I know there's an error with calling close() properly. I've seen this harddel once, but not after this change so I assume there was some error with close(). IDK maybe this is a papering over? Would have to ask @ stylemistake
I've seen logs of beartraps being in world post del, putting a return there just in case. The same is true of nerf darts, but I haven't really looked into that yet
Makes a shoe's ref to untying alerts a weakref, yes this is needed.
Moves clearing client_in_contents to the Login of the new mob. This prevents doing things like ghosting someone before a mob qdel causing harddels
Fixes a harddel set sourced from adding a status effect to a qdeleted thing. Is this an error? I'm honestly not sure.
Converts bsa code to weakrefs
Converts the partner var of heat exchangers to weakrefs
Converts camera assemblies to weakrefs
Fixes some dumb behavior with ammo casings and assuming you'll be on a turf post Destroy parent call
Fixes? merger related harddels, you were never cleared from your own members list, so origin objects would end up making a new list, creating harddels. Potential input from @ ninjanomnom about the logic
Chasms store a static list of "falling atoms", which only exists for chasms that go somewhere else. This list wasn't being cleared of qdeleted objects, which is what happens when you fall in most chasms. Fixes this, and converts the list to weakrefs.
Fixes some runtimes in both sheet code, and the weather listener element. This is here because runtime spam made testing more of a pain, didn't think it needed its own pr
Fixes colorful reagent harddels sourced from reagents that were qdel'd before roundstart. I'm only like 50% sure this actually got it, but the issue may have been solved by #60174, so eh
Turns the nuke op antag datum's ref to the war button into a weakref
Fixes some holopad code that was not nulling refs all the time
Converts camera bugs to weakrefs, this was the result of the bug being "reworked" like 6 years back without taking the existing ref clearing into account. Whole item needs a redo, but this'll do for now.
Ensures that the both pulling and pullee refs are cleared on Destroy
The crew monitor held all users in a non clearing list, makes that list a weakref because I hate everything

Oh and I removed all sources of gas_mixture qdeletion, I'm kinda unsure on this since it's not technically supported, but any harddels from it might? indicate something going wrong with like, gas passing logic. I'd like @ MrStonedOne's thoughts, since I trust him to call me an idiot if I'm wrong.

<!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. -->

## Why it's not good for the game

I crashed sybil like 10 times to get this data, I'm gonna put it to good use. Don't think you're safe sybilites, I'm coming for you.

* EVEN MORE HARDDEL FIXES

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2021-07-20 12:59:41 +02:00
Gandalf
b2f0f6cf46 Reverts infinite showers (#7016)
* AAAAAAAA

* Update shower.dm

* Update shower.dm

* Update shower.dm
2021-07-19 16:42:23 +01:00
SkyratBot
99333fdfcc [MIRROR] Replace a number of New() overrides with Initialize() (#6945)
* Replace a number of New() overrides with Initialize() (#60223)

* Replace a number of New() overrides with Initialize()

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-07-19 16:55:01 +12:00
SkyratBot
22a02bc61b [MIRROR] Fixing Energy Gun Weapon Description Runtimes + Miscellaneous Weapon Description Fixes, Take 2 (#6850)
* Fixing Energy Gun Weapon Description Runtimes + Miscellaneous Weapon Description Fixes, Take 2 (#59778)

Fixes a runtime issue cause by the possibility of loaded_projectile being null by changing how projectile stats are obtained on energy weapons, and adds a separate line for energy ammo types that deal stamina damage and regular damage to incorporate both damage types

* Fixing Energy Gun Weapon Description Runtimes + Miscellaneous Weapon Description Fixes, Take 2

Co-authored-by: Beatrice <83368538+SpaceDragon00@users.noreply.github.com>
2021-07-12 21:45:06 +01:00
SkyratBot
7c34b1f5ee [MIRROR] Less absurd sturdiness for railings, more in line with grilles now. (#6841)
* Less absurd sturdiness for railings, more in line with grilles now. (#60111)

* Less absurd sturdiness for railings, more in line with grilles now.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-12 21:44:19 +01:00
Y0SH1M4S73R
93d03dc6bb [Alternative to #6407] Makes mutant bodyparts and mutcolors into editable genetic traits (#6750)
* Makes mutant bodyparts and mutcolors into editable genetic traits (plus a whole shitload of otherwise out of scope code improvements because I just HAD to touch old code)

* Mirror

* genetically-editable mutant bodyparts and colors - skyrat edition

Co-authored-by: Funce <funce.973@gmail.com>
2021-07-08 16:04:19 +01:00
SkyratBot
877940ba8d [MIRROR] Revert "Barticles for bonfires 2021" (#6625)
* Revert "Barticles for bonfires 2021 (#59869)" (#59916)

This reverts commit 0ad74e9637.

* Revert "Barticles for bonfires 2021"

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-08 03:29:23 +02:00
SkyratBot
c7cab95593 [MIRROR] Rust Component / Wirebrush Rust Remover (#6778)
* Rust Component / Wirebrush Rust Remover (#59977)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Rust Component / Wirebrush Rust Remover

* Revert "[modular] wirebrush (#6521)"

This reverts commit 4f87b970f4.

* Makes the advanced wirebrush not critfail anymore.

Co-authored-by: Matthew J <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-08 03:06:22 +02:00
Gandalf
25fdbeeb24 aaaaaaaaaaaa (#6767) 2021-07-06 23:53:07 +01:00