Rolling Pin: Difference between revisions

From PZwiki
(Redesigned page, + Navbar, +Categories, renewed description - added benefits/downsides of the weapon, + corrected code. + crafting recipes)
(Update distribution file)
 
(36 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{languages|Rolling pin}}
{{Page version|41.78.16}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{Infobox item
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
|name=Rolling Pin
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Weapons|Weapons]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
|model=RollingPin_Model.png
{{Weapons
|icon=RollingPin.png
|image = Rolling Pin.png
|icon_name=Rolling Pin
|weapontype = Melee
|category=Weapon
|ammo = none
|weight=1.5
|weight = 1.5
|equipped=One-handed
|type=Blunt
|min_range=0.61
|max_range=1
|swing_time=3
|condition_max=8
|min_damage=0.4
|max_damage=0.6
|push_back=0.5
|knockdown=0
|item_id=Base.RollingPin
}}
}}
The Rolling Pin is melee weapon which has moderate durability, but has a less than average ability to knock down zombies.
A '''rolling pin''' is a blunt melee [[weapon]].
<br><br>
The Rolling Pin has a medium swing rate but does not put out much damage either. It is a shorter range weapon, with a max range of 1, (in comparison to a [[Baseball Bat]] which has 1.5)  It can be found in kitchen counters in various houses. The Rolling Pin currently at Build 34.28 cannot be repaired.
<br><br>
The rolling pin is a single attack weapon, meaning it can only hit one zombie at a time ''(compared to the [[Baseball Bat|baseball bat]] which can hit 2)''. Attacking more than one zombie should be taken with care as only one zombie will be stopped per hit and others could get in close enough to damage the character. The rolling pin does 5 door damage, but no tree damage.
<br><br>


