Световые приколы (#200)

* add: new visuals to health analyzer and new graphic funny light

* fix: fix pointlight and analyzer visuals
This commit is contained in:
ThereDrD0
2024-03-16 18:30:57 +03:00
committed by GitHub
parent 0aac8fa3d9
commit 8ccf29a2fc
7 changed files with 70 additions and 9 deletions

View File

@@ -8,11 +8,12 @@
sprite: Objects/Specific/Medical/healthanalyzer.rsi
state: icon
layers:
- state: icon
- state: analyzer
shader: unshaded
- map: [ "analyzerLayerBody" ]
state: icon
visible: true
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- map: [ "analyzerLayerScreen" ]
state: powered
visible: false
- type: Item
storedRotation: -90
- type: ActivatableUI
@@ -33,8 +34,8 @@
visuals:
enum.PowerCellSlotVisuals.Enabled:
enum.PowerDeviceVisualLayers.Powered:
True: { visible: true }
False: { visible: false }
True: { state: powered, visible: true, shader: unshaded }
False: { state: powered, visible: false }
- type: GuideHelp
guides:
- Medical Doctor
@@ -46,7 +47,14 @@
components:
- type: PowerCellDraw
drawRate: 1.2 #Calculated for 5 minutes on a small cell
- type: PowerCellSlot
cellSlotId: cell_slot
- type: ActivatableUIRequiresPowerCell
- type: PointLightBattery
- type: PointLight
radius: 1.2
energy: 0.5
color: "#7FB6C0"
- type: entity
id: HandheldHealthAnalyzerEmpty

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -8,7 +8,7 @@
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/f07f847706d85b7cfa4b398e5175732212b69a63",
"states": [
{
"name": "analyzer",
"name": "powered",
"delays": [
[
0.1,

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B