diff --git a/code/game/objects/structures/stool_bed_chair_nest/bed.dm b/code/game/objects/structures/stool_bed_chair_nest/bed.dm index 3b5c3c46e88..e07c3f62c89 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/bed.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/bed.dm @@ -20,6 +20,12 @@ /obj/structure/stool/bed/MouseDrop(atom/over_object) ..(over_object, skip_fucking_stool_shit = 1) +/obj/structure/stool/bed/attackby(obj/item/weapon/W as obj, mob/user, params) + if(iswrench(W)) + playsound(loc, W.usesound, 50, 1) + new /obj/item/stack/sheet/metal(loc, 2) + qdel(src) + /obj/structure/stool/psychbed name = "psych bed" desc = "For prime comfort during psychiatric evaluations." @@ -54,7 +60,7 @@ /obj/structure/stool/bed/attack_animal(var/mob/living/simple_animal/M)//No more buckling hostile mobs to chairs to render them immobile forever if(M.environment_smash) - new /obj/item/stack/sheet/metal(src.loc) + new /obj/item/stack/sheet/metal(loc) qdel(src) @@ -73,7 +79,7 @@ if(buckled_mob) user_unbuckle_mob(user) else - user.visible_message("[user] collapses \the [src.name].", "You collapse \the [src.name].") + user.visible_message("[user] collapses \the [name].", "You collapse \the [name].") new/obj/item/roller(get_turf(src)) qdel(src) return @@ -107,8 +113,8 @@ if(istype(W, /obj/item/roller_holder)) var/obj/item/roller_holder/RH = W if(!RH.held) - user.visible_message("[user] collects \the [src.name].", "You collect \the [src.name].") - src.forceMove(RH) + user.visible_message("[user] collects \the [name].", "You collect \the [name].") + forceMove(RH) RH.held = src /obj/structure/stool/bed/roller/MouseDrop(over_object, src_location, over_location) @@ -118,7 +124,7 @@ return if(buckled_mob) return 0 - usr.visible_message("[usr] collapses \the [src.name].", "You collapse \the [src.name].") + usr.visible_message("[usr] collapses \the [name].", "You collapse \the [name].") new/obj/item/roller(get_turf(src)) qdel(src) return diff --git a/code/game/objects/structures/stool_bed_chair_nest/stools.dm b/code/game/objects/structures/stool_bed_chair_nest/stools.dm index 09b92f00ac4..3bd36724886 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/stools.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/stools.dm @@ -12,25 +12,25 @@ return if(2.0) if(prob(70)) - new /obj/item/stack/sheet/metal(src.loc) + new /obj/item/stack/sheet/metal(loc) qdel(src) return if(3.0) if(prob(50)) - new /obj/item/stack/sheet/metal(src.loc) + new /obj/item/stack/sheet/metal(loc) qdel(src) return return /obj/structure/stool/blob_act() if(prob(75)) - new /obj/item/stack/sheet/metal(src.loc) + new /obj/item/stack/sheet/metal(loc) qdel(src) /obj/structure/stool/attackby(obj/item/weapon/W as obj, mob/user as mob, params) if(istype(W, /obj/item/weapon/wrench)) - playsound(src.loc, W.usesound, 50, 1) - new /obj/item/stack/sheet/metal(src.loc) + playsound(loc, W.usesound, 50, 1) + new /obj/item/stack/sheet/metal(loc) qdel(src) /obj/structure/stool/MouseDrop(atom/over_object, src_location, over_location, src_control, over_control, params, skip_fucking_stool_shit = 0) @@ -41,7 +41,7 @@ if(H==usr && !H.restrained() && !H.stat && in_range(src, over_object)) var/obj/item/weapon/stool/S = new/obj/item/weapon/stool() S.origin = src - src.loc = S + loc = S H.put_in_hands(S) H.visible_message("[H] grabs [src] from the floor!", "You grab [src] from the floor!") diff --git a/code/modules/mining/equipment_locker.dm b/code/modules/mining/equipment_locker.dm index f5176827095..d6c375c2832 100644 --- a/code/modules/mining/equipment_locker.dm +++ b/code/modules/mining/equipment_locker.dm @@ -112,6 +112,8 @@ return if(panel_open) if(istype(W, /obj/item/weapon/crowbar)) + if(inserted_id) + inserted_id.forceMove(loc) //Prevents deconstructing the ORM from deleting whatever ID was inside it. empty_content() default_deconstruction_crowbar(W) if(ismultitool(W)) @@ -304,6 +306,9 @@ /obj/machinery/mineral/ore_redemption/power_change() ..() update_icon() + if(inserted_id && !powered()) + visible_message("The ID slot indicator light flickers on \the [src] as it spits out a card before powering down.") + inserted_id.forceMove(loc) /obj/machinery/mineral/ore_redemption/update_icon() if(powered()) @@ -387,6 +392,9 @@ /obj/machinery/mineral/equipment_vendor/power_change() ..() update_icon() + if(inserted_id && !powered()) + visible_message("The ID slot indicator light flickers on \the [src] as it spits out a card before powering down.") + inserted_id.forceMove(loc) /obj/machinery/mineral/equipment_vendor/update_icon() if(powered()) @@ -456,6 +464,8 @@ return if(panel_open) if(istype(I, /obj/item/weapon/crowbar)) + if(inserted_id) + inserted_id.forceMove(loc) //Prevents deconstructing the ORM from deleting whatever ID was inside it. default_deconstruction_crowbar(I) return 1 if(istype(I, /obj/item/weapon/mining_voucher)) diff --git a/code/modules/power/singularity/particle_accelerator/particle_control.dm b/code/modules/power/singularity/particle_accelerator/particle_control.dm index 636fe7d338b..4593ed69072 100644 --- a/code/modules/power/singularity/particle_accelerator/particle_control.dm +++ b/code/modules/power/singularity/particle_accelerator/particle_control.dm @@ -68,11 +68,8 @@ if(stat & NOPOWER) icon_state = "[reference]w" return - else if(use_power) - if(assembled) - icon_state = "[reference]p" - else - icon_state = "u[reference]p" + else if(use_power && assembled) + icon_state = "[reference]p" else switch(construction_state) if(0) diff --git a/icons/obj/machines/particle_accelerator.dmi b/icons/obj/machines/particle_accelerator.dmi index 905d1737ec8..f8455d80b49 100644 Binary files a/icons/obj/machines/particle_accelerator.dmi and b/icons/obj/machines/particle_accelerator.dmi differ