Commit Graph

32660 Commits

Author SHA1 Message Date
Mickyan d0b64d52cb impromptu bugfixing 2020-09-18 22:38:21 +02:00
Mickyan 6290e1d155 1 level falls 2020-09-18 19:41:52 +02:00
Mickyan f6a2c9480f hold my beer 2020-09-18 18:57:14 +02:00
infoman-cor 89167ffba9 Monkeys now examine themselves instead of self hugging (#53745)
More consistent with how humans interact. Fixes #53743.
2020-09-17 23:12:50 -07:00
Timberpoes 6914d0c046 Fix flash runtime, improve flash logic (#53784)
image

Flash + Emp = Flash with no user = Runtime.

Additional logic has been put in place to handle this.

I've also robustified the calculate_deviation proc to have explicit returns in every code path and simplified it to only care about the direction the victim is facing compared to the attacker's position.
* Magic numbers are bad because wizards are bad

* Rohesie feex
2020-09-18 03:04:16 -03:00
Tumesuo 71493fc77c Fix capitalization in wizard reminder (#53801)
Change "do" to "Do". Fixes #53757.
2020-09-17 22:18:03 -07:00
Dennok 2873a106b2 Fix shuttles being destroyed if piloted too close to where they already were (#53631)
Return on place shuttle rotating.
No more shuttle crashing on rotating. and one tile shifting.

Shuttles no more able move stationary docking ports.

Reverts #53133
Shuttle hulk fix.
fixes #47764
fixes #45853

Add destroying of custom dock on shuttle_docker Destroy.
2020-09-17 19:21:00 -07:00
Timberpoes 29e8852428 Fix runtime with NTOS apps and improve code involved (#53779)
There exists a specific state where ui.open() can be called yet the 
result would be a null window and such behaviour would be intentional. 
The following CRASH in ui.send_asset() would thus be misleading, 
because send_asset() was called after open().

This PR adds more information to the CRASH about when the failure state 
can occur, makes open() return a value based on whether it actually 
opened a new pooled window or not, and makes sure modular computer apps 
don't send_assets unless a new pooled window was created.
2020-09-17 17:46:33 -07:00
Ghilker 29c0ed1b00 Remove bad reference from atmos (#53781)
Change the name from Cyrion B to Zauker due to the easy connection the bad groups in the past

Not getting a repo ban is good
2020-09-17 13:51:15 -07:00
Aleksej Komarov 0aa3e58130 Fix runtime when NPC tries to interact with tgui (#53776)
Monki tries to open a door with a wire panel open, it tries to open a tgui for him, and uh oh, there is no client on user.
2020-09-17 15:07:44 -03:00
TiviPlus 456723c4df Silicon deletion cleanup (#53680)
Law datums were referencing owner
Law datums were not being delled
Some MMI code was organized strangely
2020-09-16 23:48:25 -03:00
Azarak 91f897af09 Makes visible messages not be obstructed by darkness if you're next to the source (#53706)
If you're doing emotes in full darkness right next to someone, then the person won't see them, despite seeing your mob, which is counter-intuitive. This fixes that issue
2020-09-16 23:37:48 -03:00
Wayland-Smithy eac7d3a120 Makes the Ghost Whispers pref. toggle work with or without Ghost Ears enabled (#53738)
Adds the condition of !eavesdrop_range to the logic for determining weather or not a non-whispered speech message should be displayed based on our CHAT_GHOSTEARS preference. Making it so that the Ghost Ears setting is no longer checked if the message is whispered and therefore long distance whispers will no longer be suppressed if both preferences are not set to TRUE.
2020-09-16 20:58:11 -03:00
Timberpoes 603aaf2117 Fix runtime in shade transformation when done via russian revolver (#53739)
/obj/item/gun/ballistic/revolver/russian/proc/shoot_self starts a transfer_soul chain with a null user, because it's the target who inflicted it on themselves. There is no user.

Later on in when we init the shade, we attempt to copy the "master"/user's language to the shade too.

No user, classic runtime.

Moving the user language transfer behind a conditional check addresses this oversight.
2020-09-16 20:55:13 -03:00
Timberpoes b01bef7ad8 Fix burning black crossbreed runtime on humanizing (#53740)
When transforming back to a human, /obj/effect/proc_holder/spell/targeted/shapeshift/slimeform/Restore called the parent but didn't return it, instead returning nothing (always null).

It's used in /obj/effect/proc_holder/spell/targeted/shapeshift/cast when transforming back to human via the Burning Black crossbreed which expect Restore() to return a mob. The code would then go on to immediately runtime.

With the appropriate return, this runtime no longer happens as the value is no longer null.
2020-09-16 20:50:21 -03:00
uomo 3d6946a7db Plasmamen psychologists now have an outfit. (#53750)
Not a new outfit, mind you. But this gives plasmamen psychologists a more fitting outfit, until one specifically for them gets sprited.
I think giving them a medical plasmaman helmet, enviroslacks (as given to the bartender, lawyer, detective), and white envirogloves is better than them looking mostly like plasma assistants.
2020-09-16 20:49:05 -03:00
Timberpoes 42810ef520 Snacctime feex (#53693)
#53316 either created or exposed a new runtime.

Microwaved snaccs expected snacc results. New caks are not snaccs but are caks.

Added branching code paths to handle both food typepaths while @Qustinnus finishes up his rework.

fix: Microwaved cake batter and similar snack foods that create non-snack foods will no longer cause runtimes, meaning cakes now get filled with reagenty-goodness and are both delicious and nutritious.
2020-09-16 15:47:35 -07:00
ArcaneMusic d836946e8e Arcane finishes the fight and adds all the missing belt sprites and a worn sprite Admin Tool. (#53305) 2020-09-16 16:11:23 -03:00
Timberpoes 81119af792 Fixes processing of deleted objects in SSair (#53735)
qdel'd objects could still process in SSair because SSair utilises a cache whenever it has to resume processing runs from a partially completed state from running out of processing time.

Of all the things that processed on SSair, only one thing actually took care to remove itself from the cache as well on deletion.

This is an important subsystem and the processing lists should not be public. Objects don't need to know how SSair works, they just call the proc to add when they start processing and call the proc to remove when they finish.

Thanks to @LemonInTheDark and @willox for spending a lot of time helping me track down a proper fix to this issue.
2020-09-16 14:37:07 -04:00
Jared-Fogle 8505c4e4cf Fix surgery initiation runtime. (#53697)
* Feex

* More feex

* Wingfeex feex
2020-09-16 03:08:21 -07:00
Timberpoes 2ef520fbf5 Fix comments that trigger new lint warning (#53737)
New lint catches potential fuckery with meme comments.

Now you know why every meme ////comment\\ had a newline under it in 
order to compile.
2020-09-15 18:50:10 -07:00
Qustinnus 2c8489af26 s-s-s-spaghetti to newfood (#53574)
🆑 Qustinnus
code: Moves spaghetti to new food
fix: Fixes some more size problems on food
fix: Fixes organs having wrong params
/🆑

fixes #53482 fixes #53572
2020-09-16 02:49:06 +01:00
Timberpoes 393ad935ea Fixes issue where self-resp and enabling Godmode may not clear the suffocating moodlet (#53715)
Clears suffocation-related flags while the user doesn't need to breathe due to the self-resp virus symptom or Godmode.
2020-09-15 19:22:17 -04:00
Timberpoes 96f4c2f4ad Fix two gas assertion runtimes (#53718)
/datum/gas_mixture/proc/remove(amount) has a code path that can return null.

All the code following the runtimes assume some bit of gas_mixture was actually removed at all. No need to trigger this code if there's no gas_mixture removed, can early return instead.
2020-09-15 19:21:11 -04:00
Timberpoes 6f2bcf879a Add additional info to a runtime situation to be able to handle it better in the future. (#53727)
Added two CRASHes for two areas where this could go wrong to better understand what and why this is happening.
2020-09-15 19:16:10 -04:00
Timberpoes b8ce0aa519 Cyborg inventory runtime fix. (#53741)
Following the cyborg inventory refactor, code changed a bit.

Cyborg inventory screens are inited in the HUD, however AI Shells don't generate a HUD until an AI assumes direct control.

Damaging an AI shell before the AI created a HUD in it would cause runtimes as modules disabled and enabled.

To remedy this, we now initialize the core inventory slots on the robit Init() and then update them as necessary in the HUD code later on if an AI ever deigns to grace your shell with their exalted presence instead of asking for it and then never using it.
2020-09-15 19:04:09 -04:00
EdgeLordExe 1765037329 Nerfs Flashes [Edge Awards 2020] (#53604)
Flashes now deal stamina damage and micro-stun, they deal higher damage than batons BUT they have a severe disadavntage in form of directionality. Stamina damage and the duration of the micro stun is determined by direction your enemy is facing.
2020-09-15 20:14:01 +01:00
spookydonut c711270a38 Fix ventcrawling bug I merged (#53704)
#53672 introduced a bug because held_items always has the same number of indexes as the mob has hands
2020-09-15 18:58:52 +01:00
Jared-Fogle 77a07b5866 Prevent smashing of light tubes onto fixtures (#53705)
Previously, if you tried to put in a light tube at any point before fully finishing the fixture, it would break the light tube. This is no longer the case, and it will now simply prevent you from putting it in.
2020-09-15 18:57:30 +01:00
PolishUser 4f597c97c7 Breadcat (#53609)
* Introducing Bread Cat

* Introducing Bread Cat

* Introducing Bread Cat

* Message

* Introducing Bread Cat

* Naming

* Crafting + Return

* H

* hnnnng

* Why are we still here?

Co-authored-by: PolishUser <fakemail@fake.com>
2020-09-15 13:36:32 -04:00
EdgeLordExe f9ef6d13d4 Edge's Explosive Balancing Patch [v4] (#53468)
* E

* Update pyrotechnics.dm

* E

* Update code/modules/reagents/chemistry/recipes/pyrotechnics.dm

Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-09-15 09:55:01 -04:00
Couls 75cdfc88f6 Optimize stat panel and fix guardian verbs (#53463)
Optimizes stat panel code for better performance, including icon caching and removing some unnecessary processing
Also fixes #53432
fix #53381
fix #53724
Changelog

add: icons are back on alt clicks
fix: horrible performance from alt clicking turfs with multiple objects
tweak:browser should notify the SS when it's ready to receive data

* Update statbrowser.html

* Apply suggestions from code review

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

* hidden = TRUE

* almost ready

* Browser should notify when ready to receive data

* Apply MSO's suggestions

* reset cache if something in it gets deleted

* Fix runtime

* fix my stupid code

* send href_token when adding admin tabs

* fix an issue with cyborg suit topic

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-09-14 23:36:46 -07:00
Timberpoes ddc9e7d7ee Add a confirmation for harvesting Replica Pods with associated ckeys/minds that aren't ready to be revived. (#53567)
* Early return logic, add alert

* Robustify code.

* Minor tweak.

* Interaction check
2020-09-14 10:57:42 -04:00
Mike Long 93b8626a2c Makes the syndicate syringe gun start with a syringe loaded. (#53656) 2020-09-14 10:49:55 -04:00
Putnam3145 d556f4a740 Unbads ventcrawling. (#53672) 2020-09-14 16:56:22 +08:00
TiviPlus 9f153219d0 cleanup (#53677) 2020-09-14 16:55:17 +08:00
Timberpoes c07d14a1fc Wingfeex feex 2020-09-14 02:06:27 +01:00
Timberpoes 9fc2a37d3f More feex 2020-09-14 01:52:02 +01:00
Timberpoes e361b0adf9 Feex 2020-09-14 01:48:47 +01:00
Jimmius a9c538fbc9 Airlock Seals 2: I'm dumb and a fool edition (#53114)
Adds door seals to the game, inspired by the ones used in Alien Isolation and SOMA. Trivially easy for a human to remove, but makes it a nightmare to try and smash through if you're an alien, an evil robot, or don't have hands. I also slightly changed how airlock reinforcement works, as now there are two ways to increase the integrity, the previous way of just resetting the max_integrity after the removal of the plating wouldn't work.
2020-09-13 16:12:02 +01:00
Tad Hardesty 899a9e04cb Fix some missing Initialize hints (#53566)
* Fix some missing initialize hints

* Whitelist /mob/dview not calling /atom/Initialize()

* Better idea
2020-09-13 20:34:12 +08:00
TiviPlus e7d0c30523 Random whiteship selection (#53603)
Breaks shit if the deprecated map pr is merged before/after without me fixing it so only merge one of those
2020-09-13 07:44:21 +01:00
SamuelRowe 19ef3b3fa0 Fixes mixer and filter icon_states, Part 2. (#53625)
Fixes invalid default icon_states that caused issues with mapping utils such as SDMM.
2020-09-13 03:45:18 +01:00
Wallemations 11073f55ec Fixes some issues with sign language & makes some things more clear (#53610)
Changes the name of the recipe for the gloves to make them more clear
Adds a note in the tongue file to make sure it's clear you SHOULDN'T SEE THAT TONGUE.
Adds a unique chat message for mimes who use sign language, to make it clearer you can't cheese as a mime
Adds a unique slurring verb for drunkards
Removes the ability for sign languagers to use megaphones, which I forgot existed in the game. 
Punctuation removal now replaces all punctuation used with periods rather than with blank space, to reduce run-on sentences.
2020-09-12 18:57:49 -07:00
Arkatos1 4b2cf6520c Guide to Dank Radials (#53616)
This PR makes Guides to Dank Mimery use a radial menu as a method for choosing mime spells, instead of using an outdated html browser menu. Old book text was moved to the item description instead, to make it clear what it does.
2020-09-13 02:55:17 +01:00
Tad Hardesty 67f9ea771a Remove outdated shuttle import landmark (#53642)
Cleaning up after #44676
2020-09-13 02:52:18 +01:00
tralezab 867b5fef1e Makes Ice Box Botany Cozy as Fuck [MULTI-Z] [FUCK CABLE HUBS] (#53627)
Makes botany down a zlevel, gives them an exit so they can collect plants on the ice moon...
2020-09-13 00:50:09 +01:00
Ghilker fb7b23cf4d tgui: Temperature Gate (#53632)
* new device, temperature gate

* added necessary examine on device

* better description(?)
2020-09-13 00:37:40 +03:00
Ghilker 02c09813c6 tgui: Temperature Pump (#53608)
* new item, temperature pump

* tgui bundle build

* requested changes
2020-09-13 00:00:14 +03:00
msgerbs fb010a1dea Fix mechs not using power to move, gygax leg actuator button not matching actual state, and mechpads not working (#53624)
Fixes these issues with mechs:

    Mechs aren't using power to move (broken in #52902)
    Gygax leg actuator button is opposite of what it should be (off when it should be on) (broken in #52902)
    Mechpads don't actually send mechs
    None of the error messages for failing to move work
2020-09-12 18:16:14 +01:00