Puddle refactor 2: Spillastic boogaloo (#4784)
* Refactor PuddleComponent * Move puddle effects into separate RSIs Basically egg/tomato/powder puddle will be moved into separate /Textures/Fluids RSIs * Fix YAML for puddles * Fix issues sloth pointed out. * Ensure Puddle Component are properly added when spawned * Remove unnecessary method init puddle with starting maxVolume * Addressed ElectroSr comments * Add Resolves * Try fix error in ensureSolution * Puddle unanchoring * Address some issues with puddles * Fix continue -> return
BIN
Resources/Textures/Fluids/egg_splat.rsi/egg-0.png
Normal file
|
After Width: | Height: | Size: 676 B |
BIN
Resources/Textures/Fluids/egg_splat.rsi/egg-1.png
Normal file
|
After Width: | Height: | Size: 530 B |
BIN
Resources/Textures/Fluids/egg_splat.rsi/egg-2.png
Normal file
|
After Width: | Height: | Size: 617 B |
BIN
Resources/Textures/Fluids/egg_splat.rsi/egg-3.png
Normal file
|
After Width: | Height: | Size: 642 B |
23
Resources/Textures/Fluids/egg_splat.rsi/meta.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/9c980cb9bc84d07b1c210c5447798af525185f80/icons/obj/food.dmi",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "egg-0"
|
||||
},
|
||||
{
|
||||
"name": "egg-1"
|
||||
},
|
||||
{
|
||||
"name": "egg-2"
|
||||
},
|
||||
{
|
||||
"name": "egg-3"
|
||||
}
|
||||
]
|
||||
}
|
||||
14
Resources/Textures/Fluids/powder.rsi/meta.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation and baystation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24 and https://github.com/Baystation12/Baystation12/commit/a6067826de7fd8f698793f6d84e6c2f1f9b1f188",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "powder"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/powder.rsi/powder.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
20
Resources/Textures/Fluids/tomato_splat.rsi/meta.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13 at 1dbcf389b0ec6b2c51b002df5fef8dd1519f8068",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "puddle-0"
|
||||
},
|
||||
{
|
||||
"name": "puddle-1"
|
||||
},
|
||||
{
|
||||
"name": "puddle-2"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Fluids/tomato_splat.rsi/puddle-0.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/Fluids/tomato_splat.rsi/puddle-1.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
Resources/Textures/Fluids/tomato_splat.rsi/puddle-2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |