diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 8ed6035d818..c8e1c81efcb 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -239,35 +239,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/ clear_holo(master) return ..() -/* -Holographic project of everything else. -/mob/verb/hologram_test() - set name = "Hologram Debug New" - set category = "CURRENT DEBUG" - - var/obj/effect/overlay/hologram = new(loc)//Spawn a blank effect at the location. - var/icon/flat_icon = icon(getFlatIcon(src,0))//Need to make sure it's a new icon so the old one is not reused. - flat_icon.ColorTone(rgb(125,180,225))//Let's make it bluish. - flat_icon.ChangeOpacity(0.5)//Make it half transparent. - var/input = input("Select what icon state to use in effect.",,"") - if(input) - var/icon/alpha_mask = new('icons/effects/effects.dmi', "[input]") - flat_icon.AddAlphaMask(alpha_mask)//Finally, let's mix in a distortion effect. - hologram.icon = flat_icon - - world << "Your icon should appear now." - return -*/ - -/* - * Other Stuff: Is this even used? - */ -/obj/machinery/hologram/projector - name = "hologram projector" - desc = "It makes a hologram appear...with magnets or something..." - icon = 'icons/obj/stationobjs.dmi' - icon_state = "hologram0" #undef RANGE_BASED #undef AREA_BASED diff --git a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm index b5a65b25ddf..4f7d765d7c0 100644 --- a/code/game/objects/structures/displaycase.dm +++ b/code/game/objects/structures/displaycase.dm @@ -130,7 +130,7 @@ user << "You [open ? "close":"open"] the [src]" open = !open update_icon() - else if(open) + else if(open && !showpiece) if(user.unEquip(W)) W.loc = src showpiece = W @@ -195,7 +195,7 @@ if(istype(I, /obj/item/weapon/electronics/airlock)) user << "You start installing the electronics into [src]..." playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1) - if(user.unEquip(I) && do_after(user, 30, target = src)) + if(user.unEquip(I) && do_after(user, 30, target = src)) I.loc = src electronics = I user << "You install the airlock electronics." diff --git a/code/modules/mob/living/simple_animal/parrot.dm b/code/modules/mob/living/simple_animal/parrot.dm index 76d8c13e570..bb93b464481 100644 --- a/code/modules/mob/living/simple_animal/parrot.dm +++ b/code/modules/mob/living/simple_animal/parrot.dm @@ -181,7 +181,7 @@ /mob/living/simple_animal/parrot/Topic(href, href_list) //Can the usr physically do this? - if(!usr.canmove || usr.stat || usr.restrained() || !in_range(loc, usr)) + if(usr.incapacitated() || !usr.Adjacent(loc)) return //Is the usr's mob type able to do this? (lolaliens) @@ -480,7 +480,7 @@ parrot_state = PARROT_SWOOP | PARROT_RETURN return - if(in_range(src, parrot_interest)) + if(Adjacent(parrot_interest)) if(isliving(parrot_interest)) steal_from_mob() @@ -508,7 +508,7 @@ parrot_state = PARROT_WANDER return - if(in_range(src, parrot_perch)) + if(Adjacent(parrot_perch)) src.loc = parrot_perch.loc drop_held_item() parrot_state = PARROT_PERCH @@ -548,7 +548,7 @@ a_intent = "harm" //If the mob is close enough to interact with - if(in_range(src, parrot_interest)) + if(Adjacent(parrot_interest)) //If the mob we've been chasing/attacking dies or falls into crit, check for loot! if(L.stat) diff --git a/code/modules/reagents/reagent_containers.dm b/code/modules/reagents/reagent_containers.dm index dd63e9c86d9..4d68d5f00d7 100644 --- a/code/modules/reagents/reagent_containers.dm +++ b/code/modules/reagents/reagent_containers.dm @@ -16,7 +16,7 @@ set name = "Set transfer amount" set category = "Object" set src in range(0) - if(usr.stat || !usr.canmove || usr.restrained()) + if(usr.incapacitated()) return var/N = input("Amount per transfer from this:","[src]") as null|anything in possible_transfer_amounts if (N) diff --git a/icons/obj/stationobjs.dmi b/icons/obj/stationobjs.dmi index b6aaf6592a1..cb8832b4d53 100644 Binary files a/icons/obj/stationobjs.dmi and b/icons/obj/stationobjs.dmi differ