Crafted Spear: Difference between revisions
m (added the formula for losing durability) |
(Added info about max condition when crafted + added fishing mention + replaced/added crafting recipes Template:Crafting_survival + un-commented alt images in infobox (infobox to be updated to include up to 15)) |
||
Line 1: | Line 1: | ||
{{languages | {{languages}} | ||
{{header|The Game World|Items|Tools|version=Version 41|incver= | {{header|The Game World|Items|Tools|version=Version 41|incver=52}} | ||
{{Notice|underconstruction}} | {{Notice|underconstruction}} | ||
{{Infobox weapon | {{Infobox weapon | ||
Line 13: | Line 13: | ||
|alternate_name2=Spear with Bread Knife | |alternate_name2=Spear with Bread Knife | ||
|alternate_image3=SpearButterKnife.png | |alternate_image3=SpearButterKnife.png | ||
|alternate_name3=Spear with Butter Knife | |alternate_name3=Spear with Butter Knife | ||
|alternate_image4=SpearFork.png | |alternate_image4=SpearFork.png | ||
|alternate_name4=Spear with Fork | |alternate_name4=Spear with Fork | ||
Line 37: | Line 36: | ||
|alternate_image14=SpearIcePick.png | |alternate_image14=SpearIcePick.png | ||
|alternate_name14=Spear with Ice Pick | |alternate_name14=Spear with Ice Pick | ||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Weapon | ||
|weight=1.7 | |weight=1.7 | ||
|condition_max=5 | |condition_max=Default: 5<br>Crafted: <small>''See [[#Crafting|Crafting]]''</small> | ||
|attachment_type=Shovel | |attachment_type=Shovel | ||
<!--CHARACTERISTICS--> | <!--CHARACTERISTICS--> | ||
Line 55: | Line 53: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|ingredients=<!-- Omitted because there's many variations --> | |ingredients=<!-- Omitted because there's many variations --> | ||
|class_name=SpearCrafted | |class_name=Base.SpearCrafted | ||
}} | }} | ||
A '''wooden spear''' is a tool that is crafted by a player and cannot be randomly found in containers. | A '''wooden spear''' is a tool that is crafted by a player and cannot be randomly found in containers. | ||
Line 61: | Line 59: | ||
== Usage == | == Usage == | ||
The spear has relatively high damage and reach for its availability, however it suffers from a low maximum Condition and takes damage at an exceedingly high rate until [[Skills#Combat|Maintenance]] is leveled. At level 0 Maintenance, it has a 50% chance of lowering its condition each attack. The chance of losing durability is: <code>1 in (1 + maintenance x 2)</code> | The spear has relatively high damage and reach for its availability, however it suffers from a low maximum Condition and takes damage at an exceedingly high rate until [[Skills#Combat|Maintenance]] is leveled. At level 0 Maintenance, it has a 50% chance of lowering its condition each attack. The chance of losing durability is: <code>1 in (1 + maintenance x 2)</code> | ||
===Fishing=== | |||
{{Main|Fishing}}<!-- Needs more content please --> | |||
A wooden spear can be used in fishing instead of a [[Fishing Rod|fishing rod]] | |||
== Crafting == | == Crafting == | ||
A | A wooden spear is created by sharpening a [[Tree Branch|tree branch]] or [[Plank|plank]] with a [[Kitchen Knife|kitchen knife]], [[Hunting Knife|hunting knife]], [[Chipped Stone|chipped stone]], [[Stone Knife|stone knife]], [[Meat Cleaver|meat cleaver]], or [[Machete|machete]].<br> | ||
<br> | The wooden spear's max condition is dependant on the player's [[carpentry]] [[skill]]. This is defined by a random number between: <code>2 + carpentry</code> and <code>4 + carpentry</code>. The tool used to craft the spear will then lose 1 durability, excluding the chipped stone. The chipped stone has a <code>1 in 4</code> chance of being consumed. | ||
{{Crafting header|ing=2}} | |||
| | {{Crafting survivalist|101|ing=2}} | ||
{{ | |||
|} | |} | ||
=== | === Upgrading === | ||
A spear may have many different attachments, each can be applied with two units of duct tape. The | A spear may have many different attachments, each can be applied with two units of duct tape.<br> | ||
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. | |||
{{Crafting header|ing=3}} | |||
{{Crafting survivalist|102|ing=3}} | |||
{{Crafting survivalist|103|ing=3}} | |||
{{Crafting survivalist|104|ing=3}} | |||
{{Crafting survivalist|105|ing=3}} | |||
{{Crafting survivalist|106|ing=3}} | |||
{{Crafting survivalist|107|ing=3}} | |||
{{Crafting survivalist|108|ing=3}} | |||
{{Crafting survivalist|109|ing=3}} | |||
{{Crafting survivalist|110|ing=3}} | |||
{{Crafting survivalist|111|ing=3}} | |||
{{Crafting survivalist|112|ing=3}} | |||
{{Crafting survivalist|113|ing=3}} | |||
{{Crafting survivalist|114|ing=3}} | |||
|} | |||
== Distribution == | == Distribution == | ||
Line 166: | Line 165: | ||
* [[Foraging]] | * [[Foraging]] | ||
{{ | {{Navbox_equipment}}{{Navbox_equipment}} | ||
[[Category:Weapons]] | [[Category:Weapons]] | ||
[[Category:Melee Weapons]] | [[Category:Melee Weapons]] |
Revision as of 17:35, 24 July 2021
{{Improve}}
. Last edit was 24/07/2021.Crafted Spear | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
| ||||||||
General | ||||||||
Category | Weapon | |||||||
Encumbrance | 1.7 | |||||||
Condition max. |
Default: 5 Crafted: See Crafting | |||||||
Skill | Spear | |||||||
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 wooden spear is a tool that is crafted by a player and cannot be randomly found in containers.
Usage
The spear has relatively high damage and reach for its availability, however it 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 (1 + maintenance x 2)
Fishing
- Main article: Fishing
A wooden spear can be used in fishing instead of a fishing rod
Crafting
A wooden 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 wooden spear's max 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 |
---|---|---|---|---|---|
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 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 |
---|---|---|---|---|---|---|
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) |
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.
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", }, }