Lathes (#207)
* Recipe stuff. * Lathe GUI and stuff * god dammit * Lathe menu works, yay. * EventArgs henk * Some work * SS14 -> Robust * More SS14 -> Robust * Lathe materials * Lathe works, Lathe GUI, Queue GUI, etc too many changes to name them here * Remove materials button, add ViewVariables and update lathe on connect * Add Autolathe RSI * Adds new recipes, fixes a few bugs. * Remove unused ScrollContainers * Use same delegate for spawn. * Removes client-side LatheComponent in favor of BoundUserInterface * Remove GetMaterial and TryGetMaterial * Use auto-properties in a few places. * Adds LatheDatabase, and a bunch of other changes * Remove useless log. * Remove lathetype from prototypes. * Turns Storage, Lathe and Database into autoproperties * Remove Hacked property from LatheRecipePrototype * Remove unneeded dependency injection from components * Refactors LatheDatabaseComponent to use ComponentState * Refactors MaterialStorageComponent to use ComponentState * Oopsie * Another oopsie * Last oopsie, I hope * Fix missing Close call.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
092539ae59
commit
fe0414eda7
17
Resources/Prototypes/LatheRecipes/medical.yml
Normal file
17
Resources/Prototypes/LatheRecipes/medical.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- type: latheRecipe
|
||||
id: Brutepack
|
||||
icon: Objects/brutepack.png
|
||||
result: Brutepack
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 400
|
||||
glass: 125
|
||||
|
||||
- type: latheRecipe
|
||||
id: Ointment
|
||||
icon: Objects/ointment.png
|
||||
result: Ointment
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 400
|
||||
glass: 125
|
||||
17
Resources/Prototypes/LatheRecipes/misc.yml
Normal file
17
Resources/Prototypes/LatheRecipes/misc.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- type: latheRecipe
|
||||
id: LightTube
|
||||
icon: Objects/light_tube.rsi/normal.png
|
||||
result: LightTube
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 60
|
||||
glass: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: LightBulb
|
||||
icon: Objects/light_bulb.rsi/normal.png
|
||||
result: LightBulb
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 30
|
||||
glass: 50
|
||||
15
Resources/Prototypes/LatheRecipes/sheet.yml
Normal file
15
Resources/Prototypes/LatheRecipes/sheet.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- type: latheRecipe
|
||||
id: MetalStack
|
||||
icon: Objects/sheet_metal.png
|
||||
result: SteelSheet1
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 3750
|
||||
|
||||
- type: latheRecipe
|
||||
id: GlassStack
|
||||
icon: Objects/sheet_glass.png
|
||||
result: GlassSheet1
|
||||
completetime: 500
|
||||
materials:
|
||||
glass: 3750
|
||||
59
Resources/Prototypes/LatheRecipes/tools.yml
Normal file
59
Resources/Prototypes/LatheRecipes/tools.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
- type: latheRecipe
|
||||
id: Wirecutter
|
||||
icon: Objects/wirecutter.png
|
||||
result: Wirecutter
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 80
|
||||
|
||||
- type: latheRecipe
|
||||
id: Screwdriver
|
||||
icon: Objects/screwdriver.png
|
||||
result: Screwdriver
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 75
|
||||
|
||||
- type: latheRecipe
|
||||
id: Welder
|
||||
icon: Objects/welder.png
|
||||
result: Welder
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 70
|
||||
glass: 30
|
||||
|
||||
- type: latheRecipe
|
||||
id: Wrench
|
||||
icon: Objects/wrench.png
|
||||
result: Wrench
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 70
|
||||
glass: 30
|
||||
|
||||
- type: latheRecipe
|
||||
id: CableStack
|
||||
icon: Objects/cable_coil.png
|
||||
result: CableStack
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 50
|
||||
glass: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: Crowbar
|
||||
icon: Objects/crowbar.png
|
||||
result: Crowbar
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 50
|
||||
|
||||
- type: latheRecipe
|
||||
id: Multitool
|
||||
icon: Objects/multitool.png
|
||||
result: Multitool
|
||||
completetime: 500
|
||||
materials:
|
||||
steel: 50
|
||||
glass: 20
|
||||
Reference in New Issue
Block a user