Screwdriver: Difference between revisions
m (Minor updates) |
(added CodeBox, Condition and other fixes/updates/adjustments) |
||
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=78.16}} | ||
{{Infobox weapon | {{Infobox weapon | ||
|display_name=Screwdriver | |display_name=Screwdriver | ||
Line 10: | Line 10: | ||
|alternate_name=Screwdriver | |alternate_name=Screwdriver | ||
|alternate_link= | |alternate_link= | ||
|category=Weapon | |category=Tool/Weapon | ||
|weight=0.4 | |weight=0.4 | ||
|function=[[Mechanics]]<br>[[Electrical]]<br>[[Weapon mods]] | |function=[[Mechanics]]<br>[[Electrical]]<br>[[Weapon mods]] | ||
|equipped=One-handed | |equipped=One-handed | ||
|type= | |skill_type=SmallBlade | ||
<!--DAMAGE--> | |||
|type=Blade | |||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=0.85 | |max_range=0.85 | ||
Line 28: | Line 30: | ||
==Usage== | ==Usage== | ||
===Tool=== | |||
If a screwdriver, [[saw]], and [[hammer]] are in the player's inventory, a player can dismantle player-made objects (water barrels, crates, etc) and world objects (complex furniture, metal security doors, etc). When disassembling player-made objects, some of the materials that went into making an item will be returned to the player's inventory upon successfully dismantling it. The screwdriver is also needed to change [[Weapon mods|attachments]] on [[Weapons#Firearms|firearms]] (suppressors, sights, chokes, etc). | |||
The screwdriver is also needed to disassemble electrical devices, such as [[Radio|radios]] and [[Digital_Watch|digital watches]]. It is also used to [[#crafting|create]] improvised electronic devices, such as [[Timer|timers]] and [[Crafted_Trigger|triggers]]. It is also needed to remove [[Headlight|headlights]], [[Taillight|taillights]], and the radio from [[Vehicles|vehicles]]. | |||
===Weapon=== | ===Weapon=== | ||
In times of emergency the screwdriver can be used to quickly take out small groups of zombies, but it is unfit for hordes. | In times of emergency the screwdriver can be used to quickly take out small groups of zombies, but it is unfit for hordes. | ||
Line 35: | Line 42: | ||
The screwdriver cannot be repaired, which makes it useless once broken. | The screwdriver cannot be repaired, which makes it useless once broken. | ||
== | ==Condition== | ||
The screwdriver has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|short blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (6 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blade and maintenance skills.<br> | |||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blade]] skills. | |||
The | {{Durability weapon|6}} | ||
==Crafting== | ==Crafting== | ||
Line 83: | Line 90: | ||
== Code == | == Code == | ||
{{ | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 4132 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
item Screwdriver | item Screwdriver | ||
{ | { | ||
DisplayCategory = ToolWeapon, | |||
MaxRange = 0.85, | |||
WeaponSprite = Screwdriver, | |||
MinAngle = 0.65, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;SmallBlade, | |||
ConditionLowerChanceOneIn = 6, | |||
Weight = 0.4, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Stab, | |||
AimingMod = 0.8, | |||
ConditionMax = 10, | |||
MaxHitCount = 1, | |||
IsAimedHandWeapon = TRUE, | |||
DoorDamage = 1, | |||
SwingAnim = Stab, | |||
DisplayName = Screwdriver, | |||
MinRange = 0.61, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = Screwdriver, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | IdleAnim = Idle_Weapon2, | ||
CloseKillMove = Jaw_Stab, | CloseKillMove = Jaw_Stab, | ||
BreakSound = | BreakSound = ScrewdriverBreak, | ||
TreeDamage = 1, | TreeDamage = 1, | ||
EnduranceMod = 0.5, | EnduranceMod = 0.5, | ||
Line 124: | Line 139: | ||
MinDamage = 0.3, | MinDamage = 0.3, | ||
MaxDamage = 0.7, | MaxDamage = 0.7, | ||
WeaponLength = 0.19, | |||
HitFloorSound = ScrewdriverHit, | |||
ImpactSound = | ImpactSound = ScrewdriverHit, | ||
DoorHitSound = ScrewdriverHit, | |||
HitSound = ScrewdriverHit, | |||
SwingSound = ScrewdriverSwing, | |||
AttachmentType = Screwdriver, | |||
Tags = Screwdriver, | |||
} | } | ||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 14:26, 29 December 2023
Screwdriver | ||
---|---|---|
| ||
General | ||
Category | Tool/Weapon | |
Encumbrance | 0.4 | |
Function |
Mechanics Electrical Weapon parts | |
Equipped | One-handed | |
Condition max. | 10 | |
Skill | Short Blade | |
Damage | ||
Type | Blade | |
Attack speed | 2 | |
Range | 0.61–0.85 tiles | |
Damage | 0.3–0.7 | |
Knockback | 0.3 | |
Execution | Jaw stab | |
Technical details | ||
Base ID | Base.Screwdriver | |
A screwdriver is a one-handed, short blade weapon and a useful tool.
Usage
Tool
If a screwdriver, saw, and hammer are in the player's inventory, a player can dismantle player-made objects (water barrels, crates, etc) and world objects (complex furniture, metal security doors, etc). When disassembling player-made objects, some of the materials that went into making an item will be returned to the player's inventory upon successfully dismantling it. The screwdriver is also needed to change attachments on firearms (suppressors, sights, chokes, etc).
The screwdriver is also needed to disassemble electrical devices, such as radios and digital watches. It is also used to create improvised electronic devices, such as timers and triggers. It is also needed to remove headlights, taillights, and the radio from vehicles.
Weapon
In times of emergency the screwdriver can be used to quickly take out small groups of zombies, but it is unfit for hordes.
It has low durability and damage, requiring many well-placed hits to kill a single undead. However, it can perform jaw stab attacks.
The screwdriver cannot be repaired, which makes it useless once broken.
Condition
The screwdriver has a maximum condition of 10. Its rate of degradation is influenced by the short blade and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (6 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the short blade and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blade skills.
Maintenance skill | Weapon skill | Durability lower chance |
---|---|---|
0 | 0 | 1/6 (17%) |
0 | 4 | 1/8 (13%) |
0 | 8 | 1/10 (10%) |
4 | 0 | 1/10 (10%) |
8 | 0 | 1/14 (7%) |
4 | 4 | 1/12 (8%) |
4 | 8 | 1/14 (7%) |
8 | 8 | 1/18 (6%) |
10 | 10 | 1/20 (5%) |
Crafting
General
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Notched Wooden Plank |
0 XP | none | (keep) |
(consumed) |
||
Spear with Screwdriver |
0 XP | none | Crafted Spear (consumed) |
Screwdriver (consumed) |
Duct Tape (2 units) (consumed) | |
Screwdriver |
0 XP | none | Spear with Screwdriver (consumed) |
Electrical
- Main article: Electrical
Dismantling
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
(consumed) | |
Scrap Electronics x2 |
0.5 Electrical | none | Screwdriver (keep) |
ValuTech PortaDisc (consumed) | |
Motion Sensor |
0.5 Electrical | none | Screwdriver (keep) |
Home Alarm (consumed) | |
Amplifier |
0.5 Electrical | none | Screwdriver (keep) |
Speaker (consumed) | |
Receiver |
0.5 Electrical | none | Screwdriver (keep) |
TV Remote (consumed) | |
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
(consumed) | |
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
(consumed) | |
Scrap Electronics |
0.5 Electrical | none | Screwdriver (keep) |
One of: Toys-R-Mine Walkie Talkie ValuTech Walkie Talkie Premium Technologies Walkie Talkie Tactical Walkie Talkie US Army Walkie Talkie (consumed) |
Components
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 |
---|---|---|---|---|---|---|---|
Crafted Trigger |
Electrical 2 | Screwdriver (keep) |
(consumed) |
Scrap Electronics x2 (consumed) |
Glue (2 units) (consumed) | ||
Crafted Timer |
0 XP | Electrical 1 | Screwdriver (keep) |
(consumed) |
Scrap Electronics x1 (consumed) |
Glue (1 unit) (consumed) | |
Remote Controller V1 |
0 XP | Electrical 2 | Screwdriver (keep) |
TV Remote (consumed) |
Scrap Electronics x2 (consumed) |
Glue (2 units) (consumed) | |
Remote Controller V2 |
0 XP | Electrical 4 | Screwdriver (keep) |
TV Remote (consumed) |
Scrap Electronics x3 (consumed) |
Glue (2 units) (consumed) | |
Remote Controller V3 |
0 XP | Electrical 6 | Screwdriver (keep) |
TV Remote (consumed) |
Scrap Electronics x4 (consumed) |
Glue (2 units) (consumed) |
Communication
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 | Ingredient 5 | Ingredient 6 | Ingredient 7 | Ingredient 8 | Ingredient 9 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Makeshift Radio |
0 XP | none | Screwdriver (keep) |
Scrap Electronics x2 (consumed) |
Amplifier (consumed) |
Light Bulb (consumed) |
Radio Receiver (consumed) |
Electric Wire (consumed) |
Aluminum x2 (consumed) |
|||
Makeshift Walkie Talkie |
0 XP | none | Screwdriver (keep) |
Scrap Electronics x3 (consumed) |
Amplifier (consumed) |
Light Bulb (consumed) |
Green Light Bulb (consumed) |
Radio Receiver (consumed) |
Radio Transmitter (consumed) |
Electric Wire x2 (consumed) |
Aluminum x3 (consumed) | |
Makeshift Ham Radio |
0 XP | none | Screwdriver (keep) |
Scrap Electronics x4 (consumed) |
Amplifier (consumed) |
Light Bulb (consumed) |
Green Light Bulb (consumed) |
Radio Receiver (consumed) |
Radio Transmitter (consumed) |
Electric Wire x3 (consumed) |
Aluminum x4 (consumed) |
Distribution
Screwdrivers are mostly found in hardware stores, vehicles and storage crates (which are usually in warehouses and storage facilities). They may also be found stuck inside zombies.
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Screwdriver
{
DisplayCategory = ToolWeapon,
MaxRange = 0.85,
WeaponSprite = Screwdriver,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;SmallBlade,
ConditionLowerChanceOneIn = 6,
Weight = 0.4,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Stab,
AimingMod = 0.8,
ConditionMax = 10,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 1,
SwingAnim = Stab,
DisplayName = Screwdriver,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Screwdriver,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
CloseKillMove = Jaw_Stab,
BreakSound = ScrewdriverBreak,
TreeDamage = 1,
EnduranceMod = 0.5,
MetalValue = 5,
CriticalChance = 10,
CritDmgMultiplier = 10,
MinDamage = 0.3,
MaxDamage = 0.7,
WeaponLength = 0.19,
HitFloorSound = ScrewdriverHit,
ImpactSound = ScrewdriverHit,
DoorHitSound = ScrewdriverHit,
HitSound = ScrewdriverHit,
SwingSound = ScrewdriverSwing,
AttachmentType = Screwdriver,
Tags = Screwdriver,
}