Add rolling pins for flattening dough (#20624)

This commit is contained in:
deltanedas
2023-10-02 20:21:15 +01:00
committed by GitHub
parent 13f218e6c7
commit 4c46273303
17 changed files with 121 additions and 15 deletions

View File

@@ -26,4 +26,7 @@ tool-quality-honking-name = Honking
tool-quality-honking-tool-name = Bike Horn
tool-quality-woodcutting-name = Woodcutting
tool-quality-woodcutting-tool-name = Hatchet
tool-quality-woodcutting-tool-name = Hatchet
tool-quality-rolling-name = Rolling
tool-quality-rolling-tool-name = Rolling Pin

View File

@@ -3,6 +3,7 @@
startingInventory:
ButchCleaver: 1
KitchenKnife: 5
RollingPin: 4
Spoon: 4
Fork: 4
FoodBowlBig: 10

View File

@@ -39,6 +39,10 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Tool
qualities:
- Rolling
speed: 0.75 # not as good as a rolling pin but does the job
- type: TrashOnEmpty
solution: drink

View File

@@ -48,6 +48,10 @@
damage:
types:
Blunt: 0
- type: Tool
qualities:
- Rolling
speed: 0.25 # its small so takes longer to roll the entire dough flat
- type: ItemCooldown
- type: SpaceGarbage
- type: TrashOnEmpty

View File

@@ -334,6 +334,9 @@
- type: SliceableFood
count: 3
slice: FoodDoughSlice
- type: Construction
graph: Pizza
node: start
- type: entity
name: dough slice
@@ -424,6 +427,9 @@
components:
- type: Sprite
state: dough-flat
- type: Construction
graph: Pizza
node: flat
- type: entity
name: pizza bread

View File

@@ -42,6 +42,10 @@
Blunt: 10
soundHit:
path: /Audio/Weapons/smash.ogg
- type: Tool
qualities:
- Rolling
speed: 0.5 # its very big, akward to use
- type: Appearance
- type: GenericVisualizer
visuals:

View File

@@ -42,7 +42,17 @@
price: 20
- type: entity
abstract: true
parent: GasTankBase
id: GasTankRoundBase
components:
- type: Tool
qualities:
- Rolling
speed: 0.6 # fairly unwieldly but nice round surface
- type: entity
parent: GasTankRoundBase
id: OxygenTank
name: oxygen tank
description: A standard cylindrical gas tank for oxygen.
@@ -68,7 +78,7 @@
sprite: Objects/Tanks/yellow.rsi
- type: entity
parent: GasTankBase
parent: GasTankRoundBase
id: NitrogenTank
name: nitrogen tank
description: A standard cylindrical gas tank for nitrogen.
@@ -81,7 +91,7 @@
sprite: Objects/Tanks/red.rsi
- type: entity
parent: GasTankBase
parent: GasTankRoundBase
id: EmergencyOxygenTank
name: emergency oxygen tank
description: An easily portable tank for emergencies. Contains very little oxygen, rated for survival use only.
@@ -152,7 +162,7 @@
Blunt: 7.5
- type: entity
parent: GasTankBase
parent: GasTankRoundBase
id: AirTank
name: air tank
description: Mixed anyone?
@@ -168,7 +178,7 @@
sprite: Objects/Tanks/generic.rsi
- type: entity
parent: GasTankBase
parent: GasTankRoundBase
id: NitrousOxideTank
name: nitrous oxide tank
description: Contains a mixture of air and nitrous oxide. Make sure you don't refill it with pure N2O.
@@ -186,6 +196,7 @@
sprite: Objects/Tanks/anesthetic.rsi
- type: entity
# it's a square so no rolling dough
parent: GasTankBase
id: PlasmaTank
name: plasma tank

View File

@@ -497,3 +497,27 @@
Wood: 50
- type: StaticPrice
price: 25
- type: entity
parent: BaseItem
id: RollingPin
name: rolling pin
description: A tool used to shape and flatten dough.
components:
- type: Sprite
sprite: Objects/Tools/rolling_pin.rsi
state: icon
- type: Item
sprite: Objects/Tools/rolling_pin.rsi
size: 10
- type: ItemCooldown
- type: MeleeWeapon
damage:
types:
Blunt: 7
- type: Tool
qualities:
- Rolling
- type: PhysicalComposition
materialComposition:
Wood: 100

View File

@@ -18,6 +18,10 @@
Blunt: 8
- type: Item
size: 80
- type: Tool
qualities:
- Rolling
speed: 0.75 # a bit unwieldly but does the job
- type: Clothing
quickEquip: false
slots:

View File

@@ -0,0 +1,14 @@
- type: constructionGraph
id: Pizza
start: start
graph:
- node: start
entity: FoodDough
edges:
- to: flat
steps:
- tool: Rolling
doAfter: 1
- node: flat
entity: FoodDoughFlat
# TODO: add stuff for adding ingredients then cooking the pizza, wsci

View File

@@ -482,14 +482,14 @@
solids:
FoodBreadPlainSlice: 2
#Pizzas
#Pizzas TODO: contruction graph based pizza
- type: microwaveMealRecipe
id: RecipeMargheritaPizza
name: margherita pizza recipe
result: FoodPizzaMargherita
time: 30
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodCheeseSlice: 1
FoodTomato: 4
@@ -499,7 +499,7 @@
result: FoodPizzaMushroom
time: 25
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodMushroom: 5
- type: microwaveMealRecipe
@@ -508,7 +508,7 @@
result: FoodPizzaMeat
time: 30
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodMeat: 3
FoodCheeseSlice: 1
FoodTomato: 1
@@ -519,7 +519,7 @@
result: FoodPizzaVegetable
time: 30
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodEggplant: 1
FoodCarrot: 1
FoodCorn: 1
@@ -531,7 +531,7 @@
result: FoodPizzaPineapple
time: 30
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodMeatChickenCutlet: 3
FoodPineappleSlice: 5
@@ -541,7 +541,7 @@
result: FoodPizzaDank
time: 30
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodAmbrosiaVulgaris: 3
FoodCheeseSlice: 1
FoodTomato: 1
@@ -552,7 +552,7 @@
result: FoodPizzaDonkpocket
time: 30
solids:
FoodDough: 1
FoodDoughFlat: 1
FoodDonkpocketWarm: 3
FoodCheeseSlice: 1
FoodTomato: 1

View File

@@ -59,4 +59,11 @@
name: tool-quality-honking-name
toolName: tool-quality-honking-tool-name
spawn: BikeHorn
icon: { sprite: Objects/Fun/bikehorn.rsi, state: icon }
icon: { sprite: Objects/Fun/bikehorn.rsi, state: icon }
- type: tool
id: Rolling
name: tool-quality-rolling-name
toolName: tool-quality-rolling-tool-name
spawn: RollingPin
icon: { sprite: Objects/Tools/rolling_pin.rsi, state: icon }

View File

@@ -25,6 +25,7 @@ WARNING: This is not an automatically generated list, things here may become out
<GuideEntityEmbed Entity="FoodTofu"/>
<GuideEntityEmbed Entity="FoodDoughPie"/>
<GuideEntityEmbed Entity="FoodCakeBatter"/>
<GuideEntityEmbed Entity="FoodDoughFlat"/>
</Box>
<Box>
@@ -39,6 +40,7 @@ WARNING: This is not an automatically generated list, things here may become out
- Bun: Microwave Dough Slice for 5 Seconds
- Cutlet: Slice Raw Meat
- Cheese Wedge: Slice Cheese Wheel
- Flat Dough: Use a rolling pin or a round object (fire extinguisher, soda can, bottle) on Dough.
## Food Examples
@@ -46,7 +48,7 @@ WARNING: This is not an automatically generated list, things here may become out
- Plain Burger: Microwave 1 Bun and 1 Raw Meat for 10 Seconds
- Tomato Soup: 10u Water, 1 Bowl, and 2 Tomatoes for 10 Seconds
- Citrus Salad: 1 Bowl, 1 Lemon, 1 Lime, 1 Orange for 5 Seconds
- Margherita Pizza: Microwave 1 Dough, 1 Cheese Wedge, and 4 Tomatoes for 30 Seconds
- Margherita Pizza: Microwave 1 Flat Dough, 1 Cheese Wedge, and 4 Tomatoes for 30 Seconds
- Cake: 1 Cake Batter for 15 Seconds
- Apple Pie: 1 Pie Dough, 3 Apples, and 1 Pie Tin for 15 Seconds

Binary file not shown.

After

Width:  |  Height:  |  Size: 999 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 681 B

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "icon.png taken from https://github.com/DesertRose2/desertrose/blob/0348c98f8343b5cb82d87df12411ba647b2b1b4f/icons/obj/kitchen.dmi. Inhand sprites created by deltanedas (github) for SS14.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}