mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Adds an option to have four eyes + Multitool changing Robotic Eye Color (#4005)
## About The Pull Request Adds a new customization option via preferences, quad eyes! > Gives the character four eyes with the option of setting the offset up / down. Also gives the multitool the ability to change the eye color(s) (yes both of them, separately) ## Why It's Good For The Game Customization is good. Looks neat. ## Proof Of Testing <details> <summary>Screenshots/Videos</summary> +0 offset        </details> ## Changelog 🆑 add: Added new customization option to give a character four eyes. add: Added the option to change robotic eye colors using a multitool. /🆑 --------- Co-authored-by: The Sharkening <95130227+StrangeWeirdKitten@users.noreply.github.com> Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> Co-authored-by: xPokee <catmc8565@gmail.com>
This commit is contained in:
co-authored by
The Sharkening
Roxy
xPokee
parent
b169a362c7
commit
b6f901d7f8
@@ -273,6 +273,21 @@
|
||||
|
||||
var/mutable_appearance/eye_left = mutable_appearance(eye_icon, "[eye_icon_state]_l", -eyes_layer, parent) // SKYRAT EDIT CHANGE - Customization - ORIGINAL: var/mutable_appearance/eye_left = mutable_appearance('icons/mob/human/human_face.dmi', "[eye_icon_state]_l", -EYES_LAYER, parent)
|
||||
var/mutable_appearance/eye_right = mutable_appearance(eye_icon, "[eye_icon_state]_r", -eyes_layer, parent) // SKYRAT EDIT CHANGE - Customization - ORIGINAL: var/mutable_appearance/eye_right = mutable_appearance('icons/mob/human/human_face.dmi', "[eye_icon_state]_r", -EYES_LAYER, parent)
|
||||
|
||||
// BEGIN BUBBER ADDITION:
|
||||
if(HAS_TRAIT(owner, TRAIT_QUAD_EYES)) // (*) (*) v (*) (*)
|
||||
var/mutable_appearance/eye_left_2 = new /mutable_appearance(eye_left)
|
||||
eye_left_2.pixel_x -= 1
|
||||
eye_left_2.pixel_y += parent.quad_eyes_offset
|
||||
var/mutable_appearance/eye_right_2 = new /mutable_appearance(eye_right)
|
||||
eye_right_2.pixel_x += 1
|
||||
eye_right_2.pixel_y += parent.quad_eyes_offset
|
||||
|
||||
eye_left.underlays.Add(eye_left_2)
|
||||
eye_right.underlays.Add(eye_right_2)
|
||||
|
||||
// END BUBBER ADDITION
|
||||
|
||||
var/list/overlays = list(eye_left, eye_right)
|
||||
|
||||
if(overlay_ignore_lighting && !(parent.obscured_slots & HIDEEYES))
|
||||
|
||||
Reference in New Issue
Block a user