egg rework (#21606)
* egg and raw egg * add DamageEntity * boiling and exploding eggs --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -56,6 +56,16 @@
|
||||
# Wow double-yolk you're so lucky!
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
# all below are for egg cooking/exploding
|
||||
- type: AtmosExposed
|
||||
- type: Temperature
|
||||
currentTemperature: 290
|
||||
- type: InternalTemperature
|
||||
# ~1mm shell and ~1cm of albumen
|
||||
thickness: 0.011
|
||||
area: 0.04
|
||||
# conductivity of egg shell based on a paper from Romanoff and Romanoff (1949)
|
||||
conductivity: 0.456
|
||||
|
||||
# Splat
|
||||
- type: entity
|
||||
@@ -91,7 +101,6 @@
|
||||
name: egg
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/egg.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
@@ -101,3 +110,30 @@
|
||||
icon: ""
|
||||
- enum.DamageStateVisualLayers.Base:
|
||||
white: ""
|
||||
- type: Construction
|
||||
graph: Egg
|
||||
node: start
|
||||
|
||||
- type: entity
|
||||
parent: FoodEggBase
|
||||
id: FoodEggBoiled
|
||||
name: boiled egg
|
||||
description: A delicious hardboiled egg.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 6
|
||||
reagents:
|
||||
- ReagentId: EggCooked
|
||||
Quantity: 6
|
||||
- type: Temperature
|
||||
# preserve temperature from the boiling step
|
||||
currentTemperature: 344
|
||||
- type: Construction
|
||||
graph: Egg
|
||||
node: boiled
|
||||
|
||||
Reference in New Issue
Block a user