Berry decal

Blueberry juice sometimes causes people to expel a little juice, creating a decal effect that leaves footprints if stepped on
This commit is contained in:
Alphas00
2024-06-11 23:12:19 +02:00
parent e238fdf282
commit fca58e1c40
6 changed files with 23 additions and 0 deletions
+2
View File
@@ -161,6 +161,7 @@ GLOBAL_LIST_EMPTY(bloody_footprints_cache)
#define BLOOD_STATE_OIL "oil"
#define BLOOD_STATE_NOT_BLOODY "no blood whatsoever"
#define BLOOD_AMOUNT_PER_DECAL 20
#define BLOOD_STATE_JUICE "juice"
//Blood Decal Colors
#define BLOOD_COLOR_HUMAN "#dc0000"
@@ -171,6 +172,7 @@ GLOBAL_LIST_EMPTY(bloody_footprints_cache)
#define BLOOD_COLOR_LIZARD "#db004D"
#define BLOOD_COLOR_UNIVERSAL "#db3300"
#define BLOOD_COLOR_BUG "#a37c0f"
#define BLOOD_COLOR_JUICE "#0004ff"
//suit sensors: sensor_mode defines
@@ -24,6 +24,8 @@
/obj/effect/decal/cleanable/blood/update_icon()
color = blood_DNA_to_color()
if(blood_state == BLOOD_STATE_JUICE)
color = BLOOD_COLOR_JUICE
/obj/effect/decal/cleanable/blood/old
name = "dried blood"