Cooking simulator 3: Pies (#1540)
* enum -> prototype * move sprites * more dirt sprites * some food data stucking fixing * pumpkin fix * pie move sprites * refactor components * pie refactor * remove outdated proto * new pie types * Update SliceableFoodSystem.cs * Refactor food cooking system and add fat flavor Added 'Fat' to the flavor profile. Refactored food cooking logic to use CreateFoodData and UpdateFoodDataVisuals instead of CookFood and ApplyFoodVisuals. Introduced RenameCooker property to CP14FoodCookerComponent to control entity renaming during cooking. Improved separation of food data creation and visual updates. * Update migration.yml * Refactor food visual and sliceable logic in cooking system Moved sliceable food logic from OnCookFinished to UpdateFoodDataVisuals for better encapsulation. Made UpdateFoodDataVisuals overridable and updated its usage in random food initialization. Added Rename field to CP14RandomFoodDataComponent and cleaned up unused BecomeSliceable field in CP14FoodCookerComponent. Updated pie_pan.yml to add SliceableFood and a new random food entity. * Update pie_pan.yml * fill levels
|
Before Width: | Height: | Size: 483 B After Width: | Height: | Size: 483 B |
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 417 B |
|
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 289 B |
|
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 913 B |
|
Before Width: | Height: | Size: 911 B After Width: | Height: | Size: 911 B |
@@ -27,6 +27,9 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dirt"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 410 B |
|
After Width: | Height: | Size: 240 B |
@@ -7,6 +7,9 @@
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "dirt"
|
||||
},
|
||||
{
|
||||
"name": "wooden"
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
|
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 509 B |
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"copyright": "Created by Artista",
|
||||
"states": [
|
||||
{
|
||||
"name": "fruit"
|
||||
},
|
||||
{
|
||||
"name": "veg"
|
||||
},
|
||||
{
|
||||
"name": "meat"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 538 B |
|
After Width: | Height: | Size: 342 B |
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"copyright": "Created by TheShuEd",
|
||||
"states": [
|
||||
{
|
||||
"name": "blank"
|
||||
},
|
||||
{
|
||||
"name": "meat"
|
||||
},
|
||||
{
|
||||
"name": "pumpkin"
|
||||
},
|
||||
{
|
||||
"name": "trash"
|
||||
},
|
||||
{
|
||||
"name": "veg"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 258 B |
|
After Width: | Height: | Size: 428 B |
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "All right reserved",
|
||||
"copyright": "Created by Prazat",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "iron"
|
||||
},
|
||||
{
|
||||
"name": "raw-0"
|
||||
},
|
||||
{
|
||||
"name": "raw-1"
|
||||
},
|
||||
{
|
||||
"name": "raw-2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 96 B |
|
After Width: | Height: | Size: 276 B |
|
After Width: | Height: | Size: 306 B |
|
After Width: | Height: | Size: 233 B |
@@ -7,6 +7,9 @@
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "dirt"
|
||||
},
|
||||
{
|
||||
"name": "wooden"
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 452 B |
|
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 397 B |
|
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 297 B |
|
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
|
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
@@ -27,6 +27,9 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dirt"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
|
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 532 B |
|
Before Width: | Height: | Size: 536 B |
|
Before Width: | Height: | Size: 537 B |
|
Before Width: | Height: | Size: 472 B |
@@ -1,41 +0,0 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-4.0",
|
||||
"copyright": "Created by Artista, pumpkin by aeoli (discord), burnt_pie by nimfar11",
|
||||
"states": [
|
||||
{
|
||||
"name": "apple"
|
||||
},
|
||||
{
|
||||
"name": "apple_raw"
|
||||
},
|
||||
{
|
||||
"name": "fish"
|
||||
},
|
||||
{
|
||||
"name": "fisht_raw"
|
||||
},
|
||||
{
|
||||
"name": "meat"
|
||||
},
|
||||
{
|
||||
"name": "meat_raw"
|
||||
},
|
||||
{
|
||||
"name": "pumpkin"
|
||||
},
|
||||
{
|
||||
"name": "pumpkin_raw"
|
||||
},
|
||||
{
|
||||
"name": "burnt_pie"
|
||||
},
|
||||
{
|
||||
"name": "tin"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 430 B |
|
Before Width: | Height: | Size: 435 B |