Skip to content

Commit

Permalink
Create hydro_tray.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Jul 27, 2023
1 parent e756314 commit 1445926
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions Resources/Prototypes/_NF/Entities/Structures/hydro_tray.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
- type: entity
name: hydroponics tray
parent: [ hydroponicsSoil ]
id: hydroponicsTrayHeavy
suffix: heavy
description: An heavy interstellar-grade space farmplot allowing for rapid growth and selective breeding of crops. Just... keep in mind the space weeds.
components:
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.1"
density: 190
hard: true
mask:
- MachineMask
# - type: Anchorable
# - type: Pullable
- type: Sprite
layers:
- sprite: Structures/Hydroponics/containers.rsi
state: hydrotray3
- sprite: Structures/Hydroponics/overlays.rsi
state: lowhealth3
map: [ "health_alert" ]
visible: false
- sprite: Structures/Hydroponics/overlays.rsi
state: lowwater3
map: [ "water_alert" ]
visible: false
- sprite: Structures/Hydroponics/overlays.rsi
state: lownutri3
map: [ "nutri_alert" ]
visible: false
- sprite: Structures/Hydroponics/overlays.rsi
state: alert3
map: [ "undefined_alert" ]
visible: false
- sprite: Structures/Hydroponics/overlays.rsi
state: harvest3
map: [ "harvest_alert" ]
visible: false
- type: Appearance
- type: GenericVisualizer
visuals:
enum.PlantHolderVisuals.HealthLight:
health_alert:
True: { visible: true }
False: { visible: false }
enum.PlantHolderVisuals.WaterLight:
water_alert:
True: { visible: true }
False: { visible: false }
enum.PlantHolderVisuals.NutritionLight:
nutri_alert:
True: { visible: true }
False: { visible: false }
enum.PlantHolderVisuals.AlertLight:
undefined_alert:
True: { visible: true }
False: { visible: false }
enum.PlantHolderVisuals.HarvestLight:
harvest_alert:
True: { visible: true }
False: { visible: false }
- type: PlantHolder
drawWarnings: true
# - type: Machine
# board: HydroponicsTrayMachineCircuitboard
# - type: WiresPanel
# - type: Wires
# BoardName: "HydroponicsTray"
# LayoutId: HydroponicsTray
- type: AmbientSound
volume: -9
range: 5
sound:
path: /Audio/Ambience/Objects/flowing_water_open.ogg

0 comments on commit 1445926

Please sign in to comment.