Lacrosse Stick: Difference between revisions

From PZwiki
(Add infobox, stub)
(Update distribution file)
 
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{stub}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{languages|Broom}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
{{Infobox item
{{Infobox weapon
|name=Lacrosse Stick
|display_name=LaCrosse Stick
|model=LaCrosseStick_Model.png
|name_colour=Weapon
|icon=LacrosseStick.png
|name_text_colour=Weapon
|icon_name=Lacrosse Stick
|image=Image.png
|image_width=120px
|alternate_image=LacrosseStick.png
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Sports
|weight=0.4
|weight=0.4
|equipped=Two-handed
|equipped=Two-handed
Line 27: Line 24:
|knockdown=0
|knockdown=0
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=LaCrosseStick
|item_id=Base.LaCrosseStick
}}
}}
A '''LaCrosse stick''' is an improvised long blunt weapon.
A '''lacrosse stick''' is an improvised long blunt [[Weapons|weapon]].


== Usage ==
== Usage ==
A LaCrosse stick can be used as an improvised weapon. It has average durability and damage, but can hit two zombies simultaneously and has longer than average maximum range.  
A lacrosse stick can be used as an improvised weapon. It has average durability and damage, but can hit two zombies simultaneously and has longer than average maximum range.
 
==Condition==
The lacrosse stick 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 varying levels of the [[Skills|maintenance]] and [[Skills|long blunt]] skills.
{{Durability weapon|10}}
 
 
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|LaCrosseStick|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>LaCrosseStick distribution
        <span class="mw-customtoggle-togglebox-LaCrosseStick" 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-LaCrosseStick">
    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.53%
    |-
    | closet
    | {{ll|crate}}
    | 0.53%
    |-
    | closet
    | {{ll|crate}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.53%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.29%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | 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.53%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.29%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.53%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 6.29%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-LaCrosseStick" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|LaCrosseStick|41.78.16-->


== Code ==
== Code ==
===Item===
{{CodeBox
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
{{Retrieved|version=41|incver=55}}
  | lang = java
<pre> item LaCrosseStick
  | line = true
MaxRange = 1.6,
  | start = 2132
WeaponSprite = LaCrosseStick,
  | source = items_weapons.txt
MinAngle = 0.85,
  | retrieved = true
Type = Weapon,
  | version = 41.78.16
MinimumSwingTime = 2,
  | code =
KnockBackOnNoDeath = FALSE,
item LaCrosseStick
SwingAmountBeforeImpact = 0.02,
    {
Categories = Improvised;Blunt,
        DisplayCategory = Sports,
ConditionLowerChanceOneIn = 10,
        MaxRange = 1.6,
Weight = 0.4,
        WeaponSprite = LaCrosseStick,
SplatNumber = 1,
        MinAngle = 0.85,
PushBackMod = 0.3,
        Type = Weapon,
SubCategory = Swinging,
        MinimumSwingTime = 2,
ConditionMax = 10,
        KnockBackOnNoDeath = FALSE,
MaxHitCount = 3,
        SwingAmountBeforeImpact = 0.02,
DoorDamage = 1,
        Categories = Improvised;Blunt,
SwingAnim = Bat,
        ConditionLowerChanceOneIn = 10,
DisplayName = LaCrosse Stick,
        Weight = 0.4,
MinRange = 0.61,
        SplatNumber = 1,
SwingTime = 2,
        PushBackMod = 0.3,
KnockdownMod = 0,
        SubCategory = Swinging,
SplatBloodOnNoDeath = FALSE,
        ConditionMax = 10,
Icon = LacrosseStick,
        MaxHitCount = 3,
RunAnim = Run_Weapon2,
        DoorDamage = 1,
IdleAnim = Idle_Weapon2,
        SwingAnim = Bat,
BreakSound = LacrosseStickBreak,
        DisplayName = LaCrosse Stick,
DoorHitSound = LacrosseStickHit,
        MinRange = 0.61,
HitSound = LacrosseStickHit,
        SwingTime = 2,
HitFloorSound = LacrosseStickHit,
        KnockdownMod = 0,
SwingSound = LacrosseStickSwing,
        SplatBloodOnNoDeath = FALSE,
TreeDamage = 0,
        Icon = LacrosseStick,
TwoHandWeapon = TRUE,
        RunAnim = Run_Weapon2,
CriticalChance = 30,
        IdleAnim = Idle_Weapon2,
CritDmgMultiplier = 2,
        BreakSound =   LacrosseStickBreak,
MinDamage = 0.3,
        DoorHitSound = LacrosseStickHit,
MaxDamage = 0.7,
HitSound = LacrosseStickHit,
BaseSpeed = 0.9,
HitFloorSound = LacrosseStickHit,
AttachmentType = Shovel,
SwingSound = LacrosseStickSwing,
</pre>
        TreeDamage =   0,
        TwoHandWeapon = TRUE,
        CriticalChance = 30,
        CritDmgMultiplier = 2,
        MinDamage = 0.3,
        MaxDamage = 0.7,
        BaseSpeed = 0.9,
        AttachmentType = Shovel,
    }
}}
}}
 
==See also==
* [[Hockey Stick]]
* [[Ice Hockey Stick]]
 
{{Navbox items|sports}}
 
 
[[Category:Sports]]

Latest revision as of 13:05, 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]
Lacrosse Stick
LaCrosseStick Model.png
General
Category
Sports
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Equipped
Two-handed
Slot attached
Back
Properties
Max condition
10
Performance
Damage
0.3–0.7
Door damage
1
Range
0.61–1.6
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.LaCrosseStick

A lacrosse stick is an improvised long blunt weapon.

Usage

A lacrosse stick can be used as an improvised weapon. It has average durability and damage, but can hit two zombies simultaneously and has longer than average maximum range.

Condition

The lacrosse stick 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 varying levels of the maintenance and long blunt skills.

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.

LaCrosseStick 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.53%
closet crate 0.53%
closet crate 6.29%
garagestorage crate 0.53%
garagestorage crate 6.29%
livingroom wardrobe 6.29%
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.53%
storageunit crate 6.29%
storageunit metal_shelves 0.53%
storageunit metal_shelves 6.29%

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 LaCrosseStick
    {
        DisplayCategory = Sports,
        MaxRange	=	1.6,
        WeaponSprite	=	LaCrosseStick,
        MinAngle	=	0.85,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	10,
        Weight	=	0.4,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	3,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	LaCrosse Stick,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	LacrosseStick,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   LacrosseStickBreak,
        DoorHitSound = LacrosseStickHit,
		HitSound = LacrosseStickHit,
		HitFloorSound = LacrosseStickHit,
		SwingSound = LacrosseStickSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 2,
        MinDamage	=	0.3,
        MaxDamage	=	0.7,
        BaseSpeed = 0.9,
        AttachmentType = Shovel,
    }

See also