Fishing Rod: Difference between revisions

From PZwiki
m (→‎See also: Category update: "Melee weapons")
(Clean up, added CodeBox, version bump)
Line 1: Line 1:
{{Languages}}
{{Languages}}
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=50}}
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}}
{{Stub}}
{{Infobox weapon
{{Infobox weapon
|display_name=Fishing Rod
|display_name=Fishing Rod
Line 30: Line 29:
|min_damage=0.2
|min_damage=0.2
|max_damage=0.3
|max_damage=0.3
|crit_chance=5%
|crit_chance=5
|crit_multiplier=2x
|crit_multiplier=2x
|tree_damage=-
|tree_damage=-
Line 39: Line 38:
|ingredients=
|ingredients=
|class_name=Base.FishingRod<br>Base.FishingRodBreak<br>Base.FishingRodTwineLine
|class_name=Base.FishingRod<br>Base.FishingRodBreak<br>Base.FishingRodTwineLine
}}
}}{{About|the spawned, non-crafted fishing rod|the crafted fishing rod|Fishing Rod (crafted)}}
The '''fishing rod''' is a tool and weapon that can be used to catch fish, requiring a fishing tackle or bait in order to work. The player can fish by walking up to a body of water, right-clicking on it and selecting the "Fishing" option. Fishing lines can also sometimes break and need to be replaced.
A '''fishing rod''' is a tool used in [[fishing]] and a makeshift [[Weapons|weapon]].


