From 87e33931dd2d7bb0db5666ea5c8c16da7e59bbea Mon Sep 17 00:00:00 2001 From: BongaTheProto <93835010+BongaTheProto@users.noreply.github.com> Date: Mon, 22 Apr 2024 18:37:06 -0500 Subject: [PATCH] fix plushies it works as intended now --- .../code/modules/power/reactor/rbmk.dm | 24 +++++++++++-------- .../modules/power/supermatter/supermatter.dm | 12 ++++++---- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/modular_splurt/code/modules/power/reactor/rbmk.dm b/modular_splurt/code/modules/power/reactor/rbmk.dm index 41895e9255..df3297391e 100644 --- a/modular_splurt/code/modules/power/reactor/rbmk.dm +++ b/modular_splurt/code/modules/power/reactor/rbmk.dm @@ -9,11 +9,13 @@ priority_announce("RBMK privileges revoked. Current crew is deemed unsuitable to handle a highly radioactive steam engine. More training is required.", "SIMULATION TERMINATED") var/skill_issue_sound = pick('modular_splurt/sound/voice/boowomp.ogg', 'modular_splurt/sound/effects/fart_reverb.ogg') sound_to_playing_players(skill_issue_sound) - var/obj/item/toy/plush/random/plushe = new(get_turf(src)) - plushe.name = "Consolation plushie" - plushe.desc = "It has \"You tried\" poorly written in its tag." - plushe.squeak_override = list(skill_issue_sound = 1) - plushe.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF + var/turf/plush_turf = get_turf(src) + var/obj/item/toy/plush/random/plushe = new(plush_turf) + plushe = locate(/obj/item/toy/plush) in plush_turf + plushe?.name = "Consolation plushie" + plushe?.desc = "It says \"You tried\" poorly written in its tag." + plushe?.squeak_override = list(skill_issue_sound = 1) + plushe?.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF qdel(src) /obj/machinery/atmospherics/components/trinary/nuclear_reactor/blowout() @@ -27,9 +29,11 @@ priority_announce("RBMK privileges revoked. Current crew is deemed unsuitable to handle a highly radioactive steam engine. More training is required.", "SIMULATION TERMINATED") var/skill_issue_sound = pick('modular_splurt/sound/voice/boowomp.ogg', 'modular_splurt/sound/effects/fart_reverb.ogg') sound_to_playing_players(skill_issue_sound) - var/obj/item/toy/plush/random/plushe = new(get_turf(src)) - plushe.name = "Holy fucking shit plushie" - plushe.desc = "You really fucked it up this time, didn't you?." - plushe.squeak_override = list(skill_issue_sound = 1) - plushe.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF + var/turf/plush_turf = get_turf(src) + var/obj/item/toy/plush/random/plushe = new(plush_turf) + plushe = locate(/obj/item/toy/plush) in plush_turf + plushe?.name = "Consolation plushie" + plushe?.desc = "It says \"You tried\" poorly written in its tag." + plushe?.squeak_override = list(skill_issue_sound = 1) + plushe?.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF qdel(src) diff --git a/modular_splurt/code/modules/power/supermatter/supermatter.dm b/modular_splurt/code/modules/power/supermatter/supermatter.dm index 5948f66108..f046bb8ed8 100644 --- a/modular_splurt/code/modules/power/supermatter/supermatter.dm +++ b/modular_splurt/code/modules/power/supermatter/supermatter.dm @@ -61,11 +61,13 @@ Custom Bombcaps: priority_announce("Supermatter privileges revoked. Current crew is deemed unsuitable to handle a highly hazardous engine. More training is required.", "SIMULATION TERMINATED") var/skill_issue_sound = pick('modular_splurt/sound/voice/boowomp.ogg', 'modular_splurt/sound/effects/fart_reverb.ogg') sound_to_playing_players(skill_issue_sound) - var/obj/item/toy/plush/random/plushe = new(get_turf(src)) - plushe.name = "Consolation plushie" - plushe.desc = "It has \"You tried\" poorly written in its tag." - plushe.squeak_override = list(skill_issue_sound = 1) - plushe.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF + var/turf/plush_turf = get_turf(src) + var/obj/item/toy/plush/random/plushe = new(plush_turf) + plushe = locate(/obj/item/toy/plush) in plush_turf + plushe?.name = "Consolation plushie" + plushe?.desc = "It has \"You tried\" poorly written in its tag." + plushe?.squeak_override = list(skill_issue_sound = 1) + plushe?.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF qdel(src) return