Add microwave visualizer. Clean up microwave code.
This commit is contained in:
BIN
Resources/Audio/machines/ding.ogg
Normal file
BIN
Resources/Audio/machines/ding.ogg
Normal file
Binary file not shown.
@@ -9,6 +9,9 @@
|
||||
- type: Solution
|
||||
maxVol: 100
|
||||
caps: 1
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: MicrowaveVisualizer
|
||||
|
||||
- type: Collidable
|
||||
shapes:
|
||||
@@ -19,7 +22,12 @@
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Kitchen/microwave.rsi
|
||||
state: mw0
|
||||
layers:
|
||||
- state: mw0
|
||||
map: ["enum.MicrowaveVisualizerLayers.Base"]
|
||||
- state: mw_unlit
|
||||
shader: unshaded
|
||||
map: ["enum.MicrowaveVisualizerLayers.BaseUnlit"]
|
||||
- type: PowerDevice
|
||||
- type: Icon
|
||||
sprite: Objects/Kitchen/microwave.rsi
|
||||
|
||||
@@ -5,3 +5,11 @@
|
||||
ingredients:
|
||||
chem.H2O: 15
|
||||
chem.Nutriment: 5
|
||||
|
||||
- type: microwaveMealRecipe
|
||||
id: RecipeFlashlight
|
||||
name: Flashlight Recipe
|
||||
result: FoodCheeseWedge
|
||||
ingredients:
|
||||
chem.H2O: 15
|
||||
chem.Glucose: 5
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -1 +1,105 @@
|
||||
{"version": 1, "size": {"x": 32, "y": 32}, "license": "AGPL v3", "copyright": "Taken from https://github.com/discordia-space/CEV-Eris", "states": [{"name": "mw", "directions": 1, "delays": [[1.0]]}, {"name": "mw0", "directions": 1, "delays": [[1.0]]}, {"name": "mw1", "directions": 1, "delays": [[0.1, 0.1]]}, {"name": "mwb", "directions": 1, "delays": [[1.0]]}, {"name": "mwbloody", "directions": 1, "delays": [[1.0]]}, {"name": "mwbloody0", "directions": 1, "delays": [[1.0]]}, {"name": "mwbloody1", "directions": 1, "delays": [[0.1, 0.1]]}, {"name": "mwbloodyo", "directions": 1, "delays": [[0.1, 0.1]]}, {"name": "mwo", "directions": 1, "delays": [[0.1, 0.1]]}]}
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "AGPL v3",
|
||||
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris",
|
||||
"states": [
|
||||
{
|
||||
"name": "mw",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mw_unlit",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mw0",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mw_running_unlit",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mwb",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mwbloody",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mwbloody0",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mwbloody1",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mwbloodyo",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mwo",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.1,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
Resources/Textures/Objects/Kitchen/microwave.rsi/mw_unlit.png
Normal file
BIN
Resources/Textures/Objects/Kitchen/microwave.rsi/mw_unlit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Reference in New Issue
Block a user