even-still-though-time-itself-be-shattered

This commit is contained in:
Fox McCloud
2019-09-16 01:35:25 -04:00
parent 788f1926fb
commit d015c0c2b2
52 changed files with 369 additions and 298 deletions
@@ -27,6 +27,11 @@ var/const/MAX_ACTIVE_TIME = 400
var/attached = 0
/obj/item/clothing/mask/facehugger/take_damage(damage_amount, damage_type = BRUTE, damage_flag = 0, sound_effect = 1, attack_dir)
..()
if(obj_integrity < 90)
Die()
/obj/item/clothing/mask/facehugger/attack_alien(mob/user) //can be picked up by aliens
attack_hand(user)
return
@@ -150,7 +150,7 @@
. = ..()
update_health_hud()
/mob/living/carbon/slime/proc/update_health_hud()
/mob/living/carbon/slime/update_health_hud()
if(hud_used)
var/severity = 0
var/healthpercent = (health/maxHealth) * 100
@@ -29,7 +29,7 @@
. = ..()
update_health_hud()
/mob/living/simple_animal/slime/proc/update_health_hud()
/mob/living/simple_animal/slime/update_health_hud()
if(hud_used)
var/severity = 0
var/healthpercent = (health/maxHealth) * 100
@@ -306,7 +306,7 @@
visible_message("<span class='userdanger'>\The [src] emits a bone-chilling shriek!</span>")
for(var/obj/machinery/light/L in orange(light_range, src))
if(L.on && prob(light_chance))
L.broken()
L.break_light_tube()
for(var/obj/machinery/camera/C in orange(camera_range, src))
if(C.status && prob(camera_chance))
C.toggle_cam(src, 0)
@@ -136,7 +136,7 @@
if(!L.status)
step_to(src,L)
L.on = 1
L.broken()
L.break_light_tube()
do_attack_animation(L)
visible_message("<span class='danger'>[src] smashes the [L.name].</span>")
return
+3
View File
@@ -61,5 +61,8 @@
/mob/proc/update_stat()
return
/mob/proc/update_health_hud()
return
/mob/proc/update_canmove()
return 1