Screwdriver: Difference between revisions

From PZwiki
(Brought Screwdriver page up to current level. + NavBar (Header), +Weapon stats, +New Description, including new stab ability, +Nonrepair note, +Code renewed. -Old Categories.)
m (Automated CodeBox update)
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}}
{{languages|Screwdriver}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Weapons|version=Version 37|incver=11}}{{Weapons|image = Smallscrewdriver.png |weapontype = Melee |ammo = None|hands = One handed|weight = 0.4|mindamage = 0.2|maxdamage = 0.5|condition = 10|degrade = 7|id = Screwdriver}}The [[Screwdriver]] is a weapon that is mostly found in the Hardware store and a couple of crates scattered around town. In times of emergency, the screwdriver will more than take care of a single undead attacker, but it is unfit for long term survival.  
{{Infobox item
<br><br>
|name=Screwdriver
It has finite durability and it has a low damage, requiring many well placed hits to kill a single undead. It is however able to do a jaw stab and kill a zombie instantly if you allow a zombie close enough. It also cannot be repaired, which makes it useless for its main function of disassembly and assembly of electronic items once broken.
|model=Screwdriver_Model.png
<br><br>
|icon=Screwdriver.png
Taking on undead with a screwdriver is risky as you can only hit one zombie at a time, and potentially with more than 1 zombie in a fight you could be open to being injured.
|icon_name=Screwdriver
<br><br>
|category=Tool/Weapon
If a screwdriver and [[saw]] is in the player's inventory, an option appears when right-clicking player-made objects (water barrels, crates, etc) to Dismantle the chosen object. Some of the materials that went into making an item will be returned to the player's inventory upon successfully dismantling it. Finally, the screwdriver can be used to add attachments to weapons which can alter weapon properties such as range, weight, damage, etc.
|weight=0.4
<br><br>
|function=[[Mechanics]]<br>[[Electrical]]<br>[[Weapon mods]]
== Crafting ==
|equipped=One-handed
{{Crafting table header}}
|skill_type=SmallBlade
{{RecipeLookup|4007}}
<!--DAMAGE-->
{{Crafting table footer}}
|type=Blade
|min_range=0.61
|max_range=0.85
|swing_time=2
|condition_max=10
|min_damage=0.3
|max_damage=0.7
|push_back=0.3
|kill_move=Jaw stab
|item_id=Base.Screwdriver
}}
 
A '''screwdriver''' is a one-handed, [[Weapons#Short_Blade|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 [[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===
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 [[Skills|short blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (6 + maintenanceMod &times; 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.
{{Durability weapon|6}}
 
==Crafting==
===General===
{{Crafting header|ing=3}}
{{Crafting general|027|ing=3}}
{{Crafting survivalist|110|ing=3}}
{{Crafting survivalist|123|ing=3}}
|}
 
===Electrical===
{{Main|Electrical}}
 
====Dismantling====
{{Crafting header|ing=2}}
{{Crafting electrical|001|ing=2}}
{{Crafting electrical|002|ing=2}}
{{Crafting electrical|003|ing=2}}
{{Crafting electrical|004|ing=2}}
{{Crafting electrical|005|ing=2}}
{{Crafting electrical|006|ing=2}}
{{Crafting electrical|007|ing=2}}
{{Crafting electrical|008|ing=2}}
|}
 
====Components====
{{Crafting header|ing=4}}
{{Crafting electrical|101|ing=4}}
{{Crafting electrical|102|ing=4}}
{{Crafting electrical|103|ing=4}}
{{Crafting electrical|104|ing=4}}
{{Crafting electrical|105|ing=4}}
|}
 
====Communication====
{{Crafting header|ing=9}}
{{Crafting electrical|201|ing=9}}
{{Crafting electrical|202|ing=9}}
{{Crafting electrical|203|ing=9}}
|}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|SafehouseLoot
|[[crate]]
|4
|1
|-
|rowspan="2"|all
|[[toolcabinet]]
|4
|1
|-
|[[toolcabinet]]
|4
|1
|-
|armyhanger
|[[counter]]
|4
|1
|-
|bedroom
|[[crate]]
|1
|0.8
|-
|cabinetfactory
|[[crate]]
|4
|1
|-
|rowspan="6"|carsupply
|[[clothingrack]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|[[shelves]]
|4
|1
|-
|rowspan="7"|closet
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[metal_shelves]]
|4
|8
|-
|controlroom
|[[counter]]
|4
|1
|-
|drugshack
|[[counter]]
|4
|1
|-
|factory
|[[crate]]
|4
|1
|-
|firestorage
|[[metal_shelves]]
|4
|1
|-
|rowspan="5"|garagestorage
|[[counter]]
|4
|8
|-
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|[[counter]]
|4
|1
|-
|[[locker]]
|4
|1
|-
|gasstorage
|[[counter]]
|4
|1
|-
|generalstore
|[[metal_shelves]]
|4
|1
|-
|kitchen
|[[counter]]
|4
|1
|-
|rowspan="2"|mechanic
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|1
|-
|metalshipping
|[[metal_shelves]]
|4
|1
|-
|pawnshop
|[[counter]]
|4
|1
|-
|rowspan="2"|toolstorestorage
|[[metal_shelves]]
|4
|1
|-
|[[metal_shelves]]
|4
|8
|}


