mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
even-still-though-time-itself-be-shattered
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -61,5 +61,8 @@
|
||||
/mob/proc/update_stat()
|
||||
return
|
||||
|
||||
/mob/proc/update_health_hud()
|
||||
return
|
||||
|
||||
/mob/proc/update_canmove()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user