mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 15:47:04 +01:00
Makes voremobs with fullness-specific eye overlays utilize them.
Fixes voremobs with belly state specific eye/glow overlays not updating the overlays to match the fullness sprites
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
|
||||
var/vore_fullness = 0 // How "full" the belly is (controls icons)
|
||||
var/vore_icons = 0 // Bitfield for which fields we have vore icons for.
|
||||
var/vore_eyes = FALSE // For mobs with fullness specific eye overlays.
|
||||
var/life_disabled = 0 // For performance reasons
|
||||
|
||||
var/mount_offset_x = 5 // Horizontal riding offset.
|
||||
@@ -84,6 +85,9 @@
|
||||
icon_state = "[icon_dead]-[vore_fullness]"
|
||||
else if(((stat == UNCONSCIOUS) || resting || incapacitated(INCAPACITATION_DISABLED) ) && icon_rest && (vore_icons & SA_ICON_REST))
|
||||
icon_state = "[icon_rest]-[vore_fullness]"
|
||||
if(vore_eyes) //Update eye layer if applicable.
|
||||
remove_eyes()
|
||||
add_eyes()
|
||||
update_transform()
|
||||
|
||||
/mob/living/simple_mob/proc/will_eat(var/mob/living/M)
|
||||
|
||||
@@ -96,6 +96,7 @@
|
||||
mount_offset_y = 24
|
||||
mount_offset_x = -9
|
||||
has_eye_glow = TRUE
|
||||
vore_eyes = TRUE
|
||||
|
||||
/mob/living/simple_mob/vore/aggressive/dragon/Login()
|
||||
. = ..()
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
icon = 'icons/mob/vore64x64.dmi'
|
||||
vis_height = 64
|
||||
has_eye_glow = TRUE
|
||||
vore_eyes = TRUE
|
||||
|
||||
faction = "insects"
|
||||
maxHealth = 90
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
icon = 'icons/mob/vore64x64.dmi'
|
||||
vis_height = 64
|
||||
has_eye_glow = TRUE
|
||||
vore_eyes = TRUE
|
||||
|
||||
faction = "insects"
|
||||
maxHealth = 200
|
||||
|
||||
Reference in New Issue
Block a user