Commit graph

13 commits

Author SHA1 Message Date
Oleksandr
eb54e83375
add blinking to species (#41644)
* add blinking

* Rename Enum

* Some refactor to check Sleeping and add comments

* Refactoring EyeBlinking

* Update summary and remove old code

* Another refactoring

* pupupu....

* Refactoring blink. again

* Update EyeBlinkingSystem.cs

* Another update Blinking

* Update SharedEyeBlinkingSystem.cs

* cleanup

* another try to fix sleeping

* refactoring to use NetEvent. I dumb for apperance ._.

* Update blinking_emotes.yml

* Add new layer for fix eye marking

* Fix state

* Add EyelidsColor for component

* Update HumanoidVisualLayersExtension.cs

* Small refactoring and add mouse blinking

* Start refactoring to client side

* Another refactoring blinking

* Update EyeBlinkingComponent.cs

* Some rename and update comments

* Update EyeBlinkingSystem.cs

* some fixes and add comments

* Update meta.json

* Refactoring to use apperanceSystem

* add some check if comp enabled

* pupupu

* Try to fix working blinking on changeling

* Some another fixes eyelids sprite with changeling

* Some fixes

* Update attributions.yml

* Start refactoring to more eyelids

* Remade to use multiple layers

* Update human blinking

* Add arachnid blinking

* Fix update upperance

* Delete eyes.png

* add new eyelids for other species

* another fix naming

* another else fix...

* some refactoring

* add other species

* try fix blinking for changeling

* half working changeling

* cleanup EyeBlinkingSystem

* Update SharedEyeBlinkingSystem.cs

* Update EyeBlinkingSystem.cs

* some shitty remade

* change logic to get eyelids colors

* try add status effect

* fix blink dyspraxia effect

* cleanup and add xml documentation

* fix mouse blinking

* fix gauzes

* rename variable

* add more comments

* idiot fix

* fix blinking after changeApperanceData and add action for close eye

* remove unused system and components

* event handlers name cleanup

* I hate changeling

* remove not needed additive set EyeClosed to fix failed test

* Typos, formatting, subscriptions

Signed-off-by: Connor Huffine <chuffine@gmail.com>

* [SubscribeNetworkEvent] exists

Signed-off-by: Connor Huffine <chuffine@gmail.com>

* oops

Signed-off-by: Connor Huffine <chuffine@gmail.com>

* apply review

* Start Refactoring EyeBlinkingSystem

* Remove Client blinking comp

* add new BodyRelay events

* Fix sleeping

* add correct add action

* changeling...

* Update SharedEyeBlinkingSystem.cs

* pupupu....

* pupupu....

* Update SharedEyeBlinkingSystem.cs

* add arachid as new tested entity, and some refactoring init component

* Try fix some another init

* Fix changeling transform

* Update other species

* Add displacement support

* fix status effect

* another fix status effect

* fix changeling darkest eyelid color after many transformations

* Update SharedEyeBlinkingSystem.cs

* eye blinking suggestions

* Blinking fixups

* fix action restoration on death

* suggested changes, cleanup & prediction

* cloning, action removal

* fix diona meta

* fix incorect target by TryComp

* add reinit eye blinking if changes rsi path and update logic to update eyelids color for not organ eyes

* fix remove layers

* check all layers for correct remove layers

* Try optimization remove existing layers

* Update EyeBlinkingSystem.cs

* Update Content.Server/Eye/Blinking/EyeBlinkingSystem.cs

Co-authored-by: Whatstone <166147148+whatston3@users.noreply.github.com>

* apply review

* apply cleanup

* fix zombify change eyellids color

* fix OverEyes marking for dwarf

* displacement storage/removal suggestion

* fix meta

* review

---------

Signed-off-by: Connor Huffine <chuffine@gmail.com>
Co-authored-by: Connor Huffine <chuffine@gmail.com>
Co-authored-by: Whatstone <whatston3@gmail.com>
Co-authored-by: Whatstone <166147148+whatston3@users.noreply.github.com>
Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com>
2026-10-06 16:42:21 +00:00
deltanedas
cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00
Ewanderer
d7f7a91183
Documentation of e api (#44395)
* documentation pass on content.server -> E!

* APi pass on content.server for the E folder.

* documentation pass on content.shared for e.

* Apply suggestions from code review

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>

* fixing documentation according to review part 1.

* typo

* Very minor fixes

* And a short explanation about EUI

---------

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
2026-07-01 08:38:04 +00:00
Pok
3279840bf0
TemporaryBlindness StatusEffect (#43705)
* TemporaryBlindnessStatusEffect

* review
2026-04-24 16:49:54 +00:00
lyxcaster
f661edf36a
Make prescription glasses actually work (#42990)
* Made prescription glasses actually correct your vision

* Makes prescription glasses actually correct your vision

* Bug fix

* Bug fix

---------

Co-authored-by: lyxcaster <mser956@gmail.com>
2026-02-21 23:44:26 +00:00
Winkarst
f4fab85e34
Cleanup: Use `SoundSpecifier instead of string literals in EyeClosingComponent` (#35425)
* Cleanup

* Update

* Update

* Update
2025-02-24 17:10:23 +01:00
Cojoke
2d4aaa414f
telescreen and television require vision + Move eye to shared (#30260)
* telescreen and television require vision

* Move Content.Server.Eye to Shared

* fix popups

* Filthy
2024-07-22 19:33:41 -07:00
DrSmugleaf
7524fb93b6
Fix const data field in BlindableComponent (#27919)
* Fix const data field in BlindableComponent

* Fix usages
2024-05-11 01:20:48 -07:00
Moomoobeef
1699ddecf8
Adds new "Short-Sighted" trait! (#26037)
* initial commit

* blindness trait now uses minDamage as suggested by deathride

* made fixes for review for shortsightedness

* review appeasal

* removed PermanentPoorVision & merged its functionality into PermanentBlindness
2024-05-09 18:40:49 -07:00
deathride58
aa6645c8e9
Blindness rework - damaged eyes are now a stylized simulation of legal blindness (#23212)
* blindness rework - damaged eyes now simulate legal blindness

* hEY THATS FOR DEMONSTRATION PURPOSES ONLY AAA

* attributions

* makes eyeclosecomponent adminbus compatible

* useshader(null)
2024-01-03 01:07:02 -08:00
Nairod
3589ad9d0c
Welder Blindness Effect Increase (#22304) 2023-12-10 15:10:07 -08:00
DrSmugleaf
a88e747a0b
Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Leon Friedrich
84299cae63
Blindness refactor (#15705)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-04-29 15:32:14 +10:00