]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Hydroponic trays can now be bought (#36630)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Wed, 16 Apr 2025 23:51:00 +0000 (01:51 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Apr 2025 23:51:00 +0000 (16:51 -0700)
Resources/Prototypes/Catalog/Cargo/cargo_botany.yml
Resources/Prototypes/Catalog/Fills/Crates/botany.yml
Resources/Prototypes/Entities/Objects/Devices/flatpack.yml
Resources/Textures/Objects/Devices/flatpack.rsi/hydroponics-tray.png [new file with mode: 0644]
Resources/Textures/Objects/Devices/flatpack.rsi/meta.json

index 0a24240e7d00921437de345067dcc01482ee7443..c1ef2f1a3f6717d9cc709cfa83452fe13a2a5786 100644 (file)
   cost: 750
   category: cargoproduct-category-name-hydroponics
   group: market
+
+- type: cargoProduct
+  id: HydroponicsTray
+  icon:
+    sprite: Structures/Hydroponics/containers.rsi
+    state: hydrotray3
+  product: CrateHydroponicsTray
+  cost: 750
+  category: cargoproduct-category-name-hydroponics
+  group: market
index 11ee1eaefaf25c150c3e858fab298008a10da8de..850b69294e7ec7d0ec1b3fab02f844574487e2a9 100644 (file)
       - id: WatermelonSeeds
       - id: PeaSeeds
       - id: CherrySeeds
+
+- type: entity
+  id: CrateHydroponicsTray
+  parent: CrateHydroponics
+  name: hydroponics tray crate
+  description: Contains a hydroponics tray flatpack.
+  components:
+  - type: StorageFill
+    contents:
+    - id: HydroponicsTrayFlatpack
index fa23947c5ce857344990dddfb400cbd6243fc8af..fe15d88942b1637d04cb37db582c6904c888b73c 100644 (file)
   components:
   - type: Flatpack
     entity: ComputerCrewMonitoring
+
+- type: entity
+  parent: BaseFlatpack
+  id: HydroponicsTrayFlatpack
+  name: hydroponics tray flatpack
+  description: A flatpack used for constructing a hydroponics tray.
+  components:
+  - type: Flatpack
+    entity: hydroponicsTray
+  - type: Sprite
+    layers:
+    - state: hydroponics-tray
+  - type: GuideHelp
+    guides:
+    - Botany
+    - Chemicals
diff --git a/Resources/Textures/Objects/Devices/flatpack.rsi/hydroponics-tray.png b/Resources/Textures/Objects/Devices/flatpack.rsi/hydroponics-tray.png
new file mode 100644 (file)
index 0000000..9aad592
Binary files /dev/null and b/Resources/Textures/Objects/Devices/flatpack.rsi/hydroponics-tray.png differ
index 947aca7a33d443c924cd0bf7d28d395e72315a9a..ac1e6be15122e223d907710f8e05589e646125cd 100644 (file)
@@ -1,7 +1,7 @@
 {
     "version": 1,
     "license": "CC0-1.0",
-    "copyright": "Created by EmoGarbage404 (github) for SS14, solar-assembly-part taken from tgstation and modified at https://tgstation13.org/wiki/Guide_to_construction#Solar_Panels_and_Trackers, ame-part taken from vgstation at https://github.com/vgstation-coders/vgstation13/commit/1b7952787c06c21ef1623e494dcfe7cb1f46e041; singularity-generator, tesla-generator, radiation-collector, containment-field-generator, tesla-coil, grounding-rod inner icons made by lzk228; emitter made by pigeonpeas. fax-machine made by moomoobeef, modified by ps3moira",
+    "copyright": "Created by EmoGarbage404 (github) for SS14, solar-assembly-part taken from tgstation and modified at https://tgstation13.org/wiki/Guide_to_construction#Solar_Panels_and_Trackers, ame-part taken from vgstation at https://github.com/vgstation-coders/vgstation13/commit/1b7952787c06c21ef1623e494dcfe7cb1f46e041; singularity-generator, tesla-generator, radiation-collector, containment-field-generator, tesla-coil, grounding-rod inner icons made by lzk228; emitter made by pigeonpeas. fax-machine made by moomoobeef, modified by ps3moira. hydroponics-tray modified by ScarKy0 (Github).",
     "size": {
         "x": 32,
         "y": 32
@@ -45,6 +45,9 @@
         },
         {
             "name": "fax-machine"
+        },
+        {
+            "name": "hydroponics-tray"
         }
     ]
 }