Stone Axe: Difference between revisions
m (→Code: Bump version to .16) |
(added CodeBox and condition + updates) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver= | {{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}} | ||
{{Infobox weapon | {{Infobox weapon | ||
|display_name=Stone Axe | |display_name=Stone Axe | ||
Line 9: | Line 9: | ||
|alternate_link= | |alternate_link= | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Tool/Weapon | ||
|weight=1.2 | |weight=1.2 | ||
|function=Chop [[tree]]s | |function=Chop [[tree]]s | ||
|equipped=Two-handed | |equipped=Two-handed | ||
|condition_max=5 | |condition_max=5 | ||
|attachment_type=Big Weapon | |||
|skill_type=Axe | |||
<!--DAMAGE--> | <!--DAMAGE--> | ||
|type= | |type=Slash | ||
| | |base_speed=1 | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.2 | |max_range=1.2 | ||
Line 29: | Line 31: | ||
A '''stone axe''', previously known as '''raw axe''', is a two-handed craftable melee weapon. | A '''stone axe''', previously known as '''raw axe''', is a two-handed craftable melee weapon. | ||
==Usage== | |||
===Weapon=== | ===Weapon=== | ||
The stone axe is a multi-attack weapon, capable of hitting two [[zombie]]s at a time in a swing. It is a two-handed weapon that has a max damage of 1.5. | The stone axe is a multi-attack weapon, capable of hitting two [[zombie]]s at a time in a swing (if multi-hit is enabled). It is a two-handed weapon that has a max damage of 1.5. | ||
The stone axe has a chance to kill zombies in a single, well-charged hit, making it useful for close-quarter combat. Its disadvantage is that it has a long recovery time between swings, leaving the player vulnerable when overwhelmed. | The stone axe has a chance to kill zombies in a single, well-charged hit, making it useful for close-quarter combat. Its disadvantage is that it has a long recovery time between swings, leaving the player vulnerable when overwhelmed. | ||
Line 39: | Line 42: | ||
===Chopping trees=== | ===Chopping trees=== | ||
The stone axe is a useful harvesting tool when cutting down trees (10 damage) to collect [[Log|log]]s which can be cut with a [[Saw|saw]] to create [[Plank|wood planks]]. | The stone axe is a useful harvesting tool when cutting down trees (10 damage) to collect [[Log|log]]s which can be cut with a [[Saw|saw]] to create [[Plank|wood planks]]. | ||
==Condition== | |||
The stone axe has a maximum condition of 5. 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 (5 + maintenanceMod × 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|5}} | |||
===Repairing=== | |||
The stone axe cannot be repaired. | |||
==Crafting== | ==Crafting== | ||
Stone axes are made up of items which are scavenged via [[foraging]]. [[Tree Branch|Tree branches]], [[Chipped Stone|chipped stones]] and [[Ripped Sheets|ripped sheets]] (or [[twine]]) are required. | |||
{{Crafting header|ing=3}} | {{Crafting header|ing=3}} | ||
{{Crafting survivalist|007|ing=3}} | {{Crafting survivalist|007|ing=3}} | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
item AxeStone | | line = true | ||
{ | | start = 1634 | ||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item AxeStone | |||
{ | |||
DisplayCategory = ToolWeapon, | |||
MaxRange = 1.2, | |||
MinAngle = 0.72, | |||
WeaponSprite = StoneAxe, | |||
Type = Weapon, | |||
MinimumSwingTime = 3.0, | |||
KnockBackOnNoDeath = TRUE, | |||
Categories = Axe, | |||
ConditionLowerChanceOneIn = 5, | |||
Weight = 1.2, | |||
SplatNumber = 3, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | |||
ConditionMax = 5, | |||
MaxHitCount = 3, | |||
DoorDamage = 15, | |||
IdleAnim = Idle_Weapon2, | |||
SwingAnim = Bat, | |||
DisplayName = Raw Axe, | |||
MinRange = 0.61, | |||
SwingTime = 3.0, | |||
HitAngleMod = -30, | |||
SplatSize = 5, | |||
KnockdownMod = 1.5, | |||
SplatBloodOnNoDeath = TRUE, | |||
Icon = AxeStone, | |||
RunAnim = Run_Weapon2, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = RawAxeBreak, | |||
DoorHitSound = RawAxeHit, | |||
HitSound = RawAxeHit, | |||
HitFloorSound = RawAxeHit, | |||
SwingSound = RawAxeSwing, | |||
TreeDamage = 10, | |||
CriticalChance = 15, | |||
CritDmgMultiplier = 5, | |||
} | MinDamage = 0.5, | ||
MaxDamage = 1.5, | |||
BaseSpeed = 1, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
AttachmentType = BigWeapon, | |||
Tags = ChopTree;CutPlant, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Axe]] | |||
*[[Foraging]] | *[[Foraging]] | ||
*[[Wood Axe]] | |||
{{Navbox equipment}} | {{Navbox equipment}} | ||
{{Navbox weapons}} | {{Navbox weapons}} | ||
Revision as of 13:01, 30 December 2023
Stone Axe | ||
---|---|---|
| ||
General | ||
Category | Tool/Weapon | |
Encumbrance | 1.2 | |
Function | Chop trees | |
Equipped | Two-handed | |
Condition max. | 5 | |
Skill | Axe | |
Attachment | Big Weapon | |
Damage | ||
Type | Slash | |
Attack speed | 1 | |
Range | 0.61–1.2 tiles | |
Damage | 0.5–1.5 | |
Knockback | 0.3 | |
Knockdown | 1.5 | |
Technical details | ||
Ingredients |
1 × Tree Branch 1 × Chipped Stone 1 × Ripped Sheets or 1 × Twine or 1 × Dirty Rag | |
Base ID | Base.AxeStone | |
A stone axe, previously known as raw axe, is a two-handed craftable melee weapon.
Usage
Weapon
The stone axe is a multi-attack weapon, capable of hitting two zombies at a time in a swing (if multi-hit is enabled). It is a two-handed weapon that has a max damage of 1.5.
The stone axe has a chance to kill zombies in a single, well-charged hit, making it useful for close-quarter combat. Its disadvantage is that it has a long recovery time between swings, leaving the player vulnerable when overwhelmed.
Breaking doors
It is effective at breaking down doors, dealing 15 damage per hit.
Chopping trees
The stone axe is a useful harvesting tool when cutting down trees (10 damage) to collect logs which can be cut with a saw to create wood planks.
Condition
The stone axe has a maximum condition of 5. 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 (5 + 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.
Maintenance skill | Weapon skill | Durability lower chance |
---|---|---|
0 | 0 | 1/5 (20%) |
0 | 4 | 1/7 (14%) |
0 | 8 | 1/9 (11%) |
4 | 0 | 1/9 (11%) |
8 | 0 | 1/13 (8%) |
4 | 4 | 1/11 (9%) |
4 | 8 | 1/13 (8%) |
8 | 8 | 1/17 (6%) |
10 | 10 | 1/19 (5%) |
Repairing
The stone axe cannot be repaired.
Crafting
Stone axes are made up of items which are scavenged via foraging. Tree branches, chipped stones and ripped sheets (or twine) are required.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Stone Axe |
0 XP | none | Tree Branch (consumed) |
Chipped Stone (consumed) |
(consumed) |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item AxeStone
{
DisplayCategory = ToolWeapon,
MaxRange = 1.2,
MinAngle = 0.72,
WeaponSprite = StoneAxe,
Type = Weapon,
MinimumSwingTime = 3.0,
KnockBackOnNoDeath = TRUE,
Categories = Axe,
ConditionLowerChanceOneIn = 5,
Weight = 1.2,
SplatNumber = 3,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 5,
MaxHitCount = 3,
DoorDamage = 15,
IdleAnim = Idle_Weapon2,
SwingAnim = Bat,
DisplayName = Raw Axe,
MinRange = 0.61,
SwingTime = 3.0,
HitAngleMod = -30,
SplatSize = 5,
KnockdownMod = 1.5,
SplatBloodOnNoDeath = TRUE,
Icon = AxeStone,
RunAnim = Run_Weapon2,
TwoHandWeapon = TRUE,
BreakSound = RawAxeBreak,
DoorHitSound = RawAxeHit,
HitSound = RawAxeHit,
HitFloorSound = RawAxeHit,
SwingSound = RawAxeSwing,
TreeDamage = 10,
CriticalChance = 15,
CritDmgMultiplier = 5,
MinDamage = 0.5,
MaxDamage = 1.5,
BaseSpeed = 1,
DamageCategory = Slash,
DamageMakeHole = TRUE,
AttachmentType = BigWeapon,
Tags = ChopTree;CutPlant,
}