Pen: Difference between revisions

From PZwiki
(Redesigned page, +Navbar, Updated Code (badly out of date),)
m (clean up, replaced: wikitable → pztable)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{languages|Pen}}
{{languages|Pen}}
<div class="header" style="margin: 5px; align: right; background: #C3E4ED; padding: 13px; text-align: left; font-size: 100%; color:#000000; border: 1px solid #9AC0CD"> <!-- Code for Background Colour -->
{{header|The Game World|Items|Tools|Stationery|version=Version 39|incver=56}}{{Weapons|image = PenAnim_120px.gif
<div style="float: right;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">    '''Page Updated @ Version: 34.28'''    </div><!-- Code for Version Tag at top -->
<div style="float: left;background: #C3E4ED;border: 1px solid #9AC0CD; margin: -30pt -10.5pt">   '''Navigation''' - [[:Category:Main|Main Index]] -> [[:Category:The_Game_World|The Game World]] -> [[:Category:Items|Items]] -> [[:Category:Stationery|Stationery]] -> [[{{PAGENAME}}]]   </div><!-- Code for Navigation Bar at top, special blank char's before '''Navigation''' to give space -->
{{Weapons
|image = Pen.png
|weapontype = Melee  
|weapontype = Melee  
|ammo = none
|ammo = None
|hands = One-handed
|weight = 0.1
|weight = 0.1
}}
|mindamage = 0.1
|maxdamage = 0.1
|condition = 2
|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]].


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. You cannot write to a Journal or a Notebook without a writing instrument.


It can be used with [[Journal|journals]] and [[Empty_Notebook|empty notebooks]] to leave information or messages in Multiplayer servers.


== Former Crafting ==
== Former Crafting ==
Formerly, the Pen could be used to make Doodles and work with Notepads to make Journals, this has since been removed.
Formerly, the Pen could be used to make Doodles and work with Notepads to make Journals, this has since been removed.
{| class="wikitable sortable" style="text-align:center;"  
{| 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 ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
''Pen'' [[File:Pen.png]]
  <nowiki>
  <nowiki>
item Pen
item Pen
Line 63: Line 69:
EnduranceMod = 0.5,
EnduranceMod = 0.5,
</nowiki>
</nowiki>
{{Navbox/Tools}}
''Red Pen'' [[File:RedPen.png]]
{{Navbox/Weapons}}
<nowiki>
[[Category:Stationery]]
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>
 
 
==See also==
*[[Pencil]]
*[[Eraser]]
 
{{Navbox/Tools}}{{Navbox/Weapons}}
[[Category:Weapons]]
[[Category:Weapons]]
[[Category:Items]]
[[Category:Melee Weapons]]
[[Category:Version 34.28]]

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