diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/raptor.dm b/code/modules/mob/living/simple_mob/subtypes/vore/raptor.dm index cbfcfc167b..1c8d439ac5 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/raptor.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/raptor.dm @@ -36,6 +36,7 @@ buckle_movable = TRUE buckle_lying = FALSE var/initial_icon = "raptorpurple" + var/wg_state = 0 var/random_skin = 1 var/list/skins = list( @@ -107,11 +108,24 @@ "The constant, rhythmic kneading and massaging starts to take its toll along with the muggy heat, making you feel weaker and weaker!", "The raptor happily wanders around while digesting its meal, almost like it is trying to show off the hanging gut you've given it. Not like it made much of a difference on his already borderline obese form anyway~") +/mob/living/simple_mob/vore/raptor/adjust_nutrition() + ..() + consider_wg() + +/mob/living/simple_mob/vore/raptor/proc/consider_wg() + var/past_state = wg_state + if(nutrition >= 900) + wg_state = 1 + else + wg_state = 0 + if(past_state != wg_state) + update_icon() + /mob/living/simple_mob/vore/raptor/update_icon() - if(nutrition >= 450) + if(wg_state == 1) icon_living = "[initial_icon]_fat" icon_state = icon_living - else if(nutrition < 450) + else icon_living = "[initial_icon]" icon_state = icon_living . = ..() @@ -132,4 +146,5 @@ if(vore_eyes && voremob_awake) //Update eye layer if applicable. remove_eyes() add_eyes() - update_transform() \ No newline at end of file + update_transform() +