Fix some lathe recipes (#5941)
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Content.Shared.Lathe
|
|||||||
|
|
||||||
public override string Name => "ProtolatheDatabase";
|
public override string Name => "ProtolatheDatabase";
|
||||||
|
|
||||||
[DataField("protolatherecipes", customTypeSerializer:typeof(PrototypeIdListSerializer<EntityPrototype>))]
|
[DataField("protolatherecipes", customTypeSerializer:typeof(PrototypeIdListSerializer<LatheRecipePrototype>))]
|
||||||
private List<string> _recipeIds = new();
|
private List<string> _recipeIds = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Robust.Shared.Prototypes;
|
using Robust.Shared.Prototypes;
|
||||||
using Robust.Shared.Serialization;
|
using Robust.Shared.Serialization;
|
||||||
@@ -49,15 +49,14 @@ namespace Content.Shared.Research.Prototypes
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of technology IDs required to unlock this technology.
|
/// A list of technology IDs required to unlock this technology.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ViewVariables]
|
[DataField("requiredTechnologies", customTypeSerializer: typeof(PrototypeIdListSerializer<TechnologyPrototype>))]
|
||||||
[DataField("requiredTechnologies")]
|
|
||||||
public List<string> RequiredTechnologies { get; } = new();
|
public List<string> RequiredTechnologies { get; } = new();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of recipe IDs this technology unlocks.
|
/// A list of recipe IDs this technology unlocks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
[DataField("unlockedRecipes", customTypeSerializer:typeof(PrototypeIdListSerializer<EntityPrototype>))]
|
[DataField("unlockedRecipes", customTypeSerializer:typeof(PrototypeIdListSerializer<LatheRecipePrototype>))]
|
||||||
public List<string> UnlockedRecipes { get; } = new();
|
public List<string> UnlockedRecipes { get; } = new();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,10 +144,10 @@
|
|||||||
requiredTechnologies:
|
requiredTechnologies:
|
||||||
- SecurityTechnology
|
- SecurityTechnology
|
||||||
unlockedRecipes:
|
unlockedRecipes:
|
||||||
- CartridgePistolBase
|
- CartridgePistol
|
||||||
- ShellShotgunBase
|
- ShellShotgun
|
||||||
- CartridgeLRifleBase
|
- CartridgeLRifle
|
||||||
- CartridgeMagnumBase
|
- CartridgeMagnum
|
||||||
|
|
||||||
#- type: technology
|
#- type: technology
|
||||||
# name: "ballistic technology"
|
# name: "ballistic technology"
|
||||||
|
|||||||
@@ -164,10 +164,10 @@
|
|||||||
- Flash
|
- Flash
|
||||||
- Handcuffs
|
- Handcuffs
|
||||||
- Stunbaton
|
- Stunbaton
|
||||||
- CartridgePistolBase
|
- CartridgePistol
|
||||||
- ShellShotgunBase
|
- ShellShotgun
|
||||||
- CartridgeLRifleBase
|
- CartridgeLRifle
|
||||||
- CartridgeMagnumBase
|
- CartridgeMagnum
|
||||||
- FirelockElectronics
|
- FirelockElectronics
|
||||||
- MicroManipulatorStockPart
|
- MicroManipulatorStockPart
|
||||||
- ScanningModuleStockPart
|
- ScanningModuleStockPart
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
Plastic: 100
|
Plastic: 100
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: Scythe
|
id: HydroponicsToolScythe
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Tools/Hydroponics/scythe.rsi
|
sprite: Objects/Tools/Hydroponics/scythe.rsi
|
||||||
state: icon
|
state: icon
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
Plastic: 200
|
Plastic: 200
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: Hatchet
|
id: HydroponicsToolHatchet
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Tools/Hydroponics/hatchet.rsi
|
sprite: Objects/Tools/Hydroponics/hatchet.rsi
|
||||||
state: icon
|
state: icon
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: ConveyorAssembly
|
id: ConveyorBeltAssembly
|
||||||
icon:
|
icon:
|
||||||
sprite: Structures/conveyor.rsi
|
sprite: Structures/conveyor.rsi
|
||||||
state: conveyor_loose
|
state: conveyor_loose
|
||||||
|
|||||||
@@ -96,3 +96,12 @@
|
|||||||
materials:
|
materials:
|
||||||
Steel: 100
|
Steel: 100
|
||||||
Glass: 100
|
Glass: 100
|
||||||
|
|
||||||
|
- type: latheRecipe
|
||||||
|
id: CrewMonitoringComputerCircuitboard
|
||||||
|
icon: Objects/Misc/module.rsi/id_mod.png
|
||||||
|
result: CrewMonitoringComputerCircuitboard
|
||||||
|
completetime: 1000
|
||||||
|
materials:
|
||||||
|
Steel: 100
|
||||||
|
Glass: 100
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
Steel: 200
|
Steel: 200
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: BoneSaw
|
id: Saw
|
||||||
icon: Objects/Specific/Medical/Surgery/saw.rsi/saw.png
|
icon: Objects/Specific/Medical/Surgery/saw.rsi/saw.png
|
||||||
result: Saw
|
result: Saw
|
||||||
completetime: 500
|
completetime: 500
|
||||||
|
|||||||
@@ -32,41 +32,41 @@
|
|||||||
Steel: 100
|
Steel: 100
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: CartridgePistolBase
|
id: CartridgePistol
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
|
sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
|
||||||
state: base
|
state: base
|
||||||
result: CartridgePistolBase
|
result: CartridgePistol
|
||||||
completetime: 500
|
completetime: 500
|
||||||
materials:
|
materials:
|
||||||
Steel: 10
|
Steel: 10
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: ShellShotgunBase
|
id: ShellShotgun
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Weapons/Guns/Ammunition/Casings/shotgun_shell.rsi
|
sprite: Objects/Weapons/Guns/Ammunition/Casings/shotgun_shell.rsi
|
||||||
state: base
|
state: base
|
||||||
result: ShellShotgunBase
|
result: ShellShotgun
|
||||||
completetime: 500
|
completetime: 500
|
||||||
materials:
|
materials:
|
||||||
Steel: 20
|
Steel: 20
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: CartridgeMagnumBase
|
id: CartridgeMagnum
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
|
sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
|
||||||
state: base
|
state: base
|
||||||
result: CartridgeMagnumBase
|
result: CartridgeMagnum
|
||||||
completetime: 500
|
completetime: 500
|
||||||
materials:
|
materials:
|
||||||
Steel: 20
|
Steel: 20
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: CartridgeLRifleBase
|
id: CartridgeLRifle
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
|
sprite: Objects/Weapons/Guns/Ammunition/Casings/ammo_casing.rsi
|
||||||
state: base
|
state: base
|
||||||
result: CartridgeLRifleBase
|
result: CartridgeLRifle
|
||||||
completetime: 500
|
completetime: 500
|
||||||
materials:
|
materials:
|
||||||
Steel: 30
|
Steel: 30
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
Steel: 100
|
Steel: 100
|
||||||
|
|
||||||
- type: latheRecipe
|
- type: latheRecipe
|
||||||
id: GlassStack
|
id: SheetGlass1
|
||||||
icon:
|
icon:
|
||||||
sprite: Objects/Materials/Sheets/glass.rsi
|
sprite: Objects/Materials/Sheets/glass.rsi
|
||||||
state: glass
|
state: glass
|
||||||
|
|||||||
Reference in New Issue
Block a user