mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-25 14:16:30 +01:00
Animals now leave pawprints in snow.
This commit is contained in:
@@ -364,7 +364,7 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
|
||||
overlays_standing[SKIN_LAYER] = skin
|
||||
apply_layer(SKIN_LAYER)
|
||||
|
||||
/mob/living/carbon/human/proc/update_bloodied()
|
||||
/mob/living/carbon/human/update_bloodied()
|
||||
if(QDESTROYING(src))
|
||||
return
|
||||
|
||||
|
||||
@@ -1168,3 +1168,19 @@
|
||||
|
||||
/mob/living/proc/leaves_tracks_type()
|
||||
return
|
||||
|
||||
/mob/living/proc/update_bloodied()
|
||||
return
|
||||
|
||||
/mob/living/proc/walk_through_blood(var/obj/effect/decal/cleanable/blood/blood)
|
||||
if(!leaves_tracks_type())
|
||||
return FALSE
|
||||
feet_blood_color = blood.basecolor
|
||||
track_blood = max(blood.amount, track_blood)
|
||||
LAZYINITLIST(feet_blood_DNA)
|
||||
feet_blood_DNA |= blood.blood_DNA.Copy()
|
||||
update_bloodied()
|
||||
|
||||
/mob/living/proc/get_snow_footprint_state()
|
||||
if(!hovering) // Flying things shouldn't make footprints.
|
||||
return "snow_footprints"
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
/mob/living/simple_mob/animal/proc/has_appetite()
|
||||
return TRUE
|
||||
|
||||
/mob/living/simple_mob/animal/get_snow_footprint_state()
|
||||
if(!hovering)
|
||||
return "snow_animalprint"
|
||||
|
||||
/mob/living/simple_mob/animal/do_interaction(var/atom/A)
|
||||
|
||||
// Can we do some critter interaction?
|
||||
|
||||
Reference in New Issue
Block a user