From b49d3bb4ac85852a243eedf08035c0dfea638dd0 Mon Sep 17 00:00:00 2001 From: carlarctg <53100513+carlarctg@users.noreply.github.com> Date: Wed, 30 Oct 2019 05:47:25 -0300 Subject: [PATCH] hello (#47357) --- code/game/objects/items/stacks/sheets/glass.dm | 5 +---- code/game/objects/items/tools/wrench.dm | 2 +- code/modules/power/lighting.dm | 5 +---- code/modules/vending/medical.dm | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index 117061e479e..449ca7b061c 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -332,10 +332,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list( /obj/item/shard/Crossed(mob/living/L) if(istype(L) && has_gravity(loc)) - if(HAS_TRAIT(L, TRAIT_LIGHT_STEP)) - playsound(loc, 'sound/effects/glass_step.ogg', 30, TRUE) - else - playsound(loc, 'sound/effects/glass_step.ogg', 50, TRUE) + playsound(loc, 'sound/effects/glass_step.ogg', HAS_TRAIT(L, TRAIT_LIGHT_STEP) ? 30 : 50, TRUE) return ..() /obj/item/shard/plasma diff --git a/code/game/objects/items/tools/wrench.dm b/code/game/objects/items/tools/wrench.dm index aeff4e2bf21..bf4610151bb 100644 --- a/code/game/objects/items/tools/wrench.dm +++ b/code/game/objects/items/tools/wrench.dm @@ -41,7 +41,7 @@ force = 2 //MEDICAL throwforce = 4 - attack_verb = list("wrenched", "medicaled", "tapped", "jabbed", "whacked") + attack_verb = list("healed", "medicaled", "tapped", "poked", "analyzed") //"cobbyed" /obj/item/wrench/medical/suicide_act(mob/living/user) user.visible_message("[user] is praying to the medical wrench to take [user.p_their()] soul. It looks like [user.p_theyre()] trying to commit suicide!") diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index 46923ee13d7..48cb8ab4b78 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -831,10 +831,7 @@ /obj/item/light/Crossed(mob/living/L) . = ..() if(istype(L) && has_gravity(loc)) - if(HAS_TRAIT(L, TRAIT_LIGHT_STEP)) - playsound(loc, 'sound/effects/glass_step.ogg', 30, TRUE) - else - playsound(loc, 'sound/effects/glass_step.ogg', 50, TRUE) + playsound(loc, 'sound/effects/glass_step.ogg', HAS_TRAIT(L, TRAIT_LIGHT_STEP) ? 30 : 50, TRUE) if(status == LIGHT_BURNED || status == LIGHT_OK) shatter() diff --git a/code/modules/vending/medical.dm b/code/modules/vending/medical.dm index 8b28899bc98..5ef571cd283 100644 --- a/code/modules/vending/medical.dm +++ b/code/modules/vending/medical.dm @@ -9,6 +9,7 @@ /obj/item/reagent_containers/syringe = 12, /obj/item/reagent_containers/dropper = 3, /obj/item/healthanalyzer = 4, + /obj/item/wrench/medical = 1, /obj/item/reagent_containers/pill/patch/libital = 5, /obj/item/reagent_containers/pill/patch/aiuri = 5, /obj/item/reagent_containers/syringe/convermol = 2, @@ -34,7 +35,6 @@ /obj/item/storage/pill_bottle/psicodine = 2, /obj/item/reagent_containers/hypospray/medipen = 3, /obj/item/storage/belt/medical = 3, - /obj/item/wrench/medical = 1, /obj/item/storage/firstaid/advanced = 2) armor = list("melee" = 100, "bullet" = 100, "laser" = 100, "energy" = 100, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 50) resistance_flags = FIRE_PROOF