Skip to content

Commit

Permalink
engineering-update-thermomachine (#2351)
Browse files Browse the repository at this point in the history
  • Loading branch information
EstKemran authored Jan 6, 2025
1 parent ffa8a23 commit f40a1f1
Show file tree
Hide file tree
Showing 19 changed files with 101 additions and 11 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: SS220/Structures/Piping/Atmospherics/thermomachine.rsi #ss220-engineering-update-thermomachine
snapCardinals: true
- type: Appearance
- type: PipeColorVisuals
Expand Down Expand Up @@ -248,18 +248,25 @@
granularLayersRendering: true
layers:
- state: freezerOff
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
# map: [ "enum.PowerDeviceVisualLayers.Powered" ] #ss220-engineering-update-thermomachine
- state: freezerPanelOpen
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- state: pipe
map: [ "enum.PipeVisualLayers.Pipe" ]
renderingStrategy: Default
#ss220-engineering-update-thermomachine-begin
- state: freezerOn-unshaded
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
#ss220-engineering-update-thermomachine-end
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { state: freezerOn }
False: { state: freezerOff }
#ss220-engineering-update-thermomachine-begin
True: { visible: true }
False: { visible: false }
#ss220-engineering-update-thermomachine-end
- type: GasThermoMachine
coefficientOfPerformance: -3.9
- type: ApcPowerReceiver
Expand Down Expand Up @@ -293,18 +300,25 @@
granularLayersRendering : true
layers:
- state: heaterOff
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
# map: [ "enum.PowerDeviceVisualLayers.Powered" ] #ss220-engineering-update-thermomachine
- state: heaterPanelOpen
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- state: pipe
map: [ "enum.PipeVisualLayers.Pipe" ]
renderingStrategy: Default
#ss220-engineering-update-thermomachine-begin
- state: heaterOn-unshaded
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
#ss220-engineering-update-thermomachine-end
- type: GenericVisualizer
visuals:
enum.PowerDeviceVisuals.Powered:
enum.PowerDeviceVisualLayers.Powered:
True: { state: heaterOn }
False: { state: heaterOff }
#ss220-engineering-update-thermomachine-begin
True: { visible: true }
False: { visible: false }
#ss220-engineering-update-thermomachine-end
- 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: SS220/Structures/Piping/Atmospherics/hellfirethermomachine.rsi #ss220-engineering-update-thermomachine
- 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: SS220/Structures/Piping/Atmospherics/hellfirethermomachine.rsi #ss220-engineering-update-thermomachine
- type: GasThermoMachine
maxTemperature: 1193.15
heatCapacity: 40000
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Objectives/stealTargetGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
id: FreezerHeater
name: steal-target-groups-freezer-heater
sprite:
sprite: Structures/Piping/Atmospherics/thermomachine.rsi
sprite: SS220/Structures/Piping/Atmospherics/thermomachine.rsi #ss220-engineering-update-thermomachine
state: heaterOff

- type: stealTargetGroup
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Research/industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
id: AtmosphericTech
name: research-technology-atmospheric-tech
icon:
sprite: Structures/Piping/Atmospherics/thermomachine.rsi
sprite: SS220/Structures/Piping/Atmospherics/thermomachine.rsi #ss220-engineering-update-thermomachine
state: freezerOff
discipline: Industrial
tier: 1
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.
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.
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version":1,
"size":{"x":32,"y":32},
"copyright":"Sprite by by AftrLite(Github)",
"license":"CC-BY-SA-3.0",
"states":[
{
"name":"freezerOff",
"directions":1
},
{
"name":"freezerPanelOpen",
"directions":1
},
{
"name":"freezerOn-unshaded",
"directions":1,
"delays":[ [ 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0 ] ]
},
{
"name":"heaterOff",
"directions":1
},
{
"name":"heaterPanelOpen",
"directions":1
},
{
"name":"heaterOn-unshaded",
"directions":1,
"delays":[ [ 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0 ] ]
},
{
"name":"pipe",
"directions":4
}
]
}
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version":1,
"size":{"x":32,"y":32},
"copyright":"Sprite by by AftrLite(Github)",
"license":"CC-BY-SA-3.0",
"states":[
{
"name":"freezerOff",
"directions":1
},
{
"name":"freezerPanelOpen",
"directions":1
},
{
"name":"freezerOn-unshaded",
"directions":1,
"delays":[ [ 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0 ] ]
},
{
"name":"heaterOff",
"directions":1
},
{
"name":"heaterPanelOpen",
"directions":1
},
{
"name":"heaterOn-unshaded",
"directions":1,
"delays":[ [ 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0 ] ]
},
{
"name":"pipe",
"directions":4
}
]
}
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 f40a1f1

Please sign in to comment.