Screwdriver: Difference between revisions

From PZwiki
mNo edit summary
(Use latest template and updated to version 40.43)
Line 1: Line 1:
__NOTOC__
{{languages|Screwdriver}}
{{languages|Screwdriver}}
{{header|The Game World|Items|Tools|version=Version 37|incver=13}}{{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 can be used to quickly take out small groups of zombies, but it is unfit for hordes.  
{{header|The Game World|Items|Tools|version=Version 40|incver=43}}{{Infobox weapon
<br><br>
|display_name=Screwdriver
It has finite durability and it has a low damage, requiring many well placed hits to kill a single undead. A player can use it to stab a zombie in the jaw, killing them in one hit if you are precise enough. It cannot be repaired, which makes it useless for its main function of disassembly and assembly of electronic items once broken.
|name_colour=Tool
<br><br>
|name_text_colour=Tool
If a screwdriver and [[saw]] is in the player's inventory, a player can dismantle player-made objects (water barrels, crates, etc). 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 needed to change attachments on guns (suppressors, sights, chokes, etc).
|image=Smallscrewdriver.png
<br><br>
|image_width=200px
|alternate_image=Smallscrewdriver.png
|alternate_name=Screwdriver
|alternate_link=
|category=Weapon
|weight=0.4
|function=Electrical crafting
|equipped=One-handed
|type=Blade
|min_range=0.61
|max_range=0.9
|swing_time=2
|condition_max=10
|min_damage=0.2
|max_damage=0.5
|push_back=0.3
|knockdown=0
|kill_move=Jaw stab
|class_name=Base.Screwdriver
}}A '''screwdriver''' is a tool used to build and dismantle items.
 
==Usage==
===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 finite durability and it has a low damage, requiring many well placed hits to kill a single undead. A player can use it to stab a zombie in the jaw, killing them in one hit if you are precise enough.  
 
===Tool===
It cannot be repaired, which makes it useless for its main function of disassembly and assembly of electronic items once broken.
 
If a screwdriver and [[saw]] is in the player's inventory, a player can dismantle player-made objects (water barrels, crates, etc). 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 needed to change [[Weapon mods|attachments]] on [[Weapons#Firearms|firearms]] (suppressors, sights, chokes, etc).
 
== Crafting ==
== Crafting ==
===Electrical===
{{Crafting table header}}
{{RecipeLookup|7000}}
{{RecipeLookup|7001}}
{{RecipeLookup|7002}}
{{RecipeLookup|7003}}
{{RecipeLookup|7004}}
{{RecipeLookup|7005}}
{{RecipeLookup|7006}}
{{RecipeLookup|7007}}
{{RecipeLookup|7008}}
{{RecipeLookup|7029}}
{{RecipeLookup|7030}}
{{RecipeLookup|7031}}
{{RecipeLookup|7032}}
{{RecipeLookup|7033}}
{{RecipeLookup|7034}}
{{RecipeLookup|7035}}
{{RecipeLookup|7036}}
{{RecipeLookup|7037}}
{{Crafting table footer}}
===Other===
{{Crafting table header}}
{{Crafting table header}}
{{RecipeLookup|4007}}
{{RecipeLookup|4007}}
{{Crafting table footer}}
{{Crafting table footer}}
==Distribution==
Screwdrivers are mostly found in hardware stores, [[Vehicles|vehicles]] and [[Crate|storage crates]] (which are usually in warehouses and storage facilities).


== Code ==
== Code ==
<nowiki>
{{Retrieved|version=40|incver=43}}
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<pre>
item Screwdriver
item Screwdriver
MaxRange = 0.9,
MaxRange = 0.9,
Line 25: Line 83:
ConditionLowerChanceOneIn = 7,
ConditionLowerChanceOneIn = 7,
Weight = 0.4,
Weight = 0.4,
SplatN.umber = 0,
SplatNumber = 0,
PushBackMod = 0.3,
PushBackMod = 0.3,
MaxDamage = 0.5,
MaxDamage = 0.5,
Line 50: Line 108:
         EnduranceMod = 0.5,
         EnduranceMod = 0.5,
         MetalValue = 5,
         MetalValue = 5,
</nowiki>
</pre>


{{Navbox/Weapons}}{{Navbox/Tools}}
{{Navbox/Weapons}}{{Navbox/Tools}}

Revision as of 00:43, 6 July 2019

The Game WorldItemsToolsScrewdriver
Screwdriver
Screwdriver
Screwdriver
General
Category Weapon
Encumbrance
Heavy Load
0.4
Function Electrical crafting
Equipped One-handed
Condition max. 10
Skill Blade
Damage
Type Blade
Attack speed 2
Range 0.61–0.9 tiles
Damage 0.2–0.5
Knockback 0.3
Knockdown 0
Execution Jaw stab
Technical details
Base ID Base.Screwdriver

A screwdriver is a tool used to build and dismantle items.

Usage

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 finite durability and it has a low damage, requiring many well placed hits to kill a single undead. A player can use it to stab a zombie in the jaw, killing them in one hit if you are precise enough.

Tool

It cannot be repaired, which makes it useless for its main function of disassembly and assembly of electronic items once broken.

If a screwdriver and saw is in the player's inventory, a player can dismantle player-made objects (water barrels, crates, etc). 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 needed to change attachments on firearms (suppressors, sights, chokes, etc).

Crafting

Electrical

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Other

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Distribution

Screwdrivers are mostly found in hardware stores, vehicles and storage crates (which are usually in warehouses and storage facilities).

Code

Retrieved: Build 40.43 From items.txt (Project Zomboid directory/media/scripts/)

	item Screwdriver
		MaxRange			= 0.9,
		WeaponSprite			= Knife,
		MinAngle			= 0,
		Type				= Weapon,
		MinimumSwingTime		= 2,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Improvised;Blade,
		ConditionLowerChanceOneIn	= 7,
		Weight				= 0.4,
		SplatNumber			= 0,
		PushBackMod			= 0.3,
		MaxDamage			= 0.5,
		SubCategory			= Stab,
		AimingMod			= 0.8,
		ConditionMax			= 10,
		MaxHitCount			= 1,
		IsAimedHandWeapon		= TRUE,
		DoorDamage			= 1,
		SwingAnim			= Stab,
		WeaponWeight			= 0.4,
		DisplayName			= Screwdriver,
		MinRange			= 0.61,
		SwingTime			= 2,
		MinDamage			= 0.2,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Screwdriver,
		RunAnim				= Run_Weapon2,
        	IdleAnim			= Idle_Weapon2,
        	CloseKillMove 			= Jaw_Stab,
        	BreakSound  			= PZ_MetalSnap,
        	TreeDamage  			= 1,
        	EnduranceMod 			= 0.5,
        	MetalValue 			= 5,

Template:Navbox/WeaponsTemplate:Navbox/Tools