]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Changed produce spills into dynamic from hardcoded. (#19980)
authordrteaspoon420 <87363733+drteaspoon420@users.noreply.github.com>
Mon, 11 Sep 2023 08:16:26 +0000 (11:16 +0300)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2023 08:16:26 +0000 (01:16 -0700)
Resources/Prototypes/Entities/Objects/Consumable/Food/egg.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/ingredients.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml
Resources/Prototypes/Hydroponics/seeds.yml

index 6a7af9d132a721485f3bfc169d7df1fe520f40c2..05cae79b166537e6b61965c645b96cac56ab3bf3 100644 (file)
       - !type:PlaySoundBehavior
         sound:
           collection: desecration
+      - !type:SpillBehavior
+        solution: food
       - !type:SpawnEntitiesBehavior
         spawn:
           Eggshells:
             min: 1
             max: 1
-          PuddleEgg:
-            min: 1
-            max: 2
           # Wow double-yolk you're so lucky!
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
index 4d636e146fef2f22ae67d01be81b264fa86599aa..22d5fbf14d09318bffcf76eaefa6a1ed152a439a 100644 (file)
       - !type:PlaySoundBehavior
         sound:
           collection: desecration
-      - !type:SpawnEntitiesBehavior
-        spawn:
-          PuddleFlour:
-            min: 1
-            max: 1
+      - !type:SpillBehavior
+        solution: food
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
   - type: TrashOnEmpty
       - !type:PlaySoundBehavior
         sound:
           collection: desecration
-      - !type:SpawnEntitiesBehavior
-        spawn:
-          PuddleFlour:
-            min: 1
-            max: 1
+      - !type:SpillBehavior
+        solution: food
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
 
index 3dbff391337252ed44278f438448b5450c81a471..bc0965008dfe03b29ec846f1ee4b86c355bfea6e 100644 (file)
         maxVol: 14
         reagents:
         - ReagentId: Nutriment
-          Quantity: 10
+          Quantity: 7
         - ReagentId: Vitamin
+          Quantity: 3
+        - ReagentId: Water
           Quantity: 4
   - type: Sprite
     sprite: Objects/Specific/Hydroponics/tomato.rsi
       - !type:PlaySoundBehavior
         sound:
           collection: desecration
-      - !type:SpawnEntitiesBehavior
-        spawn:
-          PuddleTomato:
-            min: 1
-            max: 1
+      - !type:SpillBehavior
+        solution: food
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
 
       - !type:PlaySoundBehavior
         sound:
           collection: desecration
-      - !type:SpawnEntitiesBehavior
-        spawn:
-          PuddleWatermelon:
-            min: 1
-            max: 1
+      - !type:SpillBehavior
+        solution: food
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
   - type: SliceableFood
index 8c8abe478d7c6aca9a07183b48b2619c1200765f..aa18088766eeadbe1541944372faa911fd92010f 100644 (file)
   chemicals:
     Nutriment:
       Min: 1
-      Max: 10
-      PotencyDivisor: 10
+      Max: 7
+      PotencyDivisor: 14
     Vitamin:
+      Min: 1
+      Max: 3
+      PotencyDivisor: 33
+    Water:
       Min: 1
       Max: 4
       PotencyDivisor: 25