== Code ==
== Code ==
<nowiki>
{{CodeBox
item Screwdriver
| {{CodeSnip
MaxRange = 0.9,
  | lang = java
WeaponSprite = Knife,
  | line = true
MinAngle = 0,
  | start = 4132
Type = Weapon,
  | source = items_weapons.txt
MinimumSwingTime = 2,
  | retrieved = true
KnockBackOnNoDeath = FALSE,
  | version = 41.78.16
SwingAmountBeforeImpact = 0.02,
  | code =
Categories = Improvised;Blade,
item Screwdriver
ConditionLowerChanceOneIn = 7,
{
Weight = 0.4,
    DisplayCategory = ToolWeapon,
SplatN.umber = 0,
MaxRange = 0.85,
PushBackMod = 0.3,
WeaponSprite = Screwdriver,
MaxDamage = 0.5,
MinAngle = 0.65,
SubCategory = Stab,
Type = Weapon,
AimingMod = 0.8,
MinimumSwingTime = 2,
ConditionMax = 10,
KnockBackOnNoDeath = FALSE,
MaxHitCount = 1,
SwingAmountBeforeImpact = 0.02,
IsAimedHandWeapon = TRUE,
Categories = Improvised;SmallBlade,
DoorDamage = 1,
ConditionLowerChanceOneIn = 6,
SwingAnim = Stab,
Weight = 0.4,
WeaponWeight = 0.4,
SplatNumber = 1,
DisplayName = Screwdriver,
PushBackMod = 0.3,
MinRange = 0.61,
SubCategory = Stab,
SwingTime = 2,
AimingMod = 0.8,
MinDamage = 0.2,
ConditionMax = 10,
KnockdownMod = 0,
MaxHitCount = 1,
SplatBloodOnNoDeath = FALSE,
IsAimedHandWeapon = TRUE,
Icon = Screwdriver,
DoorDamage = 1,
RunAnim = Run_Weapon2,
SwingAnim = Stab,
        IdleAnim = Idle_Weapon2,
DisplayName = Screwdriver,
        CloseKillMove = Jaw_Stab,
MinRange = 0.61,
        BreakSound = PZ_MetalSnap,
SwingTime = 2,
        TreeDamage = 1,
KnockdownMod = 0,
        EnduranceMod = 0.5,
SplatBloodOnNoDeath = FALSE,
        MetalValue = 5,
Icon = Screwdriver,
</nowiki>
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,
}
}}
}}
 
==See also==
*[[Saw]]
*[[Hammer]]
*[[Wrench]]
 
{{Navbox equipment|tools}}
{{Navbox weapons|blade}}


{{Navbox/Weapons}}
[[Category:Tools]]
[[Category:Carpentry tools]]
[[Category:Mechanic tools]]
[[Category:Metalwork tools]]
[[Category:Electrical tools]]
[[Category:Spiffo's Construction Crew (Project)]]

Revision as of 11:29, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Screwdriver
Screwdriver Model.png
General
Category
Tool/Weapon
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Equipped
One-handed
Skill
Properties
Max condition
10
Performance
Damage
0.3–0.7
Range
0.61–0.85
Knockback
0.3
Special ability
Jaw stab
Technical
Item 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.

For how this is calculated, see: Durability
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
TZ PerforatedWoodenPlank.png
Notched Wooden Plank
0 XP none
(keep)
One of:
Plank.png Plank
Logs.png Log

(consumed)

SpearScrewdriver.png
Spear with Screwdriver
0 XP none SpearStick.png
Crafted Spear
(consumed)
Screwdriver.png
Screwdriver
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)
Screwdriver.png
Screwdriver
0 XP none SpearScrewdriver.png
Spear with Screwdriver
(consumed)


Electrical

Main article: Electrical

Dismantling

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
ElectronicsScrap.png
Scrap Electronics
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)

(consumed)
ElectronicsScrap.png
Scrap Electronics x2
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)
CDplayer.png
ValuTech PortaDisc
(consumed)
MotionSensor.png
Motion Sensor
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)
HomeAlarm.png
Home Alarm
(consumed)
Amplifier.png
Amplifier
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)
Speaker.png
Speaker
(consumed)
Receiver.png
Receiver
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)
Remote.png
TV Remote
(consumed)
Scrap Electronics
Scrap Electronics
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)

