mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Borgs can now dispense stuff from the tank storage unit, as well as open/close morgue trays (#23531)
* Cyborg Morgue * Cyborg TSU
This commit is contained in:
@@ -152,6 +152,10 @@
|
||||
update_state()
|
||||
return
|
||||
|
||||
/obj/structure/morgue/attack_ai(mob/user)
|
||||
if(isrobot(user) && Adjacent(user)) //Robots can open/close it, but not the AI
|
||||
attack_hand(user)
|
||||
|
||||
/obj/structure/morgue/attack_animal(mob/living/user)
|
||||
if(user.a_intent == INTENT_HARM)
|
||||
return ..()
|
||||
@@ -266,22 +270,6 @@
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
/obj/structure/m_tray/attack_animal(mob/living/user)
|
||||
if(user.a_intent == INTENT_HARM)
|
||||
return ..()
|
||||
if(user.mob_size < MOB_SIZE_HUMAN)
|
||||
return ..()
|
||||
if(!user.mind) //Stops mindless mobs from doing weird stuff with them
|
||||
return ..()
|
||||
attack_hand(user)
|
||||
|
||||
/obj/structure/m_tray/attack_alien(mob/user)
|
||||
if(user.a_intent == INTENT_HARM)
|
||||
return ..()
|
||||
if(!user.mind)
|
||||
return ..()
|
||||
attack_hand(user)
|
||||
|
||||
/obj/structure/m_tray/MouseDrop_T(atom/movable/O, mob/living/user)
|
||||
if((!(istype(O, /atom/movable)) || O.anchored || get_dist(user, src) > 1 || get_dist(user, O) > 1 || user.contents.Find(src) || user.contents.Find(O)))
|
||||
return
|
||||
|
||||
@@ -59,6 +59,10 @@
|
||||
add_fingerprint(user)
|
||||
ui_interact(user)
|
||||
|
||||
/obj/structure/dispenser/attack_ai(mob/user)
|
||||
if(isrobot(user) && Adjacent(user)) //Robots can use it, but not the AI
|
||||
attack_hand(user)
|
||||
|
||||
/obj/structure/dispenser/attack_ghost(mob/user)
|
||||
ui_interact(user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user