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:
DZD
2014-12-10 17:35:50 -05:00
parent 9a5195cb3e
commit 7d600c4379
3 changed files with 12 additions and 8 deletions
+7 -6
View File
@@ -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
+4 -1
View File
@@ -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()