(consumed)
Scrap Electronics
Scrap Electronics
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)

(consumed)
Scrap Electronics
Scrap Electronics
0.5 Electrical none Screwdriver.png
Screwdriver
(keep)

(consumed)

Components

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
TriggerCrafted.png
Crafted Trigger
Electrical 2 Electronics Magazine Vol.4 Screwdriver.png
Screwdriver
(keep)

(consumed)
ElectronicsScrap.png
Scrap Electronics x2
(consumed)
Glue.png
Glue
(2 units)

(consumed)
TimerCrafted.png
Crafted Timer
0 XP Electrical 1 Electronics Magazine Vol.2 Screwdriver.png
Screwdriver
(keep)

(consumed)
ElectronicsScrap.png
Scrap Electronics x1
(consumed)
Glue.png
Glue
(1 unit)

(consumed)
Remote Controller V1
Remote Controller V1
0 XP Electrical 2 Electronics Magazine Vol.1 Screwdriver.png
Screwdriver
(keep)
Remote.png
TV Remote
(consumed)
ElectronicsScrap.png
Scrap Electronics x2
(consumed)
Glue.png
Glue
(2 units)

(consumed)
Remote Controller V2
Remote Controller V2
0 XP Electrical 4 Electronics Magazine Vol.1 Screwdriver.png
Screwdriver
(keep)
Remote.png
TV Remote
(consumed)
ElectronicsScrap.png
Scrap Electronics x3
(consumed)
Glue.png
Glue
(2 units)

(consumed)
Remote Controller V3
Remote Controller V3
0 XP Electrical 6 Electronics Magazine Vol.1 Screwdriver.png
Screwdriver
(keep)
Remote.png
TV Remote
(consumed)
ElectronicsScrap.png
Scrap Electronics x4
(consumed)
Glue.png
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
Makeshift Radio
0 XP none Guerilla Radio Vol.1 Screwdriver.png
Screwdriver
(keep)
ElectronicsScrap.png
Scrap Electronics x2
(consumed)
Amplifier.png
Amplifier
(consumed)
LightBulb.png
Light Bulb
(consumed)
RadioReceiver.png
Radio Receiver
(consumed)
ElectricWire.png
Electric Wire
(consumed)
Aluminum.png
Aluminum x2
(consumed)


Makeshift Walkie Talkie
Makeshift Walkie Talkie
0 XP none Guerilla Radio Vol.2 Screwdriver.png
Screwdriver
(keep)
ElectronicsScrap.png
Scrap Electronics x3
(consumed)
Amplifier.png
Amplifier
(consumed)
LightBulb.png
Light Bulb
(consumed)
Green Light Bulb
Green Light Bulb
(consumed)
RadioReceiver.png
Radio Receiver
(consumed)
RadioTransmitter.png
Radio Transmitter
(consumed)
ElectricWire.png
Electric Wire x2
(consumed)
Aluminum.png
Aluminum x3
(consumed)
Ham Radio
Makeshift Ham Radio
0 XP none Guerilla Radio Vol.3 Screwdriver.png
Screwdriver
(keep)
ElectronicsScrap.png
Scrap Electronics x4
(consumed)
Amplifier.png
Amplifier
(consumed)
LightBulb.png
Light Bulb
(consumed)
Green Light Bulb
Green Light Bulb
(consumed)
RadioReceiver.png
Radio Receiver
(consumed)
RadioTransmitter.png
Radio Transmitter
(consumed)
ElectricWire.png
Electric Wire x3
(consumed)
Aluminum.png
Aluminum x4
(consumed)

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
SafehouseLoot crate 4 1
all toolcabinet 4 1
toolcabinet 4 1
armyhanger counter 4 1
bedroom crate 1 0.8
cabinetfactory crate 4 1
carsupply clothingrack 4 1
counter 4 1
metal_shelves 4 1
metal_shelves 4 1
metal_shelves 4 1
shelves 4 1
closet crate 4 1
crate 4 1
crate 4 1
crate 4 1
crate 4 1
crate 4 1
metal_shelves 4 8
controlroom counter 4 1
drugshack counter 4 1
factory crate 4 1
firestorage metal_shelves 4 1
garagestorage counter 4 8
counter 4 1
counter 4 1
counter 4 1
locker 4 1
gasstorage counter 4 1
generalstore metal_shelves 4 1
kitchen counter 4 1
mechanic metal_shelves 4 1
metal_shelves 4 1
metalshipping metal_shelves 4 1
pawnshop counter 4 1
toolstorestorage metal_shelves 4 1
metal_shelves 4 8

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
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,
 	}

See also