mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Quad eyes and triple eyes for your characters (#5461)
## About The Pull Request Adds triple eyeballs to markings/organs under the eyes tab. (They don't show in the editor BUT they work in game) Makes quad eyes work again! also fixes them because they had issue where you could see your eyes under any headgear so they are layered correctly now. Additionally you further customize how far away they are from your real eyes ## Why It's Good For The Game They aren't working, and before that they were working but the layering was bugged. now you can have multiple eyeballs ## Proof Of Testing <details> <summary>Screenshots/Videos</summary> <img width="356" height="89" alt="image" src="https://github.com/user-attachments/assets/6f96b5a4-91e5-491a-b0a2-dcdf82d866ba" /> <img width="218" height="120" alt="image2" src="https://github.com/user-attachments/assets/7ea0ad67-9214-440c-9c02-df4aab62153f" /> <img width="118" height="63" alt="trieyes" src="https://github.com/user-attachments/assets/b2e26af2-8378-464d-8846-a0c711c02736" /> </details> ## Changelog 🆑 add: Slime triple eyes are now selectable in markings/organs under eyes tab add: Width customization for quad eyes fix: fixes quad eyes to work fix: quad eyes are now layered correctly /🆑
This commit is contained in:
@@ -334,15 +334,28 @@
|
||||
var/mutable_appearance/left_scar = mutable_appearance('icons/mob/human/human_eyes.dmi', "eye_scar_left", -EYES_LAYER, parent, alpha = eyes_opacity)
|
||||
left_scar.color = my_head.draw_color
|
||||
overlays += left_scar
|
||||
//BUBBER EDIT END - EYES OPACITY
|
||||
// BUBBER EDIT START - Customization Emissives and eyes opacity
|
||||
|
||||
// BUBBER EDIT START - Customization Emissives & Quad Eyes
|
||||
if(is_emissive)
|
||||
var/mutable_appearance/emissive_left = emissive_appearance_copy(eye_left, owner)
|
||||
var/mutable_appearance/emissive_right = emissive_appearance_copy(eye_right, owner)
|
||||
|
||||
overlays += emissive_left
|
||||
overlays += emissive_right
|
||||
// BUBBER EDIT END - Customization Emissives and eyes opacity
|
||||
|
||||
if(HAS_TRAIT(owner, TRAIT_QUAD_EYES)) // (*) (*) v (*) (*)
|
||||
var/mutable_appearance/eye_left_2 = mutable_appearance('icons/mob/human/human_eyes.dmi', "eyes_l", -EYES_LAYER, parent)
|
||||
eye_left_2.color = parent.get_left_eye_color()
|
||||
eye_left_2.pixel_w -= parent.quad_eyes_offset_width
|
||||
eye_left_2.pixel_z += parent.quad_eyes_offset
|
||||
var/mutable_appearance/eye_right_2 = mutable_appearance('icons/mob/human/human_eyes.dmi', "eyes_r", -EYES_LAYER, parent)
|
||||
eye_right_2.color = parent.get_right_eye_color()
|
||||
eye_right_2.pixel_w += parent.quad_eyes_offset_width
|
||||
eye_right_2.pixel_z += parent.quad_eyes_offset
|
||||
|
||||
overlays += eye_left_2
|
||||
overlays += eye_right_2
|
||||
// BUBBER EDIT END - Customization Emissives & Quad Eyes
|
||||
|
||||
if(my_head.worn_face_offset)
|
||||
for (var/mutable_appearance/overlay as anything in overlays)
|
||||
|
||||
Reference in New Issue
Block a user