Rolling Pin: Difference between revisions
(Replaced Navigation System with Header Version, Confirmed Code Current, Updated Weapon Template to conform with new system. Cleared Old Categories except tools) |
(Update distribution file) |
||
(35 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | |||
{{ | {{Page version|41.78.16}} | ||
{{ | {{Infobox item | ||
|name=Rolling Pin | |||
|model=RollingPin_Model.png | |||
|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]]. | |||
== | ==Usage== | ||
The | ===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 [[door]]s, 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== | ||
{{Navbox | 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> | ||
===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]] |
Latest revision as of 13:44, 30 April 2024
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
Distribution
The loot distributions can be found in the table(s) below.
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
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}