Commit Graph

9632 Commits

Author SHA1 Message Date
Rohesie
6c4134d1ea Job refactor 2: less hardcoded lists (#60578)
* Job refactor 2: less hardcoded lists

* Obsessed can happen
2021-08-05 21:13:05 +02:00
Paxilmaniac
d4fa2905ff Deployable Component (Big Dakka Included) (#60554) 2021-08-04 01:18:09 -07:00
Ghom
cf5c0c86b5 Standard bananium floor is now viable for clown decoration. It doesn't slip. (#60585) 2021-08-04 00:15:44 -07:00
TemporalOroboros
0f102cce98 Fixes infinitely recursive beef wellingtons (#60658) 2021-08-03 13:00:25 -07:00
tralezab
a6783f5bbf Improves Pavlova Code Copypasta, Changes Description Of Pavlova (The Pavlova Incident of 2021) (#60595) 2021-08-02 22:57:15 -07:00
tralezab
40003fe2ad componentized spirit item possession (#60614)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-08-02 22:21:23 -07:00
interestingusernam3
20f398b3b5 Improves and documents some grenade-related code, fixes an exploit. (#60588)
FALSE, TRUE, better var names, removal of an unused var in log_grenade, DMdoc.
Touches sticky tape code because a proc there does grenade stuff.
Also fixes an unreported exploit that allowed clowns to throw sticky grenades while bypassing the 50% chance for a grenade to stick to your hands (not that bad sice they still has a 50% chance to get the 0.5s timer, but still).
2021-08-02 23:07:55 -03:00
Tom
c5a698d0c7 Fixes perspective issue with classic baton (#60517) 2021-07-31 21:23:30 -07:00
Ghom
bd5b0d66ed Fixes e-bolas being unblockable and not ensnaring flying mobs. (#60160)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-30 12:42:23 -07:00
Fikou
82b1ffb829 tcg flippers no longer have the scaling element (#60424) 2021-07-29 12:16:09 -07:00
tralezab
14045259fa Trash Cannons (#60476) 2021-07-29 02:17:03 -07:00
Mothblocks
bd6873fd4d Remove nanites (#60473)
Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-07-28 16:00:56 -07:00
MrMelbert
21e80cf48f Fixes the map sprite for lizard plushes (#60416)
This PR fixes the placeholder map sprite for lizard plushes. I included a map sprite in my original GAGS PR but I forgot a single character from the icon_state which made it not work and I didn't realize until after it was merged.
2021-07-28 18:59:25 -03:00
itseasytosee
f083e9efa1 Adds sounds to adjusting the pneumatic cannon (#60470) 2021-07-28 01:47:22 -07:00
jughu
3b5f4b6c63 Lets construction bags be put in pockets like they were intended to (#60460) 2021-07-28 01:43:22 -07:00
Tim
1df7b8d768 Fix wallet ID access (#60449)
* Fix wallets ID access

* Refactor id_card code to be simple

* Refactor id_card even further
2021-07-26 20:09:50 -07:00
Thunder12345
137c700bd8 Kills the misc items file (#60380)
Co-authored-by: Thunder12345 <stewart@critar.demon.co.uk>
2021-07-26 16:35:46 -07:00
Wallemations
7f1640b651 Makes only mapload foods require players to pick them up to decompose (#60392)
Co-authored-by: Changelogs <action@github.com>
2021-07-25 17:39:24 -07:00
DomitiusKnack
f5a97a2bf4 Spraycans actually empty if used below 2 units while colouring lights. (#60395)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-25 17:30:34 -07:00
Ghom
b51ebfaf90 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).
2021-07-25 19:02:31 -03:00
MrMelbert
17750e76a5 Revert "right click to activate porta-seeder" / switches porta-seeder hotkey to ctrl-click (#60316) 2021-07-23 13:59:10 -07:00
aaaa1023
2d0b48e164 Fixes missing space in happiness description (#60391) 2021-07-23 13:57:54 -07:00
GoldenAlpharex
ced603614d That's it. *GAGS'ifies your berets* (#59536)
Converts berets to greyscale config
2021-07-23 21:37:23 +02:00
tralezab
6647f0d6aa Dissecting Biddle Traitors: Toned down traitor flavor + antag info tgui (#60311) 2021-07-22 15:39:26 -07:00
ATH1909
fe8687bdd5 Revert "makes it so classic baton can stamcrit again" (#60351)
Co-authored-by: Rohesie <rohesie@gmail.com>
2021-07-22 00:32:23 -07:00
coiax
383dcc52bf Rework appendicitis: not event-based, not a disease (#60331)
Adds a new trait that "simulates" a medium-like disease according to health HUDs.
Organs now control their own "status text" for health scanners, for all except the appendix, this is the same as before.
Appendicitis has a low chance of occuring on each life tick of an appendix, it is no longer a disease.
2021-07-20 20:22:54 -03:00
Seris02
b142e43616 makes it so classic baton can stamcrit again (#60321)
Makes it so the classic baton can stamcrit again. This is mostly for downstream since we're having problems with a faster cooldown classic baton.
2021-07-20 20:16:04 -03:00
Malgover
7e807b4da0 ANTI-TIDER-2500 (#60016)
Straight from CentComm's R&D lab, the
ANTI-TIDER-2500
is the ULTIMATE crowd-control device.
Tired of being harassed by the crew for petty reasons? Sick of permabrigged prisoners constantly rioting over soggy tofu rations? The ANTI-TIDER-2500 is for YOU! For the modest sum of 710 credits you'll finally be able to hose clowns and whiners alike in pepper spray!

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-07-20 17:50:22 +01:00
dragomagol
49356fdd2e changed the links for bartender and cook guides to the new wiki pages (#60313) 2021-07-20 02:00:24 -07:00
interestingusernam3
4fb5fca939 DMdoc's implant_clown.dm (#60268) 2021-07-19 17:06:11 -03:00
LemonInTheDark
96cc4a7260 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.
2021-07-19 12:41:21 -04:00
Rohesie
4c21166e4f Job refactor: strings to references and typepaths (#59841)
* Job refactor: strings to references and typepaths
2021-07-18 20:48:47 +02:00
InsaneRed
3681e5dae6 Balances metallic hydrogen armor (#60254) 2021-07-18 03:09:45 -07:00
InsaneRed
31c2c4a862 convert some adv tool actions into balloon alerts (#60278)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-07-18 01:47:03 -07:00
interestingusernam3
ef22037b3f Fixes tracking implants that cannot be used as teleporter beacons erroneously being described as usable as teleporter beacons in the implant pad. (#60269) 2021-07-17 21:05:09 -03:00
Kylerace
44779b794c makes get_hearers_in_view() faster AGAIN, fixes issue with previous optimization (#60219)
fixes #60197
woke up today with a ridiculous idea of semi-automatic compile time loop unrolling, wasnt worth the complexity in the least but it made the basis of this PR which i then continued work on. makes area_sensitive_contents into a more general system of important_recursive_contents where we can define reasonable uses to replace recursive contents iteration of the type found in get_hearers_in_view() as long as everything that uses it isnt something incredibly common to the point that it noticeably increases memory usage.
2021-07-17 00:49:55 -03:00
TiviPlus
773bcac4a4 Removes a chrono underlays hack (#60236) 2021-07-16 20:08:20 -07:00
Arkatos1
ac5a414e78 Improves item's action button updating code (#60149)
This PR improves item action button updating code by introducing a proc to update all item's associated action buttons, which simplifies the process and reduces code duplication.

I also fixed a relevant bug where a PDA's action button icon did not properly update upon light toggle because it did not force the button update. Forcing the button update is needed in this case due to how light overlay operates, where the button icon state stays the same, so the code thought updating the action button icon was unnecessary.
2021-07-16 19:58:05 -03:00
interestingusernam3
288b61d976 Improves implantcase.dm (#60180)
descriptive var names, DMdoc, removal of some stuff that did nothing (checking if an implant within an implanter is implanted in someone (always false), updating appearance of implanter even if nothing was done with it).
2021-07-16 19:34:27 -03:00
interestingusernam3
94c81a47b9 Cleans up and dmdoc's implant.dm (#60179)
Mostly variable names and dmdoc. Behavior unchanged.

Co-authored-by: Your mother <mothmilk666666666666@tfwno.gf>
Co-authored-by: coiax <yellowbounder@gmail.com>
2021-07-16 17:41:23 +01:00
aaaa1023
95e187316c Adds missing space in medical ERT plushie box description (#60238) 2021-07-16 17:39:21 +01:00
coiax
e4e3195f88 Replace a number of New() overrides with Initialize() (#60223) 2021-07-15 18:14:20 -07:00
Wallemations
a78799f8ae Adds Ants, Decomposition, and some extras. (#59634)
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2021-07-15 18:12:15 -07:00
Watermelon914
0066181c1a Added more complex AIs to carps when tamed. (#60027)
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
2021-07-15 15:04:29 -07:00
ATH1909
853a7128a7 adds a suicide for space helmets, fixes some other suicides (#60173) 2021-07-15 14:41:35 -07:00
bawhoppen
3d30d4dce8 Adds more variation in cricket bat desc (#60172)
Requested by @RaveRadbury
2021-07-15 08:30:10 +01:00
Paxilmaniac
f98ffcb19a Refactors a little bit of belt.dm and holsters.dm (#60104) 2021-07-13 02:52:48 -07:00
interestingusernam3
3d443a7c99 Cleans up and DMdoc's implanter.dm (#60178)
Early returns, descriptive variable names, dmdoc. No behavior changes.

Co-authored-by: Your mother <mothmilk666666666666@tfwno.gf>
2021-07-12 20:50:38 +01:00
Ghom
d5f6e55cde cuffs now use equip_to_slot() instead of snowflake code, thus fixing some issues. (#60162)
unequip_everything() doesn't currently unequip cuffs. This will fix #54671 (Shrinking not uncuffing you)
2021-07-11 23:05:35 -07:00
小月猫
6c7676bc68 removed redundant animation (#60137) 2021-07-11 18:15:13 -07:00