Rolling Pin: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(41 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{Weapons
{{Page version|41.78.16}}
|image = Rolling Pin.png
{{Infobox item
|weapontype = Melee
|name=Rolling Pin
|ammo = none
|model=RollingPin_Model.png
|weight = 1.5
|icon=RollingPin.png
|icon_name=Rolling Pin
|category=Weapon
|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
}}
}}
A '''rolling pin''' is a blunt melee [[weapon]].


As of the current version, the rolling pin currently has the same sprite as the baseball bat but has different properties. Since it has the same sprite as the baseball bat, the length and the knockback of the weapon is the same. The major difference between the rolling pin and the baseball bat is that the rolling pin does significantly less damage than the baseball bat. The rolling pin usually won't kill standing enemies but it will be strong enough to either knock them back or send them to the floor to follow up with a killing blow.
==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.


Rolling pins are commonly found in kitchens.
===Breaking doors===
It is somewhat ineffective at bashing down [[door]]s, dealing 5 damage per hit. For comparison, an [[axe]] deals 35 damage.


==Coding==
===Chopping trees===
{<nowiki>
It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an [[axe]] deals 35 damage.
Type = Weapon,
DisplayName = Rolling Pin,
SubCategory    =    Swinging,
Icon = RollingPin,
MinAngle = 0,
MaxDamage = 1.1,
MinDamage = 0.6,
MaxRange = 1.2,
MinRange = 0.4,
CriticalChance = 10,
PushBackMod = 0.5,
HitAngleMod = -30.0,
SwingAnim = Bat,
MaxHitCount = 1,
WeaponSprite = Baseballbat,
IdleAnim = Idle_Weapon2,
RunAnim = Run_Weapon2,
Weight = 1.5,
DoorDamage = 5,
MinimumSwingTime = 2.1,
SwingTime = 2.1,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 10,
ConditionMax = 200,
Categories = Blunt,


==Condition==
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>


}</nowiki>
===Repairing===
{{Navbox/Weapons}}
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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | bakerykitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | burgerkitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | chinesekitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | deepfry_kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | italiankitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | kitchen_crepe
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | mexicankitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | pizzakitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | westernkitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |}
</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 0.2.0r]]

Latest revision as of 16:28, 24 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
Containers
Building / Room Container Rolls Chance
bakerykitchen counter 4 8.0
burgerkitchen counter 4 8.0
chinesekitchen counter 4 8.0
deepfry_kitchen counter 4 8.0
italiankitchen counter 4 8.0
kitchen counter 4 8.0
kitchen_crepe counter 4 8.0
mexicankitchen counter 4 8.0
pizzakitchen counter 4 8.0
westernkitchen counter 4 8.0

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