mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Minor Fixes
- Fixes message spam a pAI gets if being dragged. - pAI master interface should become inaccessible if pAI goes into drone form. - Minor changes to pAI death, handles the card a bit better.
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
if(canmove || resting)
|
||||
var/turf/T = get_turf_or_move(loc)
|
||||
for (var/mob/M in viewers(T))
|
||||
M.show_message("\red A low buzz emanates from [src] as it loses power and falls to the ground, motionless.", 3, "\red You sense the faint smell of burned plastic, and hear a low buzzing noise.", 2)
|
||||
var/obj/effect/decal/cleanable/deadpai = new /obj/effect/decal/cleanable/robot_debris(loc)
|
||||
deadpai.name = "pAI debris"
|
||||
deadpai.desc = "The unfortunate remains of some poor personal AI device. Somebody should clean this up."
|
||||
deadpai.icon = 'icons/mob/pai.dmi'
|
||||
deadpai.icon_state = "[chassis]_dead"
|
||||
M.show_message("\red [src] emits a dull beep before it loses power and collapses.", 3, "\red You hear a dull beep followed by the sound of glass crunching.", 2)
|
||||
name = "pAI debris"
|
||||
desc = "The unfortunate remains of some poor personal AI device."
|
||||
icon_state = "[chassis]_dead"
|
||||
else
|
||||
card.overlays.Cut()
|
||||
card.overlays += "pai-off"
|
||||
stat = DEAD
|
||||
canmove = 0
|
||||
if(blind) blind.layer = 0
|
||||
|
||||
@@ -450,7 +450,10 @@
|
||||
return
|
||||
|
||||
/mob/living/silicon/pai/start_pulling(var/atom/movable/AM)
|
||||
src << "<span class='warning'>You are far too small to pull anything!</span>"
|
||||
if(stat || sleeping || paralysis || weakened)
|
||||
return
|
||||
if(istype(AM,/obj/item))
|
||||
src << "<span class='warning'>You are far too small to pull anything!</span>"
|
||||
return
|
||||
|
||||
/mob/living/silicon/pai/examine()
|
||||
|
||||
Reference in New Issue
Block a user