Pen

From PZwiki
Revision as of 03:50, 26 March 2022 by Alluseri (talk | contribs) (PZ Updater automated execution(task: deploy ReLookup, eid: 142187e1690530e126a390530e1cffeb))
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

Template:Navbox/Tools Template:Navbox/Weapons