Pen: Difference between revisions

From PZwiki
No edit summary
(PZ Updater automated execution(task: deploy ReLookup, eid: 142187e1690530e126a390530e1cffeb))
Line 43: Line 43:
== 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="pztable sortable" style="text-align:center;"
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 4002 -->
|-  
{{Crafting/core|ing=2
! Name
| product_image = [[File:Notebook.png|link=Journal|Journal]] | product_name = [[Journal]] | product_quantity = x20
! class="unsortable" | Recipe
| xp = <!-- Not present in the old template. Please fill in manually. -->
! class="unsortable" | Description
| sl = ''none''
! Skill Level
| req =
{{RecipeLookup|4002}}
| f1 = [[File:Notebook.png|link=Empty Notebook|Empty Notebook]] | i1 = [[Empty Notebook]] | q1 = x1 | tag1 = (consumed)
{{RecipeLookup|4003}}
| f2 = [[File:Pen.png]] | i2 = [[Pen]]<br>or<br>[[Pencil]] | q2 = x1 | tag2 = (consumed)
}}
<!-- Automatically generated by ReLookup. Subject RecipeLookup: 4003 -->
{{Crafting/core|ing=2
| product_image = [[File:Paper.png|link=Doodle|Doodle]] | product_name = [[Doodle]] | product_quantity = x1
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:Paper.png|link=Sheet of Paper|Sheet of Paper]] | i1 = [[Sheet of Paper]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:Pen.png]] | i2 = [[Pen]]<br>or<br>[[Pencil]] | q2 = x1 | tag2 = (consumed)
}}
|}
|}


== Code ==
== Code ==

Revision as of 03:50, 26 March 2022

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