Commit Graph

3713 Commits

Author SHA1 Message Date
SkyratBot
a575dae1d0 [MIRROR] Cyborg hypospray refactor + TGUI Interface [MDB IGNORE] (#14473)
* Cyborg hypospray refactor + TGUI Interface

* tes

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-25 00:45:59 +01:00
SkyratBot
51027e4809 [MIRROR] Fix for randomized recipes not working (metalgen and secret sauce) [MDB IGNORE] (#14470)
* Fix for randomized recipes not working (metalgen and secret sauce) (#67904)

* Fix for randomized recipes not working (metalgen and secret sauce)

Co-authored-by: antropod <antropod@gmail.com>
2022-06-23 22:33:46 +01:00
SkyratBot
3007f9974c [MIRROR] Olives! + Custom sushi/Pierogi changes [MDB IGNORE] (#14451)
* Olives! + Custom sushi/Pierogi changes (#67239)

About The Pull Request

This is a continuation of #66946 since I have enough points to finally do so.

This PR will:

    Expand upon my previous sushi PR, allowing people to use an ingredient on a sushi sheet to start creating custom sushi.
    Add olives! A new type of fruit that can be grown in hydroponics. When ground, it becomes olive paste which when mixed with water in a 4-1 reaction turns into 2 units of quality oil.
    Make pierogis require a dough slice to craft instead of a bun.
    Make quality oil cost 50 credits to order instead of 120

Why It's Good For The Game

Since my sushi PR merged, many people have asked me to add custom sushi, so here it is. This will allow chefs to make more interesting menus with added customization.

Quality oil is an extremely expensive commodity (120 credits for one 50 unit bottle, 240 if you expedite it!!!) and can only be acquired from cargo. I feel because of this, many chefs do not make lizard or mothic foods because simply acquiring the ingredients to do so is either very time consuming, expensive, or both. This will encourage people to make those foods more often since one of the key ingredients in many lizard or mothic dishes can be made by them, too. Olives themselves can be eaten as a snack and open up opportunities for new foods in the future, and it makes sense for you to make your own oil since the process is simple yet highly inefficient in real life.

This PR originally had a way to craft cornmeal as well, but that idea was adopted yesterday in #67227 which they can keep.

Lastly, it seems more reasonable for pierogis to require a dough slice instead of a burger bun. Don't think that requires more explanation.

I believe my gbp score is at -3, but I have three PRs waiting to merge currently which will boost me way above that.
Changelog

cl
add: Botany can now grow olives, which can be ground into a paste and mixed with water to make quality oil.
add: You can now make custom sushi by using an ingredient on a seaweed sheet. The sushi will be named after the first ingredient you use.
balance: Pierogis now need a dough slice instead of a bun
balance: Quality oil costs 50 credits to order instead of 120
/cl

* Olives! + Custom sushi/Pierogi changes

Co-authored-by: MidoriWroth <kodyman@att.net>
2022-06-22 10:35:00 +01:00
SkyratBot
49df4e02f9 [MIRROR] Arconomy expansion pack 1: Convenience and Luxury goods [MDB IGNORE] (#14410)
* Arconomy expansion pack 1: Convenience and Luxury goods (#67417)

* Arconomy expansion pack 1: Convenience and Luxury goods

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2022-06-19 10:07:16 -07:00
SkyratBot
4540d41d4e [MIRROR] Fixes Reagent Dispensers Not Removing Reagents [MDB IGNORE] (#14345)
* Fixes Reagent Dispensers Not Removing Reagents (#67611)

* Fixes Reagent Dispensers Not Removing Reagents

Co-authored-by: 13spacemen <46101244+13spacemen@users.noreply.github.com>
2022-06-16 12:58:49 +01:00
SkyratBot
876973a8a8 [MIRROR] fixes medical gel transfer amount text [MDB IGNORE] (#14317)
* fixes medical gel transfer amount text (#67681)

* fixes medical gel transfer amount text

* fixes medical gel transfer amount text

Co-authored-by: robbertapir <102324362+robbertapir@users.noreply.github.com>
2022-06-15 12:12:30 +01:00
SkyratBot
c0a307a11b Add disease resistance effects for spaceacillin (#14238)
Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-13 06:36:43 -07:00
SkyratBot
5e1a4ee6d8 [MIRROR] Gets rid of the Druggy var on /living, "fixes" Earthsblood [MDB IGNORE] (#14264)
* Gets rid of the Druggy var on `/living`, "fixes" Earthsblood (#67668)

Kill the druggy var

* Gets rid of the Druggy var on `/living`, "fixes" Earthsblood

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-06-12 21:00:17 +01:00
SkyratBot
0a1f06a2d1 [MIRROR] This tail refactor turned into an organ refactor. Funny how that works. [MDB IGNORE] (#14017)
* This tail refactor turned into an organ refactor. Funny how that works.

* Firstly, fixing all the conflicts.

* Fixes all our maps (hopefully)

* Actually, this should fix pod people hair :)

* Almost everything is working, just two major things to fix

* Fixed a certain kind of external organ

* Cleaning up some more stuff

* Turned tail_cat into tail because why the fuck are they separate?

* Moved all the tails into tails.dmi because that was just dumb to have like 3 in a different file

* Adds relevant_layers to organs to help with rendering

* Makes stored_feature_id also check mutant_bodyparts

* Fixes the icon_state names of ALL the tails (pain)

* Fixes wagging, gotta refactor most mutant bodyparts later on

* I Love Added Failures

* Fixed some organs that slipped through my searches

* This could possibly fix the CI for this?

* It doesn't look like it did fix it

* This will make it pass, even if it's ugly as sin.

* Fixed Felinids having a weird ghost tail

* Fixes instances of snouts and tails not being properly colored

Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-06-11 23:20:16 -04:00
SkyratBot
e3ad99a246 [MIRROR] Examine Hints For Reagent Tanks [MDB IGNORE] (#14194)
* Examine Hints For Reagent Tanks (#67601)

adds examine hints to reagent tanks for leaking and rigging

* Examine Hints For Reagent Tanks

Co-authored-by: 13spacemen <46101244+13spacemen@users.noreply.github.com>
2022-06-08 16:55:08 +01:00
SkyratBot
35286f5993 [MIRROR] Improves logging for smoke clouds. [MDB IGNORE] (#14156)
* Improves logging for smoke clouds.

* Update robot_upgrades.dm

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-08 02:15:29 +01:00
SkyratBot
2f600cf083 [MIRROR] Clothing (as food for Moths) now only give temporary nourishment. [MDB IGNORE] (#14159)
* Clothing (as food for Moths) now only give temporary nourishment. (#67537)

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

* Clothing (as food for Moths) now only give temporary nourishment.

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2022-06-06 22:06:45 -07:00
SkyratBot
4bab6fcd91 [MIRROR] Advanced Welderbombing [MDB IGNORE] (#14145)
* Advanced Welderbombing

* Update reagent_dispenser.dm

Co-authored-by: 13spacemen <46101244+13spacemen@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-06-06 18:28:26 -07:00
SkyratBot
7b536c7fff [MIRROR] [NO GBP] Fixes zombie powder again [MDB IGNORE] (#14105)
* [NO GBP] Fixes zombie powder again (#67502)

```..()```
Was the fatal flaw. End metabolization is handled by on_mob_life's parent. The switch check runs after that, mucking you over after fakedeath has been cured.

* [NO GBP] Fixes zombie powder again

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-06-06 00:07:38 +01:00
SkyratBot
600570ef34 [MIRROR] Makes chem master not use an incorrect constant [MDB IGNORE] (#13980)
* Makes chem master not use an incorrect constant (#67339)

* Makes chem master not use an incorrect constant

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2022-05-29 04:40:25 +01:00
SkyratBot
64d3f062ad [MIRROR] Allows to open taps on water and fuel tanks [MDB IGNORE] (#13878)
* Allows to open taps on water and fuel tanks

* Update reagent_dispenser.dm

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-25 16:47:03 +01:00
SkyratBot
7d1a9573e4 [MIRROR] Fixes more issues OpenDream uncovered [MDB IGNORE] (#13859)
* Fixes more issues OpenDream uncovered (#67222)

Co-authored-by: ike709 <ike709@ github.com>

* Fixes more issues OpenDream uncovered

Co-authored-by: ike709 <ike709@users.noreply.github.com>
Co-authored-by: ike709 <ike709@ github.com>
2022-05-25 00:59:49 +01:00
SkyratBot
b61e76f235 [MIRROR] Spinward Smoothies Space Ruin [MDB IGNORE] (#13712)
* Spinward Smoothies Space Ruin (#67001)

Adds a space ruin called Spinward Smoothies. It's a nature-themed smoothie bar built into an asteroid. Also includes recipes for six smoothies to match the theme.

It's a cute little thing to find in space, enabling space explorers to grab a drink there and relax for a while. More things to explore.

* Spinward Smoothies Space Ruin

* add sugar to pink milk

Co-authored-by: Sylphet <58074918+Sylphet@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-20 17:09:08 +01:00
SkyratBot
6e48aad8ec [MIRROR] Cryo heals on crit, changes status effect check to trait. [MDB IGNORE] (#13700)
* Cryo heals on crit, changes status effect check to trait. (#67076)

Old bug was caused by IsUnconscious and IsSleeping being status effect checks, these status effects are not applied on crit. This changes it to be trait checks instead, which are applied on crit

* Cryo heals on crit, changes status effect check to trait.

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-05-18 20:02:22 +01:00
SkyratBot
43abf0176f [MIRROR] OpenDream Cleanup Pass [MDB IGNORE] (#13690)
* OpenDream Cleanup Pass (#67036)

OpenDream can detect BYONDisms that BYOND or SpacemanDMM miss. This PR fixes all of the issues it found in TG. Each change is explained in code comments below.

* OpenDream Cleanup Pass

Co-authored-by: ike709 <ike709@users.noreply.github.com>
2022-05-18 19:56:35 +01:00
SkyratBot
8d4b1e1c0a [MIRROR] New drink sprites aka Drink Desouling [MDB IGNORE] (#13575)
* New drink sprites aka Drink Desouling (#66538)

- All drinks and bottles have been resprited

* New drink sprites aka Drink Desouling

Co-authored-by: ErdinyoBarboza <erdinyobarboza@gmail.com>
2022-05-13 11:33:23 +01:00
SkyratBot
133b753507 [MIRROR] Converts jittering to status effect, striking yet another mob level status value [MDB IGNORE] (#13534)
* Converts jittering to status effect, striking yet another mob level status value

* mmkay

* weh

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 21:59:42 +01:00
SkyratBot
4bc9446f21 [MIRROR] Fixes "high blood pressure" status effect, and corrects the spelling of "opioid" (fixing another bug) [MDB IGNORE] (#13532)
* Fixes "high blood pressure" status effect, and corrects the spelling of "opioid" (fixing another bug) (#66849)

Status effects that are intended to be added, are actually added.
Opioid is now spelled correctly, consistently.

This actually caused a bug: Opioid end_withdrawal was never called because it's path was spelled correctly and the others weren't.

* Fixes "high blood pressure" status effect, and corrects the spelling of "opioid" (fixing another bug)

* wew

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 21:52:11 +01:00
SkyratBot
3e4bad8694 [MIRROR] Confusion status effect is now duration based instead of magic number based [MDB IGNORE] (#13496)
* Confusion status effect is now duration based instead of magic number based

* e

* Update tgstation.dme

* Update contract.dm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 01:52:39 +01:00
SkyratBot
c11596d700 [MIRROR] Fixes mulligan not randomizing ethereal color, removes default_color for every race except ethereals [MDB IGNORE] (#13492)
* Fixes mulligan not randomizing ethereal color, removes default_color for every race except ethereals

* Fixing a merge conflict

* f

* e

Co-authored-by: wesoda25 <37246588+wesoda25@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-11 01:37:57 +01:00
SkyratBot
a23c16c5aa [MIRROR] changes name of trait "STUNRESISTANCE" to trait "BATON_RESISTANCE", changes some descriptions [MDB IGNORE] (#13467)
* changes name of trait "STUNRESISTANCE" to trait "BATON_RESISTANCE", changes some descriptions  (#66788)

it will make a whole lot more sense when you look at the trait and see what it does, instead of assuming what it does based on its very clear name

* changes name of trait "STUNRESISTANCE" to trait "BATON_RESISTANCE", changes some descriptions

* Update cocaine.dm

Co-authored-by: private-tristan <54422837+private-tristan@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-10 01:44:43 +01:00
Useroth
4d07f3a620 Missed mirror (#13460)
* Converts drunkness and dizziness to status effects. Refactors status effect examine text (and, subsequently, stabilized black extracts).  (#66340)

* Refactors dizziness into a status effect

* Refactors the dizziness setter to use the new kind

* Drunkness.
- Should drunk continue to work off of a magic value or be swapped to duration? I've not yet decided: For understandability it's preferabale for "drunk" to use a timer (they are drunk for 3 more minutes), but both adding drunk and decreasing drunk currently use weird calculations which would be difficult to carry over.
- Ballmer is a liver trait

* Dizzy was a setter, not an adjuster

* Does all the drunk effects over
- refactors examine text fully
- refactors stabilized blacks because of this

* Removed

* repaths, fixes some issues

* Minor fixes

* Some erroneous changes

* Fixes some dizziness errors

* Consistency thing

* Warning

* Undoes this change, I dont like its implementation

* max_duration

* Max amount

* Should be a negative

* max duration

* drunk doesn't tick on death

* Rework dizziness strength

* Erroneous dizzy change

* Fixes return type

* this should do it?

* well, one more

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-09 15:05:42 +01:00
SkyratBot
ef2016732d [MIRROR] Makes smoke and foam attempt to fill the available space. [MDB IGNORE] (#13407)
* Makes smoke and foam attempt to fill the available space.

* wew

* reset

* Revert "reset"

This reverts commit 75be4f934504793ceb5c9bf2f3774dc24517df5a.

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-05-08 04:01:32 +01:00
Useroth
cca7f8ee4c Some missed mirrors (#13415)
* Refactors firestacks into status effects (#66573)

This PR refactors firestacks into two status effects: fire_stacks, which behave like normal firestacks you have right now, and wet_stacks, which are your negative fire stacks right now. This allows for custom fires with custom behaviors and icons to be made.

Some fire related is moved away from species(what the fuck was it even doing there) into these as well.
Oh and I fixed the bug where monkeys on fire had a human fire overlay, why wasn't this fixed already, it's like ancient.

Also changed some related proc names to be snake_case like everything should be.

This allows for custom fire types with custom behaviours, like freezing freon fire or radioactive tritium fire. Removing vars from living and moving them to status effects for modularity is also good.
Nothing to argue about since there's nothing player-facing

* Hud Image Culling By Z Level: Theft edition (#65189)

* makes hud images only apply by z level

* makes some of the atom_hud procs have better names

* fixes warning with the hud_user list and adds better documentation

* better docs for hud_images

* removes TODOs

* docs for hud_list

* adds support for linked z levels so mobs can see lower ones

* fixes merge conflict and shittily makes only shocked airlocks get added

* adds support for setting images in the hud as active and inactive

* gets rid of unatomic spatial grid change

* maybe i should actually try COMPILING my changes

* fixes merge skew and makes it compile again

* fixes huds refusing to remove from users who changed z level

* improves z level and registration logic

* fixes antag huds not appearing

* Fixes antag huds not properly setting. We now use hud_list in init, so it needs to be set before the new call, not after. Not sure why the use of appearance key was split like this, but none else knows either so none can stop me

* Ensures that hiding a basic appearance also hides the atom's active list too

* Fixes antag huds going poof

Ensures that remove_atom_from_hud will return false if the passed atom
isn't managed by it

This fixes antag huds disappearing randomly, since they assumed that if
the parent call of remove_atom_from_hud returned true, we should delete
ourselves. This is a safe assumption for them to make, since they should
only ever have one atom.

Does kinda bork if we call remove_atom_from_hud in a way that is unsure
if the passed atom is actually in that list. We were forced into doing
this by how atom huds use the qdeleting signal.

* makes basic alternate_appearance's only update themselves when setting their hud image to active and makes them not add themselves to the global huds_by_category list

* fixes mistake with hud_users list being set non associatively (bad)

* as anything in bot path loops

* Fixes merge skew problems

* Makes bot paths non global

This way they can show themselves to only the bot that "owns" them, ya
feel me?

* Fixes huds not showing up sometimes, cleans up some code

Post Kapu's limb refactor, we were calling prepare_huds twice in a human
init call chain. What was happening was this:

call prepare_huds() // Human
I gained a new hud image
I set active hud icons to mirror it
call prepare_huds() // Living
I overwrote the new hud image
I attempted to set active hud icons, which failed because it assumes
this can never happen

*cries*

* Renames add_hud_to_atom to show_to

My hope is this will make understanding hud code a bit easier, by tying
the behavior to a "verb" more closely. Also renamed a few vars

* remove_hud_from_mob -> hide_from

* Nitpicks a few comments

* Whoops/fuck/shit/damn it all/hhhhhhhhhhhh

* Moves check down, improves stack trace a bit

Co-authored-by: KylerAce <kylerlumpkin1@gmail.com>

* small touch-up

* this should do it

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: KylerAce <kylerlumpkin1@gmail.com>
2022-05-08 03:59:40 +01:00
SkyratBot
ff0f1ab258 fix duplicate defintion of coagulant (#66686) (#13350)
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-05-06 12:47:40 +01:00
SkyratBot
89bb6790ea Makes mobs created by friendly life actually friendly (#66693) (#13349)
Co-authored-by: lnGoror <103280043+lnGoror@users.noreply.github.com>
2022-05-06 12:47:31 +01:00
SkyratBot
8849e8a1f6 Buffs drying reagent's floor drying (#66675) (#13319)
This stuff is primarially used by the janitor borg.
It currently takes about 66% of a tile's wetness* per spray (5u)
This makes it feel really bad, so let's buff it.

* It appears that the first application of water to a tile will always
  set it to 10 seconds of delay, no matter how much the wetness wants to
  apply. Fixing this would cause a 6x increase in the drying time of
  puddles, so I'm not gonna fix it here. Damn it all

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2022-05-05 00:49:35 +01:00
Zonespace
6b4d64b3f6 Fixes Chem Dispenser upgraded reagents (#13304)
* sure

* comment
2022-05-04 12:57:26 +01:00
SkyratBot
f0d9592385 [MIRROR] Pens require gravity to write [MDB IGNORE] (#13184)
* Pens require gravity to write (#66310)

* TO BE CONTINUED

* Add zero gravity writing restrictions for pens

* Fix gravity check for writing

* Fix writing instrument var declaration

* Fix pen and crayon can_write proc

* Fix lenting issues with code docs

* Remove deprecated code

* Change code comment

* Add literacy checks and writing checks to items

* Remove deprecated code

* Remove deprecated code

* Remove deprecated code

* Remove duplicate code

* Fix grammar for space pens.

Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>

* Trigger Build

* Optimize proc order for pen gravity

Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>

Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>

* Pens require gravity to write

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>
2022-04-27 21:03:45 -07:00
SkyratBot
044d75253c [MIRROR] Arconomy: The bigger balance PR (REVISED EDITION) [MDB IGNORE] (#13164)
* Arconomy: The bigger balance PR (REVISED EDITION)

* yes

* wew

* Update multitool.dm

* yers

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-27 21:29:22 +01:00
SkyratBot
6fc0575882 [MIRROR] Human Life Optimization: Citrus Flavored [MDB IGNORE] (#13128)
* Human Life Optimization: Citrus Flavored

* wew

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-26 15:46:01 +01:00
SkyratBot
a2aac9dd31 [MIRROR] updateDialog and updateUsrDialog cleanup [MDB IGNORE] (#13118)
* updateDialog and updateUsrDialog cleanup (#66494)

This PR focuses on cleaning up two procs - updateDialog and updateUsrDialog. Both of which are/were used updating for old HTML UIs. As these UIs got converted to TGUI over time, these old code fragments started to pile up, often due to coders simply overlooking them. This resulted in them being dead code doing nothing when called, or randomly opening up windows when they shouldnt, for example when a vending machine is screwdrivered and UI cannot even be interacted with.

However, there were also some desirable uses - like opening a window when an ID is inserted into civilian bounty console, which you are then gonna obviously use to pick a bounty. I kept these uses and replaced them with proper ui_interact, so they now always work, instead of them working only when you had them set as a currently used machine on mob. The list of these changes is:

    Civilian Bounty Console will now always bring up its UI when you insert the ID.
    Air Alarm and APC will now always bring up its UI when you unlock their controls.
    Portable Chem Mixer, Chem Dispenser, Chem Heater, Improvised Chem Heater, Chem Spectometer and Chem Master will now always bring up their UI when you add or replace beaker to them.

Two old /Topic calls were cleaned up as well, as they were no longer relevant.

Removes dead or outdated code, adds sensible UX when working with certain UIs.

* updateDialog and updateUsrDialog cleanup

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
2022-04-26 15:26:56 +01:00
SkyratBot
84db5551e3 [MIRROR] Fixes the krokodil zombie transformation [MDB IGNORE] (#13108)
* Fixes the krokodil zombie transformation (#66482)

Krokodil zombies now look like zombies again.
Transformation now correctly deals damage.
Ensures hair loss on transformation. (Goes with this spirit of skin falling off and it's how the transformation used to work.)

* Fixes the krokodil zombie transformation

Co-authored-by: lnGoror <103280043+lnGoror@users.noreply.github.com>
2022-04-26 01:38:31 +01:00
SkyratBot
73abb9e8b2 [MIRROR] Fixes reagents Destroy() runtime [MDB IGNORE] (#13092)
* Fixes reagents runtime (#66432)

* Fixes reagents Destroy() runtime

Co-authored-by: Tastyfish <crazychris32@gmail.com>
2022-04-25 14:26:20 +01:00
SkyratBot
17c6f04f23 [MIRROR] Make grinders consume the right amount of power [MDB IGNORE] (#13094)
* Make grinders consume the right amount of power (#66453)

* Make grinders consume the right amount of power

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
2022-04-25 14:23:11 +01:00
SkyratBot
8787f524eb [MIRROR] Fixes the beyblade reaction oversight / exploit [MDB IGNORE] (#13046)
* Fixes beyblade reaction with convermol (#66396)

* Fixes the beyblade reaction oversight / exploit

Co-authored-by: FernandoJ8 <80640114+FernandoJ8@users.noreply.github.com>
2022-04-23 18:29:53 -07:00
SkyratBot
92bc8e3e19 [MIRROR] Fixes saline solution bottle sprite [MDB IGNORE] (#13041)
* Fixes saline solution bottle sprite (#66427)

* Fixes saline solution bottle sprite

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
2022-04-23 18:28:04 -07:00
SkyratBot
c9dd719d37 [MIRROR] Converts drugginess to status effect, striking another var processed on life() [MDB IGNORE] (#12987)
* Converts drugginess to status effect, striking another var processed on life() (#66331)

* Changes drugginess to an effect

* Missed some changes

* Removed

* Converts drugginess to status effect, striking another var processed on life()

* wew

* 0

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-22 15:52:23 +01:00
SkyratBot
729132a4e0 [MIRROR] Rebalanced Power consumption, increase for machines [MDB IGNORE] (#12930)
* Rebalanced Power consumption, increase for machines

* wew

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-20 17:07:14 +01:00
SkyratBot
9e3bf27314 [MIRROR] Moves more chem machine eject beaker shortcuts to right click, allows silicons to use shortcut [MDB IGNORE] (#12926)
* Moves more chem machine eject beaker shortcuts to right click, allows silicons to use shortcut (#65978)

* Moves more of the alt-click functionality for ejecting beakers from chem machines over to right click
* Allows silicons to use right-click to eject beakers
* Removes the range requirement for cyborgs to be next to the machine to right-click eject (They can eject the beaker regardless of range anyway through the UI, just makes it more convenient)
* Fixes a runtime I found while testing happening when right clicking anything while holding an empty beaker holder as a borg

* Moves more chem machine eject beaker shortcuts to right click, allows silicons to use shortcut

Co-authored-by: GoblinBackwards <22856555+GoblinBackwards@users.noreply.github.com>
2022-04-20 16:56:59 +01:00
SkyratBot
62ddd77870 [MIRROR] Refactors speech impeding effects (drunken slurring / suttering) into status effects. Adds heretic slurring in addition to the existing cult slurring. Removes 4 vars from /living in return, which slightly optimizes Life() (wink) [MDB IGNORE] (#12770)
* Refactors speech impeding effects (drunken slurring / suttering) into status effects. Adds heretic slurring in addition to the existing cult slurring. Removes 4 vars from /living in return, which slightly optimizes Life() (wink)

* fex

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-19 18:54:12 +01:00
SkyratBot
ee8d9d89d5 [MIRROR] Fixes Healium not updating health [MDB IGNORE] (#12833)
* Fixes Healium not updating health (#66098)

Healium called all the adjustXLoss procs with updating_health set to FALSE, which means they don't update health
This is fine, for reagents, as you're intended to return TRUE at the end of on_mob_life runs if they're meant to update the mobs health

Unfortunately, healium did not do this, so it never updated health, which is incorrect and a bug - your health state becomes unsynced with your hud state and it looks weird until someone smacks you or something.

Also updated some var names.

Healium looks like it's actually healing you now

* Fixes Healium not updating health

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-04-17 08:48:01 -07:00
SkyratBot
412f8ab13d [MIRROR] Fixes spraytan not giving tans [MDB IGNORE] (#12763)
* fixed spraytan not changing skin color of humans and nonhumans (#66169)

regenerate_icons() does not regenerate body parts as needed.
Calling update_body(is_creating = TRUE) instead so that body parts reflect new skin_tone/mcolor.

* Fixes spraytan not giving tans

Co-authored-by: UnderAGeode <37090242+UnderAGeode@users.noreply.github.com>
2022-04-16 08:18:42 -07:00
Tastyfish
0e6b348038 fixes husking disparities (#12738) 2022-04-14 00:59:55 +01:00
SkyratBot
db7f99694a [MIRROR] adds a unique species id unit test + cleans up some golem mischief [MDB IGNORE] (#12682)
* adds a unique species id unit test + cleans up some golem mischief (#66050)

* adds a unique species id unit test + cleans up some golem mischief

Co-authored-by: capsaicin <84609863+capsaicinz@users.noreply.github.com>
2022-04-11 23:18:13 +01:00