mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
- Fixes explosions and AI Fixers
- AI Fixer cannot be screwdrivered if it's normal, or has no power - AI Fixer can be screwdrivered if it's broken via an explosion with an AI inside. This, of course, kills the AI
This commit is contained in:
@@ -11,6 +11,16 @@
|
||||
light_color = LIGHT_COLOR_PURPLE
|
||||
|
||||
/obj/machinery/computer/aifixer/attackby(I as obj, user as mob, params)
|
||||
if(occupant && istype(I, /obj/item/weapon/screwdriver))
|
||||
if(stat & BROKEN)
|
||||
..()
|
||||
if(stat & NOPOWER)
|
||||
to_chat(user, "<span class='warning'>The screws on [name]'s screen won't budge.</span>")
|
||||
return
|
||||
else
|
||||
to_chat(user, "<span class='warning'>The screws on [name]'s screen won't budge and it emits a warning beep!.</span>")
|
||||
return
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/machinery/computer/aifixer/attack_ai(var/mob/user as mob)
|
||||
|
||||
Reference in New Issue
Block a user