]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add a guaranteed cotton pizza to pizza crates (#33997)
authorSolStar <44028047+ewokswagger@users.noreply.github.com>
Sun, 29 Dec 2024 01:50:49 +0000 (20:50 -0500)
committerGitHub <noreply@github.com>
Sun, 29 Dec 2024 01:50:49 +0000 (02:50 +0100)
* add guaranteed cotton pizza to pizza crates

* saner parenting

* Use clearer suffix on cotton pizza box

Resources/Prototypes/Catalog/Fills/Crates/food.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml

index e43d918bb9cce34704d182934edb1b00ecf1fbe7..cbce467cf71a1794fd417406505e46e263a7a7d3 100644 (file)
@@ -7,7 +7,8 @@
   - type: StorageFill
     contents:
     - id: FoodBoxPizzaFilled
-      amount: 4
+      amount: 3
+    - id: FoodBoxPizzaCotton
     - id: LidSalami
       prob: 0.01
 
@@ -20,7 +21,8 @@
   - type: StorageFill
     contents:
     - id: FoodBoxPizzaFilled
-      amount: 16
+      amount: 15
+    - id: FoodBoxPizzaCotton
     - id: LidSalami
       prob: 0.04
 
index 69621aa944309c248386dbf7a5e2bfddf97690de..f613cddaafd82c8c006f7d902c8591689a08184e 100644 (file)
       prob: 0.10
       orGroup: Pizza
     - id: KnifePlastic
+  
+- type: entity
+  name: pizza box
+  parent: FoodBoxPizzaFilled
+  id: FoodBoxPizzaCotton
+  suffix: Cotton Pizza
+  components:
+  - type: StorageFill
+    contents:
+    - id: FoodPizzaCotton
+    - id: KnifePlastic
 
 # Nugget