Spear with Knife: Difference between revisions
(Added the weapon code information from the project zomboid "items_weapons.txt") |
m (Minor cleanup) |
||
Line 1: | Line 1: | ||
{{Stub}}{{Languages}} | |||
==Code== | |||
===Item=== | ===Item=== | ||
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=55}} | {{Retrieved|version=41|incver=55}} | ||
<pre> | |||
item SpearKnife | item SpearKnife | ||
{ | { | ||
Line 46: | Line 50: | ||
AttachmentType = Shovel, | AttachmentType = Shovel, | ||
Tags = FishingSpear, | Tags = FishingSpear, | ||
</pre> | |||
{{Navbox weapons}} |
Revision as of 08:50, 8 April 2023
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
Code
Item
From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55
item SpearKnife { MaxRange = 1.45, WeaponSprite = SpearKnife, MinAngle = 0.8, Type = Weapon, MinimumSwingTime = 2, KnockBackOnNoDeath = FALSE, SwingAmountBeforeImpact = 0.02, Categories = Improvised;Spear, ConditionLowerChanceOneIn = 4, Weight = 1.5, SplatNumber = 1, PushBackMod = 0.3, SubCategory = Spear, ConditionMax = 7, MaxHitCount = 2, DoorDamage = 5, SwingAnim = Spear, DisplayName = Spear With Knife, MinRange = 0.98, SwingTime = 2, KnockdownMod = 0, SplatBloodOnNoDeath = FALSE, Icon = SpearKnife, RunAnim = Run_Weapon2, IdleAnim = Idle_Weapon2, TreeDamage = 0, TwoHandWeapon = TRUE, CriticalChance = 30, CritDmgMultiplier = 10, MinDamage = 1, MaxDamage = 1.6, DamageCategory = Slash, DamageMakeHole = TRUE, BreakSound = SpearKnifeBreak, HitFloorSound = SpearKnifeHit, ImpactSound = SpearKnifeHit, DoorHitSound = SpearKnifeHit, HitSound = SpearKnifeHit, SwingSound = SpearKnifeSwing, AttachmentType = Shovel, Tags = FishingSpear,