diff --git a/code/modules/mob/living/simple_mob/appearance.dm b/code/modules/mob/living/simple_mob/appearance.dm index 08b36da6fc..f49a1b875d 100644 --- a/code/modules/mob/living/simple_mob/appearance.dm +++ b/code/modules/mob/living/simple_mob/appearance.dm @@ -64,6 +64,8 @@ /mob/living/simple_mob/proc/add_eyes() if(!eye_layer) eye_layer = image(icon, "[icon_state]-eyes") + if(custom_eye_color) + eye_layer.color = custom_eye_color eye_layer.plane = PLANE_LIGHTING_ABOVE eye_layer.appearance_flags = appearance_flags //VOREStation Edit. Make eye overlays respect the mob's scaling settings. add_overlay(eye_layer) diff --git a/code/modules/mob/living/simple_mob/simple_mob.dm b/code/modules/mob/living/simple_mob/simple_mob.dm index c9dd6dd461..ae4583b501 100644 --- a/code/modules/mob/living/simple_mob/simple_mob.dm +++ b/code/modules/mob/living/simple_mob/simple_mob.dm @@ -38,6 +38,7 @@ var/image/modifier_overlay = null // Holds overlays from modifiers. var/image/eye_layer = null // Holds the eye overlay. var/has_eye_glow = FALSE // If true, adds an overlay over the lighting plane for [icon_state]-eyes. + var/custom_eye_color = null attack_icon = 'icons/effects/effects.dmi' //Just the default, played like the weapon attack anim attack_icon_state = "slash" //Just the default diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/sect_drone.dm b/code/modules/mob/living/simple_mob/subtypes/vore/sect_drone.dm index ffb042c1df..c5becf41d2 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/sect_drone.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/sect_drone.dm @@ -31,6 +31,7 @@ vis_height = 64 has_eye_glow = TRUE vore_eyes = TRUE + custom_eye_color = "#00FFFF" faction = "insects" maxHealth = 90 @@ -83,5 +84,20 @@ ai_holder_type = /datum/ai_holder/simple_mob/melee say_list_type = /datum/say_list/sect_drone +/mob/living/simple_mob/vore/sect_drone/Login() + . = ..() + verbs |= /mob/living/simple_mob/vore/sect_drone/proc/set_abdomen_color + +/mob/living/simple_mob/vore/sect_drone/proc/set_abdomen_color() + set name = "Set Glow Color" + set desc = "Customize your eyes and abdomen glow color." + set category = "Abilities" + + var/new_color = input(src, "Please select color.", "Glow Color", custom_eye_color) as color|null + if(new_color) + custom_eye_color = new_color + remove_eyes() + add_eyes() + /datum/say_list/sect_drone say_got_target = list("chitters threateningly!") diff --git a/code/modules/mob/living/simple_mob/subtypes/vore/sect_queen.dm b/code/modules/mob/living/simple_mob/subtypes/vore/sect_queen.dm index 8b0f99329d..f69bd3602b 100644 --- a/code/modules/mob/living/simple_mob/subtypes/vore/sect_queen.dm +++ b/code/modules/mob/living/simple_mob/subtypes/vore/sect_queen.dm @@ -34,6 +34,7 @@ vis_height = 64 has_eye_glow = TRUE vore_eyes = TRUE + custom_eye_color = "#FF0000" faction = "insects" maxHealth = 200 @@ -84,5 +85,20 @@ ai_holder_type = /datum/ai_holder/simple_mob/melee say_list_type = /datum/say_list/sect_queen +/mob/living/simple_mob/vore/sect_queen/Login() + . = ..() + verbs |= /mob/living/simple_mob/vore/sect_queen/proc/set_abdomen_color + +/mob/living/simple_mob/vore/sect_queen/proc/set_abdomen_color() + set name = "Set Glow Color" + set desc = "Customize your eyes and abdomen glow color." + set category = "Abilities" + + var/new_color = input(src, "Please select color.", "Glow Color", custom_eye_color) as color|null + if(new_color) + custom_eye_color = new_color + remove_eyes() + add_eyes() + /datum/say_list/sect_queen say_got_target = list("chitters angrily!") diff --git a/icons/mob/vore64x64.dmi b/icons/mob/vore64x64.dmi index 41394a32c8..9dea7f4b62 100644 Binary files a/icons/mob/vore64x64.dmi and b/icons/mob/vore64x64.dmi differ