Add rolling pins for flattening dough (#20624)
This commit is contained in:
@@ -27,3 +27,6 @@ tool-quality-honking-tool-name = Bike Horn
|
|||||||
|
|
||||||
tool-quality-woodcutting-name = Woodcutting
|
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
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
startingInventory:
|
startingInventory:
|
||||||
ButchCleaver: 1
|
ButchCleaver: 1
|
||||||
KitchenKnife: 5
|
KitchenKnife: 5
|
||||||
|
RollingPin: 4
|
||||||
Spoon: 4
|
Spoon: 4
|
||||||
Fork: 4
|
Fork: 4
|
||||||
FoodBowlBig: 10
|
FoodBowlBig: 10
|
||||||
|
|||||||
@@ -39,6 +39,10 @@
|
|||||||
max: 1
|
max: 1
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: [ "Destruction" ]
|
||||||
|
- type: Tool
|
||||||
|
qualities:
|
||||||
|
- Rolling
|
||||||
|
speed: 0.75 # not as good as a rolling pin but does the job
|
||||||
- type: TrashOnEmpty
|
- type: TrashOnEmpty
|
||||||
solution: drink
|
solution: drink
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,10 @@
|
|||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Blunt: 0
|
Blunt: 0
|
||||||
|
- type: Tool
|
||||||
|
qualities:
|
||||||
|
- Rolling
|
||||||
|
speed: 0.25 # its small so takes longer to roll the entire dough flat
|
||||||
- type: ItemCooldown
|
- type: ItemCooldown
|
||||||
- type: SpaceGarbage
|
- type: SpaceGarbage
|
||||||
- type: TrashOnEmpty
|
- type: TrashOnEmpty
|
||||||
|
|||||||
@@ -334,6 +334,9 @@
|
|||||||
- type: SliceableFood
|
- type: SliceableFood
|
||||||
count: 3
|
count: 3
|
||||||
slice: FoodDoughSlice
|
slice: FoodDoughSlice
|
||||||
|
- type: Construction
|
||||||
|
graph: Pizza
|
||||||
|
node: start
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: dough slice
|
name: dough slice
|
||||||
@@ -424,6 +427,9 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: dough-flat
|
state: dough-flat
|
||||||
|
- type: Construction
|
||||||
|
graph: Pizza
|
||||||
|
node: flat
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: pizza bread
|
name: pizza bread
|
||||||
|
|||||||
@@ -42,6 +42,10 @@
|
|||||||
Blunt: 10
|
Blunt: 10
|
||||||
soundHit:
|
soundHit:
|
||||||
path: /Audio/Weapons/smash.ogg
|
path: /Audio/Weapons/smash.ogg
|
||||||
|
- type: Tool
|
||||||
|
qualities:
|
||||||
|
- Rolling
|
||||||
|
speed: 0.5 # its very big, akward to use
|
||||||
- type: Appearance
|
- type: Appearance
|
||||||
- type: GenericVisualizer
|
- type: GenericVisualizer
|
||||||
visuals:
|
visuals:
|
||||||
|
|||||||
@@ -42,7 +42,17 @@
|
|||||||
price: 20
|
price: 20
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
abstract: true
|
||||||
parent: GasTankBase
|
parent: GasTankBase
|
||||||
|
id: GasTankRoundBase
|
||||||
|
components:
|
||||||
|
- type: Tool
|
||||||
|
qualities:
|
||||||
|
- Rolling
|
||||||
|
speed: 0.6 # fairly unwieldly but nice round surface
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
parent: GasTankRoundBase
|
||||||
id: OxygenTank
|
id: OxygenTank
|
||||||
name: oxygen tank
|
name: oxygen tank
|
||||||
description: A standard cylindrical gas tank for oxygen.
|
description: A standard cylindrical gas tank for oxygen.
|
||||||
@@ -68,7 +78,7 @@
|
|||||||
sprite: Objects/Tanks/yellow.rsi
|
sprite: Objects/Tanks/yellow.rsi
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: GasTankBase
|
parent: GasTankRoundBase
|
||||||
id: NitrogenTank
|
id: NitrogenTank
|
||||||
name: nitrogen tank
|
name: nitrogen tank
|
||||||
description: A standard cylindrical gas tank for nitrogen.
|
description: A standard cylindrical gas tank for nitrogen.
|
||||||
@@ -81,7 +91,7 @@
|
|||||||
sprite: Objects/Tanks/red.rsi
|
sprite: Objects/Tanks/red.rsi
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: GasTankBase
|
parent: GasTankRoundBase
|
||||||
id: EmergencyOxygenTank
|
id: EmergencyOxygenTank
|
||||||
name: emergency oxygen tank
|
name: emergency oxygen tank
|
||||||
description: An easily portable tank for emergencies. Contains very little oxygen, rated for survival use only.
|
description: An easily portable tank for emergencies. Contains very little oxygen, rated for survival use only.
|
||||||
@@ -152,7 +162,7 @@
|
|||||||
Blunt: 7.5
|
Blunt: 7.5
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: GasTankBase
|
parent: GasTankRoundBase
|
||||||
id: AirTank
|
id: AirTank
|
||||||
name: air tank
|
name: air tank
|
||||||
description: Mixed anyone?
|
description: Mixed anyone?
|
||||||
@@ -168,7 +178,7 @@
|
|||||||
sprite: Objects/Tanks/generic.rsi
|
sprite: Objects/Tanks/generic.rsi
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: GasTankBase
|
parent: GasTankRoundBase
|
||||||
id: NitrousOxideTank
|
id: NitrousOxideTank
|
||||||
name: nitrous oxide tank
|
name: nitrous oxide tank
|
||||||
description: Contains a mixture of air and nitrous oxide. Make sure you don't refill it with pure N2O.
|
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
|
sprite: Objects/Tanks/anesthetic.rsi
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
# it's a square so no rolling dough
|
||||||
parent: GasTankBase
|
parent: GasTankBase
|
||||||
id: PlasmaTank
|
id: PlasmaTank
|
||||||
name: plasma tank
|
name: plasma tank
|
||||||
|
|||||||
@@ -497,3 +497,27 @@
|
|||||||
Wood: 50
|
Wood: 50
|
||||||
- type: StaticPrice
|
- type: StaticPrice
|
||||||
price: 25
|
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
|
||||||
|
|||||||
@@ -18,6 +18,10 @@
|
|||||||
Blunt: 8
|
Blunt: 8
|
||||||
- type: Item
|
- type: Item
|
||||||
size: 80
|
size: 80
|
||||||
|
- type: Tool
|
||||||
|
qualities:
|
||||||
|
- Rolling
|
||||||
|
speed: 0.75 # a bit unwieldly but does the job
|
||||||
- type: Clothing
|
- type: Clothing
|
||||||
quickEquip: false
|
quickEquip: false
|
||||||
slots:
|
slots:
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -482,14 +482,14 @@
|
|||||||
solids:
|
solids:
|
||||||
FoodBreadPlainSlice: 2
|
FoodBreadPlainSlice: 2
|
||||||
|
|
||||||
#Pizzas
|
#Pizzas TODO: contruction graph based pizza
|
||||||
- type: microwaveMealRecipe
|
- type: microwaveMealRecipe
|
||||||
id: RecipeMargheritaPizza
|
id: RecipeMargheritaPizza
|
||||||
name: margherita pizza recipe
|
name: margherita pizza recipe
|
||||||
result: FoodPizzaMargherita
|
result: FoodPizzaMargherita
|
||||||
time: 30
|
time: 30
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodCheeseSlice: 1
|
FoodCheeseSlice: 1
|
||||||
FoodTomato: 4
|
FoodTomato: 4
|
||||||
|
|
||||||
@@ -499,7 +499,7 @@
|
|||||||
result: FoodPizzaMushroom
|
result: FoodPizzaMushroom
|
||||||
time: 25
|
time: 25
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodMushroom: 5
|
FoodMushroom: 5
|
||||||
|
|
||||||
- type: microwaveMealRecipe
|
- type: microwaveMealRecipe
|
||||||
@@ -508,7 +508,7 @@
|
|||||||
result: FoodPizzaMeat
|
result: FoodPizzaMeat
|
||||||
time: 30
|
time: 30
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodMeat: 3
|
FoodMeat: 3
|
||||||
FoodCheeseSlice: 1
|
FoodCheeseSlice: 1
|
||||||
FoodTomato: 1
|
FoodTomato: 1
|
||||||
@@ -519,7 +519,7 @@
|
|||||||
result: FoodPizzaVegetable
|
result: FoodPizzaVegetable
|
||||||
time: 30
|
time: 30
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodEggplant: 1
|
FoodEggplant: 1
|
||||||
FoodCarrot: 1
|
FoodCarrot: 1
|
||||||
FoodCorn: 1
|
FoodCorn: 1
|
||||||
@@ -531,7 +531,7 @@
|
|||||||
result: FoodPizzaPineapple
|
result: FoodPizzaPineapple
|
||||||
time: 30
|
time: 30
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodMeatChickenCutlet: 3
|
FoodMeatChickenCutlet: 3
|
||||||
FoodPineappleSlice: 5
|
FoodPineappleSlice: 5
|
||||||
|
|
||||||
@@ -541,7 +541,7 @@
|
|||||||
result: FoodPizzaDank
|
result: FoodPizzaDank
|
||||||
time: 30
|
time: 30
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodAmbrosiaVulgaris: 3
|
FoodAmbrosiaVulgaris: 3
|
||||||
FoodCheeseSlice: 1
|
FoodCheeseSlice: 1
|
||||||
FoodTomato: 1
|
FoodTomato: 1
|
||||||
@@ -552,7 +552,7 @@
|
|||||||
result: FoodPizzaDonkpocket
|
result: FoodPizzaDonkpocket
|
||||||
time: 30
|
time: 30
|
||||||
solids:
|
solids:
|
||||||
FoodDough: 1
|
FoodDoughFlat: 1
|
||||||
FoodDonkpocketWarm: 3
|
FoodDonkpocketWarm: 3
|
||||||
FoodCheeseSlice: 1
|
FoodCheeseSlice: 1
|
||||||
FoodTomato: 1
|
FoodTomato: 1
|
||||||
|
|||||||
@@ -60,3 +60,10 @@
|
|||||||
toolName: tool-quality-honking-tool-name
|
toolName: tool-quality-honking-tool-name
|
||||||
spawn: BikeHorn
|
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 }
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ WARNING: This is not an automatically generated list, things here may become out
|
|||||||
<GuideEntityEmbed Entity="FoodTofu"/>
|
<GuideEntityEmbed Entity="FoodTofu"/>
|
||||||
<GuideEntityEmbed Entity="FoodDoughPie"/>
|
<GuideEntityEmbed Entity="FoodDoughPie"/>
|
||||||
<GuideEntityEmbed Entity="FoodCakeBatter"/>
|
<GuideEntityEmbed Entity="FoodCakeBatter"/>
|
||||||
|
<GuideEntityEmbed Entity="FoodDoughFlat"/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<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
|
- Bun: Microwave Dough Slice for 5 Seconds
|
||||||
- Cutlet: Slice Raw Meat
|
- Cutlet: Slice Raw Meat
|
||||||
- Cheese Wedge: Slice Cheese Wheel
|
- Cheese Wedge: Slice Cheese Wheel
|
||||||
|
- Flat Dough: Use a rolling pin or a round object (fire extinguisher, soda can, bottle) on Dough.
|
||||||
|
|
||||||
## Food Examples
|
## 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
|
- Plain Burger: Microwave 1 Bun and 1 Raw Meat for 10 Seconds
|
||||||
- Tomato Soup: 10u Water, 1 Bowl, and 2 Tomatoes 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
|
- 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
|
- Cake: 1 Cake Batter for 15 Seconds
|
||||||
- Apple Pie: 1 Pie Dough, 3 Apples, and 1 Pie Tin for 15 Seconds
|
- Apple Pie: 1 Pie Dough, 3 Apples, and 1 Pie Tin for 15 Seconds
|
||||||
|
|
||||||
|
|||||||
BIN
Resources/Textures/Objects/Tools/rolling_pin.rsi/icon.png
Normal file
BIN
Resources/Textures/Objects/Tools/rolling_pin.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 999 B |
BIN
Resources/Textures/Objects/Tools/rolling_pin.rsi/inhand-left.png
Normal file
BIN
Resources/Textures/Objects/Tools/rolling_pin.rsi/inhand-left.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 680 B |
Binary file not shown.
|
After Width: | Height: | Size: 681 B |
22
Resources/Textures/Objects/Tools/rolling_pin.rsi/meta.json
Normal file
22
Resources/Textures/Objects/Tools/rolling_pin.rsi/meta.json
Normal 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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user