mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Simple animals (wraiths, juggernauts, etc) can now be targeted by turrets. They can also destroy turrets
Simple animals can now smash lights. Simple animals use their attack value vs grilles now, I'm not sure why they didn't before. This means juggernauts should smash them quickly, and artificers much more slowly. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3964 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -455,6 +455,17 @@
|
||||
M.show_message("\red [user.name] smashed the light!", 3, "You hear a tinkle of breaking glass", 2)
|
||||
broken()
|
||||
return
|
||||
|
||||
/obj/machinery/light/attack_animal(mob/living/simple_animal/M)
|
||||
if(M.melee_damage_upper == 0) return
|
||||
if(status == LIGHT_EMPTY||status == LIGHT_BROKEN)
|
||||
M << "\red That object is useless to you."
|
||||
return
|
||||
else if (status == LIGHT_OK||status == LIGHT_BURNED)
|
||||
for(var/mob/O in viewers(src))
|
||||
O.show_message("\red [M.name] smashed the light!", 3, "You hear a tinkle of breaking glass", 2)
|
||||
broken()
|
||||
return
|
||||
// attack with hand - remove tube/bulb
|
||||
// if hands aren't protected and the light is on, burn the player
|
||||
|
||||
|
||||
Reference in New Issue
Block a user