Skip to content

Commit

Permalink
Merge pull request #1095 from AftrLite/sprite-fixes
Browse files Browse the repository at this point in the history
Advanced SMES sprites, Heater/Freezer sprite fix
  • Loading branch information
Darkmajia authored Dec 21, 2024
2 parents 7263491 + d0fe500 commit c10d643
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
mode: SnapgridCenter
components:
- type: Sprite
sprite: Structures/Piping/Atmospherics/thermomachine.rsi
sprite: _Impstation/Structures/Piping/Atmospherics/thermomachine.rsi
snapCardinals: true
- type: Appearance
- type: PipeColorVisuals
Expand Down Expand Up @@ -247,19 +247,26 @@
- type: Sprite
granularLayersRendering: true
layers:
- state: freezerOff
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- state: freezerPanelOpen
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- state: pipe
map: [ "enum.PipeVisualLayers.Pipe" ]
renderingStrategy: Default
- state: freezerOff
- state: freezerOn
map: ["enum.PowerDeviceVisualLayers.Powered"]
- state: freezer-Unshaded
shader: unshaded
map: ["freezing"]
- state: freezerPanelOpen
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- state: pipe
map: [ "enum.PipeVisualLayers.Pipe" ]
renderingStrategy: Default
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { state: freezerOn }
False: { state: freezerOff }
True: { visible: true }
False: { visible: false }
Freezing:
True: { visible: true }
False: { visible: false }
- type: GasThermoMachine
coefficientOfPerformance: -3.9
- type: ApcPowerReceiver
Expand Down Expand Up @@ -292,19 +299,26 @@
- type: Sprite
granularLayersRendering : true
layers:
- state: heaterOff
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- state: heaterPanelOpen
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- state: pipe
map: [ "enum.PipeVisualLayers.Pipe" ]
renderingStrategy: Default
- state: heaterOff
- state: heaterOn
map: ["enum.PowerDeviceVisualLayers.Powered"]
- state: heater-Unshaded
shader: unshaded
map: ["heating"]
- state: heaterPanelOpen
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- state: pipe
map: [ "enum.PipeVisualLayers.Pipe" ]
renderingStrategy: Default
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { state: heaterOn }
False: { state: heaterOff }
True: { visible: true }
False: { visible: false }
heating:
True: { visible: true }
False: { visible: false }
- type: GasThermoMachine
coefficientOfPerformance: 0.95
- type: ApcPowerReceiver
Expand Down Expand Up @@ -332,7 +346,7 @@
description: An advanced machine that cools gas in connected pipes. Has the side effect of chilling the surrounding area. Cold as Hell!
components:
- type: Sprite
sprite: Structures/Piping/Atmospherics/hellfirethermomachine.rsi
sprite: _Impstation/Structures/Piping/Atmospherics/hellfirethermomachine.rsi
- type: GasThermoMachine
minTemperature: 23.15
heatCapacity: 40000
Expand All @@ -347,7 +361,7 @@
description: An advanced machine that heats gas in connected pipes. Has the side effect of leaking heat into the surrounding area. Hot as Hell!
components:
- type: Sprite
sprite: Structures/Piping/Atmospherics/hellfirethermomachine.rsi
sprite: _Impstation/Structures/Piping/Atmospherics/hellfirethermomachine.rsi
- type: GasThermoMachine
maxTemperature: 1193.15
heatCapacity: 40000
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/Textures/Structures/Power/smes.rsi/advancedsmes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c10d643

Please sign in to comment.