From 6dfbf0911a41883e376b41c31c5b2741087cab3b Mon Sep 17 00:00:00 2001 From: thgvr <81882910+thgvr@users.noreply.github.com> Date: Tue, 27 Feb 2024 23:33:18 -0800 Subject: [PATCH] Changes cryopod wakeup behavior (#2762) ## About The Pull Request See title. Removes most of the adverse affects from cryo, I didn't end up being happy with it. Changes how the message on wake-up is handled and displayed ## Changelog :cl: balance: Cryo wakeup doesn't make you puke anymore /:cl: --- code/game/machinery/cryopod.dm | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 7ee4a5ce668c..d5d46fb9e162 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -432,23 +432,14 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/cryopod/retro, 17) /obj/machinery/cryopod/apply_effects_to_mob(mob/living/carbon/sleepyhead) //it always sucks a little to get up sleepyhead.set_nutrition(200) - sleepyhead.SetSleeping(60) //if you read this comment and feel like shitting together something to adjust elzu and IPC charge on wakeup, be my guest. - //but it can be worse. - if(prob(90)) + sleepyhead.SetSleeping(60) + + var/wakeupmessage = "The cryopod shudders as the pneumatic seals separating you and the waking world let out a hiss." + if(prob(60)) + wakeupmessage += "A sickly feeling along with the pangs of hunger greet you upon your awakening." + sleepyhead.set_nutrition(100) sleepyhead.apply_effect(rand(3,10), EFFECT_DROWSY) - if(prob(75)) - sleepyhead.blur_eyes(rand(3, 6)) - //so much worse - if(prob(66)) - sleepyhead.adjust_disgust(rand(25,35)) - if(prob(33)) - sleepyhead.adjust_disgust(rand(20,30)) - if(prob(16)) - sleepyhead.adjust_disgust(rand(10, 17)) - //maybe you should've bought high passage. - if(prob(30)) - sleepyhead.apply_damage_type(15, BURN) - to_chat(sleepyhead, "The symptoms of cryosleep set in as you awaken...") + to_chat(sleepyhead, span_danger(examine_block(wakeupmessage))) /obj/machinery/cryopod/syndicate icon_state = "sleeper_s-open" @@ -462,16 +453,14 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/cryopod/retro, 17) /obj/machinery/cryopod/poor/apply_effects_to_mob(mob/living/carbon/sleepyhead) sleepyhead.set_nutrition(200) sleepyhead.SetSleeping(80) - if(prob(90)) + if(prob(90)) //suffer sleepyhead.apply_effect(rand(5,15), EFFECT_DROWSY) if(prob(75)) sleepyhead.blur_eyes(rand(6, 10)) if(prob(66)) - sleepyhead.adjust_disgust(rand(35, 45)) //rand + sleepyhead.adjust_disgust(rand(35, 45)) if(prob(40)) sleepyhead.adjust_disgust(rand(15, 25)) if(prob(20)) sleepyhead.adjust_disgust(rand(5,15)) - if(prob(30)) - sleepyhead.apply_damage_type(30, BURN) to_chat(sleepyhead, "The symptoms of a horrid cryosleep set in as you awaken...")