Make research point source turn on/off with power.

This commit is contained in:
Pieter-Jan Briers
2019-10-21 23:46:16 +02:00
parent f5cbbb5c84
commit 0e1eb71149
3 changed files with 9 additions and 1 deletions

View File

@@ -21,7 +21,11 @@
components:
- type: Sprite
sprite: Buildings/research.rsi
state: tdoppler
layers:
- state: tdoppler-off
- state: tdoppler
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
- type: Icon
sprite: Buildings/research.rsi
state: tdoppler
@@ -36,3 +40,7 @@
interfaces:
- key: enum.ResearchClientUiKey.Key
type: ResearchClientBoundUserInterface
- type: Appearance
visuals:
- type: PowerDeviceVisualizer2D
- type: PowerDevice

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 991 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 577 B