Великая жарка мяса (#788)

* temperature transform

* Update CP14TemperatureSystem.cs

* fix heating entities

* cooking!

* fix cooking

* aaa

* foodsequence remove

* fix

* fix
This commit is contained in:
Ed
2025-01-21 23:03:50 +03:00
committed by GitHub
parent 5aeae56092
commit 312f2ae14c
63 changed files with 339 additions and 374 deletions

View File

@@ -88,7 +88,4 @@
maxVol: 2 # 1/3 cheese part
reagents:
- ReagentId: Nutriment
Quantity: 1.4
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateCheeseSlice
Quantity: 1.4

View File

@@ -7,6 +7,7 @@
components:
- type: Item
size: Normal
- type: Temperature
- type: FlavorProfile
flavors:
- bread #TODO smth disguisting. raw dough
@@ -25,6 +26,58 @@
- type: SliceableFood
count: 5
slice: CP14FoodDoughMedium
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodBread
- type: entity
id: CP14FoodBread
parent: CP14FoodDoughLarge
name: bread
description: Crispy and so flavourful!
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/dough.rsi
state: bread_cooked
- type: SolutionContainerManager
solutions:
food:
maxVol: 30
reagents:
- ReagentId: Nutriment
Quantity: 20
- ReagentId: Protein
Quantity: 2
- type: SliceableFood
count: 5
slice: CP14FoodBreadSlice
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: entity
id: CP14FoodBreadSlice
parent: CP14FoodBread
name: bread slice
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/dough.rsi
state: bread_slice
- type: SolutionContainerManager
solutions:
food:
maxVol: 6 # 1/5 bread
reagents:
- ReagentId: Nutriment
Quantity: 4
- ReagentId: Protein
Quantity: 0.4
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: null
- type: entity
parent: FoodInjectableBase
@@ -34,6 +87,7 @@
components:
- type: Item
size: Tiny
- type: Temperature
- type: FlavorProfile
flavors:
- bread #TODO smth disguisting. raw dough
@@ -46,9 +100,62 @@
maxVol: 6 # 1/5 large dough
reagents:
- ReagentId: Nutriment
Quantity: 4.2
Quantity: 4
- ReagentId: UncookedAnimalProteins
Quantity: 0.4
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodBreadBun
- type: entity
parent: CP14FoodDoughMedium
id: CP14FoodBreadBun
name: bread bun
description: it's like regular bread, only smaller and funnier.
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/dough.rsi
state: bun_cooked
- type: SolutionContainerManager
solutions:
food:
maxVol: 6 # 1/5 large dough
reagents:
- ReagentId: Nutriment
Quantity: 4
- ReagentId: Protein
Quantity: 0.4
- type: SliceableFood
count: 2
slice: CP14FoodBreadBunSlice
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: entity
parent: CP14FoodDoughMedium
id: CP14FoodBreadBunSlice
name: bread bun slice
description: it's like regular bread, only smaller and funnier. And cut in half
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/dough.rsi
state: bun_cooked_slice_bottom
- type: SolutionContainerManager
solutions:
food:
maxVol: 3 # 1/2 bun
reagents:
- ReagentId: Nutriment
Quantity: 2
- ReagentId: Protein
Quantity: 0.2
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: entity
parent: CP14FoodDoughMedium
@@ -65,6 +172,10 @@
maxVol: 6 # 1/5 large dough
reagents:
- ReagentId: Nutriment
Quantity: 4.2
Quantity: 4
- ReagentId: UncookedAnimalProteins
Quantity: 0.4
Quantity: 0.4
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1 #TODO: лаваш?

View File

@@ -73,6 +73,36 @@
size: Tiny
shape:
- 0,0,1,0
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatLambCooked
- type: entity
id: CP14FoodMeatLambCooked
parent: CP14FoodMeatLamb
name: cooked lamb steak
components:
- type: Sprite
state: sheepmeat_cooked
- type: SliceableFood
count: 3
slice: CP14FoodMeatLambCookedSlice
- type: SolutionContainerManager
solutions:
food:
maxVol: 15
reagents:
- ReagentId: Nutriment
Quantity: 6
- ReagentId: Protein
Quantity: 1
- ReagentId: Fat
Quantity: 6
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: entity
id: CP14FoodMeatLambSlice
@@ -93,6 +123,41 @@
sheepmeat_slice: ""
sheepmeat_slice2: ""
sheepmeat_slice3: ""
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatLambCookedSlice
- type: entity
id: CP14FoodMeatLambCookedSlice
parent: CP14FoodMeatLambSlice
name: cooked meat pieces
components:
- type: Sprite
layers:
- state: sheepmeat_slice_cooked
map: [ "random" ]
- type: RandomSprite
available:
- random:
sheepmeat_slice_cooked: ""
sheepmeat_slice2_cooked: ""
sheepmeat_slice3_cooked: ""
- type: SolutionContainerManager
solutions:
food:
maxVol: 15
reagents:
- ReagentId: Nutriment
Quantity: 6
- ReagentId: Protein
Quantity: 0.33
- ReagentId: Fat
Quantity: 6
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
- type: entity
id: CP14FoodMeatLambCutlet
@@ -115,4 +180,34 @@
- ReagentId: Fat
Quantity: 4
- ReagentId: Egg
Quantity: 6
Quantity: 6
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatLambCutletCooked
- type: entity
id: CP14FoodMeatLambCutletCooked
parent: CP14FoodMeatLambCutlet
name: cooked lamb cutlet
description: Yammi!
components:
- type: Sprite
state: cutlet_cooked
- type: SolutionContainerManager
solutions:
food:
maxVol: 10
reagents:
- ReagentId: Nutriment
Quantity: 4
- ReagentId: Protein
Quantity: 0.66
- ReagentId: Fat
Quantity: 4
- ReagentId: EggCooked
Quantity: 6
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1

View File

@@ -1,95 +1,13 @@
- type: entity
id: CP14BasePlate
id: CP14Plate
parent: BaseItem
abstract: true
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: FoodSequenceStartPoint
key: CP14Plate
maxLayers: 10
nameGeneration: cp14-food-sequence-plate-gen
contentSeparator: ", "
minLayerOffset: -0.02, -0.02
maxLayerOffset: 0.02, 0.02
- type: Food
- type: SolutionContainerManager
solutions:
food:
canReact: false # Dont want cause reactions inside plates after merging ingredients
maxVol: 5
- type: FlavorProfile
- type: RefillableSolution
solution: food
- type: SolutionContainerVisuals
maxFillLevels: 5
fillBaseName: liq-
- type: Appearance
- type: entity
id: CP14PlateWooden
parent: CP14BasePlate
name: wooden plate
components:
- type: Sprite
layers:
- state: wood1
- state: liq-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- map: ["foodSequenceLayers"]
- type: Food
trash:
- CP14PlateWooden
- type: entity
id: CP14PlateWooden2
parent: CP14PlateWooden
components:
- type: Sprite
layers:
- state: wood2
- state: liq-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- map: ["foodSequenceLayers"]
- type: Food
trash:
- CP14PlateWooden2
- type: entity
id: CP14PlateCeramic
parent: CP14BasePlate
name: ceramic plate
components:
- type: Sprite
layers:
- state: ceramic
- state: liq-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- map: ["foodSequenceLayers"]
- type: Food
trash:
- CP14PlateCeramic
- type: entity
id: CP14PlateIron
parent: CP14BasePlate
name: iron plate
components:
- type: Sprite
layers:
- state: iron
- state: liq-1
map: ["enum.SolutionContainerLayers.Fill"]
visible: false
- map: ["foodSequenceLayers"]
- type: Food
trash:
- CP14PlateIron
- 0,0,1,0

View File

@@ -68,9 +68,6 @@
Quantity: 2.5
- ReagentId: Vitamin
Quantity: 0.25
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateCabbageSlice
- type: entity
id: CP14FoodPumpkin
@@ -143,9 +140,6 @@
Quantity: 4
- ReagentId: Vitamin
Quantity: 1
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlatePumpkinSlice
- type: entity
id: CP14FoodPotato
@@ -218,9 +212,6 @@
Quantity: 2
- ReagentId: Water
Quantity: 3
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateCucumber
- type: entity
id: CP14FoodTomatoes
@@ -317,6 +308,3 @@
Quantity: 1
- ReagentId: Vitamin
Quantity: 1
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateTomatoesSlice

View File

@@ -74,9 +74,6 @@
reagents:
- ReagentId: CP14AgaricMushroom
Quantity: 3
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateAgaric
- type: entity
id: CP14ChromiumSlime
@@ -107,9 +104,6 @@
reagents:
- ReagentId: CP14ChromiumSlime
Quantity: 4
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateChromiumSlime
- type: entity
id: CP14WildSage
@@ -144,9 +138,6 @@
reagents:
- ReagentId: CP14WildSageSap
Quantity: 15
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateWildSage
- type: entity
id: CP14QuartzShard
@@ -212,9 +203,6 @@
reagents:
- ReagentId: CP14LumiMushroom
Quantity: 4
- type: FoodSequenceElement
entries:
CP14Plate: CP14PlateLumiMushroom
- type: entity
id: CP14BlueAmanita

View File

@@ -1,96 +0,0 @@
- type: foodSequenceElement
id: CP14PlateCucumber
name: cp14-food-sequence-plate-cucumber
sprites:
- sprite: _CP14/Objects/Flora/Farm/cucumber.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Farm/cucumber.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Farm/cucumber.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlatePumpkinSlice
name: cp14-food-sequence-plate-pumpkin
sprites:
- sprite: _CP14/Objects/Flora/Farm/pumpkin.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Farm/pumpkin.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Farm/pumpkin.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlateCabbageSlice
name: cp14-food-sequence-plate-cabbage
sprites:
- sprite: _CP14/Objects/Flora/Farm/cabbage.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Farm/cabbage.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Farm/cabbage.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlateTomatoesSlice
name: cp14-food-sequence-plate-tomatoes
sprites:
- sprite: _CP14/Objects/Flora/Farm/tomatoes.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Farm/tomatoes.rsi
state: plate2
- type: foodSequenceElement
id: CP14PlateCheeseSlice
name: cp14-food-sequence-plate-cheese
sprites:
- sprite: _CP14/Objects/Consumable/Food/cheese.rsi
state: plate1
- sprite: _CP14/Objects/Consumable/Food/cheese.rsi
state: plate2
- sprite: _CP14/Objects/Consumable/Food/cheese.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlateAgaric
name: cp14-food-sequence-plate-shroom
sprites:
- sprite: _CP14/Objects/Flora/Wild/agaric.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Wild/agaric.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Wild/agaric.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlateChromiumSlime
name: cp14-food-sequence-plate-slime
sprites:
- sprite: _CP14/Objects/Flora/Wild/chromium_slime.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Wild/chromium_slime.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Wild/chromium_slime.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlateLumiMushroom
name: cp14-food-sequence-plate-shroom
sprites:
- sprite: _CP14/Objects/Flora/Wild/lumishroom.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Wild/lumishroom.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Wild/lumishroom.rsi
state: plate3
- type: foodSequenceElement
id: CP14PlateWildSage
name: cp14-food-sequence-plate-roots
sprites:
- sprite: _CP14/Objects/Flora/Wild/wild_sage.rsi
state: plate1
- sprite: _CP14/Objects/Flora/Wild/wild_sage.rsi
state: plate2
- sprite: _CP14/Objects/Flora/Wild/wild_sage.rsi
state: plate3

View File

@@ -20,12 +20,12 @@
knowledgeRequired: WoodWork
- type: CP14Recipe
id: CP14PlateWooden
id: CP14Plate
tag: CP14RecipeWorkbench
craftTime: 3
stacks:
CP14WoodenPlanks: 2
result: CP14PlateWooden
result: CP14Plate
knowledgeRequired: WoodWork
- type: CP14Recipe