Pen: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: 142187e1690530e126a390530e1cffeb))
m (Cleanup)
Line 1: Line 1:
{{languages|Pen}}
{{Languages}}{{Header|The Game World|Items|Tools|Stationery|version=Version 41|incver=50}}{{Infobox weapon
{{header|The Game World|Items|Tools|Stationery|version=Version 41|incver=50}}
 
{{Infobox weapon
|display_name=Pen
|display_name=Pen
|name_colour=Weapon
|name_colour=Weapon
Line 26: Line 23:
|knockdown=0
|knockdown=0
|class_name=Base.Pen<br>Base.RedPen<br>Base.BluePen
|class_name=Base.Pen<br>Base.RedPen<br>Base.BluePen
}}
}}The '''pen''' is a writing implement and early game [[Weapons|weapon]].
The '''pen''' is a writing implement and early game [[Weapons|weapon]].
 
==Usage==


== Usage ==
===Writing===
=== Writing ===
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 color of the pen used.  
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 color of the pen used.  


=== Weapon ===
===Weapon===
The pen is considered a [[Weapons#Improvised|blade weapon]] that can kill zombies, but doing so will usually exhaust all of its durability; making it broken and rendering it useless.
The pen is considered a [[Weapons#Improvised|blade weapon]] that can kill zombies, but doing so will usually exhaust all of its durability; making it broken and rendering it useless.


== Distribution ==
==Distribution==
Pens can be found in three colours, standard, red and blue, each with the same stats.
Pens can be found in three colours, standard, red and blue, each with the same stats.


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]].
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 ==
==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.
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 4002 -->
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 4002 -->
Line 63: Line 60:
|}
|}


 
==Code==
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''


[[File:Pen.png]] ''Pen''
[[File:Pen.png]] ''Pen''
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=50}}
<pre> item Pen
<pre>
item Pen
MaxRange = 0.8,
MaxRange = 0.8,
WeaponSprite = Pen,
WeaponSprite = Pen,
Line 109: Line 106:
[[File:RedPen.png]] ''Red Pen''
[[File:RedPen.png]] ''Red Pen''
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=50}}
<pre> item RedPen
<pre>
item RedPen
MaxRange = 0.8,
MaxRange = 0.8,
WeaponSprite = Pen,
WeaponSprite = Pen,
Line 152: Line 150:
[[File:BluePen.png]] ''Blue Pen''  
[[File:BluePen.png]] ''Blue Pen''  
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=50}}
<pre> item BluePen
<pre>
item BluePen
MaxRange = 0.8,
MaxRange = 0.8,
WeaponSprite = Pen,
WeaponSprite = Pen,
Line 197: Line 196:
*[[Eraser]]
*[[Eraser]]


{{Navbox/Tools}}
{{Navbox weapons}}
{{Navbox/Weapons}}
 
{{Navbox_weapons}}
[[Category:Weapons]]
[[Category:Weapons]]
[[Category:Melee Weapons]]
[[Category:Melee Weapons]]

Revision as of 03:45, 5 March 2023

Pen
Pen
Red Pen Blue Pen
General
Category Weapon
Encumbrance
Heavy Load
0.1
Equipped One-handed
Condition max. 2
Skill Stab
Damage
Type Stab
Attack speed 2
Range 0.61–0.8 tiles
Damage 0.1–0.1
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.Pen
Base.RedPen
Base.BluePen

The pen is a writing implement and early game weapon.

Usage

Writing

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 color of the pen used.

Weapon

The pen is considered a blade weapon that can kill zombies, but doing so will usually exhaust all of its durability; making it broken and rendering it useless.

Distribution

Pens can be found in three colours, standard, red and blue, each with the same stats.

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.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Journal
Journal x20
none Empty Notebook
Empty Notebook x1
(consumed)
Pen.png
Pen
or
Pencil x1
(consumed)
Doodle
Doodle x1
none Sheet of Paper
Sheet of Paper x1
(consumed)
Pen.png
Pen
or
Pencil x1
(consumed)

Code

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

