Skip to content

Commit

Permalink
Spaceshroom grilling (space-wizards#31872)
Browse files Browse the repository at this point in the history
* make spaceshroom cookable on grill

* remove microwave recipe
  • Loading branch information
goet authored Dec 16, 2024
1 parent 2ccd471 commit db69ae6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
25 changes: 25 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/spaceshroom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,28 @@
weightedRandomId: RandomFillSpaceshroom
- type: StaticPrice
price: 20
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.25,0.25,0.25"
density: 1
mask:
- ItemMask
restitution: 0.3
friction: 0.2
- type: Construction
graph: CookedSpaceshroom
node: start
defaultTarget: cooked spaceshroom
- type: AtmosExposed
- type: Temperature
currentTemperature: 290
- type: InternalTemperature
thickness: 0.02
area: 0.02
conductivity: 0.43

- type: weightedRandomFillSolution
id: RandomFillSpaceshroom
Expand Down Expand Up @@ -126,3 +148,6 @@
- type: Produce
- type: StaticPrice
price: 40
- type: Construction
graph: CookedSpaceshroom
node: cooked spaceshroom
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: constructionGraph
id: CookedSpaceshroom
start: start
graph:

- node: start
edges:
- to: cooked spaceshroom
completed:
- !type:PlaySound
sound: /Audio/Effects/sizzle.ogg
steps:
- minTemperature: 375 # little bit above boiling, shrooms need to lose all moisture to be good

- node: cooked spaceshroom
entity: FoodSpaceshroomCooked
8 changes: 0 additions & 8 deletions Resources/Prototypes/Recipes/Cooking/meal_recipes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1939,14 +1939,6 @@
FoodChevreSlice: 1
FoodBreadBaguetteSlice: 1

- type: microwaveMealRecipe
id: RecipeCookedSpaceshroom
name: cooked spaceshroom recipe
result: FoodSpaceshroomCooked
time: 5
solids:
FoodSpaceshroom: 1

- type: microwaveMealRecipe
id: RecipeCannabisButter
name: cannabis butter recipe
Expand Down

0 comments on commit db69ae6

Please sign in to comment.