== Crafting ==
==Usage==
The Rolling pin can be used to create various recipes if a character picked a [[Player#Traits|chef profession]] or has learnt the correct [[Recipe Magazines|recipe magazines]] in relation to cooking.
===Weapon===
{| class="wikitable sortable" style="text-align:center;"
The rolling pin has a short range and can only hit one opponent per swing, making it difficult to fight multiple zombies at once, especially since it has a long swing time.
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
! class="unsortable" | Skill Level


{{RecipeLookup|2032}}
===Breaking doors===
{{RecipeLookup|2036}}
It is somewhat ineffective at bashing down [[door]]s, dealing 5 damage per hit. For comparison, an [[axe]] deals 35 damage.
|}


== Code ==
===Chopping trees===
<nowiki>
It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an [[axe]] deals 35 damage.
item RollingPin
MaxRange = 1,
WeaponSprite = Baseballbat,
MinAngle = 0,
Type = Weapon,
MinimumSwingTime = 3,
SwingAmountBeforeImpact = 0.02,
Categories = Blunt,
Weight = 1.5,
ConditionLowerChanceOneIn = 14,
PushBackMod = 0.5,
MaxDamage = 0.6,
MinDamage = 0.4,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 1,
DoorDamage = 5,
IdleAnim = Idle_Weapon2,
SwingAnim = Bat,
CriticalChance = 10,
WeaponWeight = 1.5,
DisplayName = Rolling Pin,
MinRange = 0.61,
SwingTime = 3,
HitAngleMod = -30,
KnockdownMod = 0,
Icon = RollingPin,
RunAnim = Run_Weapon2,
TreeDamage  = 0,
EnduranceMod = 1.4,
</nowiki>


{{Navbox/Weapons}}
==Condition==
{{Navbox/Tools}}
The rolling pin is a [[Skills#Blunt|blunt]] weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. It has a maximum condition of 10 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: <code>1 in (14 + maintenance x 2)</code>
[[Category:Items]]
 
===Repairing===
Rolling pins cannot be repaired.
 
==Crafting==
The rolling pin can be used to create various recipes if a character picked a [[Player#Traits|chef profession]] or has learned the correct [[recipe magazines]] in relation to cooking.
 
===Cooking===
{{Main|Cooking}}
{{Crafting/sandbox2
|bread_dough
|pie_preparation
|pizza
|baking_tray_with_chocolate_chip_cookie_uncooked
|baking_tray_with_chocolate_cookie_uncooked
|baking_tray_with_oatmeal_cookie_uncooked
|baking_tray_with_shortbread_cookie_uncooked
|baking_tray_with_sugar_cookie_uncooked
|baguette_uncooked
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|RollingPin|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>RollingPin distribution
        <span class="mw-customtoggle-togglebox-RollingPin" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-RollingPin">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | cafe
    | {{ll|metal_shelves}}
    | 19.27%
    |-
    | cafekitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | cafeteriakitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | dinerkitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | donut_kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | fishchipskitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | gigamartkitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | italiankitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | jayschicken_kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 19.27%
    |-
    | livingroom
    | {{ll|counter}}
    | 19.27%
    |-
    | mexicankitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | pizzakitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | restaurantkitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | seafoodkitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | spiffoskitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | westernkitchen
    | {{ll|counter}}
    | 19.27%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-RollingPin" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|RollingPin|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1192
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item RollingPin
{
    DisplayCategory = Cooking,
MaxRange = 1.1,
WeaponSprite = RollingPin,
MinAngle = 0.67,
Type = Weapon,
MinimumSwingTime = 3,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlunt,
Weight = 1.5,
ConditionLowerChanceOneIn = 14,
PushBackMod = 0.5,
SubCategory = Swinging,
ConditionMax = 8,
MaxHitCount = 2,
DoorDamage = 5,
IdleAnim = Idle_Weapon2,
SwingAnim = Bat,
        CriticalChance = 50,
        CritDmgMultiplier = 2,
DisplayName = Rolling Pin,
MinRange = 0.61,
SwingTime = 3,
HitAngleMod = -30,
KnockdownMod = 0,
Icon = RollingPin,
RunAnim = Run_Weapon2,
TreeDamage  =  0,
EnduranceMod = 1.4,
        CriticalChance = 15,
        CritDmgMultiplier = 2,
        MinDamage = 0.2,
        MaxDamage = 0.5,
        BaseSpeed = 1.2,
  WeaponLength = 0.28,
  AttachmentType = BigWeapon,
        BreakSound = RollingPinBreak,
        DoorHitSound = RollingPinHit,
HitSound = RollingPinHit,
HitFloorSound = RollingPinHit,
SwingSound = RollingPinSwing,
    }
}}
}}
 
==See also==
*[[Kitchen Knife]]
 
{{Navbox items|blunt}}
 
 
 
[[Category:Cooking tools]]
[[Category:Tools]]
[[Category:Tools]]
[[Category:Weapons]]
[[Category:Version 34.28]]

Latest revision as of 13:44, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Rolling Pin
RollingPin Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
One-handed
Properties
Max condition
8
Performance
Damage
0.4–0.6
Range
0.61–1
Knockback
0.5
Knockdown
0
Technical
Item ID
Base.RollingPin

A rolling pin is a blunt melee weapon.

Usage

Weapon

The rolling pin has a short range and can only hit one opponent per swing, making it difficult to fight multiple zombies at once, especially since it has a long swing time.

Breaking doors

It is somewhat ineffective at bashing down doors, dealing 5 damage per hit. For comparison, an axe deals 35 damage.

Chopping trees

It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an axe deals 35 damage.

Condition

The rolling pin is a blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. It has a maximum condition of 10 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (14 + maintenance x 2)

Repairing

Rolling pins cannot be repaired.

Crafting

The rolling pin can be used to create various recipes if a character picked a chef profession or has learned the correct recipe magazines in relation to cooking.

Cooking

Main article: Cooking
Product Ingredients Tools Requirements Workstation XP
Dough.png
Bread (dough)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
Each of:
RollingPin.png Rolling Pin ×1
Bowl.png Empty Bowl ×1
WaterDrop.png Water ×1 unit(s)
Salt.png Salt ×1 unit(s)
Yeast.png Yeast ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood2.png
Good Cooking Magazine Vol.2
none 2.5 Cooking
PieWhole.png
Pie Preparation
RollingPin.png Rolling Pin ×1
BakingPan.png Baking Pan ×1
Dough.png Pie Dough ×1
none none none 0.75 Cooking
PizzaWhole.png
Pizza
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
Cornflour.png Corn Flour ×1
Flour.png Flour ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
TomatoPaste.png Tomato Paste ×15 unit(s)
Water.png Water ×3 unit(s)
Salt.png Salt ×2 unit(s)
Yeast.png Yeast ×1 unit(s)
Cheese.png Cheese ×15 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood2.png
Good Cooking Magazine Vol.2
none 10 Cooking
BakingTray CookiesBaked.png
Baking Tray with Chocolate Chip Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
ChocolateChips.png Chocolate Chips ×6
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Chocolate Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
CocoaPowder.png Cocoa Powder ×10 unit(s)
Egg.png Egg (tag) ×2
Flour.png Flour ×1
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Oatmeal Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
OatsRaw.png Can of Oats ×10 unit(s)
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Shortbread Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
Butter.png Butter ×4 unit(s)
SugarBrown.png Sugar (tag) ×1
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
BakingTray CookiesBaked.png
Baking Tray with Sugar Cookie (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
One of:
OilOlive.png Olive Oil ×1
OilVegetable.png Vegetable Oil ×1
Lard.png Lard ×1
Butter.png Butter ×1
Margarine.png Margarine ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
BakingTray.png Baking Tray ×1
BakingSoda.png Baking Soda ×1
Egg.png Egg (tag) ×2
Flour.png Flour ×1 unit(s)
WaterDrop.png Water ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood.png
Good Cooking Magazine Vol.1
none 0.75 Cooking
Doughnut Baguette.png
Baguette (Uncooked)
One of:
Fork.png Fork ×1
Spatula.png Spatula ×1
Spoon.png Spoon ×1
Each of:
Bowl.png Empty Bowl ×1
RollingPin.png Rolling Pin ×1
WaterDrop.png Water ×1 unit(s)
Flour.png Flour ×1 unit(s)
Salt.png Salt ×1 unit(s)
Yeast.png Yeast ×1 unit(s)
none
Profession chef2.png
Chef occupation
(or)
Trait cook.png
Cook trait
(or)
MagazineFood2.png
Good Cooking Magazine Vol.2
none 2.5 Cooking

Distribution

The loot distributions can be found in the table(s) below.

RollingPin distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bakerykitchen counter 19.27%
burgerkitchen counter 19.27%
cafe metal_shelves 19.27%
cafekitchen counter 19.27%
cafeteriakitchen counter 19.27%
chinesekitchen counter 19.27%
deepfry_kitchen counter 19.27%
dinerkitchen counter 19.27%
donut_kitchen counter 19.27%
fishchipskitchen counter 19.27%
gigamartkitchen counter 19.27%
italiankitchen counter 19.27%
jayschicken_kitchen counter 19.27%
kitchen counter 19.27%
kitchen_crepe counter 19.27%
livingroom counter 19.27%
mexicankitchen counter 19.27%
pizzakitchen counter 19.27%
restaurantkitchen counter 19.27%
seafoodkitchen counter 19.27%
spiffoskitchen counter 19.27%
westernkitchen counter 19.27%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item RollingPin
	{
	    DisplayCategory = Cooking,
		MaxRange	=	1.1,
		WeaponSprite	=	RollingPin,
		MinAngle	=	0.67,
		Type	=	Weapon,
		MinimumSwingTime	=	3,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	SmallBlunt,
		Weight	=	1.5,
		ConditionLowerChanceOneIn	=	14,
		PushBackMod	=	0.5,
		SubCategory	=	Swinging,
		ConditionMax	=	8,
		MaxHitCount	=	2,
		DoorDamage	=	5,
		IdleAnim	=	Idle_Weapon2,
		SwingAnim	=	Bat,
        CriticalChance	=	50,
        CritDmgMultiplier = 2,
		DisplayName	=	Rolling Pin,
		MinRange	=	0.61,
		SwingTime	=	3,
		HitAngleMod	=	-30,
		KnockdownMod	=	0,
		Icon	=	RollingPin,
		RunAnim	=	Run_Weapon2,
		TreeDamage  =   0,
		EnduranceMod = 1.4,
        CriticalChance	=	15,
        CritDmgMultiplier = 2,
        MinDamage	=	0.2,
        MaxDamage	=	0.5,
        BaseSpeed = 1.2,
	  	WeaponLength = 0.28,
	  	AttachmentType = BigWeapon,
        BreakSound	=	RollingPinBreak,
        DoorHitSound = RollingPinHit,
		HitSound = RollingPinHit,
		HitFloorSound = RollingPinHit,
		SwingSound = RollingPinSwing,
    }

See also