mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] [s]Showers now properly react with 10u per tick instead of 1000u. (#1221)
* [s]Showers now properly react with 10u per tick instead of 1000u. (#54236) Turns out what I thought was reagent units used per reaction was actually reaction multiplier in #53377, and it flew under the radar until literally 15 minutes ago. This adjusted the reaction quantity down to 0.05, which with the 200 unit reagent volume of the showers, equates to about a 10u reaction per tick, ya know, rather high but reasonable considering that before it was mistakenly set to *5 instead, which meant you could de-husk a patient in a literal single tick with 1 unit of synthflesh. * [s]Showers now properly react with 10u per tick instead of 1000u. Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#define SHOWER_NORMAL_TEMP 300
|
||||
#define SHOWER_BOILING "boiling"
|
||||
#define SHOWER_BOILING_TEMP 400
|
||||
#define SHOWER_REACTION_MULTIPLIER 0.05
|
||||
|
||||
|
||||
/obj/machinery/shower
|
||||
@@ -130,7 +131,7 @@
|
||||
wash_atom(loc)
|
||||
for(var/am in loc)
|
||||
var/atom/movable/movable_content = am
|
||||
reagents.expose(movable_content, TOUCH, 5) //There's not many reagents leaving the sink at once!
|
||||
reagents.expose(movable_content, TOUCH, SHOWER_REACTION_MULTIPLIER) //There's not many reagents leaving the sink at once! This should make for a 10 unit reaction
|
||||
if(!ismopable(movable_content)) // Mopables will be cleaned anyways by the turf wash above
|
||||
wash_atom(movable_content)
|
||||
else
|
||||
@@ -192,3 +193,5 @@
|
||||
layer = FLY_LAYER
|
||||
anchored = TRUE
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
|
||||
#undef SHOWER_REACTION_MULTIPLIER
|
||||
|
||||
Reference in New Issue
Block a user