* Added atmos sprites from CEV-Eris * Moved canister sprites to appropriate dir * Removed unnecessary sprites, edited canisters prototype * Created Gas Canister UI and release pressure buttons * Changed GasMixture's pressure calculation (convert liters to cube meters) * Added relabeling Canisters * Reverted changes on GasMixture * Changed my name in the credits * Added valve opening on canisters * Change canister visual state when connected to a port * Added nullable to SharedGasCanisterComponent * Replaced nullable contexts * Changed again nullable annotation context * Moved name in the credits to correct alphabetical order * Canisters: Fix the most blatant issues with this PR (the added project interdependencies for no reason whatsoever) * Canisters: Stop crashes when canisters leave atmosphere * Canisters: Gas released into no atmosphere gets transferred "into space" (deleted) * Atmos: Nullability annotations on TileAtmosphere, explaination of the states of TileAtmosphere.Air * Canisters: If in an airblocked tile, do NOT release gas * Scrubbers: Fix typo leading to them not connecting properly. * Revert manual changes to credits file (sorry!) (1/2) This reverts commit 94f3b0e5df8d9c2fa189866a17a231920f99bdaf. * Revert manual changes to credits file (sorry!) (2/2) This reverts commit 1986fb094dfaa44060f08d280f36b755258d17a6. * Canisters: Apply @Zumorica 's reviews * Canisters: Add missing localization as suggested by PJB Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> * Canisters: Pressure lights! * Canisters: Light is now unshaded. * Canisters: Now using IActivate * Gas canisters (& air canister), now with their numbers properly calibrated (hopefully) * Canisters: Refactor how their layers are added to be more like ApcVisualizer * Canisters: Clean up of the tile invalidation/air release logic * Canisters: Some gas canister window improvements * Canisters: Clean up release pressure change button label code Co-authored-by: Clement-O <topy72.mine@gmail.com> Co-authored-by: Clément <clement.orlandini@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/black-1.png
Normal file
|
After Width: | Height: | Size: 816 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/black.png
Normal file
|
After Width: | Height: | Size: 811 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/blue-1.png
Normal file
|
After Width: | Height: | Size: 909 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/blue.png
Normal file
|
After Width: | Height: | Size: 952 B |
|
After Width: | Height: | Size: 240 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/can-o0.png
Normal file
|
After Width: | Height: | Size: 135 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/can-o1.png
Normal file
|
After Width: | Height: | Size: 131 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/can-o2.png
Normal file
|
After Width: | Height: | Size: 140 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/can-o3.png
Normal file
|
After Width: | Height: | Size: 139 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/can-oa1.png
Normal file
|
After Width: | Height: | Size: 186 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/can-open.png
Normal file
|
After Width: | Height: | Size: 164 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/grey-1.png
Normal file
|
After Width: | Height: | Size: 860 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/grey.png
Normal file
|
After Width: | Height: | Size: 864 B |
201
Resources/Textures/Constructible/Atmos/canister.rsi/meta.json
Normal file
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris",
|
||||
"states": [
|
||||
{
|
||||
"name": "black",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "black-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "blue",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "blue-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-connector",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-o0",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-o1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-o2",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-o3",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-oa1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "can-open",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grey",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grey-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "orange",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "orange-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "red",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "red-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "redws",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "redws-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "yellow",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "yellow-1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/orange-1.png
Normal file
|
After Width: | Height: | Size: 839 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/orange.png
Normal file
|
After Width: | Height: | Size: 838 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/red-1.png
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/red.png
Normal file
|
After Width: | Height: | Size: 765 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/redws-1.png
Normal file
|
After Width: | Height: | Size: 905 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/redws.png
Normal file
|
After Width: | Height: | Size: 957 B |
|
After Width: | Height: | Size: 218 B |
|
After Width: | Height: | Size: 138 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/yellow-1.png
Normal file
|
After Width: | Height: | Size: 861 B |
BIN
Resources/Textures/Constructible/Atmos/canister.rsi/yellow.png
Normal file
|
After Width: | Height: | Size: 844 B |