Cooking Simulator (#1529)

* frying pan start

* fix data saving

* Refactor cooking system and add localization support

Refactored food data handling in the cooking system to use Visuals instead of FoodData on holders, improved food transfer logic, and added popups and examine messages for user feedback. Added English and Russian localization files for cooking examine and meal descriptions, and updated prototype files to increase plate solution volume and add a whitelist for the cooking furnace.

* Refactor cooking system solution handling

Removed Solution field from CP14FoodData and updated CP14SharedCookingSystem to use solution containers directly. Improved solution transfer, mixing, and overflow handling during cooking. Increased pan max volume from 30 to 100 in cooking_furnace.yml.

* Improve cooking system trash handling and update food sprites

Enhanced trash distribution in CP14SharedCookingSystem to randomly assign trash to plates, only adding all trash to the last plate. Updated meat_dish and salad prototypes to use new wooden plate sprites. Added wideAnimationRotation and DrainableSolution to cooking_furnace for improved functionality.

* Remove unused usings and redundant comments in cooking components

Cleaned up CP14 cooking-related components by removing unused using directives and empty XML comments. This improves code readability and maintainability.

* Add tag-based cooking requirements and new meal recipes

Introduces tag-based cooking requirement classes (TagRequired, TagBlocked, SolutionRequired) and updates the cooking system to support tag checks. Adds new tags for food items, updates food and meal prototypes to include relevant tags, and implements new meal recipes (Zellasian Breakfast, Monster Egg) with corresponding sprites and localization. Also refactors and renames some tag and structure prototype files for better organization.

* Refactor and expand CP14 cooking recipes and tags

Reworked meal recipes to use tag-based requirements, added new tags for food categorization (meat, cheese, vegetables, etc.), and removed hardcoded entity recipes for ham in cheese and stuffed potato. Updated and added new meal recipes (bread plate, ham in cheese, stuffed potato), localized their names and descriptions, and migrated/added corresponding sprites. Deprecated SolutionRequired requirement, cleaned up unused tags, and improved TagRequired/TagBlocked logic. Updated prototype files to use new tags and added missing tags to food entities.

* Refactor and expand green salad recipes and assets

Replaces the old green salad entity and workbench recipe with new cooking recipes for green salad and green salad with meat. Updates English and Russian localization, moves and adds new salad textures, and removes obsolete salad assets and trading request.

* mashed potatoes

* Add mashed potatoes with herbs meal

Introduced a new 'mashed potatoes with herbs' meal, including English and Russian localization, recipe definition, and associated sprite. Updated the texture metadata and added the new image asset.

* Update dye.yml

* Fix frying pan item size and update plate recipe

Moved the 'size: Ginormous' property to the correct component in frying_pen.yml. Renamed the plate recipe and result from 'CP14Plate' to 'CP14PlateWooden' in misc.yml for clarity.

* Update meals.yml

* Update migration.yml

* fixes

* fix heating food sounds

* Nyranu temperature transmission

* Update plate.yml

* Cooking DoAfter works

* burning logic

* cooking more work

* auto transform transformable

* Update CP14SharedCookingSystem.DoAfter.cs

* cool burning visuals!

* Add MIT license headers to cooking system files

Added sublicensing notice and MIT license header to all files in the CP14 cooking system. Also made minor code cleanups, such as removing unnecessary default initializations and improving XML documentation for clarity.

* constant heating required

* cooking visuals improve!

* sandwiches with processed cheese + reagent burnt fuckuping

* inhand pan sprites + FIRE fuckup

* crafting & buying pan

* fix predicting

* random food spawner + chef closet

* mapping update

* Update frying_pen.yml

* move WIP to blacksmith lol
This commit is contained in:
Red
2025-07-16 08:15:08 +03:00
committed by GitHub
parent 60d9f4ee3b
commit 7bb7ea2183
95 changed files with 2437 additions and 548 deletions

View File

@@ -4,6 +4,7 @@
id: ProteinCooking
impact: Low
minTemp: 347
sound: null #CP14
reactants:
UncookedAnimalProteins:
amount: 0.5

View File

@@ -85,7 +85,6 @@
- id: CP14IronBar10
- id: CP14PaperFolderRed
- id: CP14PenFeather
amount: 1
- type: entity
parent: CP14WoodenCloset
@@ -100,3 +99,21 @@
- id: CP14StampApproved
- id: CP14PaperFolderBlue
- id: CP14ArmorIronChainmailPresets
- type: entity
parent: CP14WoodenCloset
id: CP14WoodenClosetChefFilled
suffix: Chef, Filled
components:
- type: StorageFill
contents:
- id: CP14Fork
amount: 4
- id: CP14Spoon
amount: 4
- id: CP14FryingPan
amount: 2
- id: CP14ModularIronDagger
- id: CP14SackFarmingSeed
- id: CP14PlateWooden
amount: 4

View File

@@ -18,11 +18,11 @@
spawns:
- CP14ImpactEffectHeat
- !type:CP14AdjustAllSolutionThermalEnergy
delta: 3600 # One full use heats 100u from ~300k to ~650k
delta: 2500
- !type:CP14SpellApplyEntityEffect
effects:
- !type:AdjustTemperature
amount: 36000
amount: 20000
- !type:ExtinguishReaction
- type: CP14MagicEffectVerbalAspect
startSpeech: "Vos adepto calidum..."

View File

@@ -0,0 +1,87 @@
- type: entity
id: CP14PlateBase
parent: BaseItem
description: This is your plate for a delicious meal!
categories: [ ForkFiltered ]
abstract: true
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/Meals/plates.rsi
- type: Item
shape:
- 0,0,1,0
- type: Tag
tags:
- CP14Plate
- type: SolutionContainerManager
solutions:
food:
maxVol: 20
- type: CP14FoodHolder
foodType: Meal
solutionId: food
- type: Food
- type: entity
id: CP14PlateWooden
parent: CP14PlateBase
name: wooden plate
components:
- type: Sprite
layers:
- state: wooden
- map: ["cp14_foodLayers"]
- type: PhysicalComposition
materialComposition:
CP14WoodenPlanks: 20
- type: Food
trash:
- CP14PlateWooden
- type: entity
id: CP14PlateIron
parent: CP14PlateBase
name: iron plate
components:
- type: Sprite
layers:
- state: iron
- map: ["cp14_foodLayers"]
- type: PhysicalComposition
materialComposition:
CP14Iron: 10
- type: Food
trash:
- CP14PlateIron
- type: entity
id: CP14PlateGold
parent: CP14PlateBase
name: gold plate
components:
- type: Sprite
layers:
- state: gold
- map: ["cp14_foodLayers"]
- type: PhysicalComposition
materialComposition:
CP14Gold: 10
- type: Food
trash:
- CP14PlateGold
- type: entity
id: CP14PlateWoodenRandom
parent: CP14PlateWooden
suffix: Random food
components:
- type: CP14RandomFoodData
- type: SolutionContainerManager
solutions:
food:
maxVol: 20
reagents:
- ReagentId: Nutriment
Quantity: 10
- ReagentId: Protein
Quantity: 10

View File

@@ -27,6 +27,9 @@
- type: SliceableFood
count: 5
slice: CP14FoodCheesePart
- type: Tag
tags:
- CP14Cheese
- type: entity
id: CP14FoodCheesePart
@@ -62,6 +65,9 @@
- type: SliceableFood
count: 3
slice: CP14FoodCheeseSlice
- type: Tag
tags:
- CP14Cheese
- type: entity
id: CP14FoodCheeseSlice
@@ -98,6 +104,9 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14CheeseSandwich
- type: Tag
tags:
- CP14Cheese
# Blue Cheese (50% more protein)
- type: entity
@@ -127,6 +136,9 @@
slice: CP14FoodBlueCheesePart
- type: StaticPrice
price: 20
- type: Tag
tags:
- CP14Cheese
- type: entity
id: CP14FoodBlueCheesePart
@@ -162,6 +174,9 @@
slice: CP14FoodBlueCheeseSlice
- type: StaticPrice
price: 4
- type: Tag
tags:
- CP14Cheese
- type: entity
id: CP14FoodBlueCheeseSlice
@@ -194,6 +209,9 @@
Quantity: 1.5 # 4.5/3
- type: StaticPrice
price: 1
- type: Tag
tags:
- CP14Cheese
# Aged Cheese (100% more protein)
- type: entity
@@ -223,6 +241,9 @@
slice: CP14FoodAgedCheesePart
- type: StaticPrice
price: 35
- type: Tag
tags:
- CP14Cheese
- type: entity
id: CP14FoodAgedCheesePart
@@ -258,6 +279,9 @@
slice: CP14FoodAgedCheeseSlice
- type: StaticPrice
price: 7
- type: Tag
tags:
- CP14Cheese
- type: entity
id: CP14FoodAgedCheeseSlice
@@ -289,4 +313,7 @@
- ReagentId: Protein
Quantity: 2 # 6/3
- type: StaticPrice
price: 2
price: 2
- type: Tag
tags:
- CP14Cheese

View File

@@ -1,23 +1,3 @@
- type: entity
id: CP14Plate
parent: BaseItem
name: plate
description: This is your plate for a delicious meal!
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/plates.rsi
state: plate
- type: Item
shape:
- 0,0,1,0
- type: Tag
tags:
- CP14Plate
- type: PhysicalComposition
materialComposition:
CP14WoodenPlanks: 20 # 2 wooden plank in craft
- type: entity
id: CP14PlatePie
parent: BaseItem

View File

@@ -30,6 +30,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodBread
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodBread
@@ -56,6 +59,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodBreadSlice
@@ -78,6 +84,9 @@
entries:
- temperatureRange: 400, 500
transformTo: null
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodDoughMedium
@@ -107,6 +116,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodBreadBun
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodBreadBun
@@ -137,6 +149,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodBreadBunBottom
@@ -174,6 +189,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodBreadBunTop
@@ -200,6 +218,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Dough
- type: entity
id: CP14FoodDoughMediumFlat
@@ -222,4 +243,7 @@
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1 #TODO: лаваш?
transformTo: CP14Ash1 #TODO: лаваш?
- type: Tag
tags:
- CP14Dough

View File

@@ -26,10 +26,6 @@
Quantity: 2
- type: DrawableSolution
solution: food
- type: SolutionSpiker
sourceSolution: food
ignoreEmpty: true
popup: spike-solution-egg
# egg fragile
- type: DamageOnHighSpeedImpact
minimumSpeed: 0.1
@@ -65,6 +61,10 @@
area: 0.04
# conductivity of egg shell based on a paper from Romanoff and Romanoff (1949)
conductivity: 0.456
- type: Tag
tags:
- CP14Egg
- CP14FitInFryingPan
# Splat
- type: entity

View File

@@ -86,6 +86,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatLambCooked
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatLambCooked
@@ -109,9 +112,13 @@
- ReagentId: Fat
Quantity: 8
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatLambSlice
@@ -147,6 +154,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatLambCookedSlice
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- type: entity
id: CP14FoodMeatLambCookedSlice
@@ -175,9 +186,14 @@
- ReagentId: Fat
Quantity: 2
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- type: entity
id: CP14FoodMeatLambCutlet
@@ -210,6 +226,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatLambCutletCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatCutlet
- type: entity
id: CP14FoodMeatLambCutletCooked
@@ -236,9 +256,14 @@
entries:
CP14Sandwich: CP14CutletCookedSandwich
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatCutlet
# Frog Leg
- type: entity
@@ -265,6 +290,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatFrogLegCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- type: entity
id: CP14FoodMeatFrogLegCooked
@@ -285,9 +314,14 @@
- ReagentId: Protein
Quantity: 1
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
# Human Meat
- type: entity
@@ -323,6 +357,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatHumanCooked
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatHumanCooked
@@ -350,9 +387,13 @@
human_meat1_cooked: ""
human_meat2_cooked: ""
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
# Dino Meat
- type: entity
@@ -381,6 +422,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatDinoCooked
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatDinoCooked
@@ -401,9 +445,13 @@
- ReagentId: Fat
Quantity: 2
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatHydra
@@ -429,6 +477,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatHydraCooked
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatHydraCooked
@@ -447,9 +498,13 @@
- ReagentId: Protein
Quantity: 3
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
# Rabbit Meat
- type: entity
@@ -485,6 +540,9 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatRabbitCooked
- type: Tag
tags:
- CP14Meat
- type: entity
id: CP14FoodMeatRabbitCooked
@@ -513,9 +571,13 @@
rabbit_meat1_cooked: ""
rabbit_meat2_cooked: ""
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
# Pig and Boar Meat
- type: entity
@@ -554,6 +616,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatPigCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatPig
- type: entity
id: CP14FoodMeatPigCooked
@@ -584,9 +650,14 @@
pig_meat1_cooked: ""
pig_meat4_cooked: ""
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatPig
- type: entity
id: CP14FoodMeatPigLeg
@@ -614,6 +685,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatPigLegCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- CP14MeatPig
- type: entity
id: CP14FoodMeatPigLegCooked
@@ -634,9 +710,15 @@
- ReagentId: Fat
Quantity: 10
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- CP14MeatPig
- type: entity
id: CP14FoodMeatBoar
@@ -674,6 +756,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatBoarCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatPig
- type: entity
id: CP14FoodMeatBoarCooked
@@ -705,9 +791,14 @@
pig_meat2_cooked: ""
pig_meat3_cooked: ""
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatPig
- type: entity
id: CP14FoodMeatPigSlice
@@ -736,6 +827,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatPigCookedSlice
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- CP14MeatPig
- type: entity
id: CP14FoodMeatPigCookedSlice
@@ -757,9 +853,15 @@
- ReagentId: Fat
Quantity: 3
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- CP14MeatPig
# Monster Meat
- type: entity
@@ -802,6 +904,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatMonsterCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatMonster
- type: entity
id: CP14FoodMeatMonsterCooked
@@ -835,9 +941,14 @@
mole_meat3: CP14cookedMeat
mole_meat4: CP14cookedMeat
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatMonster
- type: entity
id: CP14FoodMeatMonsterLeg
@@ -867,6 +978,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatMonsterLegCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- CP14MeatMonster
- type: entity
id: CP14FoodMeatMonsterLegCooked
@@ -888,9 +1004,15 @@
- ReagentId: Fat
Quantity: 10
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- CP14MeatMonster
- type: entity
id: CP14FoodMeatMonsterSlice
@@ -921,6 +1043,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatMonsterCookedSlice
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- CP14MeatMonster
- type: entity
id: CP14FoodMeatMonsterCookedSlice
@@ -943,9 +1070,15 @@
- ReagentId: Fat
Quantity: 2
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- CP14MeatMonster
# Flem meat
- type: entity
@@ -961,7 +1094,7 @@
sprite: _CP14/Objects/Consumable/Food/meat.rsi
state: flem_head
- type: Item
size: Large
size: Normal
shape:
- 0,0,1,1
- type: SolutionContainerManager
@@ -979,6 +1112,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatFlemHeadCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemHeadCooked
@@ -999,9 +1136,14 @@
- ReagentId: Fat
Quantity: 5
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemTorso
@@ -1019,7 +1161,7 @@
count: 3
slice: CP14FoodMeatFlemTorsoCut
- type: Item
size: Large
size: Normal
shape:
- 0,0,1,1
- type: SolutionContainerManager
@@ -1037,6 +1179,10 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatFlemTorsoCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemTorsoCooked
@@ -1060,9 +1206,14 @@
- ReagentId: Fat
Quantity: 2
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemTorsoCut
@@ -1094,6 +1245,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatFlemTorsoCookedCut
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemTorsoCookedCut
@@ -1115,9 +1271,15 @@
- ReagentId: Fat
Quantity: 0.5
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatSlice
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemLeg
@@ -1150,6 +1312,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatFlemLegCooked
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- CP14MeatMonster
- type: entity
id: CP14FoodMeatFlemLegCooked
@@ -1171,6 +1338,12 @@
- ReagentId: Fat
Quantity: 0.1
- type: CP14TemperatureTransformation
autoTransformOnCooked: false
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: Tag
tags:
- CP14Meat
- CP14MeatLeg
- CP14MeatMonster

View File

@@ -1,43 +1,3 @@
- type: entity
name: ham in cheese
parent:
- FoodInjectableBase
- CP14BurnsAsh
id: CP14FoodHamCheese
description: Juicy and oozy ham, in cheese and lettuce leaves. Just like in the best restaurants.
categories: [ ForkFiltered ]
components:
- type: FlavorProfile
flavors:
- meaty
- cabbage
- cheesy
- type: SolutionContainerManager
solutions:
food:
maxVol: 42
reagents:
- ReagentId: Nutriment
Quantity: 16
- ReagentId: Protein
Quantity: 13
- ReagentId: Vitamin
Quantity: 0.5
- ReagentId: Fat
Quantity: 12
- type: Sprite
layers:
- sprite: _CP14/Objects/Consumable/Food/plates.rsi
state: plate
- sprite: _CP14/Objects/Consumable/Food/pig_cheese.rsi
state: pig_cheese
- type: Tag
tags:
- Meat
- type: Food
trash:
- CP14Plate
- type: entity
name: Klanir stuffed pumpkin
parent:

View File

@@ -37,6 +37,9 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- CP14Salad
- CP14Cabbage
- type: entity
id: CP14FoodCabbageSlice
@@ -74,6 +77,13 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14CabbageSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- CP14Salad
- CP14SaladSlice
- CP14Cabbage
- type: entity
id: CP14FoodPumpkin
@@ -115,6 +125,7 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodPumpkinSlice
@@ -152,6 +163,10 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14PumpkinSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodPotato
@@ -188,9 +203,6 @@
Quantity: 1.14
- type: CP14Seed
plantProto: CP14PlantPotato #TODO sliceable potato
- type: Tag
tags:
- CP14FarmFood
- type: Temperature
currentTemperature: 290
- type: InternalTemperature
@@ -200,6 +212,11 @@
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodPotatoHot
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- CP14Potato
- type: entity
id: CP14FoodCucumber
@@ -244,6 +261,7 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodCucumberSlice
@@ -276,6 +294,10 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14CucumberSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodTomatoes
@@ -344,6 +366,7 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodTomatoesSlice
@@ -378,6 +401,10 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14TomatoesSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodApple
@@ -416,6 +443,7 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Fruits
- type: entity
id: CP14FoodAppleSlice
@@ -445,6 +473,10 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14AppleSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Fruits
- type: entity
id: CP14FoodPepper
@@ -485,6 +517,7 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodPepperSlice
@@ -514,6 +547,10 @@
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14PepperSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodOnion
@@ -558,6 +595,7 @@
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable
- type: entity
id: CP14FoodOnionSlice
@@ -588,4 +626,8 @@
Quantity: 0.8
- type: FoodSequenceElement
entries:
CP14Sandwich: CP14OnionSandwich
CP14Sandwich: CP14OnionSandwich
- type: Tag
tags:
- CP14FarmFood
- CP14Vegetable

View File

@@ -1,35 +0,0 @@
- type: entity
name: green salad
parent: FoodInjectableBase
id: CP14FoodSaladGreen
description: An extremely nutritious green salad, with a pumpkin twist.
categories: [ ForkFiltered ]
components:
- type: FlavorProfile
flavors:
- pumpkin
- cabbage
- CP14cucumber
- type: SolutionContainerManager
solutions:
food:
maxVol: 47
reagents:
- ReagentId: PumpkinFlesh
Quantity: 12
- ReagentId: Nutriment
Quantity: 16
- ReagentId: Vitamin
Quantity: 10
- type: Sprite
layers:
- sprite: _CP14/Objects/Consumable/Food/plates.rsi
state: plate
- sprite: _CP14/Objects/Consumable/Food/salad.rsi
state: green_salad
- type: Tag
tags:
- Fruit
- type: Food
trash:
- CP14Plate

View File

@@ -34,46 +34,6 @@
- ReagentId: Vitamin
Quantity: 2
- type: entity
id: CP14FoodStuffedPotato
parent:
- FoodInjectableBase
- CP14BurnsAsh
categories: [ ForkFiltered ]
name: stuffed potato
description: Baked potatoes stuffed with juicy meat.
components:
- type: Item
size: Tiny
- type: FlavorProfile
flavors:
- CP14HotPotato
- meaty
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/hot_potato.rsi
layers:
- state: stuffed_potato1
map: [ "random" ]
- type: RandomSprite
available:
- random:
stuffed_potato1: ""
stuffed_potato2: ""
stuffed_potato3: ""
- type: SolutionContainerManager
solutions:
food:
maxVol: 14
reagents:
- ReagentId: Nutriment
Quantity: 6
- ReagentId: Protein
Quantity: 2
- ReagentId: Vitamin
Quantity: 2
- ReagentId: Fat
Quantity: 3
- type: entity
id: CP14FoodChromiumJelly
parent:

View File

@@ -10,9 +10,6 @@
size: Tiny
- type: Sprite
sprite: _CP14/Objects/Materials/dye.rsi
- type: Tag
tags:
- CP14Dye
- type: StaticPrice
price: 6
@@ -26,10 +23,6 @@
- state: base
- state: powder
color: "#bd2b26"
- type: Tag
tags:
- CP14Dye
- CP14DyeRed
- type: StaticPrice
price: 4
@@ -43,10 +36,6 @@
- state: base
- state: powder
color: "#ffe269"
- type: Tag
tags:
- CP14Dye
- CP14DyeYellow
- type: StaticPrice
price: 3.5
@@ -60,10 +49,6 @@
- state: base
- state: powder
color: "#5eabeb"
- type: Tag
tags:
- CP14Dye
- CP14DyeBlue
- type: StaticPrice
price: 8.6
@@ -77,10 +62,6 @@
- state: base
- state: powder
color: "#85903e"
- type: Tag
tags:
- CP14Dye
- CP14DyeGreen
- type: entity
id: CP14DyePurple
@@ -92,10 +73,6 @@
- state: base
- state: powder
color: "#8241cc"
- type: Tag
tags:
- CP14Dye
- CP14DyePurple
- type: StaticPrice
price: 4.4
@@ -109,7 +86,3 @@
- state: base
- state: powder
color: "#242329"
- type: Tag
tags:
- CP14Dye
- CP14DyeBlack

View File

@@ -0,0 +1,95 @@
- type: entity
id: CP14FryingPan
parent: BaseStorageItem
categories: [ ForkFiltered ]
name: frying pan
description: "You can always watch three things: how fire burns, how water flows, and how delicious meat is cooked."
components:
- type: Sprite
sprite: _CP14/Objects/Specific/Cooking/frying_pan.rsi
noRot: true
layers:
- state: base
map: ["enum.StorageVisualLayers.Base"]
- state: closed
map: [ base ]
- state: cooking
visible: false
map: [ cook ]
- state: cooking
visible: false
color: "#38312e"
map: [ burn ]
- type: Appearance
- type: GenericVisualizer
visuals:
enum.StorageVisuals.Open:
base:
True: { state: opened }
False: { state: closed }
enum.CP14CookingVisuals.Cooking:
cook:
True: { visible: true }
False: { visible: false }
enum.CP14CookingVisuals.Burning:
burn:
True: { visible: true }
False: { visible: false }
- type: Item
size: Ginormous
- type: MultiHandedItem
- type: MeleeWeapon
wideAnimationRotation: 270
damage:
types:
Blunt: 6
soundHit:
path: "/Audio/Weapons/smash.ogg"
- type: ContainerContainer
containers:
storagebase: !type:Container
ents: []
- type: Storage
maxItemSize: Normal
storageOpenSound: /Audio/_CP14/Effects/pan_open.ogg
storageCloseSound: /Audio/_CP14/Effects/pan_close.ogg
storageInsertSound: /Audio/Items/toolbox_insert.ogg
storageRemoveSound: /Audio/Items/toolbox_insert.ogg
grid:
- 0,0,3,3
- 0,0,2,2
whitelist:
components:
- Food
tags:
- CP14FitInFryingPan
cP14Ignorelist:
components:
- CP14FoodHolder
- FoodSequenceStartPoint
- type: SolutionContainerManager
solutions:
pan:
maxVol: 100
- type: CP14FoodCooker
foodType: Meal
containerId: storagebase
solutionId: pan
- type: Temperature
- type: RefillableSolution
solution: pan
- type: DrainableSolution
solution: pan
- type: Spillable
solution: pan
- type: DoAfter
- type: AmbientSound
enabled: false
volume: 5
range: 5
sound:
path: /Audio/_CP14/Ambience/pan_frying.ogg
- type: PhysicalComposition
materialComposition:
CP14Iron: 20
CP14WoodenPlanks: 10

View File

@@ -0,0 +1,227 @@
- type: CP14CookingRecipe
id: InedibleMeal
foodType: Meal
foodData:
name: cp14-meal-recipe-trash-name
desc: cp14-meal-recipe-trash-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: trash
requirements:
- !type:AlwaysMet
# 1 ingredient types
- type: CP14CookingRecipe
id: GreenSalad
foodType: Meal
foodData:
name: cp14-meal-recipe-green-salad-name
desc: cp14-meal-recipe-green-salad-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: green_salad
requirements:
- !type:TagRequired
tags:
- CP14Salad
- CP14Vegetable
- type: CP14CookingRecipe
id: MeatPlate
foodType: Meal
foodData:
name: cp14-meal-recipe-meat-plate-name
desc: cp14-meal-recipe-meat-plate-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: meat_plate
requirements:
- !type:TagRequired
tags:
- CP14Meat
- CP14MeatSlice
- type: CP14CookingRecipe
id: BreadPlate
foodType: Meal
foodData:
name: cp14-meal-recipe-bread-plate-name
desc: cp14-meal-recipe-bread-plate-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: bread_plate
requirements:
- !type:TagRequired
tags:
- CP14Dough
- type: CP14CookingRecipe
id: MashedPotato
foodType: Meal
foodData:
name: cp14-meal-recipe-mashed-potato-name
desc: cp14-meal-recipe-mashed-potato-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: mashed_potato
requirements:
- !type:TagRequired
tags:
- CP14Potato
# 2 ingredient types
- type: CP14CookingRecipe
id: GreenSaladMeat
foodType: Meal
foodData:
name: cp14-meal-recipe-green-salad-meat-name
desc: cp14-meal-recipe-green-salad-meat-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: green_salad_meat
requirements:
- !type:TagRequired
tags:
- CP14Salad
- CP14Vegetable
- !type:TagRequired
tags:
- CP14Meat
- type: CP14CookingRecipe
id: MonsterEgg
foodType: Meal
foodData:
name: cp14-meal-recipe-monster-egg-name
desc: cp14-meal-recipe-monster-egg-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: monster_egg
requirements:
- !type:TagRequired
tags:
- CP14Egg
- !type:TagRequired
tags:
- CP14MeatMonster
- type: CP14CookingRecipe
id: MashedPotatoMeat
foodType: Meal
foodData:
name: cp14-meal-recipe-mashed-potato-meat-name
desc: cp14-meal-recipe-mashed-potato-meat-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: mashed_potato_meat
requirements:
- !type:TagRequired
tags:
- CP14Potato
- !type:TagRequired
tags:
- CP14Meat
- type: CP14CookingRecipe
id: MashedPotatoSalad
foodType: Meal
foodData:
name: cp14-meal-recipe-mashed-potato-salad-name
desc: cp14-meal-recipe-mashed-potato-salad-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: mashed_potato_salad
requirements:
- !type:TagRequired
tags:
- CP14Potato
- !type:TagRequired
tags:
- CP14Salad
- CP14Vegetable
- type: CP14CookingRecipe
id: CheeseBread
foodType: Meal
foodData:
name: cp14-meal-recipe-cheese-bread-name
desc: cp14-meal-recipe-cheese-bread-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: cheese_bread
requirements:
- !type:TagRequired
tags:
- CP14Dough
- !type:TagRequired
tags:
- CP14Cheese
# 3 ingredient types
- type: CP14CookingRecipe
id: ZellasianBreakfast
foodType: Meal
foodData:
name: cp14-meal-recipe-zellasian-breakfast-name
desc: cp14-meal-recipe-zellasian-breakfast-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: zellasian_breakfast
requirements:
- !type:TagRequired
tags:
- CP14Egg
- !type:TagRequired
tags:
- CP14Dough
- !type:TagRequired
tags:
- CP14Meat
- type: CP14CookingRecipe
id: StuffedPotato
foodType: Meal
foodData:
name: cp14-meal-recipe-stuffed-potato-name
desc: cp14-meal-recipe-stuffed-potato-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: stuffed_potato
requirements:
- !type:TagRequired
tags:
- CP14MeatSlice
- !type:TagRequired
tags:
- CP14Cheese
- !type:TagRequired
tags:
- CP14Potato
# 4 ingredient types
- type: CP14CookingRecipe
id: HamInCheese
foodType: Meal
foodData:
name: cp14-meal-recipe-pig-cheese-name
desc: cp14-meal-recipe-pig-cheese-desc
visuals:
- sprite: _CP14/Objects/Consumable/Food/Meals/misc.rsi
state: pig_cheese
requirements:
- !type:TagRequired
tags:
- CP14MeatPig
- !type:TagRequired
tags:
- CP14MeatLeg
- !type:TagRequired
tags:
- CP14Cheese
- !type:TagRequired
tags:
- CP14Salad

View File

@@ -476,3 +476,18 @@
stack: CP14GoldBar
count: 1
result: CP14SteelGobletGold
- type: CP14Recipe
id: CP14FryingPan
tag: CP14RecipeAnvil
craftTime: 2
requiredSkills:
- IronMelting
requirements:
- !type:StackResource
stack: CP14IronBar
count: 2
- !type:StackResource
stack: CP14WoodenPlanks
count: 1
result: CP14FryingPan

View File

@@ -1,32 +0,0 @@
- type: CP14Recipe
id: CP14FoodHamCheese
tag: CP14RecipeCooking
craftTime: 5
requirements:
- !type:ProtoIdResource
protoId: CP14Plate
- !type:ProtoIdResource
protoId: CP14FoodCabbageSlice
count: 3
- !type:ProtoIdResource
protoId: CP14FoodCheeseSlice
count: 2
- !type:ProtoIdResource
protoId: CP14FoodMeatPigLegCooked
count: 1
result: CP14FoodHamCheese
- type: CP14Recipe
id: CP14FoodStuffedPumpkin
tag: CP14RecipeCooking
craftTime: 5
requirements:
- !type:ProtoIdResource
protoId: CP14FoodPumpkin
- !type:ProtoIdResource
protoId: CP14FoodPotatoHot
count: 2
- !type:ProtoIdResource
protoId: CP14FoodMeatPigCookedSlice
count: 2
result: CP14FoodStuffedPumpkin

View File

@@ -39,14 +39,3 @@
protoId: CP14FoodDoughMedium
count: 1
result: CP14FoodDoughMediumFlat
- type: CP14Recipe
id: CP14FoodStuffedPotato
tag: CP14RecipeCooking
craftTime: 1
requirements:
- !type:ProtoIdResource
protoId: CP14FoodPotatoHot
- !type:ProtoIdResource
protoId: CP14FoodMeatPigCookedSlice
result: CP14FoodStuffedPotato

View File

@@ -1,17 +0,0 @@
- type: CP14Recipe
id: CP14FoodSaladGreen
tag: CP14RecipeCooking
craftTime: 5
requirements:
- !type:ProtoIdResource
protoId: CP14Plate
- !type:ProtoIdResource
protoId: CP14FoodCabbageSlice
count: 4
- !type:ProtoIdResource
protoId: CP14FoodPumpkinSlice
count: 3
- !type:ProtoIdResource
protoId: CP14FoodCucumber
count: 2
result: CP14FoodSaladGreen

View File

@@ -70,14 +70,14 @@
result: CP14SmokingPipe
- type: CP14Recipe
id: CP14Plate
id: CP14PlateWooden
tag: CP14RecipeWorkbench
craftTime: 3
requirements:
- !type:StackGroupResource
group: WoodenPlanks
count: 2
result: CP14Plate
result: CP14PlateWooden
- type: CP14Recipe
id: CP14ModularBladeWoodMop

View File

@@ -0,0 +1,63 @@
# Util
- type: Tag
id: CP14FitInFryingPan
# Meat
- type: Tag
id: CP14Meat
- type: Tag
id: CP14MeatLeg
- type: Tag
id: CP14MeatSlice
- type: Tag
id: CP14MeatCutlet
- type: Tag
id: CP14MeatMonster
- type: Tag
id: CP14MeatPig
# Vegetable
- type: Tag
id: CP14Vegetable
- type: Tag
id: CP14Salad
- type: Tag
id: CP14SaladSlice
- type: Tag
id: CP14Cabbage
- type: Tag
id: CP14Potato
# Fruits
- type: Tag
id: CP14Fruits
# Misc
- type: Tag
id: CP14Wheat
- type: Tag
id: CP14Egg
- type: Tag
id: CP14Dough
- type: Tag
id: CP14Cheese
- type: Tag
id: CP14Sandwich

View File

@@ -61,39 +61,9 @@
- type: Tag
id: CP14Boar
- type: Tag
id: CP14Wheat
- type: Tag
id: CP14Mosquito
- type: Tag
id: CP14Dye
- type: Tag
id: CP14DyeRed
- type: Tag
id: CP14DyeYellow
- type: Tag
id: CP14DyeBlue
- type: Tag
id: CP14DyeGreen
- type: Tag
id: CP14DyePurple
- type: Tag
id: CP14DyeBlack
- type: Tag
id: CP14Meat
- type: Tag
id: CP14MeatSlice
- type: Tag
id: CP14Torch
@@ -150,6 +120,3 @@
- type: Tag
id: CP14BigCrossbowBolt
- type: Tag
id: CP14Sandwich

View File

@@ -32,7 +32,8 @@
product: CP14FoodCheesePart
count: 3
# Premium Dairy (Requires Reputation)
# Rep 1
- type: cp14TradingPosition
id: CP14FoodBlueCheeseWheel
faction: Dairy
@@ -45,6 +46,19 @@
product: CP14FoodBlueCheeseWheel
count: 1
- type: cp14TradingPosition
id: CP14FryingPan
faction: Dairy
reputationLevel: 1
uiPosition: 2
icon:
sprite: _CP14/Objects/Specific/Cooking/frying_pan.rsi
state: base
service: !type:CP14BuyItemsService
product: CP14FryingPan
count: 1
# Rep 2
- type: cp14TradingPosition
id: CP14FoodAgedCheeseWheel
faction: Dairy

View File

@@ -1,13 +1,3 @@
- type: cp14TradingRequest
id: VictoriaGardensGreenSalad
possibleFactions:
- VictoriaGardens
- Dairy
requirements:
- !type:ProtoIdResource
protoId: CP14FoodSaladGreen
count: 5
- type: cp14TradingRequest
id: VictoriaGardensBreadBuns
possibleFactions: