Reformat the way recipe prototypes work to something sensible.

More work on Microwave component.
This commit is contained in:
FL-OZ
2020-04-26 23:14:02 -05:00
parent f76a087e91
commit 7e4d4bb1d4
5 changed files with 160 additions and 28 deletions

View File

@@ -0,0 +1,30 @@
- type: entity
id: KitchenMicrowave
name: Microwave
description: It's magic.
components:
- type: Microwave
- type: Clickable
- type: InteractionOutline
- type: Solution
maxVol: 100
caps: 1
- type: Collidable
shapes:
- !type:PhysShapeAabb
bounds: "-0.5,0,0.5,1"
layer: 15
IsScrapingFloor: true
- type: Sprite
netsync: false
sprite: Buildings/medical_scanner.rsi
layers:
- state: scanner_open
map: ["enum.MedicalScannerVisualLayers.Machine"]
- state: scanner_terminal_blue
map: ["enum.MedicalScannerVisualLayers.Terminal"]
- type: PowerDevice
- type: Icon
sprite: Buildings/medical_scanner.rsi
state: scanner_open

View File

@@ -1,7 +1,17 @@
- type: microwaveMealRecipe
id: RecipeBurger
name: "Burger"
description: "A burger, in space."
id: RecipeCheeseburger
name: "Cheeseburger Recipe"
output: FoodCheeseburger
ingredients:
- "Flour,15"
- "Meat,5"
chem.H2O: 15
chem.Nutriment: 5
- type: microwaveMealRecipe
id: RecipeFlashlight
name: "Flashlight Recipe"
output: FlashlightLantern
ingredients:
chem.H2O: 15
chem.Nutriment: 20
chem.Glucose: 5