Crafted Spear

From PZwiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Crafted Spear
SpearCrafted Model.png
General
Category
Weapon - Crafted
Encumbrance
Moodle Icon HeavyLoad.png
1.7
Slot attached
Back
Skill
Spear
Properties
Max condition
5
Performance
Damage
1–1.5
Range
0.98–1.4
Attack speed
N/A
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.SpearCrafted
PlushSpiffo.pngThis article is about the wooden spear that can be crafted. For the wooden spear that cannot be crafted, see Wooden Spear.

A crafted spear is a weapon and tool that is crafted by a player and cannot be randomly found in containers. Spears can be attached to the character's back for quick access and weight reduction.

Usage

Pros Cons
  • Long reach, great for not getting too close to zombies.
  • Spear charge ability.
  • Easy to gather the resources required to craft it.
  • Able to attach short blades to the spear, making it more powerful.
  • Can be used to fish.
  • Weapon condition influenced by crafter's Carpentry skill level.
  • Weak durability. Carrying additional spears or backup weapons is recommended.
  • Likely to break when fishing.

Critical bonus

Attacking a lone Zombie (no other Zombie within 1.7 tiles of the target) between the range of 1.25 and 1.40 yields a +20% chance to a critical strike. Like all critical damage, negative moodles do not affect the damage output of the strike: meaning this can often save a player who would otherwise not inflict lethal damage. When this is triggered, a special animation will occur to signal to the player that the critical was successful. Be warned, as the animation can be lengthy, and other zombies can cover the extremely small distance of 1.7 tiles, especially dangerous if fighting against a horde.

Spear charge

Every spear has the ability to use a unique spear charge attack. To use the spear charge ability, you must sprint (Left Alt key by default), after a few seconds of sprinting, the character will begin a spear charge and any zombie on the receiving end of the charge will be killed in one blow. Spear charges are best used against lone zombies due to your character being vulnerable during the kill animation. There are other risks such as nearby zombies being alerted by your sprinting, more difficult for your character to turn while sprinting and your character falling over if they sprint into a wall.

Spear-fishing

Fishing with a crafted spear.
Main article: Fishing

All crafted spears can be used in fishing instead of a fishing rod. Although crafted spear is easier to obtain, it is just as likely to break as a twine line on a crafted fishing rod.

A crafted spear has a lower chance of catching a fish, equal to the benefits gained when fishing during dawn or dusk, regardless of the player's fishing level. It also takes less time to complete a fishing cycle compared to any other fishing gear.

Condition

The spear suffers from a low maximum condition and takes damage at an exceedingly high rate until maintenance and spears is leveled. At level 0 maintenance and spear, it has a 50% chance of lowering its condition each attack.

Below is an example of the chance of losing durability at varying levels of the maintenance and spear skills.

For how this is calculated, see: Durability
Maintenance skill Weapon skill Durability lower chance
0 0 1/2 (50%)
0 4 1/4 (25%)
0 8 1/6 (17%)
4 0 1/6 (17%)
8 0 1/10 (10%)
4 4 1/8 (13%)
4 8 1/10 (10%)
8 8 1/14 (7%)
10 10 1/16 (6%)

Repairing

A spear can be repaired with the following:

It should be noted that each time a spear is repaired, its probability of success is reduced.

Cheese.png Exploit warning! This section contains unethical tactics that are not intended gameplay.Show / Hide

There is a workaround for maintaining a single upgraded spear, you can remove the attached weapon and re-attach it, this will reset the number of times repaired to 0, allowing it to be repaired effectively again, note that this consumes a good deal of duct tape in the process.

Crafting

A crafted spear is created by sharpening a tree branch or plank with a kitchen knife, hunting knife, chipped stone, stone knife, meat cleaver, or machete.
The crafted spear's starting condition is dependent on the player's carpentry skill. This is defined by a random number between 2 + carpentry and 4 + carpentry capped to the maximum condition of 5. A carpentry skill of 3 or above will therefore always produce a crafted spear with the full 5 condition. The tool used to craft the spear will then lose 1 condition, excluding the chipped stone. The chipped stone has a 1 in 3 chance of being consumed, where as making the chipped stone into a stone knife will allow for 13 uses.

Product Ingredients Tools Requirements Workstation XP
SpearStick.png
Crafted Spear
One of:
Branch.png Tree Branch ×1
Plank.png Plank ×1
One of:
KnifeChopping.png Kitchen Knife ×1
Machete.png Machete ×1
Cleaver.png Meat Cleaver ×1
KnifeFlint.png Stone Knife ×1
none none none 1.25 Carpentry

Upgrading

A spear may have many different attachments, each can be applied with two units of duct tape.
The upgraded spear's max condition is dependent on the items used to craft it. If the tools are damaged, the spear will have a lower condition.
The initial condition of an upgraded spear is determined by a combination of the condition of the chosen Crafted Spear and Hand Weapon.
The formula is as follows:
condition = spearCondition - ((weaponConditionMax - weaponCondition) / 2)
If the final result is greater than the upgraded spear's maximum condition, the condition will be set to the upgraded spear's maximum condition. If the final result is less than 2, the upgraded spear's condition will be set to 2.

