]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds slices for banana cream pie and mime tart (#21043)
authorVelcroboy <107660393+IamVelcroboy@users.noreply.github.com>
Sun, 19 Nov 2023 20:15:02 +0000 (14:15 -0600)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2023 20:15:02 +0000 (12:15 -0800)
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/pie.yml
Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/bananapie-slice.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/meta.json
Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mimetart-slice.png [new file with mode: 0644]

index 4ec0434f0e973193a16ac46d453c2143405983c2..5d2a304f87dd275d706cdb16c4708fd13764dd4b 100644 (file)
@@ -66,9 +66,9 @@
     slice: FoodPieAppleSlice
   - type: Tag
     tags:
-    - Fruit 
-    - Pie 
-  
+    - Fruit
+    - Pie
+
 - type: entity
   name: slice of apple pie
   parent: FoodPieSliceBase
@@ -85,7 +85,7 @@
       color: orange
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 # Tastes like pie, apple.
 
           path: /Audio/Weapons/Guns/Empty/empty.ogg
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
+  - type: SliceableFood
+    slice: FoodPieBananaCreamSlice
+
+- type: entity
+  name: slice of banana cream pie
+  parent: FoodPieSliceBase
+  id: FoodPieBananaCreamSlice
+  description: Just like back home, on clown planet! HONK!
+  components:
+  - type: FlavorProfile
+    flavors:
+      - sweet
+      - banana
+      - creamy
+  - type: Sprite
+    state: bananapie-slice
 # Tastes like pie, cream, banana.
 
 - type: entity
     slice: FoodPieClafoutisSlice
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 
 - type: entity
       color: pink
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 # Tastes like pie, blackberries.
 
     slice: FoodPieCherrySlice
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 
 - type: entity
       color: red
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 # Tastes like pie, cherries.
 
       color: blue
 # Tastes like pie, mint.
 
+- type: entity
+  name: mime tart
+  parent: FoodPieBase
+  id: FoodTartMime
+  description: "\"      \""
+  components:
+  - type: FlavorProfile
+    flavors:
+      - nothing
+  - type: Sprite
+    state: mime
+  - type: Item
+    heldPrefix: mime
+  - type: SliceableFood
+    slice: FoodTartMimeSlice
+
+- type: entity
+  name: slice of mime tart
+  parent: FoodPieSliceBase
+  id: FoodTartMimeSlice
+  components:
+  - type: FlavorProfile
+    flavors:
+      - nothing
+  - type: Sprite
+    layers:
+    - state: mimetart-slice
+  - type: Item
+    heldPrefix: mime
+# Tastes like nothing.
+
 # No Slice
 
 - type: entity
     state: grape
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 # Tastes like tart, grape.
 
-- type: entity
-  name: mime tart
-  parent: FoodPieBase
-  id: FoodTartMime
-  description: "\"      \""
-  components:
-  - type: FlavorProfile
-    flavors:
-      - nothing
-  - type: Sprite
-    state: mime
-# Tastes like nothing.
-
 - type: entity
   name: golden apple streusel tart
   parent: FoodPieBase
     state: gapple
   - type: Tag
     tags:
-    - Fruit 
+    - Fruit
     - Pie
 # Tastes like tart, apple, expensive metal.
 
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/bananapie-slice.png b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/bananapie-slice.png
new file mode 100644 (file)
index 0000000..9f04775
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/bananapie-slice.png differ
index 3d0e47f87056756c2450e580a7d286b05312f467..ced8d583736c3a9f644463dd625cc304974e9087 100644 (file)
 {
-  "version": 1,
-  "license": "CC-BY-SA-3.0",
-  "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
-  "size": {
-    "x": 32,
-    "y": 32
-  },
-  "states": [
-    {
-      "name": "alpha-slice-filling"
-    },
-    {
-      "name": "alpha-tart"
-    },
-    {
-      "name": "amanita"
-    },
-    {
-      "name": "apple"
-    },
-    {
-      "name": "baklava"
-    },
-    {
-      "name": "baklava-slice"
-    },
-    {
-      "name": "berryclafoutis"
-    },
-    {
-      "name": "cherry"
-    },
-    {
-      "name": "cocolava"
-    },
-    {
-      "name": "frosty"
-    },
-    {
-      "name": "gapple"
-    },
-    {
-      "name": "grape"
-    },
-    {
-      "name": "happy"
-    },
-    {
-      "name": "meat"
-    },
-    {
-      "name": "mime"
-    },
-    {
-      "name": "inhand-right",
-      "directions": 4
-    },
-    {
-      "name": "inhand-left",
-      "directions": 4
-    },
-    {
-      "name": "plain"
-    },
-    {
-      "name": "plain-slice"
-    },
-    {
-      "name": "plate"
-    },
-    {
-      "name": "plate-slice-shading"
-    },
-    {
-      "name": "plate-small"
-    },
-    {
-      "name": "plate-tart"
-    },
-    {
-      "name": "plump"
-    },
-    {
-      "name": "tin"
-    },
-    {
-      "name": "whippedcream"
-    },
-    {
-      "name": "xeno"
-    }
-  ]
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24, mime tart slice and banana cream pie slice from rosysyntax under under CC BY-SA 4.0",
+    "size": {
+        "x": 32,
+        "y": 32
+    },
+    "states": [
+        {
+            "name": "alpha-slice-filling"
+        },
+        {
+            "name": "alpha-tart"
+        },
+        {
+            "name": "amanita"
+        },
+        {
+            "name": "apple"
+        },
+        {
+            "name": "baklava"
+        },
+        {
+            "name": "baklava-slice"
+        },
+        {
+            "name": "bananapie-slice"
+        },
+        {
+            "name": "berryclafoutis"
+        },
+        {
+            "name": "cherry"
+        },
+        {
+            "name": "cocolava"
+        },
+        {
+            "name": "frosty"
+        },
+        {
+            "name": "gapple"
+        },
+        {
+            "name": "grape"
+        },
+        {
+            "name": "happy"
+        },
+        {
+            "name": "meat"
+        },
+        {
+            "name": "mime"
+        },
+        {
+            "name": "mimetart-slice"
+        },
+        {
+            "name": "mime-inhand-right",
+            "directions": 4
+        },
+        {
+            "name": "mime-inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "inhand-right",
+            "directions": 4
+        },
+        {
+            "name": "inhand-left",
+            "directions": 4
+        },
+        {
+            "name": "plain"
+        },
+        {
+            "name": "plain-slice"
+        },
+        {
+            "name": "plate"
+        },
+        {
+            "name": "plate-slice-shading"
+        },
+        {
+            "name": "plate-small"
+        },
+        {
+            "name": "plate-tart"
+        },
+        {
+            "name": "plump"
+        },
+        {
+            "name": "tin"
+        },
+        {
+            "name": "whippedcream"
+        },
+        {
+            "name": "xeno"
+        }
+    ]
 }
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-left.png b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-left.png
new file mode 100644 (file)
index 0000000..9303612
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-left.png differ
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-right.png b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-right.png
new file mode 100644 (file)
index 0000000..8e8307b
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mime-inhand-right.png differ
diff --git a/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mimetart-slice.png b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mimetart-slice.png
new file mode 100644 (file)
index 0000000..3f64bd6
Binary files /dev/null and b/Resources/Textures/Objects/Consumable/Food/Baked/pie.rsi/mimetart-slice.png differ