Crafted Spear
A crafted spear, previously called wooden 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 |
---|---|
|
|
Condition/Durability
The spear suffers from a low maximum Condition and takes damage at an exceedingly high rate until Maintenance is leveled. At level 0 Maintenance, it has a 50% chance of lowering its condition each attack. The chance of lowering its condition is:
1 in (2 + Maintenance x 2)
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.
Special Ability: 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
- Main article: Fishing
A crafted spear can be used in fishing instead of a fishing rod. Although easier to obtain, a crafted spear 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.
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.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Crafted Spear |
1.25 Carpentry | Starting condition scales with player's carpentry. | (consumed) |
(keep) |
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Bread Knife |
0 XP | none | Crafted Spear (consumed) |
Bread Knife (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Butter Knife |
0 XP | none | Crafted Spear (consumed) |
Butter Knife (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Fork |
0 XP | none | Crafted Spear (consumed) |
Fork (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Letter Opener |
0 XP | none | Crafted Spear (consumed) |
Letter Opener (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Scalpel |
0 XP | none | Crafted Spear (consumed) |
Scalpel (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Spoon |
0 XP | none | Crafted Spear (consumed) |
Spoon (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Scissors |
0 XP | none | Crafted Spear (consumed) |
Scissors (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Hand Fork |
0 XP | none | Crafted Spear (consumed) |
Hand Fork (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Screwdriver |
0 XP | none | Crafted Spear (consumed) |
Screwdriver (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Knife |
0 XP | none | Crafted Spear (consumed) |
Kitchen Knife (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Hunting Knife |
0 XP | none | Crafted Spear (consumed) |
Hunting Knife (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Machete |
0 XP | none | Crafted Spear (consumed) |
Machete (consumed) |
Duct Tape (2 units) (consumed) | |
Spear with Ice Pick |
0 XP | none | Crafted Spear (consumed) |
Ice Pick (consumed) |
Duct Tape (2 units) (consumed) |
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 | Knockback | Knockdown | Base ID | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Crafted Spear | 1.7 | Spear | 1 | 1.5 | 5 | - | 0.98 | 1.4 | 2 | 30 | 0.3 | - | 5 | Base.SpearCrafted | |
Spear with Bread Knife | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.55 | 2 | 30 | 0.3 | - | 6 | Base.SpearBreadKnife | |
Spear with Butter Knife | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.42 | 2 | 30 | 0.3 | - | 6 | Base.SpearButterKnife | |
Spear with Fork | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.42 | 2 | 30 | 0.3 | - | 6 | Base.SpearFork | |
Spear with Letter Opener | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.42 | 2 | 30 | 0.3 | - | 6 | Base.SpearLetterOpener | |
Spear with Scalpel | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.42 | 2 | 30 | 0.3 | - | 6 | Base.SpearScalpel | |
Spear with Spoon | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.4 | 2 | 30 | 0.3 | - | 6 | Base.SpearSpoon | |
Spear with Scissors | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.42 | 2 | 30 | 0.3 | - | 6 | Base.SpearScissors | |
Spear with Hand Fork | 1.5 | Spear | 1.1 | 1.6 | 6 | - | 0.98 | 1.45 | 2 | 30 | 0.3 | - | 7 | Base.SpearHandFork | |
Spear with Screwdriver | 1.5 | Spear | 1.2 | 1.6 | 7 | - | 0.98 | 1.45 | 2 | 30 | 0.3 | - | 7 | Base.SpearScrewdriver | |
Spear with Hunting Knife | 1.5 | Spear | 1.2 | 1.7 | 7 | - | 0.98 | 1.48 | 2 | 30 | 0.3 | - | 9 | Base.SpearHuntingKnife | |
Spear with Machete | 1.5 | Spear | 1.3 | 2 | 10 | - | 0.98 | 1.55 | 2 | 30 | 0.3 | - | 12 | Base.SpearMachete | |
Spear with Ice Pick | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.42 | 2 | 30 | 0.3 | - | 6 | Base.SpearIcePick | |
Spear with Knife | 1.5 | Spear | 1 | 1.6 | 5 | - | 0.98 | 1.45 | 2 | 30 | 0.3 | - | 7 | Base.SpearKnife |
Distribution
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.
Gallery
Survivor spear charging a zombie.
Code
From items_weapons.txt (Project Zomboid directory/media/scripts/)
Retrieved: Build 41.50
item SpearCrafted 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, BreakSound = BreakWoodItem, TreeDamage = 0, TwoHandWeapon = TRUE, CriticalChance = 30, CritDmgMultiplier = 10, MinDamage = 1, MaxDamage = 1.5, DamageCategory = Slash, DamageMakeHole = TRUE, HitFloorSound = BladeHit, ImpactSound = BladeHit, HitSound = BladeHit, AttachmentType = Shovel, Tags = FishingSpear,
From AttachedWeaponDefinitions.lua (Project Zomboid directory/media/lua/shared/Definitions/)
Retrieved: Build 41.50
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", }, }