'''As of Build 32 crafting fishing rods requires the player to either pick the "Fisherman" profession, "Angler" trait or read one of the [[Recipe Magazines]] that can be found in the world.'''
==Usage==
A fishing rod requires some kind of [[Fishing#Bait|bait]], such as [[Fishing Tackle|fishing tackle]] or [[worm]]. The player can fish by walking up to a body of water, right-clicking on it and selecting the "Fishing" option. Fishing lines can also sometimes break and need to be replaced.


==Crafting==
==Crafting==
To craft a fishing rod, the player must have picked either the {{T|Occupation#Fisherman|"Fisherman" occupation}} or {{T|Traits|"Angler" trait}} during character creation. Otherwise, it will be available after reading ''{{T|Recipe Magazines|Angler USA Magazine Vol. 1}}''
This fishing rod cannot be crafted, it can only be repaired if the line breaks, requiring either the {{T|Occupation#Fisherman|"Fisherman" occupation}} or {{T|Traits|"Angler" trait}} during character creation, otherwise, after reading ''{{T|Recipe Magazines|Angler USA Magazine Vol. 1}}''. There is a [[Fishing Rod (crafted)|fishing rod]] that can be crafted with a stick.


===Fishing===
===Fishing===
{{Main|Fishing}}
{{Main|Fishing}}
''For the crafted fishing rod, see: [[Fishing Rod (crafted)]]''
{{Crafting header|ing=2}}
{{Crafting header|ing=2}}
{{Crafting fishing|001|ing=2}}
{{Crafting fishing|001|ing=2}}
{{Crafting fishing|002|ing=2}}
|}
|}


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
[[File:FishingRod.png]] ''Fishing Rod''
{{CodeSnip
|lang=java
|line=true
|start=2491
|source=items_weapons.txt
|retrieved=true
|version=41
|incver=78.16
|code=    item FishingRod
    {
        DisplayCategory = Fishing,
        MaxRange = 1.55,
        WeaponSprite = FishingRod_Modern,
        MinAngle = 0.8,
        Type = Weapon,
        MinimumSwingTime = 2,
        KnockBackOnNoDeath = FALSE,
        SwingAmountBeforeImpact = 0.02,
        Categories = Improvised;Blunt,
        ConditionLowerChanceOneIn = 1,
        Weight = 0.4,
        SplatNumber = 1,
        PushBackMod = 0.3,
        SubCategory = Swinging,
        ConditionMax = 3,
        MaxHitCount = 2,
        DoorDamage = 1,
        SwingAnim = Bat,
        DisplayName = Fishing Rod,
        MinRange = 0.61,
        SwingTime = 2,
        KnockdownMod = 0,
        SplatBloodOnNoDeath = FALSE,
        Icon = FishingRod,
        RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        BreakSound  =  FishingRodBreak,
        DoorHitSound = FishingRodHit,
HitSound = FishingRodHit,
HitFloorSound = FishingRodHit,
SwingSound = FishingRodSwing,
        TreeDamage  =  0,
        TwoHandWeapon = TRUE,
        CriticalChance = 5,
        CritDmgMultiplier = 2,
        MinDamage = 0.2,
        MaxDamage = 0.3,
        BaseSpeed = 1.3,
        AttachmentType = Shovel,
        SurvivalGear = TRUE,
        Tags = FishingRod,
    }


[[File:FishingRod.png]] ''Fishing Rod''
}}
{{Retrieved|version=41|incver=50}}
 
<pre>
[[File:FishingRod.png]] ''Fishing Rod (Twine Line)''
item FishingRod
{{CodeSnip
MaxRange = 1.55,
|lang=java
WeaponSprite = FishingRod_Modern,
|line=true
MinAngle = 0.8,
|start=2580
Type = Weapon,
|source=items_weapons.txt
MinimumSwingTime = 2,
|retrieved=true
KnockBackOnNoDeath = FALSE,
|version=41
SwingAmountBeforeImpact = 0.02,
|incver=78.16
Categories = Improvised;Blunt,
|code=    item FishingRodTwineLine
ConditionLowerChanceOneIn = 1,
    {
Weight = 0.4,
        DisplayCategory = Fishing,
SplatNumber = 1,
        MaxRange = 1.55,
PushBackMod = 0.3,
        WeaponSprite = FishingRod_Modern,
SubCategory = Swinging,
        MinAngle = 0.8,
ConditionMax = 3,
        Type = Weapon,
MaxHitCount = 2,
        MinimumSwingTime = 2,
DoorDamage = 1,
        KnockBackOnNoDeath = FALSE,
SwingAnim = Bat,
        SwingAmountBeforeImpact = 0.02,
DisplayName = Fishing Rod,
        Categories = Improvised;Blunt,
MinRange = 0.61,
        ConditionLowerChanceOneIn = 1,
SwingTime = 2,
        Weight = 0.4,
KnockdownMod = 0,
        SplatNumber = 1,
SplatBloodOnNoDeath = FALSE,
        PushBackMod = 0.3,
Icon = FishingRod,
        SubCategory = Swinging,
RunAnim = Run_Weapon2,
        ConditionMax = 3,
IdleAnim = Idle_Weapon2,
        MaxHitCount = 2,
BreakSound  = BreakWoodItem,
        DoorDamage = 1,
TreeDamage = 0,
        SwingAnim = Bat,
TwoHandWeapon = TRUE,
        DisplayName = Fishing Rod,
CriticalChance = 5,
        MinRange = 0.61,
CritDmgMultiplier = 2,
        SwingTime = 2,
MinDamage = 0.2,
        KnockdownMod = 0,
MaxDamage = 0.3,
        SplatBloodOnNoDeath = FALSE,
BaseSpeed = 1.3,
        Icon = FishingRod,
AttachmentType = Shovel,
        RunAnim = Run_Weapon2,
SurvivalGear = TRUE,
        IdleAnim = Idle_Weapon2,
Tags = FishingRod,
        BreakSound  =  FishingRodBreak,
</pre>
        DoorHitSound = FishingRodHit,
HitSound = FishingRodHit,
HitFloorSound = FishingRodHit,
SwingSound = FishingRodSwing,
        TreeDamage =   0,
        TwoHandWeapon = TRUE,
        CriticalChance = 5,
        CritDmgMultiplier = 2,
        MinDamage = 0.2,
        MaxDamage = 0.3,
        BaseSpeed = 1.3,
        AttachmentType = Shovel,
        Tags = FishingRod,
    }
}}


[[File:FishingRodBreak.png]] ''Fishing Rod without Line''
[[File:FishingRodBreak.png]] ''Fishing Rod without Line''
{{Retrieved|version=41|incver=50}}
{{CodeSnip
<pre>
|lang=java
item FishingRodBreak
|line=true
MaxRange = 1.55,
|start=2536
WeaponSprite = FishingRod_Crafted,
|source=items_weapons.txt
MinAngle = 0.8,
|retrieved=true
Type = Weapon,
|version=41
MinimumSwingTime = 2,
|incver=78.16
KnockBackOnNoDeath = FALSE,
|code=    item FishingRodBreak
SwingAmountBeforeImpact = 0.02,
    {
Categories = Improvised;Blunt,
        DisplayCategory = Fishing,
ConditionLowerChanceOneIn = 1,
        MaxRange = 1.55,
Weight = 0.4,
        WeaponSprite = FishingRod_Crafted,
SplatNumber = 1,
        MinAngle = 0.8,
PushBackMod = 0.3,
        Type = Weapon,
SubCategory = Swinging,
        MinimumSwingTime = 2,
ConditionMax = 3,
        KnockBackOnNoDeath = FALSE,
MaxHitCount = 2,
        SwingAmountBeforeImpact = 0.02,
DoorDamage = 1,
        Categories = Improvised;Blunt,
SwingAnim = Bat,
        ConditionLowerChanceOneIn = 1,
DisplayName = Fishing Rod Without line,
        Weight = 0.4,
MinRange = 0.61,
        SplatNumber = 1,
SwingTime = 2,
        PushBackMod = 0.3,
KnockdownMod = 0,
        SubCategory = Swinging,
SplatBloodOnNoDeath = FALSE,
        ConditionMax = 3,
Icon = FishingRodBreak,
        MaxHitCount = 2,
RunAnim = Run_Weapon2,
        DoorDamage = 1,
IdleAnim = Idle_Weapon2,
        SwingAnim = Bat,
BreakSound  = BreakWoodItem,
        DisplayName = Fishing Rod Without line,
TreeDamage = 0,
        MinRange = 0.61,
Tooltip = Tooltip_BrokenRod,
        SwingTime = 2,
TwoHandWeapon = TRUE,
        KnockdownMod = 0,
CriticalChance = 5,
        SplatBloodOnNoDeath = FALSE,
CritDmgMultiplier = 2,
        Icon = FishingRodBreak,
MinDamage = 0.2,
        RunAnim = Run_Weapon2,
MaxDamage = 0.3,
        IdleAnim = Idle_Weapon2,
BaseSpeed = 1.3,
        BreakSound  =  FishingRodBreak,
AttachmentType = Shovel,
        DoorHitSound = FishingRodHit,
</pre>
HitSound = FishingRodHit,
HitFloorSound = FishingRodHit,
SwingSound = FishingRodSwing,
        TreeDamage =   0,
        Tooltip = Tooltip_BrokenRod,
        TwoHandWeapon = TRUE,
        CriticalChance = 5,
        CritDmgMultiplier = 2,
        MinDamage = 0.2,
        MaxDamage = 0.3,
        BaseSpeed = 1.3,
        AttachmentType = Shovel,
    }
}}


[[File:FishingRod.png]] ''Fishing Rod (Twine Line)''
}}
{{Retrieved|version=41|incver=50}}
<pre>
item FishingRodTwineLine
MaxRange = 1.55,
WeaponSprite = FishingRod_Modern,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 1,
Weight = 0.4,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 3,
MaxHitCount = 2,
DoorDamage = 1,
SwingAnim = Bat,
DisplayName = Fishing Rod,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = FishingRod,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound  = BreakWoodItem,
TreeDamage  = 0,
TwoHandWeapon = TRUE,
CriticalChance = 5,
CritDmgMultiplier = 2,
MinDamage = 0.2,
MaxDamage = 0.3,
BaseSpeed = 1.3,
AttachmentType = Shovel,
Tags = FishingRod,
</pre>


==See also==
==See also==
Line 189: Line 230:


[[Category:Fishing Tools]]
[[Category:Fishing Tools]]
[[Category:Weapons]]
[[Category:Melee weapons]]
[[Category:Items]]

Revision as of 05:14, 27 December 2023

Fishing Rod
Fishing Rod
Fishing Rod Fishing Rod without Line Fishing Rod (Twine Line)
General
Category Weapon
Encumbrance
Heavy Load
0.4
Function Fishing
Equipped Two-Handed
Condition max. 3
Skill Long Blunt
Damage
Type Blunt
Attack speed 2
Range 0.61–1.55 tiles
Damage 0.2–0.3
Crit chance 5%
Tree damage -
Door damage 1
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.FishingRod
Base.FishingRodBreak
Base.FishingRodTwineLine
PlushSpiffo.pngThis article is about the spawned, non-crafted fishing rod. For the crafted fishing rod, see Fishing Rod (crafted).

A fishing rod is a tool used in fishing and a makeshift weapon.

Usage

A fishing rod requires some kind of bait, such as fishing tackle or worm. The player can fish by walking up to a body of water, right-clicking on it and selecting the "Fishing" option. Fishing lines can also sometimes break and need to be replaced.

Crafting

This fishing rod cannot be crafted, it can only be repaired if the line breaks, requiring either the "Fisherman" occupation or "Angler" trait during character creation, otherwise, after reading Angler USA Magazine Vol. 1. There is a fishing rod that can be crafted with a stick.

Fishing

Main article: Fishing

For the crafted fishing rod, see: Fishing Rod (crafted)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
FishingRod.png
Fishing Rod
0 XP none Angler USA Magazine Vol. 1 Fishing Rod without Line
Fishing Rod without Line
(consumed)

(2 units)

(consumed)

Code

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

FishingRod.png Fishing Rod Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item FishingRod
    {
        DisplayCategory = Fishing,
        MaxRange	=	1.55,
        WeaponSprite	=	FishingRod_Modern,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	1,
        Weight	=	0.4,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	3,
        MaxHitCount	=	2,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Fishing Rod,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	FishingRod,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   FishingRodBreak,
        DoorHitSound = FishingRodHit,
		HitSound = FishingRodHit,
		HitFloorSound = FishingRodHit,
		SwingSound = FishingRodSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	5,
        CritDmgMultiplier = 2,
        MinDamage	=	0.2,
        MaxDamage	=	0.3,
        BaseSpeed = 1.3,
        AttachmentType = Shovel,
        SurvivalGear = TRUE,
        Tags = FishingRod,
    }

FishingRod.png Fishing Rod (Twine Line) Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item FishingRodTwineLine
    {
        DisplayCategory = Fishing,
        MaxRange	=	1.55,
        WeaponSprite	=	FishingRod_Modern,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	1,
        Weight	=	0.4,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	3,
        MaxHitCount	=	2,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Fishing Rod,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	FishingRod,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   FishingRodBreak,
        DoorHitSound = FishingRodHit,
		HitSound = FishingRodHit,
		HitFloorSound = FishingRodHit,
		SwingSound = FishingRodSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	5,
        CritDmgMultiplier = 2,
        MinDamage	=	0.2,
        MaxDamage	=	0.3,
        BaseSpeed = 1.3,
        AttachmentType = Shovel,
        Tags = FishingRod,
    }

FishingRodBreak.png Fishing Rod without Line Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item FishingRodBreak
    {
        DisplayCategory = Fishing,
        MaxRange	=	1.55,
        WeaponSprite	=	FishingRod_Crafted,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	1,
        Weight	=	0.4,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	3,
        MaxHitCount	=	2,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Fishing Rod Without line,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	FishingRodBreak,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   FishingRodBreak,
        DoorHitSound = FishingRodHit,
		HitSound = FishingRodHit,
		HitFloorSound = FishingRodHit,
		SwingSound = FishingRodSwing,
        TreeDamage  =   0,
        Tooltip = Tooltip_BrokenRod,
        TwoHandWeapon = TRUE,
        CriticalChance	=	5,
        CritDmgMultiplier = 2,
        MinDamage	=	0.2,
        MaxDamage	=	0.3,
        BaseSpeed = 1.3,
        AttachmentType = Shovel,
    }

See also