-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mechanical Eye-Emotion Coupling #20271
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it's funny
if(HAS_TRAIT(src, TRAIT_DISABILITY_INTENT_EYES)) | ||
var/obj/item/organ/internal/eyes/eyes = get_eyes() | ||
if(eyes && (eyes.status & ORGAN_ROBOT)) | ||
var/intent_colors = list( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't recreate a list everytime this runs, make it a global list that everyone shares
// has the trait that lets mechanical eyes change their colour | ||
if(HAS_TRAIT(src, TRAIT_DISABILITY_INTENT_EYES)) | ||
var/obj/item/organ/internal/eyes/eyes = get_eyes() | ||
if(eyes && (eyes.status & ORGAN_ROBOT)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should check the eye isn't being qdel'd
!review |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
2024-12-17.23-05-36.mp4