Commit Graph

61749 Commits

Author SHA1 Message Date
MrMelbert dbe0842514 Fixes runtime with eye of god on destroy (#70636) 2022-10-19 20:49:27 -04:00
san7890 db66590e7e Fixes Some Incredulously Fucked Up Recycler Behavior (#70638)
* test one

Hey there!

Did you know that if you toss someone into a recycled emagger, that we delete _all_ of that mob's contents? You probably didn't because this shit is broken broken. Like, ow.

That's because we manually moved an item to nullspace, which caused a _slew_ of odd behavior in the Destroy chain for `obj/item` since it moves it to nullspace at a very specific point in time and makes all of it's assumptions on when you move the thing to nullspace. If it's in nullspace before you call qdel, you would shit out the ass with hanging references stuck on the mob (like `w_uniform` pointing to something in nullspace, like the image above).

All fixed now, though.

* I FUCKING LOVE UNIT TESTS

THIS SHIT WILL NEVER BREAK AGAIN!!!

* i blanked

my guy hasn't moved for twenty minutes

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

* wrong documentation

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-10-19 20:46:37 -04:00
MrMelbert 62da5fa3d4 Fixes some ling sting jankiness (#70639) 2022-10-19 20:42:27 -04:00
Ebb-Real 51ea51e9e4 Chairs now get placed in the direction you are facing (#70641)
chair direction fix
2022-10-19 20:34:34 -04:00
John Willard 218a153464 Removes a ton of unused tablet vars, re-organizes the rest (#70344)
* Removes a ton of unused vars, re-organizes the rest

Removes a ton of unused vars from Modular computers
Re-organizes the rest, and adds autodoc comments to most of them
Moved 2 vars (saved_image and invisible) from the tablet to the messenger app, since that's where it was used. I didn't see the point of having these vars be on every computer anyways, only PDAs have the app.
Renames Clown's honk virus var
Makes Messenger app's saved image, actually used.

* static list and NODECONSTRUCT_1 check

* oops
2022-10-19 20:34:08 -04:00
Sealed101 b1ed2d03f2 Fixes AI camera static not updating when the AI enters a mecha (#70385)
* it just works

* kick the eye out of the mecha on mob_exit
2022-10-19 20:32:35 -04:00
orange man b8214cedfc Automatic TGS DMAPI Update (#70662)
Update TGS DMAPI

Co-authored-by: tgstation-server <tgstation-server@users.noreply.github.com>
2022-10-20 00:28:16 +00:00
MrMelbert b59cc135ab Moving around while non-existent will not give you a message saying you're buckled to the concept of non-existence (#70483)
* Being removed from existence no longer provides strange feedback messages

* Immortality talisman, too
2022-10-19 20:26:20 -04:00
LemonInTheDark a625fc8038 Cleans up the fallout from plane cube (#70235)
* Cleans up the fallout from plane cube

Alright.
Makes cleaning bubbles respect planes
Adds support for updating overlays on move, fixing an issue with pointing at items
Adds better error messages for failing to provide args for mutable_appearance()
Fixes a bug where string overlays were not respecting insertion order

* Adds documentation for offset spokesman and offset_const

* Better stack trace

* Removes some redundant uses of cached MAs

At this scale, attempting to cache MAs like this has 0 impact on anything
And just makes things more messy then they need to be

* ensures fullscreen objects START offset, so things are always proper

* ensures chatmessages always have the right offset

* fixes compile

* whoops, the above lighting plane should actually be ABOVE the lighting plane

* fixes compile, also cleans up the fire overlay a tad

* Adds a unit test for plane masters that are shrunk by multiz being double shrunk

This is slightly hacky because of how I'm handing the plane master
group, but it's not THAT bad, and gives me some real good coverage

* Properly targets the seethrough plane at the game world plate. This fixes unit tests, and also just makes more sense

* whoops

* oh

* adds datum support for allocate(), cleans up a harddel from testing

* Makes camera chunks index at 1, and also makes them support non powers of two sizes, since that was unneeded

* fixes runtime in allocate
2022-10-20 09:00:02 +13:00
RikuTheKiller c693c9a516 Fixes lung swapping giving you false air alerts and slightly improves their descriptions (#70630) 2022-10-19 12:43:19 -07:00
MrMelbert 78ac928b54 Fixes organ on_death being called for alive mobs (#70635) 2022-10-19 11:44:36 -07:00
Profakos d25508d836 Updates chitinous armor description (#70624) 2022-10-19 10:54:07 -07:00
Paxilmaniac 1497e541f4 [NO GBP] fixes some silly stairs slipups (#70628)
Two things:
Stone stairs didn't actually line up, not a soul would have noticed because mappers probably aren't gonna use it for a while, but I fixed it anyways.

Second, you could still build mat datum stairs freely without the whole frame system, invalidating its existence, so I've fixed that too. You can still build mat datum stairs, you just need a stairs frame made of iron or wood first.
2022-10-19 09:23:19 -07:00
GoblinBackwards 5156834f16 Fixes mining modsuit storage breaking after recharging it with plasma (#70558)
* Adds QDELETED check to inserting items to storage
2022-10-19 16:05:12 +02:00
LemonInTheDark cd3a778915 PKP Mind Virus: Glorfing Cigs edition (#69904)
* PKP Mind Virus: Glorfing Cigs edition

If you glorf while smoking you'll get the cig stuck in your throat, leaving you unable to breath, speak, or eat. Based off the sort of cig you have a random delay before you vomit up the cig. (Pipes last forever don't philoso-larp kids). Other players can help you by using the help action on you while you're hurt, which leads to something imitating the himelich manuver, a broken chest, and a vomited up blockage. Other forms of vomiting will work too, if that's even applicable.

Oh I fixed a bug in vomit code. Because paralyzing you forces you to the ground, thus changing your dir, paralyzing vomits always went down. This is cringe, easy fix tho.

Ah and I added some extra functionality to sound loops too. You can set them to pick and take from the provided list, then refilling it once it's empty. This keeps some variety while preventing the risk of repeat sounds

Oh and I added some new signals. Some misc ones, for force say and a different kind of help then the existing one, which I renamed. One for breathing, which I used to clean up leroxin. I was planning to hook this but didn't need to in the end.

One for vomiting too. and eating. Also added a way to update looping timer delays. Forgot about that, I also added variable delay for sound loops, because I thought it sounded better here.

Features audio courtesy of our very own san7890, and the quake jump sound.
2022-10-19 06:34:45 -04:00
Mothblocks 0ac5a9b83b Fix training toolboxes not setting vis_flags correctly (#70618)
Fix training machines not setting vis_flags correctly
2022-10-19 12:20:40 +02:00
Mothblocks 4edccb07f2 Remove unnecessary doorjack visible messages (#70616) 2022-10-19 12:19:10 +02:00
MrMelbert 6a0fe4fe8c Fixes improper hydro attack_hand_econdary return (#70542) 2022-10-19 00:54:52 -07:00
John Willard 364cd38285 [MDB IGNORE] Makes only station areas, station areas. (#70182)
* Makes only station areas part of Statioj

* Makes only subtypes of /area/station be part of the station
* Removes Icemoon and Shuttles as a check for Anomaly placers as they aren't needed anymore, not being part of shuttles.
* Removes a ton of uses of NO_ALERTS where it is no longer needed.
2022-10-19 00:54:29 -07:00
Tim e710af88f8 Fix item icons for action buttons to be center aligned (#70477) 2022-10-19 00:51:18 -07:00
dopamiin0 d74f164499 Prevents chaplain's backpack from noclipping better than a Gmod admin. (#70503) 2022-10-19 00:50:21 -07:00
ShizCalev 66ce1fffe2 Fixes negative value being passed to runechat fade animation timer (#70531) 2022-10-19 00:49:58 -07:00
GoblinBackwards df5dd62fb9 Prevents DNA vault causing harddels (#70543) 2022-10-19 00:48:29 -07:00
John Willard d23e95b3bc Curator and Mime PDAs now start with their ringer off (#70604) 2022-10-19 00:46:25 -07:00
san7890 555166a20d Removes bestF from Master Controller Crash Report Filtering (and uses voodoo magic to help cleaning up down the line) (#70610)
* Removes bestF from Master Controller Crash Filtering

We removed bestF from datums back in #2701, but this still remained in the filter. Bit silly, let's get rid of this old cobweb.

I couldn't find anything suggesting that the master_controller could get a statclick variable, but that's actually a term we use in the modern day so I'm not going to bug it since it's benign. The other five are still BYOND-level variables.

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2022-10-19 00:45:53 -07:00
John Willard a7650c542c Removes an unused 'ignore monkeys' flag on secbots (#70607) 2022-10-19 00:43:57 -07:00
ATH1909 9ab00f0dc3 Removes the explosive holoparasite's teleportation punch ability (#70611)
* The explosive holoparasite no longer has a 40% chance to randomly teleport a guy they're punching away from them.
2022-10-19 01:37:02 -04:00
Tim 09d88b31ee Wizard DLC - Tower of Babel (#69629)
About The Pull Request

This adds a new status effect called - Tower of Babel

Any carbon mob afflicted by the status effect will lose knowledge of every known language and gain a randomized one as a replacement. The affected mob will also be hit with a depressing moodlet that lasts for 15 seconds. Silicons are immune to all effects.

This effect is implemented in several ways:

    Tower of Babel wizard event (all crew on the station z level are affected. The wizard is not and gains mastery of every language to taunt their victims)
    Admin smite option
    Admin secret event (can be reversed)
    Staff of Babel (formerly the Staff of Sapping) will spawn during spawn magic wizard event
    Magicarp will randomly shoot bolts of babel
    Staff of Chaos will randomly shoot bolts of babel
    Overdosing on Mushroom Hallucinogen will temporarily and sporadically acquire the effect

The effect can be blocked or cured in several ways:

    Curators are given immunity
    Reading a book of babel (via lavaland loot) cures and gives immunity
    Reading a language book cures and gives immunity ONLY for that particular language

Note - The Tower of Babel does not allow tongueless, mute, or tongue tied people the ability to speak
2022-10-19 05:17:05 +00:00
san7890 4085e792ab End Of Creating Map Votes with One/Zero Options. (#70340)
Makes it so you can't call a map vote when there is less than two maps to choose from

Co-authored-by: VexingRaven <msgerbs@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-10-19 04:47:32 +00:00
GoblinBackwards 61c544f9cb Fixes cryo tubes making their occupant get stuck standing in place when broken (#70480) 2022-10-18 21:29:07 -07:00
san7890 2878345ebb Swaps sleep() to use SECONDS define, changes some sleep(1) to sleep(1 TICKS) (#70452) 2022-10-18 21:25:23 -07:00
lizardqueenlexi 708c138304 Made regenerate_organs() reset external organs as well. (#70427) 2022-10-18 21:23:53 -07:00
MrMelbert dc8fcf82c9 Silver slime extract created food isn't toxic to jellypeople (#70424) 2022-10-18 21:21:50 -07:00
Wallem 4888c44a5f Scratching an OCD itch, or, how I autodocced /mob/living/simple_animal/hostile's comments (#70614) 2022-10-18 21:15:43 -07:00
GoblinBackwards 8f241f0447 Makes weakpoint objective require both areas to be scanned + bugfixes + harddels (#70526) 2022-10-18 21:13:20 -07:00
CCC23 e2b8d9e2e1 Adds back purchasing the Autorifle and ammo through emagging the cargo supply console (#70518)
Co-authored-by: Sealed101 <75863639+Sealed101@users.noreply.github.com>
Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-10-18 21:10:19 -07:00
texan-down-under fedcbcbb18 Able to clean storage items with soap (#70575)
Co-authored-by: etherware-novice <candy@notarealaddr.com>
Co-authored-by: Candycaneannihalator <candycane@thisisnotarealaddr.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-10-19 01:52:40 +00:00
LemonInTheDark e40a42f268 Fixes job preference entries persisting after they have been nulled (#70577)
I know this doesn't actually change behavior, but it's confusing, and
adds a potential point of failure if someone doesn't realize it can
happen. Let's be consistent
2022-10-18 18:24:28 -07:00
GoblinBackwards 89beb98495 Modular computer fixes (#70606)
* Moves a lot of modular computer attackbys to the cpu instead, which is what handles it all. This allows their parts to be removed and the console deconstructed/repaired once again.
2022-10-18 20:21:28 -04:00
Imaginos16 5a3c1d63cb Adds a brand-new HUD: The Trasen-Knox HUD! (#70474)
Hello everyone! Today I bring to you all a fancy new HUD for you lot to enjoy: The Trasen-Knox HUD! Lovingly based off of the Common Core lore maintained by EOBGames!

Well, what is it?


Its a HUD with a special theming based on the old 1970's CRT screens that were commonplace at the time, including the iconic neon green and the beige plastic casing!

This PR also includes a new behavior so that its possible for each active hand icon to be unique, instead of it being a sole highlighted icon as it was before.
image

And for those wondering, it does indeed account for multiple limbs!
image

Finally, as seen in the first screenshot, this PR adds the behavior to hide the HUD icon when you insert a piece of equipment into the slot. Thank you for adding the behavior, Fikou!

This is all as a step for upgrading and changing how the HUDs we interact with on a daily basis can be upgraded in the future to be more appealing visually! That, and it is simply gorgeous :)

PositiveEntropy, Fikou
add: Adds a new HUD: The Trasen-Knox HUD! With a theming based on classic 1970s CRT screen computers!
code: Added behavior for unique icons for active hands.
code: Added behavior that makes it so when you equip an item, the icon behind it defaults to the blank template type.
2022-10-18 23:32:21 +00:00
Rhials 132508632b Adds the Command Intercom, kills off the varedited freerange intercoms on some maps. (#70287)
* Command intercoms now have a unique sprite and are standardized on all maps.
* Also prevents freerange intercoms from accessing syndicate radio.
2022-10-18 19:06:39 -04:00
san7890 901662f59b Changes job config format to use TOML, and add tools for migrating existing format (#70199) 2022-10-18 14:51:24 -07:00
MrMelbert 12ba4191c4 Tramstation kitchen dumbwaiter uses an elevator control panel (#70536)
* Tramstation kitchen uses fancy lift
2022-10-18 15:03:18 -06:00
Dani Glore f416a517c8 Fix: Blood Deficiency removing more blood than intended (#70563) 2022-10-18 13:56:48 -07:00
John Willard d6000a1cc1 Russian revolver now lets you suicide with it (#70568)
* Russian revolver now lets you suicide with it

Russian revolvers now use fire_gun instead of afterattack, so the gun's suicide (which uses process_fire) will now work.
I haven't tested, but this seems to fix https://github.com/tgstation/tgstation/issues/66152 too (Monkeys getting aggro on people pointing the gun at them).

* actually, don't check for mob

Now the text is consistent with how it previously was, while always displaying the visible message.

* fix the comment to state yourself only
2022-10-18 08:36:58 -04:00
MrMelbert 4a38742102 Fixes leftover uses of hallucination var (#70596)
Removes skewed hallucination values
2022-10-18 08:34:43 -04:00
Pumpkinoe d9b74be511 Fixes some grammar in sleeper protocol code (#70600)
Update sleeper_protocol.dm
2022-10-18 08:33:15 -04:00
Pumpkinoe 15a18b34fd Fixes grammar in statue code (#70599)
first fix

I hope this works in any sense of the word
2022-10-18 08:32:54 -04:00
YakumoChen f4d0902f5f You cannot plant c4 on observers (#70595)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Aki Ito <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2022-10-18 06:57:11 +00:00
brian 32a2e3e4ce resprites datadisks (#70586)
Co-authored-by: Chadwick B. Dunlop <fake@fake.mail>
2022-10-17 23:43:38 -07:00