Crafted Spear

From PZwiki
(Redirected from Crafted Spear)
Jump to: navigation, search
PZwiki:Language policy Language: English
Crafted Spear
Crafted Spear
Crafted Spear Spear with Bread Knife Spear with Butter Knife Spear with Fork Spear with Letter Opener Spear with Scalpel Spear with Spoon
Spear with Scissors Spear with Hand Fork Spear with Screwdriver Spear with Kitchen Knife Spear with Hunting Knife Spear with Machete Spear with Ice Pick
General
Category Weapon
Weight
Heavy Load
1.7
Condition max. Default: 5
Crafted: See Crafting
Attachment Back
Damage
Type Spear
Attack speed 2
Range 0.98–1.4 tiles
Damage 1–1.5
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.SpearCrafted

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
  • 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.

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 losing durability is: 1 in (2 + (maintenance x 2 + weapon level/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

Fishing with a crafted spear.
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 dependant on the player's carpentry skill. This is defined by a random number between: 2 + carpentry and 4 + carpentry. The tool used to craft the spear will then lose 1 durability, excluding the chipped stone. The chipped stone has a 1 in 4 chance of being consumed.

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2
SpearStick.png
Crafted Spear
1.25 CP Max 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 dependant on the items used to craft it. If the tools are damaged, the spear will have a lower condition.

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
SpearButterKnife.png
Spear with Bread Knife
0 XP none SpearStick.png
Crafted Spear
(consumed)
KnifeButter.png
Bread Knife
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearButterKnife.png
Spear with Butter Knife
0 XP none SpearStick.png
Crafted Spear
(consumed)
KnifeButter.png
Butter Knife
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearFork.png
Spear with Fork
0 XP none SpearStick.png
Crafted Spear
(consumed)
Fork.png
Fork
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearKnife.png
Spear with Letter Opener
0 XP none SpearStick.png
Crafted Spear
(consumed)
LetterOpener.png
Letter Opener
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearScalpel.png
Spear with Scalpel
0 XP none SpearStick.png
Crafted Spear
(consumed)
Scalpel.png
Scalpel
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearSpoon.png
Spear with Spoon
0 XP none SpearStick.png
Crafted Spear
(consumed)
Spoon.png
Spoon
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearScissors.png
Spear with Scissors
0 XP none SpearStick.png
Crafted Spear
(consumed)
Scissors.png
Scissors
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearGardeningFork.png
Spear with Hand Fork
0 XP none SpearStick.png
Crafted Spear
(consumed)
GardeningFork.png
Hand Fork
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearScrewdriver.png
Spear with Screwdriver
0 XP none SpearStick.png
Crafted Spear
(consumed)
Screwdriver.png
Screwdriver
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearKnife.png
Spear with Knife
0 XP none SpearStick.png
Crafted Spear
(consumed)
KnifeChopping.png
Kitchen Knife
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearHuntingKnife.png
Spear with Hunting Knife
0 XP none SpearStick.png
Crafted Spear
(consumed)
HuntingKnife.png
Hunting Knife
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearMachete.png
Spear with Machete
0 XP none SpearStick.png
Crafted Spear
(consumed)
Machete.png
Machete
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
SpearIcePick.png
Spear with Ice Pick
0 XP none SpearStick.png
Crafted Spear
(consumed)
IcePick.png
Ice Pick
(consumed)
DuctTape.png
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 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 1.5 Spear 1 1.6 5 - 0.98 1.55 2 30 0.3 - 6 Base.SpearBreadKnife
SpearButterKnife.png Spear with Butter Knife 1.5 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearButterKnife
SpearFork.png Spear with Fork 1.5 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearFork
SpearKnife.png Spear with Letter Opener 1.5 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearLetterOpener
SpearScalpel.png Spear with Scalpel 1.5 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearScalpel
SpearSpoon.png Spear with Spoon 1.5 Spear 1 1.6 5 - 0.98 1.4 2 30 0.3 - 6 Base.SpearSpoon
SpearScissors.png Spear with Scissors 1.5 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearScissors
SpearGardeningFork.png Spear with Hand Fork 1.5 Spear 1.1 1.6 6 - 0.98 1.45 2 30 0.3 - 7 Base.SpearHandFork
SpearScrewdriver.png Spear with Screwdriver 1.5 Spear 1.2 1.6 7 - 0.98 1.45 2 30 0.3 - 7 Base.SpearScrewdriver
SpearHuntingKnife.png Spear with Hunting Knife 1.5 Spear 1.2 1.7 7 - 0.98 1.48 2 30 0.3 - 9 Base.SpearHuntingKnife
SpearMachete.png Spear with Machete 1.5 Spear 1.3 2 10 - 0.98 1.55 2 30 0.3 - 12 Base.SpearMachete
SpearIcePick.png Spear with Ice Pick 1.5 Spear 1 1.6 5 - 0.98 1.42 2 30 0.3 - 6 Base.SpearIcePick
SpearKnife.png 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

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/)

Retrieved
Version 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
Version 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",
	},
}

See also


