Commit Graph

230 Commits

Author SHA1 Message Date
nevimer
943e708b9e Fixes a bracket on stripping messages. (#9380)
* Place 1 missing distro pipe segment

* fixes a line

Co-authored-by: SkyratBot <skyratcommunity@gmail.com>
Co-authored-by: nevimer <foxmail@protonmail.com>
2021-11-10 22:08:37 -05:00
Seris02
985e677b91 [semi-modular] thieving gloves (#8772)
* yeet

* goddamn fucking trailing newline

* edit: I reread the bounty

* leftover from: I reread the bounty

* *more* leftover from: I reread the bounty

* speedup

* here too

* empty commit for linter reruns

* there

* remembered the newline this time

* okay I forgot that
2021-11-09 15:42:28 -05:00
SkyratBot
843864c726 [MIRROR] Drop before delete used "foodtrash"items [MDB IGNORE] (#9319)
* Drop before delete used "foodtrash"items (#62536)

* Drop before delete used "foodtrash"items

Co-authored-by: Len Kagamine <xboxmaster2000@hotmail.com>
2021-11-08 22:27:45 -05:00
SkyratBot
e90627be0e [MIRROR] Modernizing Radiation -- TL;DR: Radiation is now a status effect healed by tox healing, and contamination is removed [MDB IGNORE] (#9176)
* Modernizing Radiation -- TL;DR: Radiation is now a status effect healed by tox healing, and contamination is removed

* Fixing conflicts

* Makes it compile, yeet all the RAD armor from everywhere (thanks RegEx!)

* Removing more lingering rad armor (woo)

* Damnit powerarmors

* Bye bye rad collectors!

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-11-02 10:36:46 -04:00
SkyratBot
7954d664a8 [MIRROR] removes double spaces before symbols [MDB IGNORE] (#9117)
* removes double spaces before symbols (#62397)

This can apparently cause some bugs on occasions, so I thought I might as well try to kill them all.

* removes double spaces before symbols

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-10-29 04:14:00 +01:00
SkyratBot
d79a997673 [MIRROR] Traits given by Elements now have element trait as their source. [MDB IGNORE] (#9110)
* Traits given by Elements now have element trait as their source. (#62134)

Hopefully the code is more organized and consistent this way.

* Traits given by Elements now have element trait as their source.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-10-28 18:23:44 -04:00
SkyratBot
1942c5cafc [MIRROR] magatsuchi is trying to remove your stray bracket! [MDB IGNORE] (#8889)
* magatsuchi is trying to remove your stray bracket! (#62157)

removes a stray bracket in the stripping message, effectively enhancing user experience by 2000%

* magatsuchi is trying to remove your stray bracket!

Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
2021-10-17 23:14:58 +01:00
SkyratBot
b8cd5a85a1 [MIRROR] Pets no longer enjoy being shoved around. [MDB IGNORE] (#8849)
* Pets no longer enjoy being shoved around. (#62111)

* Pets no longer enjoy being shoved around.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-10-16 15:05:01 -04:00
SkyratBot
0d5eb8a0c4 [MIRROR] Add missing SIGNAL_HANDLERs [MDB IGNORE] (#8834)
* Add missing SIGNAL_HANDLERs (#62115)

Add missing SIGNAL_HANDLERs

* Add missing SIGNAL_HANDLERs

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-10-15 12:32:41 -04:00
SkyratBot
44682a1384 [MIRROR] Fixes errant "the" in visible messages for item stripping [MDB IGNORE] (#8810)
* Fixes errant "the" in visible messages for item stripping  (#62049)

* Fixes errant "the" in visible messages for item stripping

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-10-14 15:08:23 +01:00
SkyratBot
fa519bdde3 [MIRROR] cleanup _HELPERS/_lists.dm and all the necessary files [MDB IGNORE] (#8783)
* cleanup _HELPERS/_lists.dm and all the necessary files

* Epbic

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-13 21:07:35 +01:00
SkyratBot
b3fabb645b [MIRROR] Delete seeds whenever a plant is deletes, delete plant genes when a seed is deleted, + refactor various gene adding / deleting [MDB IGNORE] (#8671)
* Delete seeds whenever a plant is deletes, delete plant genes when a seed is deleted, + refactor various gene adding / deleting (#61747)

* Delete seeds whenever a plant is deletes, delete plant genes when a seed is deleted, + refactor various gene adding / deleting

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-10-08 08:17:17 -04:00
SkyratBot
cc93b11d23 [MIRROR] _HELPERS/unsorted.dm has been sorted [MDB IGNORE] (#8627)
* _HELPERS/unsorted.dm has been sorted

* Feexing conflicts

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-10-06 22:07:01 +01:00
Gandalf
885a01cb6b Update turf_transparency.dm 2021-10-04 00:28:08 +01:00
Gandalf
b20ccec2b3 E (#8549) 2021-10-02 02:30:21 +01:00
SkyratBot
b020a668be [MIRROR] Spiders/carp will now pull/move water/welding fuel tanks/canisters slower and won't be able to attack stationary atmospherics equipment (#8364)
* Spiders/carp will now pull/move water/welding fuel tanks/canisters slower and won't be able to attack stationary atmospherics equipment (#61616)

Adds 2 new elements, one for slowing down pulling of dangerous objects (dispenser tanks and canisters), and one for preventing hostile attacking of elements in a typecache.

Also updates the obj_flags bitfield 'cause I thought I was gonna use that, but I didn't.

Adds these elements to spiders and space carp (from space dragon)

* Spiders/carp will now pull/move water/welding fuel tanks/canisters slower and won't be able to attack stationary atmospherics equipment

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-09-24 18:25:21 +01:00
SkyratBot
e8d78089fc [MIRROR] [TM Candidate] Overhauls orbit and POI code to fix part of issue #61508 where players could observe /mob/living/new_player on the lobby. (#8339)
* [TM Candidate] Overhauls orbit and POI code to fix part of issue #61508 where players could observe /mob/living/new_player on the lobby.

* E

* Missed merge

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-24 18:16:17 +01:00
SkyratBot
e12916fd64 [MIRROR] Fix the grammar for the message shown when appraising great art. (#8319)
* Fix the grammar for the message shown when appraising great art. (#61608)

* Fix the grammar for the message shown when appraising great art.

Co-authored-by: MrZoraman <MrZoraman@Gmail.com>
2021-09-23 01:40:35 +01:00
SkyratBot
124ddd7cca [MIRROR] tgui Preferences Menu + total rewrite of the preferences backend (#8153)
* tgui Preferences Menu + total rewrite of the preferences backend

* nah, we dont need to ping those people

* trying to remove the funny stuff

* unmodularizing this

* prefs reset

* this may need to be reverted, who knows

* okay, this part

* perhaps

* EEEEEEEEE

* unsanitary

* E

* Stage 1 + loadout system

* more fixes

* E

* I mean, it launches?

* More fixes and reorganisation

* E

* customisation code is spaget.

* disable ERP prefs

* Update erp_preferences.dm

* Update erp_preferences.dm

* E

* Slowly getting there

* It may be time for help :)

* tri...colors... help

* preferences now pass preferences

* Update dna.dm

* Fuck this man

* missing savefile return, set_species works, removed dumb stuff from updateappearance

* https://github.com/Skyrat-SS13/Skyrat-tg/pull/8199

* https://github.com/Skyrat-SS13/Skyrat-tg/pull/8224

* https://github.com/tgstation/tgstation/pull/61519

* https://github.com/Skyrat-SS13/Skyrat-tg/pull/8278

* e

* le butonAZARAK HELLO

* hhh

* Proper recognition where it's due, MrMelbert!

* EEEE

* examine block

* Better gen hit sounds from whitedream

* final loadout touches, more bug fixes im sure to come

* i said there would be bugfixes

* Update LoadoutManager.js

* Missing preferences in the html menu

* LIVE TESTING PHASE BABY

* Update LoadoutManager.js

* EEE

* LAUNCH TEST FIRE

* Update job.dm

* Update new_player.dm

* 50gb DAY ONE PATCH

* EEE

* Update preferences.dm

* buggle fixes

* Update examine.dm

* >LOOC starts on

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-09-23 00:40:37 +01:00
SkyratBot
39ecb0a174 [MIRROR] Radically improves explosion logging. (#8255)
* Radically improves explosion logging.

* Update eldritch_effects.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-19 22:25:20 +01:00
SkyratBot
747c211944 [MIRROR] Sparring Sect! (#8237)
* Sparring Sect!

* Update greyscale_configs.dm

* https://github.com/tgstation/tgstation/pull/61527/

* E

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-19 22:24:40 +01:00
SkyratBot
57e5bab45e [MIRROR] converts cows to basic mobs and ADDS MOONICORNS (#8220)
* converts cows to basic mobs and ADDS MOONICORNS (#61446)

* converts cows to basic mobs and ADDS MOONICORNS

* E

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-19 22:10:20 +01:00
SkyratBot
376663876b [MIRROR] turns stickmen into basic mobs (#8204)
* turns stickmen into basic mobs (#61272)

* turns stickmen into basic mobs

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-09-15 22:49:32 +01:00
SkyratBot
e510e35167 [MIRROR] [READY] Adds memory system, and engraving walls with chisels (#8066)
* [READY] Adds memory system, and engraving walls with chisels

* EEE

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-13 23:36:51 +01:00
SkyratBot
04302a770a [MIRROR] moves obj_integrity and associated procs to the atom level (#8016)
* moves obj_integrity and associated procs to the atom level

* Feex good

* Whoops forgot the maps

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-10 16:47:01 +01:00
SkyratBot
2dc34b171e [MIRROR] Componentizes/Elementalizes Pride Struck Hammer Behavior + Carp'Sie Plushie Behavior (#8032)
* Componentizes/Elementalizes Pride Struck Hammer Behavior + Carp'Sie Plushie Behavior (#60728)

Title, please say hello to the element "chemical_transfer" and the component "faction_granter"

Componentized behavior is easier for admins to make events out of, more modular for code maintainability, lowers the possibility of future copy and paste, set me up with my wife, and more

One of the things I personally like the most about it is the ability for each behavior to properly be described on examine, which I loooooove!

Also, these should be fantasy affixes after the freeze is done

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>

* Componentizes/Elementalizes Pride Struck Hammer Behavior + Carp'Sie Plushie Behavior

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com>
2021-09-08 16:17:06 +01:00
SkyratBot
6e34600cd5 [MIRROR] restore removed individual logs and place them under LOG_VICTIM category (#8043)
* restore removed individual logs and place them under LOG_VICTIM category (#61256)

it turns out that admins use the removed information in #61179 for faster live in-round logging, I've restored that information under a LOG_VICTIM category that should not interfere with mind-reading and ling absorb text

* restore removed individual logs and place them under LOG_VICTIM category

Co-authored-by: Couls <coul422@gmail.com>
2021-09-07 19:54:33 +01:00
SkyratBot
2c366373a2 [MIRROR] fix mind-reading/ling absorb text and remove duplicate logging (#7965)
* fix mind-reading/ling absorb text and remove duplicate logging (#61179)

* fix mind-reading/ling absorb text and remove duplicate logs

* add comments

* fix mind-reading/ling absorb text and remove duplicate logging

Co-authored-by: Couls <coul422@gmail.com>
2021-09-04 08:54:43 -04:00
SkyratBot
02ad59791b Basic Mobs: the cooler simple mobs that run on datum AI. (With reworked cockroach AI as proof of concept) (#7867)
Co-authored-by: AMonkeyThatCodes <20987591+AMonkeyThatCodes@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-01 16:47:39 +01:00
SkyratBot
706971fa68 [MIRROR] Fixes floored mobs (paraplegia, missing limbs) not being able to stand up in zero G for real. (#7889)
* Fixes floored mobs (paraplegia, missing limbs) not being able to stand up in zero G for real. (#61054)

Added a old_movement_type argument to the COMSIG_MOVETYPE_FLAG_ENABLED and COMSIG_MOVETYPE_FLAG_DISABLED signal, fixed the check for zero g movespeed and locomotion traits removal and made some statements easier to understand.

* Fixes floored mobs (paraplegia, missing limbs) not being able to stand up in zero G for real.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-31 20:21:51 +01:00
SkyratBot
532052e080 [MIRROR] bane component to element. nullrod now uses it for revenants. (#7806)
* bane component to element. nullrod now uses it for revenants. (#60640)

* bane component to element. nullrod uses it for revenants.

* TRUE to FALSE

* bane component to element. nullrod now uses it for revenants.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-27 10:44:38 -04:00
SkyratBot
9b376a5e21 [MIRROR] [READY] Honorbound fixes (#7788)
* [READY] Honorbound fixes (#60720)

* we stan traits

* also stops them from punching

* moves logic around a little.

* [READY] Honorbound fixes

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-08-26 22:47:47 +01:00
SkyratBot
1ff9549d6a Fixes rust cleaning deleting whole element. (#60947) (#7687)
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2021-08-21 22:15:05 +01:00
SkyratBot
a9775bcae5 honkspam component to element. (#60635) (#7657)
Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-20 18:52:52 +01:00
SkyratBot
169c42a262 [MIRROR] Refactors connect_loc_behalf into a component (#7613)
* Refactors connect_loc_behalf into a component (#60678)

See title. Also refactors caltrops into a component because they use connect_loc_behalf which requires them to hold the state.

This also fixes COMPONENT_DUPE_SELECTIVE from just outright not working.

connect_loc_behalf doesn't make sense as an element because it tries to hold states. There is also no way to maintain current behaviour and not have the states that it needs.
Due to the fact that it tries to hold states, it means the code itself is a lot more buggy because it's a lot harder to successfully manage these states without runtimes or bugs. 

On metastation, there is only 2519 connect_loc_behalf components at roundstart. MrStonedOne has told me that datums take up this much space:
image

If we do the (oversimplified) math, there are only ever 5 variables that'll likely be changed on most connect_loc_behalf components at runtime:
connections,
tracked,
signal_atom,
parent,
signal_procs

This means that on metastation at roundstart, we take up this amount: (24 + 16 * 5) * 2519 = 261.97600 kilobytes
This is not really significant and the benefits of moving this to a component greatly outweighs the memory cost.

(Basically the memory cost is outweighed by the maint cost of tracking down issues with the thing. It's too buggy to be viable longterm basically)

* Update glass.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-17 20:29:11 +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
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
6ca0f0d80c [MIRROR] lifesteal component to element. (#7537)
* lifesteal component to element. (#60632)

* lifesteal component to element.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-13 17:22:49 +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
SkyratBot
e5dc751f74 [MIRROR] Turns rust component into bespoke element (#7278)
* Turns rust component into bespoke element

* a

* Update misc_walls.dm

Co-authored-by: ChungusGamer666 <82850673+ChungusGamer666@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-03 20:56:40 +01:00
SkyratBot
54f003621b [MIRROR] Converts the footstep component into an element. (#7229)
* Converts the footstep component into an element.

* Update human.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-03 20:16:35 +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
3a961768d0 [MIRROR] Rev art now works (#7254)
* fixes rev art! (#60518)

* Rev art now works

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-07-30 11:10:22 +01:00
SkyratBot
7d7e1fc891 [MIRROR] Fix spectral instruments gifted probability (#7206)
* Fix spectral instruments gifted probability (#60451)

This fixes #60350. Spectral instruments are now gifted at the correct intended values. 90% chance of an instrument spawning, with a 1/3 chance of each instrument.

* Fix spectral instruments gifted probability

Co-authored-by: Tim <timothymtorres@gmail.com>
2021-07-28 23:28:23 +01:00
SkyratBot
b0797bc9eb [MIRROR] The spooky component is now a spooky element. (#7185)
* The spooky component is now a spooky element. (#60465)

* The spooky component is now a spooky element.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-28 19:04:29 +01:00
SkyratBot
c00481174d [MIRROR] Moves the kneecapping element to the elements folder. (#7181)
* Moves the kneecapping element to the elements folder. (#60466)

* Moves the kneecapping element to the elements folder.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-28 19:03:21 +01:00
SkyratBot
a431d06e1e [MIRROR] Fixes difficulties with placing lattices on multiz maps. (#7126)
* Fixes difficulties with placing lattices on multiz maps. (#60124)

Title. Because of mob and object visuals under open space being able to be hovered over with the cursor and examined and in general acting as entities distint from the turf holding them it tends to be hard or even impossible to build floor and catwalks over these turfs. This PR aims to fix it with a basically simple, more-convenient-than-a-painstaking-refactor and easy to apply element (edit: and proc).

* Fixes difficulties with placing lattices on multiz maps.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-07-26 15:47:43 +01:00
SkyratBot
7201c920cc [MIRROR] Capture The Flag: Class Warfare (#7108)
* Capture The Flag: Class Warfare (#59629)

Co-authored-by: Thunder12345 <stewart@ critar.demon.co.uk>

* Capture The Flag: Class Warfare

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Thunder12345 <stewart@ critar.demon.co.uk>
2021-07-26 15:46:56 +01: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
Yawet330
482555fe68 [NONMODULAR][BUGFIX]Weapon examines fixed. (#6950)
* Weh!

* ok

Co-authored-by: Yawet330 <memeusniceus@gmail.com>
2021-07-16 12:09:32 +02:00