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:
20kdc
2021-10-18 07:12:50 +01:00
committed by GitHub
parent 668c94b929
commit c5e7457206
6 changed files with 57 additions and 0 deletions

View File

@@ -243,6 +243,7 @@
- APCElectronics
- CloningPodMachineCircuitboard
- MedicalScannerMachineCircuitboard
- HydroponicsTrayMachineCircuitboard
- SolarControlComputerCircuitboard
# Basic Parts Technology Tree

View File

@@ -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

View File

@@ -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:

View File

@@ -174,6 +174,7 @@
- APCElectronics
- CloningPodMachineCircuitboard
- MedicalScannerMachineCircuitboard
- HydroponicsTrayMachineCircuitboard
- SolarControlComputerCircuitboard
- Bucket
- MopItem

View File

@@ -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

View File

@@ -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