Pen: Difference between revisions

From PZwiki
(Replaced Navigation System with Header Version, Confirmed Code, Noted Red/Blue pens were same except colour note at bottom (omitted), Cleared Old Categories except Stationery Category.)
(Compacted description, added map usage, locations, code file location and variant code.)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{languages|Pen}}
{{languages|Pen}}
{{header|The Game World|Items|Weapons|version=Version 37|incver=8}}{{Weapons|image = Pen.png |weapontype = Melee |ammo = None|hands = One handed|weight = 0.1|mindamage = 0.1|maxdamage = 0.1|condition = 2|degrade = 1|id = Pen / RedPen / BluePen}}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.
{{header|The Game World|Items|Weapons|version=Version 39|incver=56}}
{{Weapons|image = PenAnim_120px.gif
|weapontype = Melee  
|ammo = None
|hands = One-handed
|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|journals]], [[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. [[Maps]] 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#Counter|shop counters]], [[Containers#Household Storage|side tables]], [[Containers#Shelves|houseware store shelves]], [[Containers#Crates|gift store crates]], shelves and [[Containers#Display|display cases]], [[Containers#Shelves|toy store shelves]], [[Containers#Shelves|sewing store shelves]], [[schoolbag]]s and [[Garbage Bag|garbage bags]].


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


Pens come in three colours, standard, red and blue. Each have the same stats.


== Former Crafting ==
== Former Crafting ==
Line 14: Line 25:
! 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 42: Line 58:
SwingAnim = Stab,
SwingAnim = Stab,
WeaponWeight = 0.1,
WeaponWeight = 0.1,
DisplayName = ''*DEPENDENT ON PEN TYPE*''
DisplayName = Pen,
MinRange = 0.61,
MinRange = 0.61,
SwingTime = 2,
SwingTime = 2,
Line 54: Line 70:
TreeDamage  = 0,
TreeDamage  = 0,
EnduranceMod = 0.5,
EnduranceMod = 0.5,
ColorRed = ''*DEPENDENT ON PEN TYPE*''
        ColorGreen = ''*DEPENDENT ON PEN TYPE*''
        ColorBlue = ''*DEPENDENT ON PEN TYPE*''
</nowiki>
</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>
==See Also==
*[[Pencil]]
*[[Eraser]]
{{Navbox/Tools}}
{{Navbox/Tools}}
{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:Stationery]]
[[Category:Stationery]]

Revision as of 17:39, 7 May 2018


Template:Weapons 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 journals, empty notebooks and a sheet of paper to write notes that can be left for other players on Multiplayer servers. Map 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/Tools Template:Navbox/Weapons