Pen.png Pen Retrieved: Build 41.50

	item Pen
		MaxRange		= 0.8,
		WeaponSprite		= Pen,
		MinAngle		= 0.65,
		Type			= Weapon,
		MinimumSwingTime	= 2,
		KnockBackOnNoDeath	= FALSE,
		SwingAmountBeforeImpact	= 0.02,
		Categories		= Improvised,
		ConditionLowerChanceOneIn = 1,
		Weight			= 0.1,
		SplatNumber		= 1,
		PushBackMod		= 0.3,
		SubCategory		= Stab,
		AimingMod		= 0.8,
		ConditionMax		= 2,
		MaxHitCount		= 1,
		IsAimedHandWeapon	= TRUE,
		DoorDamage		= 0,
		SwingAnim		= Stab,
		DisplayName		= Pen,
		MinRange		= 0.61,
		SwingTime		= 2,
		KnockdownMod		= 0,
		SplatBloodOnNoDeath	= FALSE,
		Icon			= Pen,
		RunAnim			= Run_Weapon2,
		IdleAnim		= Idle_Weapon2,
		BreakSound  		= BreakMetalItem,
		TreeDamage  		= 0,
		EnduranceMod 		= 0.5,
		CriticalChance		= 0,
		MinDamage		= 0.1,
		MaxDamage		= 0.1,
		WeaponLength 		= 0.15,
		Tags 			= Write,

RedPen.png Red Pen Retrieved: Build 41.50

	item RedPen
		MaxRange		= 0.8,
		WeaponSprite		= Pen,
		MinAngle		= 0.65,
		Type			= Weapon,
		MinimumSwingTime	= 2,
		KnockBackOnNoDeath	= FALSE,
		SwingAmountBeforeImpact	= 0.02,
		Categories		= Improvised,
		ConditionLowerChanceOneIn = 1,
		Weight			= 0.1,
		SplatNumber		= 1,
		PushBackMod		= 0.3,
		SubCategory		= Stab,
		AimingMod		= 0.8,
		ConditionMax		= 2,
		MaxHitCount		= 1,
		IsAimedHandWeapon	= TRUE,
		DoorDamage		= 0,
		SwingAnim		= Stab,
		DisplayName		= Red Pen,
		MinRange		= 0.61,
		SwingTime		= 2,
		KnockdownMod		= 0,
		SplatBloodOnNoDeath	= FALSE,
		Icon			= Pen,
		RunAnim			= Run_Weapon2,
		IdleAnim		= Idle_Weapon2,
		BreakSound  		= BreakMetalItem,
		TreeDamage		= 0,
		EnduranceMod 		= 0.5,
		ColorRed		= 220,
		ColorGreen		= 10,
        	ColorBlue		= 10,
		CriticalChance		= 0,
		MinDamage		= 0.1,
		MaxDamage		= 0.1,
		WeaponLength		= 0.15,
		Tags			= Write,

BluePen.png Blue Pen Retrieved: Build 41.50

	item BluePen
		MaxRange		= 0.8,
		WeaponSprite		= Pen,
		MinAngle		= 0.65,
		Type			= Weapon,
		MinimumSwingTime	= 2,
		KnockBackOnNoDeath	= FALSE,
		SwingAmountBeforeImpact	= 0.02,
		Categories		= Improvised,
		ConditionLowerChanceOneIn = 1,
		Weight			= 0.1,
		SplatNumber		= 1,
		PushBackMod		= 0.3,
		SubCategory		= Stab,
		AimingMod		= 0.8,
		ConditionMax		= 2,
		MaxHitCount		= 1,
		IsAimedHandWeapon	= TRUE,
		DoorDamage		= 0,
		SwingAnim		= Stab,
		DisplayName		= Blue Pen,
		MinRange		= 0.61,
		SwingTime		= 2,
		KnockdownMod		= 0,
		SplatBloodOnNoDeath	= FALSE,
		Icon			= Pen,
		RunAnim			= Run_Weapon2,
		IdleAnim		= Idle_Weapon2,
		BreakSound		= BreakMetalItem,
		TreeDamage		= 0,
		EnduranceMod		= 0.5,
		ColorRed		= 50,
		ColorGreen		= 50,
		ColorBlue		= 210,
		CriticalChance		= 0,
		MinDamage		= 0.1,
		MaxDamage		= 0.1,
		WeaponLength		= 0.15,
		Tags			= Write,

See also