]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
pizza and pizza box tweaks (#31171)
authorlzk <124214523+lzk228@users.noreply.github.com>
Sun, 18 Aug 2024 21:55:41 +0000 (23:55 +0200)
committerGitHub <noreply@github.com>
Sun, 18 Aug 2024 21:55:41 +0000 (15:55 -0600)
Resources/Prototypes/Catalog/Fills/Crates/food.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/pizza.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/box.yml

index 2e750ed45008216c7e1a5ebc1ac06e8f9f310e10..527c2595dd95d3a90dffc86785aed70c82f08aab 100644 (file)
@@ -8,7 +8,6 @@
     contents:
     - id: FoodBoxPizzaFilled
       amount: 4
-    - id: KnifePlastic
     - id: LidSalami
       prob: 0.01
 
@@ -22,8 +21,6 @@
     contents:
     - id: FoodBoxPizzaFilled
       amount: 16
-    - id: KnifePlastic
-      amount: 4
     - id: LidSalami
       prob: 0.04
 
index 20b03fcb67a61865e12f9e15033e9ce66932b20f..652c60722d99f9754a9c1006005de95417b94b72 100644 (file)
@@ -26,6 +26,8 @@
     count: 8
   - type: Item
     size: Normal
+    shape:
+    - 0,0,2,1
   - type: Tag
     tags:
     - Pizza
index 9890023c3b842fa8c40ed8ea00fbacee6abc4655..66189b1dd3621c6618d57417929bd87ce46ab386 100644 (file)
   # TODO make these entitystorage again + placeablesurface after entity storage ECS gets merged.
   - type: Storage
     grid:
-    - 0,0,1,1
+    - 0,0,3,1
     maxItemSize: Normal
+    whitelist:
+      components:
+      - Utensil
+      tags:
+      - Pizza
   - type: Item
     sprite: Objects/Consumable/Food/Baked/pizza.rsi
     heldPrefix: box
     shape:
-    - 0,0,1,1
+    - 0,0,2,1
   - type: Appearance
   - type: EntityStorageVisuals
     stateDoorOpen: box-open
     - id: FoodPizzaDonkpocket
       prob: 0.10
       orGroup: Pizza
+    - id: KnifePlastic
 
 # Nugget