Screwdriver: Difference between revisions

From PZwiki
m (→‎See also: case)
m (Automated CodeBox update)
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}}
{{header|The Game World|Items|Tools|version=Version 41|incver=53}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Screwdriver
{{Infobox item
|name_colour=Tool
|name=Screwdriver
|name_text_colour=Tool
|model=Screwdriver_Model.png
|image=Screwdriver_Model.png
|icon=Screwdriver.png
|image_width=150px
|icon_name=Screwdriver
|alternate_image=Screwdriver.png
|category=Tool/Weapon
|alternate_name=Screwdriver
|alternate_link=
|category=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=SmallBlade
|skill_type=SmallBlade
<!--DAMAGE-->
|type=Blade
|min_range=0.61
|min_range=0.61
|max_range=0.85
|max_range=0.85
Line 22: Line 21:
|push_back=0.3
|push_back=0.3
|kill_move=Jaw stab
|kill_move=Jaw stab
|class_name=Base.Screwdriver
|item_id=Base.Screwdriver
}}A '''screwdriver''' is a one-handed, [[Weapons#Short_Blade|short blade weapon]] and a useful tool.
}}
 
A '''screwdriver''' is a one-handed, [[Weapons#Short_Blade|short blade weapon]] and a useful tool.


==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.


It has low durability and damage, requiring many well-placed hits to kill a single undead. However, it can perform jaw stab attacks.  
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.
The screwdriver cannot be repaired, which makes it useless once broken.


===Tool===
==Condition==
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 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.
The screwdriver is also needed to disassemble electrical devices, such as [[Radio|radios]] and [[Digital_Watch|digital watches]]. It is also used to 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]].  
{{Durability weapon|6}}


== Crafting ==
==Crafting==
===General===
===General===
{{Crafting header|ing=3}}
{{Crafting header|ing=3}}
{{Crafting general|027|ing=3}}
{{Crafting general|027|ing=3}}
{{Crafting survivalist|110|ing=3}}|-
{{Crafting survivalist|110|ing=3}}
{{Crafting survivalist|123|ing=3}}
{{Crafting survivalist|123|ing=3}}
|}
|}
Line 48: Line 54:
===Electrical===
===Electrical===
{{Main|Electrical}}
{{Main|Electrical}}
====Dismantling====
====Dismantling====
{{Crafting header|ing=2}}
{{Crafting header|ing=2}}
{{Crafting electrical|001|ing=2}}
{{Crafting electrical|001|ing=2}}
{{Crafting electrical|002|ing=2}}|-
{{Crafting electrical|002|ing=2}}
{{Crafting electrical|003|ing=2}}|-
{{Crafting electrical|003|ing=2}}
{{Crafting electrical|004|ing=2}}|-
{{Crafting electrical|004|ing=2}}
{{Crafting electrical|005|ing=2}}|-
{{Crafting electrical|005|ing=2}}
{{Crafting electrical|006|ing=2}}|-
{{Crafting electrical|006|ing=2}}
{{Crafting electrical|007|ing=2}}|-
{{Crafting electrical|007|ing=2}}
{{Crafting electrical|008|ing=2}}|-
{{Crafting electrical|008|ing=2}}
|}
|}


====Components====
====Components====
{{Crafting header|ing=4}}
{{Crafting header|ing=4}}
{{Crafting electrical|101|ing=4}}|-
{{Crafting electrical|101|ing=4}}
{{Crafting electrical|102|ing=4}}|-
{{Crafting electrical|102|ing=4}}
{{Crafting electrical|103|ing=4}}|-
{{Crafting electrical|103|ing=4}}
{{Crafting electrical|104|ing=4}}|-
{{Crafting electrical|104|ing=4}}
{{Crafting electrical|105|ing=4}}|-
{{Crafting electrical|105|ing=4}}
|}
|}
====Communication====
====Communication====
{{Crafting header|ing=9}}
{{Crafting header|ing=9}}
{{Crafting electrical|201|ing=9}}|-
{{Crafting electrical|201|ing=9}}
{{Crafting electrical|202|ing=9}}|-
{{Crafting electrical|202|ing=9}}
{{Crafting electrical|203|ing=9}}|-
{{Crafting electrical|203|ing=9}}
|}
|}


==Distribution==
==Distribution==
Screwdrivers are mostly found in hardware stores, [[Vehicles|vehicles]] and [[Crate|storage crates]] (which are usually in warehouses and storage facilities). They may also be found stuck inside zombies.
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 ==
{{Retrieved|version=41|incver=53}}
{{CodeBox
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
| {{CodeSnip
<pre> item Screwdriver
  | lang = java
  | line = true
  | start = 4132
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Screwdriver
{
{
MaxRange = 0.85,
    DisplayCategory = ToolWeapon,
WeaponSprite = Screwdriver,
MaxRange = 0.85,
MinAngle = 0.65,
WeaponSprite = Screwdriver,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 2,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 2,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = Improvised;SmallBlade,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 6,
Categories = Improvised;SmallBlade,
Weight = 0.4,
ConditionLowerChanceOneIn = 6,
SplatNumber = 1,
Weight = 0.4,
PushBackMod = 0.3,
SplatNumber = 1,
SubCategory = Stab,
PushBackMod = 0.3,
AimingMod = 0.8,
SubCategory = Stab,
ConditionMax = 10,
AimingMod = 0.8,
MaxHitCount = 1,
ConditionMax = 10,
IsAimedHandWeapon = TRUE,
MaxHitCount = 1,
DoorDamage = 1,
IsAimedHandWeapon = TRUE,
SwingAnim = Stab,
DoorDamage = 1,
DisplayName = Screwdriver,
SwingAnim = Stab,
MinRange = 0.61,
DisplayName = Screwdriver,
SwingTime = 2,
MinRange = 0.61,
KnockdownMod = 0,
SwingTime = 2,
SplatBloodOnNoDeath = FALSE,
KnockdownMod = 0,
Icon = Screwdriver,
SplatBloodOnNoDeath = FALSE,
RunAnim = Run_Weapon2,
Icon = Screwdriver,
RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
         CloseKillMove = Jaw_Stab,
         CloseKillMove = Jaw_Stab,
         BreakSound  =  BreakMetalItem,
         BreakSound  =  ScrewdriverBreak,
         TreeDamage  =  1,
         TreeDamage  =  1,
         EnduranceMod = 0.5,
         EnduranceMod = 0.5,
Line 119: Line 311:
         MinDamage = 0.3,
         MinDamage = 0.3,
         MaxDamage = 0.7,
         MaxDamage = 0.7,
WeaponLength = 0.19,
WeaponLength = 0.19,
HitFloorSound = BladeHit,
HitFloorSound = ScrewdriverHit,
         ImpactSound = BladeHit,
         ImpactSound = ScrewdriverHit,
HitSound = BladeHit,
        DoorHitSound = ScrewdriverHit,
AttachmentType = Screwdriver,
HitSound = ScrewdriverHit,
Tags = Screwdriver,
SwingSound = ScrewdriverSwing,
  }</pre>
AttachmentType = Screwdriver,
Tags = Screwdriver,
  }  
}}
}}


==See also==
==See also==
Line 132: Line 328:
*[[Wrench]]
*[[Wrench]]


{{Navbox_equipment}}{{Navbox_weapons}}
{{Navbox equipment|tools}}
{{Navbox weapons|blade}}


[[Category:Weapons]]
[[Category:Tools]]
[[Category:Carpentry tools]]
[[Category:Mechanic tools]]
[[Category:Metalwork tools]]
[[Category:Electrical tools]]
[[Category:Spiffo's Construction Crew (Project)]]
[[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