Product Ingredients Tools Requirements Workstation XP
SpearButterKnife.png
Spear with Bread Knife
SpearStick.png Crafted Spear ×1
KnifeButter.png Bread Knife ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearButterKnife.png
Spear with Butter Knife
SpearStick.png Crafted Spear ×1
KnifeButter.png Butter Knife ×1
DuctTape.png Duct Tape ×1
none none none none
SpearFork.png
Spear with Fork
SpearStick.png Crafted Spear ×1
Fork.png Fork ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearKnife.png
Spear with Letter Opener
SpearStick.png Crafted Spear ×1
LetterOpener.png Letter Opener ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearScalpel.png
Spear with Scalpel
SpearStick.png Crafted Spear ×1
Scalpel.png Scalpel ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearSpoon.png
Spear with Spoon
SpearStick.png Crafted Spear ×1
Spoon.png Spoon ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearScissors.png
Spear with Scissors
SpearStick.png Crafted Spear ×1
Scissors.png Scissors ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearGardeningFork.png
Spear with Hand Fork
SpearStick.png Crafted Spear ×1
GardeningFork.png Hand Fork ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearScrewdriver.png
Spear with Screwdriver
SpearStick.png Crafted Spear ×1
DuctTape.png Duct Tape ×2 unit(s)
Screwdriver.png Screwdriver ×1
none none none none
SpearKnife.png
Spear with Knife
SpearStick.png Crafted Spear ×1
KnifeChopping.png Kitchen Knife ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearHuntingKnife.png
Spear with Hunting Knife
SpearStick.png Crafted Spear ×1
HuntingKnife.png Hunting Knife ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearMachete.png
Spear with Machete
SpearStick.png Crafted Spear ×1
Machete.png Machete ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
SpearIcePick.png
Spear with Ice Pick
SpearStick.png Crafted Spear ×1
IcePick.png Ice Pick ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none

Stats of spear upgrades

Each of the upgraded spears mostly have different stats from the other, but will always be better than the normal spear in at least one stat.

Also see Weapons

Icon Name Weight Attack
Type
Damage Range Swing Time Critical Hit Chance Knockback Knockdown Weapon Durability Base ID
Minimum Maximum Damage done to doors Damage done to trees Minimum Maximum
SpearStick.png Crafted Spear 1.7 Spear 1 1.5 5 - 0.98 1.4 2 30 0.3 - 5 Base.SpearCrafted
SpearButterKnife.png Spear with Bread Knife 2.0 Spear 1 1.6 5 - 0.98 1.55 2 30 0.3 - 6 Base.SpearBreadKnife
SpearButterKnife.png Spear with Butter Knife 2.0 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearButterKnife
SpearFork.png Spear with Fork 2.0 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearFork
SpearKnife.png Spear with Letter Opener 2.0 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearLetterOpener
SpearScalpel.png Spear with Scalpel 2.0 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearScalpel
SpearSpoon.png Spear with Spoon 2.0 Spear 1 1.6 5 - 0.98 1.4 2 30 0.3 - 6 Base.SpearSpoon
SpearScissors.png Spear with Scissors 2.1 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearScissors
SpearGardeningFork.png Spear with Hand Fork 2.2 Spear 1.1 1.6 6 - 0.98 1.45 2 30 0.3 - 7 Base.SpearHandFork
SpearScrewdriver.png Spear with Screwdriver 2.1 Spear 1.2 1.6 7 - 0.98 1.45 2 30 0.3 - 7 Base.SpearScrewdriver
SpearHuntingKnife.png Spear with Hunting Knife 2.2 Spear 1.2 1.7 7 - 0.98 1.48 2 30 0.3 - 9 Base.SpearHuntingKnife
SpearMachete.png Spear with Machete 3.7 Spear 1.3 2 10 - 0.98 1.55 2 30 0.3 - 12 Base.SpearMachete
SpearIcePick.png Spear with Ice Pick 2.0 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearIcePick
SpearKnife.png Spear with Knife 2.0 Spear 1 1.6 5 - 0.98 1.45 2 30 0.3 - 7 Base.SpearKnife

Distribution

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

Containers
Building/Room Container Rolls Chance
SafehouseLoot counter 4 1

Any spear may be randomly generated inside a zombie's stomach after having survived for 30 days. Approximately 0.16% of zombies will have a spear or spear with attachments on them. It is also possible to obtain a wooden spear this way, which acts like a spear while having the old inventory icon, name and can't be upgraded or used for fishing.

Gallery

Code

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

Item

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item SpearCrafted
    {
        DisplayCategory = WeaponCrafted,
        MaxRange	=	1.4,
        WeaponSprite	=	SpearCrafted,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	2,
        Weight	=	1.7,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Spear,
        ConditionMax	=	5,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        SwingAnim	=	Spear,
        DisplayName	=	Crafted Spear,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearStick,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1,
        MaxDamage	=	1.5,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearCraftedBreak,
        HitFloorSound	=	SpearCraftedHit,
        ImpactSound	=	SpearCraftedHit,
        DoorHitSound = SpearCraftedHit,
        HitSound	=	SpearCraftedHit,
        SwingSound	=	SpearCraftedSwing,
        SoundMap = SpearStab SpearCraftedStab,
		AttachmentType = Shovel,
        Tags = FishingSpear,
    }

Finding spear in stomach

Source: ProjectZomboid\media\lua\shared\Definitions\AttachedWeaponDefinitions.lua

Retrieved: Build 41.78.16
-- random spear in the stomach
AttachedWeaponDefinitions.spearStomach = {
	chance = 5, -- chance is total, we'll get the chance of every definition and take one from there
	weaponLocation = {"Stomach"}, -- defined in AttachedLocations.lua
	bloodLocations = {"Torso_Lower","Back"}, -- we add blood & hole on this part
	addHoles = true, -- if true, you need at least one bloodLocation
	daySurvived = 30, -- needed day of survival before seeing this one
	weapons = { -- list of possible weapons, we'll take one randomly from there
		"Base.SpearKnife",
		"Base.SpearCrafted",
		"Base.SpearHuntingKnife",
		"Base.SpearScrewdriver",
		"Base.SpearScissors",
		"Base.SpearScalpel",
		"Base.SpearButterKnife",
		"Base.SpearHuntingKnife",
	},
}

See also