]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Dehydrated cube box overhaul (#23685)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Mon, 8 Jan 2024 06:27:40 +0000 (17:27 +1100)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2024 06:27:40 +0000 (23:27 -0700)
* add

* yes

* fix

Resources/Prototypes/Catalog/Cargo/cargo_livestock.yml
Resources/Prototypes/Catalog/Fills/Lockers/service.yml
Resources/Prototypes/Catalog/VendingMachines/Inventories/chefvend.yml
Resources/Prototypes/Entities/Objects/Misc/monkeycube.yml
Resources/Textures/Objects/Misc/monkeycube.rsi/box_kobold.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/monkeycube.rsi/box_variant.png [new file with mode: 0644]
Resources/Textures/Objects/Misc/monkeycube.rsi/meta.json
Resources/Textures/Objects/Misc/monkeycube.rsi/wrapper_kobold.png [new file with mode: 0644]
Resources/migration.yml

index eb5d5cd76e37650dfa44c67b94297314dedc26cb..6ef0ab4e211af65a8b5d19309d094f3a2252f948 100644 (file)
 - type: cargoProduct
   id: LivestockMonkeyCube
   icon:
-    sprite: Mobs/Animals/monkey.rsi
-    state: monkey
+    sprite: Objects/Misc/monkeycube.rsi
+    state: box
   product: CrateNPCMonkeyCube
   cost: 2000
   category: Livestock
 - type: cargoProduct
   id: LivestockKoboldCube
   icon:
-    sprite: Mobs/Animals/kobold.rsi
-    state: kobold
+    sprite: Objects/Misc/monkeycube.rsi
+    state: box_kobold
   product: CrateNPCKoboldCube
   cost: 2000
   category: Livestock
index f31e2ff071c54d1564d89f2cd6e5720d540a62b6..ddb77102674808cb3a4f1317fa5972facc62177b 100644 (file)
@@ -33,7 +33,7 @@
   - type: StorageFill
     contents:
       - id: CrowbarRed
-      - id: MonkeyCubeBox
+      - id: VariantCubeBox
       - id: BoxMousetrap
         amount: 2
       - id: SprayBottleWater
index f76b640ec75c921670f0b99e5fc89a1836e8b8f5..c662ef5adc262f0aecb7d62bfd9679fb601ede61 100644 (file)
@@ -12,7 +12,7 @@
     FoodCondimentBottleBBQ: 1
     FoodCondimentBottleVinegar: 2
     ReagentContainerOliveoil: 2
-    MonkeyCubeBox: 1
+    VariantCubeBox: 1
     FoodContainerEgg: 1
     DrinkMilkCarton: 2
     DrinkSoyMilkCarton: 1
index acb04c2234b7996c06feebda07fc9025c4893d62..1490af88ca859773ab0a5f01608e99c823c63558 100644 (file)
@@ -8,6 +8,9 @@
     contents:
       - id: MonkeyCubeWrapped
         amount: 6
+  - type: Storage
+    grid:
+    - 0,0,2,1
   - type: Sprite
     sprite: Objects/Misc/monkeycube.rsi
     state: box
@@ -34,7 +37,7 @@
     - MonkeyCube
 
 - type: entity
-  parent: BoxCardboard
+  parent: MonkeyCubeBox
   name: kobold cube box
   id: KoboldCubeBox
   description: Condensed kobolds in a cube. Just add water!
         amount: 6
   - type: Sprite
     sprite: Objects/Misc/monkeycube.rsi
-    state: box
+    state: box_kobold
 
 - type: entity
-  parent: BaseItem
+  parent: MonkeyCubeBox
+  name: variant cube box
+  id: VariantCubeBox
+  description: Both kobold cubes and monkey cubes. Just add water!
+  components:
+  - type: StorageFill
+    contents:
+      - id: KoboldCubeWrapped
+        amount: 3
+      - id: MonkeyCubeWrapped
+        amount: 3
+  - type: Sprite
+    sprite: Objects/Misc/monkeycube.rsi
+    state: box_variant
+
+- type: entity
+  parent: MonkeyCubeWrapped
   name: kobold cube
   suffix: Wrapped
   id: KoboldCubeWrapped
   description: Unwrap this to get a kobold cube.
   components:
-  - type: Item
-    size: Tiny
   - type: SpawnItemsOnUse
     items:
       - id: KoboldCube
       path: /Audio/Effects/unwrap.ogg
   - type: Sprite
     sprite: Objects/Misc/monkeycube.rsi
-    state: wrapper
-  - type: Tag
-    tags:
-    - MonkeyCube
+    state: wrapper_kobold
 
 - type: entity
-  parent: BoxCardboard
+  parent: MonkeyCubeBox
   name: monkey cube box
   suffix: Syndicate
   id: SyndicateSpongeBox
     state: box
 
 - type: entity
-  parent: BaseItem
+  parent: MonkeyCubeWrapped
   name: monkey cube
   suffix: Wrapped, Syndicate
   id: SyndicateSpongeWrapped
diff --git a/Resources/Textures/Objects/Misc/monkeycube.rsi/box_kobold.png b/Resources/Textures/Objects/Misc/monkeycube.rsi/box_kobold.png
new file mode 100644 (file)
index 0000000..94f5f80
Binary files /dev/null and b/Resources/Textures/Objects/Misc/monkeycube.rsi/box_kobold.png differ
diff --git a/Resources/Textures/Objects/Misc/monkeycube.rsi/box_variant.png b/Resources/Textures/Objects/Misc/monkeycube.rsi/box_variant.png
new file mode 100644 (file)
index 0000000..ae9830f
Binary files /dev/null and b/Resources/Textures/Objects/Misc/monkeycube.rsi/box_variant.png differ
index e990b48b2f8d02403fb663f57c691b8c35b2f740..8520a51e1bbba7848a7f7175b8139415cf3c7125 100644 (file)
@@ -1,7 +1,7 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/9c980cb9bc84d07b1c210c5447798af525185f80/icons/obj/food.dmi",
+  "copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/raw/9c980cb9bc84d07b1c210c5447798af525185f80/icons/obj/food.dmi. box_kobold, box_variant and wrapper_kobold are edited versions of the raw sprites by Ubaser.",
   "size": {
     "x": 32,
     "y": 32
     {
       "name": "box"
     },
+    {
+      "name": "box_kobold"
+    },
+    {
+      "name": "box_variant"
+    },
     {
       "name": "cube"
     },
     {
       "name": "wrapper"
+    },
+    {
+      "name": "wrapper_kobold"
     }
   ]
 }
diff --git a/Resources/Textures/Objects/Misc/monkeycube.rsi/wrapper_kobold.png b/Resources/Textures/Objects/Misc/monkeycube.rsi/wrapper_kobold.png
new file mode 100644 (file)
index 0000000..06b3ece
Binary files /dev/null and b/Resources/Textures/Objects/Misc/monkeycube.rsi/wrapper_kobold.png differ
index d54dbd6eab41435eccd399e0d7efe55a39bf113a..8de131d87b624cf801ca19a10d279bf53a3ff111 100644 (file)
@@ -127,3 +127,7 @@ SpawnPointAssistant: SpawnPointPassenger
 # 2024-01-05
 DrinkGoldschlagerBottleFull: DrinkGildlagerBottleFull
 DrinkGoldschlagerGlass: DrinkGildlagerGlass
+
+# 2024-01-07
+MonkeyCubeBox: VariantCubeBox
+