Equipment vde
Bag BriefcaseBig Hiking BagDuffelbagFanny PackFlight CaseFirst Aid KitGarbage BagGuitar CaseHandbagNormal Hiking BagLarge BackpackLunchboxMilitary BackpackPlastic BagPurseSackSatchelSchool BagSeed BagSewing KitSuitcaseToolboxTote Bag
Kitchen Utensil Baking PanBowlEmpty JarButter KnifeCan OpenerCooking PotEmpty Bottle (Beer)Empty Bottle (Bourbon)Empty Bottle (Mayonnaise)Empty Bottle (Red Wine)Empty Bottle (Remoulade)Empty Bottle (Water)Empty Bottle (White Wine)Empty JarEmpty MugEmpty Orange Soda BottleForkFrying PanHunting KnifeEmpty JarKettleKitchen KnifeMortar and PestleRoasting PanRolling PinSpoon
Electrical Alarm ClockAntique TelevisionCD PlayerCordless PhoneDigital WatchEarbudsGeneratorHeadphonesHome AlarmMakeshift Ham RadioMakeshift RadioMakeshift Walkie TalkiePremium Tech. Walkie TalkiePremium Technologies Ham RadioPremium Technologies RadioPremium Technologies TelevisionSpeakerTactical Walkie TalkieTimerToys-R-Mine Walkie TalkieTV RemoteUS ARMY COMM. Ham RadioUS Army Walkie TalkieV1 Remote ControllerV2 Remote ControllerV3 Remote ControllerValuTech RadioValuTech TelevisionValuTech Walkie TalkieVideo Game
Light CandleFlashlightHand TorchLighterMatches
Lock/Key Car KeyCombination PadlockKey (Door)Key (Padlock)Padlock
Health/Hygiene Bath TowelCleaning LiquidDish TowelExtinguisherMopSoapSuture NeedleSuture Needle HolderTissueTweezersUmbrella
Survival Cage TrapCampfire MaterialsFishing Net TrapFishing RodFishing Rod (crafted)Mouse TrapNotched Wooden PlankStone AxeSnare TrapStick TrapStone HammerTent KitTrap BoxTrap CrateCrafted Spear
Stationery PenEraserNeedlePenPencilPenScissors
Tool AxeBall-peen HammerCar Battery ChargerChainsawClub HammerCrowbarGarden HoeHammerHand AxeJackLug WrenchPaint BrushPipe WrenchPropane TorchSawScrewdriverShovelSledgehammerSnow ShovelStone KnifeTire PumpTrowelWooden MalletWrench
Weapons vde
Axe Hand AxeStone AxeAxeWood Axe
Long Blunt Acoustic GuitarBadminton RacketBarbellBaseball BatBroomCanoe PaddleCanoe Paddle - Double-bladedChainsawCrowbarElectric BassElectric GuitarFishing RodFishing Rod (crafted)Fishing Rod without LineGarden HoeGolf ClubHockey StickIce Hockey StickKeytarLacrosse StickLeaf RakePick AxePlankPool CueRakeSaxophoneShovelSledgehammerSnow ShovelSpiked Baseball BatSpiked PlankTennis RacketTrumpet
Short Blunt Ball-peen HammerBanjoChair LegClub HammerDumbbellDrumstickFluteFrying PanGriddle PanHammerLead PipeMetal BarMetal PipeNightstickPlungerPipe WrenchPick Axe HandleRolling PinSaucepanSpiked Pick Axe HandleStone HammerTable LegViolinWooden MalletWrench
Long Blade MacheteKatana
Short Blade Butter KnifeBread KnifeForkHand ForkHand ScytheHunting KnifeIce PickLetter OpenerKitchen KnifeMeat CleaverScalpelScissorsScrewdriverSmashed BottleSpoonStakeStone Knife
Spear Closed UmbrellaCrafted SpearGarden ForkSpear with Bread KnifeSpear with Butter KnifeSpear with ForkSpear with Hand ForkSpear with Hunting KnifeSpear with Ice PickSpear with KnifeSpear with Letter OpenerSpear with MacheteSpear with ScalpelSpear with ScissorsSpear with ScrewdriverSpear with Spoon
Firearm D-E PistolDouble Barrel ShotgunJS-2000 ShotgunM14 RifleM16 Assault RifleM1911 PistolM36 RevolverM625 RevolverM9 PistolMagnumMSR700 RifleMSR788 RifleSawed-off Double Barrel ShotgunSawed-off JS-2000 Shotgun
Ammo .223 Round.308 Round.38 Special Round.44 Magnum Round.45 Auto Round5.56mm Round9mm RoundShotgun Shells
Weapon mods .223 Magazine.308 Magazine.44 Magazine.45 Auto Magazine5.56mm Magazine9mm MagazineAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope
Throwable Aerosol BombAerosol Bomb with SensorAerosol Bomb with TimerFire BombFlame Trap with SensorFlame Trap with TimerMolotov CocktailNoise MakerNoise Maker with SensorNoise Maker with TimerPipe BombPipe Bomb with SensorPipe Bomb with TimerRemote Aerosol BombRemote Flame TrapRemote Noise MakerRemote Pipe BombRemote Smoke BombSmoke BombSmoke Bomb with SensorSmoke Bomb with Timer
Other Bare HandsBlue PenPenPencilRed Pen