Makes protolathe use machine parts

This commit is contained in:
Vera Aguilera Puerto
2020-12-04 11:37:55 +01:00
parent 266d2909d7
commit b0d1d31ccc
4 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using Robust.Shared.GameObjects;
namespace Content.Server.GameObjects.Components.Chemistry
{
[RegisterComponent]
public class GlassBeakerComponent : Component
{
public override string Name => "GlassBeaker";
}
}

View File

@@ -101,6 +101,13 @@
- state: protolathe_panel
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- type: ResearchClient
- type: Construction
graph: machine
node: machine
- type: BreakableConstruction
node: machineFrame
- type: Machine
board: ProtolatheMachineCircuitboard
- type: Wires
BoardName: "Protolathe"
LayoutId: Protolathe

View File

@@ -21,3 +21,19 @@
Manipulator: 1
materialRequirements:
Glass: 1
- type: entity
id: ProtolatheMachineCircuitboard
parent: BaseMachineCircuitboard
name: Protolathe (Machine Board)
components:
- type: MachineBoard
prototype: Protolathe
requirements:
MatterBin: 2
Manipulator: 2
componentRequirements:
GlassBeaker:
Amount: 2
DefaultPrototype: Beaker
ExamineName: Glass Beaker

View File

@@ -17,6 +17,7 @@
- type: Pourable
transferAmount: 5.0
- type: Spillable
- type: GlassBeaker
- type: entity
name: large beaker
@@ -37,6 +38,7 @@
- type: Pourable
transferAmount: 5.0
- type: Spillable
- type: GlassBeaker
- type: entity
name: dropper