Spear with Scalpel: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Codebox Update) |
||
Line 37: | Line 37: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 55 | |||
| code = | |||
item SpearScalpel | |||
{ | |||
MaxRange = 1.42, | |||
WeaponSprite = SpearScalpel, | |||
MinAngle = 0.8, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;Spear, | |||
ConditionLowerChanceOneIn = 3, | |||
Weight = 1.5, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Spear, | |||
ConditionMax = 6, | |||
MaxHitCount = 2, | |||
DoorDamage = 5, | |||
SwingAnim = Spear, | |||
DisplayName = Spear With Scalpel, | |||
MinRange = 0.98, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = SpearScalpel, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
TreeDamage = 0, | |||
TwoHandWeapon = TRUE, | |||
CriticalChance = 30, | |||
CritDmgMultiplier = 10, | |||
MinDamage = 1, | |||
MaxDamage = 1.6, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
BreakSound = SpearScalpelBreak, | |||
HitFloorSound = SpearScalpelHit, | |||
ImpactSound = SpearScalpelHit, | |||
DoorHitSound = SpearScalpelHit, | |||
HitSound = SpearScalpelHit, | |||
SwingSound = SpearScalpelSwing, | |||
AttachmentType = Shovel, | |||
Tags = FishingSpear, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:51, 13 January 2024
Spear with Scalpel | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 1.5 | |
Condition max. |
Default: 6 Crafted: See Spears | |
Skill | Spear | |
Attachment | Back | |
Damage | ||
Type | Spear | |
Attack speed | 2 | |
Range | 0.98–1.42 tiles | |
Damage | 1–1.6 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Technical details | ||
Base ID | Base.SpearScalpel | |
The spear with scalpel is a spear type weapon made from a crafted spear and a scalpel, compared to other spear type weapons, the spear with scalpel is not very effective, but will serve in a pinch.
Crafting
Spears with scalpel are upgraded with crafted spear, scalpel, and duct tape.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Scalpel |
0 XP | none | Crafted Spear (consumed) |
Scalpel (consumed) |
Duct Tape (2 units) (consumed) |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_weapons.txt
item SpearScalpel
{
MaxRange = 1.42,
WeaponSprite = SpearScalpel,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 1.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Spear,
ConditionMax = 6,
MaxHitCount = 2,
DoorDamage = 5,
SwingAnim = Spear,
DisplayName = Spear With Scalpel,
MinRange = 0.98,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = SpearScalpel,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 30,
CritDmgMultiplier = 10,
MinDamage = 1,
MaxDamage = 1.6,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = SpearScalpelBreak,
HitFloorSound = SpearScalpelHit,
ImpactSound = SpearScalpelHit,
DoorHitSound = SpearScalpelHit,
HitSound = SpearScalpelHit,
SwingSound = SpearScalpelSwing,
AttachmentType = Shovel,
Tags = FishingSpear,
}