Pen: Difference between revisions

From PZwiki
No edit summary
m (clean up, replaced: wikitable → pztable)
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{languages}}
__NOTOC__
{{Weapons
{{languages|Pen}}
|image = Pen.png
{{header|The Game World|Items|Tools|Stationery|version=Version 39|incver=56}}{{Weapons|image = PenAnim_120px.gif
|weapontype = Melee  
|weapontype = Melee  
|averagedamage = 0.1
|ammo = None
|maxrange = 0.9
|hands = One-handed
|swing = 2
|doordamage = 1
|weight = 0.1
|weight = 0.1
}}
|mindamage = 0.1
A writing implement that can be used to create written recipes and, in tight spots, as a weapon. The pen can kill zombies, but doing so will usually exhaust all of its durability; rendering it useless.
|maxdamage = 0.1
== Crafting ==
|condition = 2
{| class="wikitable sortable" style="text-align:center;"  
|degrade = 1
|id = Pen<br>RedPen<br>BluePen}}The '''pen''' is a writing implement that can be used to create notes and, in tight spots, as a weapon. The pen can kill zombies, but doing so will usually exhaust all of its durability; rendering it useless. Pens can be found in three colours, standard, red and blue, each with the same stats. A pen can be used with [[journal]]s, [[Empty Notebook|empty notebooks]] and a [[Sheet of Paper|sheet of paper]] to write notes that can be left for other players on Multiplayer servers. [[Map]]s can be annotated with a pen, adding symbols and text in the colour of the pen.  
 
Pens can be found in [[Containers#Bins|bins]], [[Containers#Lockers|lockers]], [[Containers#Corpses|zombie corpses]], [[Containers#Desks|desks]], [[Containers#Counters|shop counters]], [[Containers#Bedroom Storage|side tables]], [[Containers#Shelves|houseware store shelves]], [[Containers#Crates|gift store crates]], shelves and [[Containers#Displays|display cases]], [[Containers#Shelves|toy store shelves]], [[Containers#Shelves|sewing store shelves]], [[schoolbag]]s and [[Garbage Bag|garbage bags]].
 
 
 
== Former Crafting ==
Formerly, the Pen could be used to make Doodles and work with Notepads to make Journals, this has since been removed.
{| class="pztable sortable" style="text-align:center;"  
|-  
|-  
! Name  
! Name  
! class="unsortable" | Recipe  
! class="unsortable" | Recipe  
! class="unsortable" | Description
! class="unsortable" | Description
! Skill Level
{{RecipeLookup|4002}}
{{RecipeLookup|4002}}
{{RecipeLookup|4003}}
{{RecipeLookup|4003}}
|}
|}


== Code ==
== Code ==
  <nowiki>item Pen
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
 
        Type = Weapon,
''Pen'' [[File:Pen.png]]
DisplayName = Pen,
  <nowiki>
                SubCategory                     =                       Stab,
item Pen
Icon = Pen,
MaxRange = 0.9,
MinAngle = 0,
WeaponSprite = Knife,
MaxDamage = 1.4,
MinAngle = 0,
MinDamage = 0.4,
Type = Weapon,
MaxRange = 0.9,
MinimumSwingTime = 2,
MinRange = 0.61,
KnockBackOnNoDeath = FALSE,
SwingAnim = Stab,
SwingAmountBeforeImpact = 0.02,
WeaponSprite         = Knife,
Categories = Improvised,
Weight = 0.1,
ConditionLowerChanceOneIn = 1,
WeaponWeight         = 0.7,
Weight = 0.1,
MinimumSwingTime         = 4.1,
SplatN.umber = 0,
SwingTime = 4.1,
PushBackMod = 0.3,
DoorDamage = 1,
MaxDamage = 0.1,
SwingAmountBeforeImpact         =         0.02,
SubCategory = Stab,
MaxHitCount         = 1,
AimingMod = 0.8,
PushBackMod = 0,
ConditionMax = 2,
KnockdownMod         = 0,
MaxHitCount = 1,
ConditionLowerChanceOneIn      =                 1,
IsAimedHandWeapon = TRUE,
ConditionMax           = 1,
DoorDamage = 0,
IsAimedHandWeapon         = true,
SwingAnim = Stab,
AimingMod = 0.8,
WeaponWeight = 0.1,
Categories = Improvised,
DisplayName = Pen,
}</nowiki>
MinRange = 0.61,
SwingTime = 2,
MinDamage = 0.1,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Pen,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound  = PZ_MetalSnap,
TreeDamage  = 0,
EnduranceMod = 0.5,
</nowiki>
''Red Pen'' [[File:RedPen.png]]
<nowiki>
item RedPen
MaxRange = 0.9,
WeaponSprite = Knife,
MinAngle = 0,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised,
ConditionLowerChanceOneIn = 1,
Weight = 0.1,
SplatN.umber = 0,
PushBackMod = 0.3,
MaxDamage = 0.1,
SubCategory = Stab,
AimingMod = 0.8,
ConditionMax = 2,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 0,
SwingAnim = Stab,
WeaponWeight = 0.1,
DisplayName = Pen,
MinRange = 0.61,
SwingTime = 2,
MinDamage = 0.1,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Red Pen,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound  = PZ_MetalSnap,
TreeDamage  = 0,
EnduranceMod = 0.5,
ColorRed = 220,
        ColorGreen = 10,
        ColorBlue = 10,
</nowiki>
''Blue Pen'' [[File:BluePen.png]]
<nowiki>
item BluePen
MaxRange = 0.9,
WeaponSprite = Knife,
MinAngle = 0,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised,
ConditionLowerChanceOneIn = 1,
Weight = 0.1,
SplatN.umber = 0,
PushBackMod = 0.3,
MaxDamage = 0.1,
SubCategory = Stab,
AimingMod = 0.8,
ConditionMax = 2,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 0,
SwingAnim = Stab,
WeaponWeight = 0.1,
DisplayName = Pen,
MinRange = 0.61,
SwingTime = 2,
MinDamage = 0.1,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Blue Pen,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound  = PZ_MetalSnap,
TreeDamage  = 0,
EnduranceMod = 0.5,
ColorRed = 50,
        ColorGreen = 50,
        ColorBlue = 210,
</nowiki>


== History ==
{| class="wikitable" width="550" style="text-align:center;"
|-
! Alpha || 
|-
| 0.2.0a || Added to the game.
|}


==See Also==
==See also==
* [[Pencil]]
*[[Pencil]]
*[[Eraser]]


{{Navbox/Weapons}}
{{Navbox/Tools}}{{Navbox/Weapons}}
[[Category:Stationery]]
[[Category:Weapons]]
[[Category:weapons]]
[[Category:Melee Weapons]]
[[Category:Items]]
[[Category:Version 0.2.0p]]

Revision as of 15:05, 11 May 2019


Template:WeaponsThe pen is a writing implement that can be used to create notes and, in tight spots, as a weapon. The pen can kill zombies, but doing so will usually exhaust all of its durability; rendering it useless. Pens can be found in three colours, standard, red and blue, each with the same stats. A pen can be used with journals, empty notebooks and a sheet of paper to write notes that can be left for other players on Multiplayer servers. Maps can be annotated with a pen, adding symbols and text in the colour of the pen.

Pens can be found in bins, lockers, zombie corpses, desks, shop counters, side tables, houseware store shelves, gift store crates, shelves and display cases, toy store shelves, sewing store shelves, schoolbags and garbage bags.


Former Crafting

Formerly, the Pen could be used to make Doodles and work with Notepads to make Journals, this has since been removed.

Name Recipe Description Skill Level

























Code

From items.txt (Project Zomboid directory/media/scripts/)

Pen Pen.png

	
	item Pen
		MaxRange			= 0.9,
		WeaponSprite			= Knife,
		MinAngle			= 0,
		Type				= Weapon,
		MinimumSwingTime		= 2,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Improvised,
		ConditionLowerChanceOneIn	= 1,
		Weight				= 0.1,
		SplatN.umber			= 0,
		PushBackMod			= 0.3,
		MaxDamage			= 0.1,
		SubCategory			= Stab,
		AimingMod			= 0.8,
		ConditionMax			= 2,
		MaxHitCount			= 1,
		IsAimedHandWeapon		= TRUE,
		DoorDamage			= 0,
		SwingAnim			= Stab,
		WeaponWeight			= 0.1,
		DisplayName			= Pen,
		MinRange			= 0.61,
		SwingTime			= 2,
		MinDamage			= 0.1,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Pen,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound  			= PZ_MetalSnap,
		TreeDamage  			= 0,
		EnduranceMod 			= 0.5,

Red Pen RedPen.png

	
	item RedPen
		MaxRange			= 0.9,
		WeaponSprite			= Knife,
		MinAngle			= 0,
		Type				= Weapon,
		MinimumSwingTime		= 2,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Improvised,
		ConditionLowerChanceOneIn	= 1,
		Weight				= 0.1,
		SplatN.umber			= 0,
		PushBackMod			= 0.3,
		MaxDamage			= 0.1,
		SubCategory			= Stab,
		AimingMod			= 0.8,
		ConditionMax			= 2,
		MaxHitCount			= 1,
		IsAimedHandWeapon		= TRUE,
		DoorDamage			= 0,
		SwingAnim			= Stab,
		WeaponWeight			= 0.1,
		DisplayName			= Pen,
		MinRange			= 0.61,
		SwingTime			= 2,
		MinDamage			= 0.1,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Red Pen,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound  			= PZ_MetalSnap,
		TreeDamage  			= 0,
		EnduranceMod 			= 0.5,
		ColorRed 			= 220,
        	ColorGreen 			= 10,
        	ColorBlue 			= 10,

Blue Pen BluePen.png

	
	item BluePen
		MaxRange			= 0.9,
		WeaponSprite			= Knife,
		MinAngle			= 0,
		Type				= Weapon,
		MinimumSwingTime		= 2,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Improvised,
		ConditionLowerChanceOneIn	= 1,
		Weight				= 0.1,
		SplatN.umber			= 0,
		PushBackMod			= 0.3,
		MaxDamage			= 0.1,
		SubCategory			= Stab,
		AimingMod			= 0.8,
		ConditionMax			= 2,
		MaxHitCount			= 1,
		IsAimedHandWeapon		= TRUE,
		DoorDamage			= 0,
		SwingAnim			= Stab,
		WeaponWeight			= 0.1,
		DisplayName			= Pen,
		MinRange			= 0.61,
		SwingTime			= 2,
		MinDamage			= 0.1,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Blue Pen,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound  			= PZ_MetalSnap,
		TreeDamage  			= 0,
		EnduranceMod 			= 0.5,
		ColorRed 			= 50,
        	ColorGreen 			= 50,
        	ColorBlue 			= 210,


See also

Template:Navbox/ToolsTemplate:Navbox/Weapons