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)
This commit is contained in:
@@ -274,3 +274,15 @@
|
||||
icon: { sprite: Objects/Fun/bikehorn.rsi, state: icon }
|
||||
event: !type:ActivateImplantEvent
|
||||
useDelay: 1
|
||||
|
||||
- type: entity
|
||||
id: ActionToggleEyes
|
||||
name: Open/Close eyes
|
||||
description: Close your eyes to protect your peepers, or open your eyes to enjoy the pretty lights.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
icon: Interface/Actions/eyeopen.png
|
||||
iconOn: Interface/Actions/eyeclose.png
|
||||
event: !type:ToggleEyesActionEvent
|
||||
useDelay: 1 # so u cant give yourself and observers eyestrain by rapidly spamming the action
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
id: CircleMask
|
||||
kind: source
|
||||
path: "/Textures/Shaders/circle_mask.swsl"
|
||||
params:
|
||||
CircleRadius: 15.0
|
||||
CircleMinDist: 0.25
|
||||
CirclePow: 0.5
|
||||
CircleMax: 4.0
|
||||
CircleMult: 0.5
|
||||
|
||||
- type: shader
|
||||
id: GradientCircleMask
|
||||
@@ -87,3 +93,9 @@
|
||||
id: HorizontalCut
|
||||
kind: source
|
||||
path: "/Textures/Shaders/hcut.swsl"
|
||||
|
||||
# Stylized simulation of blindness
|
||||
- type: shader
|
||||
id: Cataracts
|
||||
kind: source
|
||||
path: "/Textures/Shaders/cataracts.swsl"
|
||||
|
||||
Reference in New Issue
Block a user