]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
made cup ramen eatable with anything with the fork component (#27826)
authorRedfire1331 <125223432+Redfire1331@users.noreply.github.com>
Thu, 20 Jun 2024 12:34:46 +0000 (08:34 -0400)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 12:34:46 +0000 (22:34 +1000)
* made cup ramen eatable with anything with the fork component

* removed extra png

* made cupramen fillable with water, and made hot ramen dry ramen.

---------

Co-authored-by: redfire1331 <Redfire1331@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/snacks.yml
Resources/Textures/Objects/Consumable/Drinks/ramen.rsi/meta.json [deleted file]
Resources/Textures/Objects/Consumable/Food/snacks.rsi/meta.json
Resources/Textures/Objects/Consumable/Food/snacks.rsi/ramen.png [moved from Resources/Textures/Objects/Consumable/Drinks/ramen.rsi/icon.png with 100% similarity]

index 42814f7fd87c0d44eda0f3a4cdc555d44d691a66..5c55f9ff17d9e8c4f30b2ccc763cf20d7f195951 100644 (file)
   - type: Sprite
     sprite: Objects/Consumable/Drinks/shake-white.rsi
 
-- type: entity
-  parent: DrinkGlassBase
-  id: DrinkRamen
-  name: cup ramen
-  description: Just add 10ml boiling water. A taste that reminds you of your school years.
-  components:
-  - type: SolutionContainerManager
-    solutions:
-      drink:
-        maxVol: 40 #big cup
-        reagents:
-        - ReagentId: DryRamen
-          Quantity: 25
-        - ReagentId: Soysauce
-          Quantity: 5
-  - type: Sprite
-    sprite: Objects/Consumable/Drinks/ramen.rsi
-  - type: Tag
-    tags:
-    - Trash
-  - type: SpaceGarbage
-
-- type: entity
-  parent: DrinkRamen
-  id: DrinkHellRamen
-  name: hell ramen
-  description: Just add 10ml boiling water. Super spicy flavor.
-  components:
-  - type: SolutionContainerManager
-    solutions:
-      drink:
-        maxVol: 40
-        reagents:
-        - ReagentId: DryRamen
-          Quantity: 25
-        - ReagentId: CapsaicinOil
-          Quantity: 5
-
 - type: entity
   parent: DrinkGlass
   id: DrinkBloodGlass
index 223ac6376cab074aac3923aa2a8549841f423dc1..d620dbda6f4af695ba48b266aa42f7d75d904e84 100644 (file)
   - type: Food
     trash: FoodPacketSyndiTrash
 
+- type: entity
+  parent: FoodSnackBase
+  id: DrinkRamen
+  name: cup ramen
+  description: A cheap food with a taste that reminds you of your school years.
+  components:
+  - type: RefillableSolution
+    solution: food
+  - type: InjectableSolution
+    solution: food
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 50 #big cup
+        reagents:
+        - ReagentId: DryRamen
+          Quantity: 30
+        - ReagentId: Soysauce
+          Quantity: 5
+  - type: Sprite
+    state: ramen
+  - type: Food
+    trash: FoodPacketCupRamenTrash
+
+- type: entity
+  parent: DrinkRamen
+  id: DrinkHellRamen
+  name: hell ramen
+  description: Super spicy flavor!
+  components:
+  - type: SolutionContainerManager
+    solutions:
+      food:
+        maxVol: 50
+        reagents:
+        - ReagentId: DryRamen
+          Quantity: 30
+        - ReagentId: CapsaicinOil
+          Quantity: 5
+
 - type: entity
   name: chow mein
   parent: FoodSnackBase
   - type: Sprite
     state: syndicakes-trash
 
+- type: entity
+  noSpawn: true
+  parent: FoodPacketTrash
+  id: FoodPacketCupRamenTrash
+  name: empty cup ramen
+  components:
+  - type: Sprite
+    state: ramen
+
 - type: entity
   noSpawn: true
   parent: FoodPacketTrash
diff --git a/Resources/Textures/Objects/Consumable/Drinks/ramen.rsi/meta.json b/Resources/Textures/Objects/Consumable/Drinks/ramen.rsi/meta.json
deleted file mode 100644 (file)
index db0ac60..0000000
+++ /dev/null
@@ -1 +0,0 @@
-{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi", "states": [{"name": "icon"}]}
\ No newline at end of file
index 6f699103840ac07027bc5da88dd14741ed480277..4ff3230cae76b0fd13e0ce0e0024620d4d2b321a 100644 (file)
@@ -1,12 +1,15 @@
 {
   "version": 1,
   "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24, chinese from paradise, ticket by peptide, cnds-trash based on boritos-trash and syndicakes modified by potato1234x",
+  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24, chinese from paradise, ticket by peptide, cnds-trash based on boritos-trash and syndicakes modified by potato1234x, ramen from https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi",
   "size": {
     "x": 32,
     "y": 32
   },
   "states": [
+    {
+      "name": "ramen"
+    },
     {
       "name": "boritos"
     },