Canoe Paddle - Double-bladed: Difference between revisions

From PZwiki
(Added basic weapon information and weapon code information from item_weapons.txt)
 
(Update distribution file)
 
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{Page version|41.78.16}}
{{Infobox item
|name=Canoe Paddle - Double-bladed
|model=CanoePadelX2_Model.png
|icon=PaddleDouble.png
|icon_name=Canoe Paddle Double
<!--GENERAL-->
|category=Sports
|weight=2.2
|equipped=One-handed
|attachment_type=Shovel
|skill_type=Long Blunt
<!--PROPERTIES-->
|material=<!-- E.g. Metal -->
|material_value=<!-- E.g. MetalValue attribute -->
|condition_max=10
<!--DAMAGE-->
|damage_type=Blunt
|min_damage=0.8
|max_damage=1.9
|door_damage=1
|tree_damage=0
|min_range=0.61
|max_range=1.6
|base_speed=0.8
|push_back=0.3
|knockdown=0
|crit_chance=50
|crit_multiplier=2
<!-- TECHNICAL -->
|item_id=Base.CanoePadelX2
}}
A '''canoe paddle - double bladed''' is a long blunt melee [[weapon]].
==Usage==
===Weapon===
===Weapon===
The Canoe Paddle - Double bladed is a long blunt weapon that has a pretty high damage range for its weapon type and a high crit chance of 50%, making it a potent weapon with it's only drawback being the slower swing speed which is also sort of compensated though, with it's high range.
The canoe paddle - double bladed can attack up to 3 enemies at a time, dealing a maximum of 1.9 damage to enemies (unless a critical hit) from up to 1.6 [[tiles]] away at an attack speed of 0.8.
 
===Breaking doors===
It can be used to bash down [[door]]s, dealing 1 damage per hit.
 
==Condition==
The canoe paddle - double bladed has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|long blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (10 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.<br>
Below is an example of the chance of losing durability at different levels of [[Skills|maintenance]] and [[Skills|long blunt]] levels.
{{Durability weapon|10}}


===Item===
==Distribution==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
The loot distributions can be found in the table(s) below.
{{Retrieved|version=41|incver=55}}
 
<nowiki>
<!--BOT FLAG|CanoePadelX2|41.78.16-->
    item CanoePadelX2
{{Clear}}
<div class="togglebox theme-red">
    <div>CanoePadelX2 distribution
        <span class="mw-customtoggle-togglebox-CanoePadelX2" 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-CanoePadelX2">
    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
    |-
    | bedroom
    | {{ll|crate}}
    | 0.47%
    |-
    | closet
    | {{ll|crate}}
    | 0.47%
    |-
    | closet
    | {{ll|crate}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.47%
    |-
    | garagestorage
    | {{ll|crate}}
    | 3.98%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | schoolstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | sportstorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | sportstorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | sportstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | sportstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.47%
    |-
    | storageunit
    | {{ll|crate}}
    | 3.98%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.47%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 3.98%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CanoePadelX2" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CanoePadelX2|41.78.16-->
{{Stub}}
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2267
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CanoePadelX2
    {
        DisplayCategory = Sports,
         MaxRange = 1.6,
         MaxRange = 1.6,
         WeaponSprite = CanoePadelX2,
         WeaponSprite = CanoePadelX2,
Line 45: Line 197:
         BaseSpeed = 0.8,
         BaseSpeed = 0.8,
         AttachmentType = Shovel,
         AttachmentType = Shovel,
        {</nowiki>
    }
}}
}}
 
==See also==
*[[Canoe Paddle]]
 
{{Navbox items|blunt}}

Latest revision as of 12:18, 30 April 2024

Project ZomboidItemsWeaponsMelee weaponsLong blunt weaponsCanoe Paddle - Double-bladed
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Canoe Paddle - Double-bladed
CanoePadelX2 Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
2.2
Equipped
One-handed
Slot attached
Back
Skill
Properties
Max condition
10
Performance
Damage type
Blunt
Damage
0.8–1.9
Door damage
1
Tree damage
0
Range
0.61–1.6
Attack speed
0.8
Knockback
0.3
Knockdown
0
Crit chance
50%
Technical
Item ID
Base.CanoePadelX2

A canoe paddle - double bladed is a long blunt melee weapon.

Usage

Weapon

The canoe paddle - double bladed can attack up to 3 enemies at a time, dealing a maximum of 1.9 damage to enemies (unless a critical hit) from up to 1.6 tiles away at an attack speed of 0.8.

Breaking doors

It can be used to bash down doors, dealing 1 damage per hit.

Condition

The canoe paddle - double bladed has a maximum condition of 10. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (10 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
Below is an example of the chance of losing durability at different levels of maintenance and long blunt levels.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/10 (10%)
0 4 1/12 (8%)
0 8 1/14 (7%)
4 0 1/14 (7%)
8 0 1/18 (6%)
4 4 1/16 (6%)
4 8 1/18 (6%)
8 8 1/22 (5%)
10 10 1/24 (4%)

Distribution

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

CanoePadelX2 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
bedroom crate 0.47%
closet crate 0.47%
closet crate 3.98%
garagestorage crate 0.47%
garagestorage crate 3.98%
schoolstorage crate 23.28%
schoolstorage crate 41.14%
sportstorage crate 23.28%
sportstorage crate 41.14%
sportstorage metal_shelves 23.28%
sportstorage metal_shelves 41.14%
sportstorage shelves 23.28%
sportstorage shelves 41.14%
sportstore shelves 23.28%
sportstore shelves 41.14%
storageunit crate 0.47%
storageunit crate 3.98%
storageunit metal_shelves 0.47%
storageunit metal_shelves 3.98%
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

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 CanoePadelX2
    {
        DisplayCategory = Sports,
        MaxRange	=	1.6,
        WeaponSprite	=	CanoePadelX2,
        MinAngle	=	0.85,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	10,
        Weight	=	2.2,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	3,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Canoe Paddle Double,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	PaddleDouble,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   CanoePaddleDoubleBreak,
        DoorHitSound = CanoePaddleDoubleHit,
		HitSound = CanoePaddleDoubleHit,
		HitFloorSound = CanoePaddleDoubleHit,
		SwingSound = CanoePaddleDoubleSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	50,
        CritDmgMultiplier = 2,
        MinDamage	=	0.8,
        MaxDamage	=	1.9,
        BaseSpeed = 0.8,
        AttachmentType = Shovel,
    }

See also