]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Basic Resources Crate (#36419)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Wed, 16 Apr 2025 19:20:36 +0000 (21:20 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Apr 2025 19:20:36 +0000 (15:20 -0400)
* init

* 1660

* I never webedit

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
Resources/Prototypes/Catalog/Cargo/cargo_materials.yml
Resources/Prototypes/Catalog/Fills/Crates/materials.yml
Resources/Textures/Objects/Materials/Sheets/other.rsi/generic_materials.png [new file with mode: 0644]
Resources/Textures/Objects/Materials/Sheets/other.rsi/meta.json

index 33582fea94ba7d9da5d60c7b97c80e9ff0f2c4e3..097a11185bea97a2d8ac8dc74cdcfc5be190702e 100644 (file)
   category: cargoproduct-category-name-materials
   group: market
 
+- type: cargoProduct
+  id: MaterialBasic
+  icon:
+    sprite: Objects/Materials/Sheets/other.rsi
+    state: generic_materials
+  product: CrateMaterialBasicResource
+  cost: 1660
+  category: cargoproduct-category-name-materials
+  group: market
+
 - type: cargoProduct
   id: MaterialFuelTank
   icon:
index 3934812ae4e26ee5d3ebde938d88c777bc07dd46..f6eb9a17af7e3521ada8f2fb12297ce597b8aaf7 100644 (file)
           # for some reason, the selector here adds 1 to whatever value it generates,
           # so this is actually 2-4
 
+- type: entity
+  id: CrateMaterialBasicResource
+  parent: CrateGenericSteel
+  name: basic sheet crate
+  description: 30 sheets of steel, glass, and plastic.
+  components:
+  - type: StorageFill
+    contents:
+    - id: SheetSteel
+    - id: SheetGlass
+    - id: SheetPlastic
+
 #- type: entity
 #  id: CrateMaterialHFuelTank
 #  name: fueltank crate
diff --git a/Resources/Textures/Objects/Materials/Sheets/other.rsi/generic_materials.png b/Resources/Textures/Objects/Materials/Sheets/other.rsi/generic_materials.png
new file mode 100644 (file)
index 0000000..f0883c3
Binary files /dev/null and b/Resources/Textures/Objects/Materials/Sheets/other.rsi/generic_materials.png differ
index 6cd21aae79afe196205d7b6820a2aea4c9bd2aa2..68dae7e1fe606837b5d20e04a5ee03afaff1f7c9 100644 (file)
@@ -85,6 +85,9 @@
     {
       "name": "uranium-inhand-right",
       "directions": 4
+    },
+    {
+      "name": "generic_materials"
     }
   ]
 }