Hydroponics tray machine board (#4889)
* Frame/soil anchored fix * Ability to build and deconstruct hydroponics trays * Undo pointless adding of anchoring to soil
This commit is contained in:
@@ -243,6 +243,7 @@
|
||||
- APCElectronics
|
||||
- CloningPodMachineCircuitboard
|
||||
- MedicalScannerMachineCircuitboard
|
||||
- HydroponicsTrayMachineCircuitboard
|
||||
- SolarControlComputerCircuitboard
|
||||
|
||||
# Basic Parts Technology Tree
|
||||
|
||||
@@ -57,3 +57,25 @@
|
||||
materialRequirements:
|
||||
Glass: 1
|
||||
Cable: 1
|
||||
|
||||
- type: entity
|
||||
id: HydroponicsTrayMachineCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
name: Hydroponics Tray (Machine Board)
|
||||
components:
|
||||
- type: MachineBoard
|
||||
prototype: hydroponicsTray
|
||||
# See: https://github.com/vgstation-coders/vgstation13/blob/e9a806f30b4db0efa2a68b9eb42e3120d2321b6a/code/modules/hydroponics/hydro_tray.dm#L57
|
||||
requirements:
|
||||
MatterBin: 2
|
||||
ScanningModule: 1
|
||||
Capacitor: 1
|
||||
materialRequirements:
|
||||
# replacing the console screen
|
||||
Glass: 1
|
||||
tagRequirements:
|
||||
GlassBeaker:
|
||||
Amount: 2
|
||||
DefaultPrototype: Beaker
|
||||
ExamineName: Glass Beaker
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixtures:
|
||||
@@ -54,6 +56,8 @@
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
fixtures:
|
||||
|
||||
@@ -174,6 +174,7 @@
|
||||
- APCElectronics
|
||||
- CloningPodMachineCircuitboard
|
||||
- MedicalScannerMachineCircuitboard
|
||||
- HydroponicsTrayMachineCircuitboard
|
||||
- SolarControlComputerCircuitboard
|
||||
- Bucket
|
||||
- MopItem
|
||||
|
||||
@@ -20,3 +20,23 @@
|
||||
drawdepth: FloorObjects
|
||||
- type: PlantHolder
|
||||
drawWarnings: true
|
||||
- type: Construction
|
||||
graph: machine
|
||||
node: machine
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:ChangeConstructionNodeBehavior
|
||||
node: machineFrame
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: Machine
|
||||
board: HydroponicsTrayMachineCircuitboard
|
||||
- type: MaterialStorage
|
||||
- type: Wires
|
||||
BoardName: "HydroponicsTray"
|
||||
LayoutId: HydroponicsTray
|
||||
|
||||
|
||||
@@ -52,3 +52,12 @@
|
||||
Steel: 100
|
||||
Glass: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: HydroponicsTrayMachineCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
result: HydroponicsTrayMachineCircuitboard
|
||||
completetime: 1000
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user