diff --git a/Resources/Prototypes/_NF/Entities/Structures/hydro_tray.yml b/Resources/Prototypes/_NF/Entities/Structures/hydro_tray.yml new file mode 100644 index 00000000000..e68159593f0 --- /dev/null +++ b/Resources/Prototypes/_NF/Entities/Structures/hydro_tray.yml @@ -0,0 +1,81 @@ +- type: entity + name: hydroponics tray + parent: [ hydroponicsSoil ] + id: hydroponicsTrayAnchored + suffix: anchored + description: An anchored 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: Sprite + layers: + - sprite: _NF/Structures/Hydroponics/containers.rsi + state: hydrotrayanchored + - 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: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 100 + behaviors: + - !type:ChangeConstructionNodeBehavior + node: machineFrame + - !type:DoActsBehavior + acts: ["Destruction"] + - type: AmbientSound + volume: -9 + range: 5 + sound: + path: /Audio/Ambience/Objects/flowing_water_open.ogg diff --git a/Resources/Textures/_NF/Structures/Hydroponics/containers.rsi/hydrotrayanchored.png b/Resources/Textures/_NF/Structures/Hydroponics/containers.rsi/hydrotrayanchored.png new file mode 100644 index 00000000000..b8c1fa32075 Binary files /dev/null and b/Resources/Textures/_NF/Structures/Hydroponics/containers.rsi/hydrotrayanchored.png differ diff --git a/Resources/Textures/_NF/Structures/Hydroponics/containers.rsi/meta.json b/Resources/Textures/_NF/Structures/Hydroponics/containers.rsi/meta.json new file mode 100644 index 00000000000..6b250e3e535 --- /dev/null +++ b/Resources/Textures/_NF/Structures/Hydroponics/containers.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "gentlejester-148196053781315584", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "hydrotrayanchored" + } + ] +}