Scalpel: Difference between revisions
(Added the weapon code information from the project zomboid "items_weapons.txt") |
m (Distribution table fix) |
||
(28 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
== | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}} | ||
=== | {{Page version|41.78.16}} | ||
''''' | {{Stub}} | ||
{{ | {{Infobox item | ||
|name=Scalpel | |||
|model=Scalpel_Model.png | |||
|icon=Scalpel.png | |||
|icon_name=Scalpel | |||
<!--GENERAL--> | |||
|category=Weapon | |||
|weight=0.3 | |||
|equipped=One-handed | |||
|condition_max=5 | |||
|attachment_type=Screwdriver | |||
<!--CHARACTERISTICS--> | |||
<!--DAMAGE--> | |||
|type=SmallBlade | |||
|swing_time=2 | |||
|min_range=0.61 | |||
|max_range=0.8 | |||
|min_damage=0.1 | |||
|max_damage=0.4 | |||
|push_back=0.3 | |||
|knockdown=0 | |||
|kill_move=Jaw Stab | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Scalpel | |||
}} | |||
A '''scalpel''' is a short blade weapon. | |||
==Usage== | |||
A scalpel is a short blade weapon with low durability and damage. Like many short bladed weapons, it can perform the jaw stab attack which will instantly kill a [[zombie]] when attacking from close proximity. | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Scalpel|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Scalpel distribution | |||
<span class="mw-customtoggle-togglebox-Scalpel" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Scalpel"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_DoctorBag | |||
| {{ll|Bag_DoctorBag}} | |||
| 6.41% | |||
|- | |||
| Bag_MedicalBag | |||
| {{ll|Bag_MedicalBag}} | |||
| 12.41% | |||
|- | |||
| MedicalCache1 | |||
| {{ll|MedicalBox}} | |||
| 23.28% | |||
|- | |||
| Nurse | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| Nurse | |||
| {{ll|crate}} | |||
| 41.14% | |||
|- | |||
| Nurse | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| Nurse | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|medicine}} | |||
| 23.28% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| dentiststorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| dentiststorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| hospitalstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| hospitalstorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| kennels | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| kennels | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| kennels | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| laboratory | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| laboratory | |||
| {{ll|desk}} | |||
| 23.28% | |||
|- | |||
| laboratory | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| medical | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| medical | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| medical | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| medical | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| medicalstorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| medicalstorage | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| medicalstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| medicalstorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| morgue | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| pharmacy | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacy | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| pharmacystorage | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| pharmacystorage | |||
| {{ll|counter}} | |||
| 41.14% | |||
|- | |||
| pharmacystorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacystorage | |||
| {{ll|metal_shelves}} | |||
| 41.14% | |||
|- | |||
| pharmacystorage | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| pharmacystorage | |||
| {{ll|shelves}} | |||
| 41.14% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|} | |||
</div> | |||
<div id="vehicles" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Vehicles}} | |||
! Type | |||
! Container | |||
! Effective chance | |||
|- | |||
| Ambulance | |||
| {{ll|Glove Box}} | |||
| 30.41% | |||
|- | |||
| Ambulance | |||
| {{ll|Truck Bed}} | |||
| 23.28% | |||
|- | |||
| Doctor | |||
| {{ll|Glove Box}} | |||
| 30.41% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Scalpel" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Scalpel|41.78.16--> | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3700 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Scalpel | |||
{ | { | ||
DisplayCategory = FirstAid, | |||
MaxRange = 0.8, | MaxRange = 0.8, | ||
WeaponSprite = Scalpel, | WeaponSprite = Scalpel, | ||
Line 51: | Line 293: | ||
SwingSound = ScalpelSwing, | SwingSound = ScalpelSwing, | ||
AttachmentType = Screwdriver, | AttachmentType = Screwdriver, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
{{Navbox items|blade}} |
Latest revision as of 19:39, 30 April 2024
A scalpel is a short blade weapon.
Usage
A scalpel is a short blade weapon with low durability and damage. Like many short bladed weapons, it can perform the jaw stab attack which will instantly kill a zombie when attacking from close proximity.
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
Bag_DoctorBag | Bag_DoctorBag | 6.41% |
Bag_MedicalBag | Bag_MedicalBag | 12.41% |
MedicalCache1 | MedicalBox | 23.28% |
Nurse | crate | 23.28% |
Nurse | crate | 41.14% |
Nurse | metal_shelves | 23.28% |
Nurse | metal_shelves | 41.14% |
SafehouseLoot | counter | 23.28% |
SafehouseLoot | medicine | 23.28% |
closet | crate | 23.28% |
dentiststorage | metal_shelves | 23.28% |
dentiststorage | metal_shelves | 41.14% |
garagestorage | crate | 23.28% |
hospitalstorage | metal_shelves | 23.28% |
hospitalstorage | metal_shelves | 41.14% |
kennels | counter | 23.28% |
kennels | counter | 41.14% |
kennels | metal_shelves | 23.28% |
kennels | metal_shelves | 41.14% |
laboratory | crate | 23.28% |
laboratory | desk | 23.28% |
laboratory | metal_shelves | 23.28% |
medical | counter | 23.28% |
medical | counter | 41.14% |
medical | metal_shelves | 23.28% |
medical | metal_shelves | 41.14% |
medicalstorage | counter | 23.28% |
medicalstorage | counter | 41.14% |
medicalstorage | metal_shelves | 23.28% |
medicalstorage | metal_shelves | 41.14% |
morgue | counter | 23.28% |
pharmacy | metal_shelves | 23.28% |
pharmacy | metal_shelves | 41.14% |
pharmacystorage | counter | 23.28% |
pharmacystorage | counter | 41.14% |
pharmacystorage | metal_shelves | 23.28% |
pharmacystorage | metal_shelves | 41.14% |
pharmacystorage | shelves | 23.28% |
pharmacystorage | shelves | 41.14% |
storageunit | crate | 23.28% |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Scalpel
{
DisplayCategory = FirstAid,
MaxRange = 0.8,
WeaponSprite = Scalpel,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlade,
ConditionLowerChanceOneIn = 1,
Weight = 0.3,
SplatNumber = 2,
PushBackMod = 0.3,
SubCategory = Stab,
AimingMod = 0.8,
CloseKillMove = Jaw_Stab,
ConditionMax = 5,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 1,
SwingAnim = Stab,
DisplayName = Scalpel,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Scalpel,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = ScalpelBreak,
TreeDamage = 0,
EnduranceMod = 0.5,
MetalValue = 8,
CriticalChance = 10,
CritDmgMultiplier = 10,
MinDamage = 0.1,
MaxDamage = 0.4,
WeaponLength = 0.17,
DamageCategory = Slash,
DamageMakeHole = TRUE,
HitFloorSound = ScalpelHit,
ImpactSound = ScalpelHit,
DoorHitSound = ScalpelHit,
HitSound = ScalpelHit,
SwingSound = ScalpelSwing,
AttachmentType = Screwdriver,
}