Pen: Difference between revisions

From PZwiki
(Redesigned page, +Navbar, Updated Code (badly out of date),)
m (Distribution table update)
 
(56 intermediate revisions by 11 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Miscellaneous items|Household|Stationery}}
{{languages|Pen}}
{{Page version|41.78.16}}
<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 -->
{{Reupload|Missing 3D Model variants}}
<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 -->
{{Infobox item
<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 -->
|name=Pen
{{Weapons
|model=Pen_Model.png
|image = Pen.png
|icon=Pen.png
|weapontype = Melee
|icon_name=Pen
|ammo = none
|icon2=RedPen.png
|weight = 0.1
|icon_name2=Red Pen
|icon3=BluePen.png
|alternete_name3=Blue Pen
<!--GENERAL-->
|category=Household
|weight=0.1
|equipped=One-handed
|skill_type=N/A
|attachment_type=N/A
<!--DAMAGE-->
|type=Stab
|min_range=0.61
|max_range=0.8
|base_speed=N/A
|condition_max=2
|min_damage=0.1
|max_damage=0.1
|push_back=0.3
|knockdown=0
<!--TECHNICAL-->
|item_id=Base.Pen<br>Base.RedPen<br>Base.BluePen
}}
}}
The '''pen''' is a writing implement and improvised [[Weapons|weapon]].


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.
==Usage==


It can be used with [[Journal|journals]] and [[Empty_Notebook|empty notebooks]] to leave information or messages in Multiplayer servers.
===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. The [[map]] can be annotated with a pen, adding symbols and text in the color of the pen used (blue, black, or red).


== Former Crafting ==
===Weapon===
Formerly, the Pen could be used to make Doodles and work with Notepads to make Journals, this has since been removed.
The pen is an [[Weapons#Improvised|improvised]] weapon and is not associated with a weapon skill, but attacks like a [[Weapons#Short Blade|short blade]], including the special execution move. Pens have a very low [[#Condition|durability]] so will usually exhaust all of its durability; making it useless as a weapon. It can be used as a discardable stealth-kill weapon, as they are very common, it can be picked up, used to stealth kill a zombie then discarded. However, as the pen has a very low range, this can be dangerous.
{| class="wikitable sortable" style="text-align:center;"  
 
|-
==Condition==
! Name
Pens have a maximum condition of 2. Its rate of degradation is influenced by the [[Skills|maintenance]] skill. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (1 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the maintenance skill.<br>
! class="unsortable" | Recipe
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] skill.
! class="unsortable" | Description
{{Durability weapon|1|weapon_skill=false}}
{{RecipeLookup|4002}}
 
{{RecipeLookup|4003}}
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Pen|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Pen distribution
        <span class="mw-customtoggle-togglebox-Pen" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Pen">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | Not referenced
    | {{ll|GolfLockers}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|Bag_Schoolbag}}
    | 1
    | 8.0
    |-
    | all
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|desk}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|filingcabinet}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|inventoryfemale}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|officedrawers}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|other}}
    | 1
    | 8.0
    |-
    | all
    | {{ll|shelves}}
    | 4
    | 8.0
    |-
    | all
    | {{ll|sidetable}}
    | 4
    | 2.0
    |-
    | artstore
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | artstore
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | artstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 0.8
    |-
    | bedroom
    | {{ll|desk}}
    | 4
    | 8.0
    |-
    | bedroom
    | {{ll|sidetable}}
    | 4
    | 8.0
    |-
    | bookstore
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | classroom
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | classroom
    | {{ll|desk}}
    | 4
    | 8.0
    |-
    | classroom
    | {{ll|metal_shelves}}
    | 4
    | 8.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | empty
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | garagestorage
    | {{ll|crate}}
    | 4
    | 8.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 8.0
    |-
    | hall
    | {{ll|locker}}
    | 4
    | 8.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | kitchen
    | {{ll|shelves}}
    | 4
    | 8.0
    |-
    | livingroom
    | {{ll|shelves}}
    | 4
    | 8.0
    |-
    | livingroom
    | {{ll|sidetable}}
    | 4
    | 8.0
    |-
    | office
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | office
    | {{ll|desk}}
    | 4
    | 8.0
    |-
    | office
    | {{ll|metal_shelves}}
    | 4
    | 20.0
    |-
    | office
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | post
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | post
    | {{ll|counter}}
    | 4
    | 20.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | AmbulanceGloveBox
    | 4
    | 8
    |-
    | CarpenterGloveBox
    | 4
    | 8
    |-
    | ConstructionWorkerGloveBox
    | 4
    | 8
    |-
    | DistilleryGloveBox
    | 4
    | 8
    |-
    | DoctorGloveBox
    | 4
    | 8
    |-
    | ElectricianGloveBox
    | 4
    | 8
    |-
    | FarmerGloveBox
    | 4
    | 8
    |-
    | FireGloveBox
    | 4
    | 8
    |-
    | FishermanGloveBox
    | 4
    | 8
    |-
    | FossoilGloveBox
    | 4
    | 8
    |-
    | GloveBox
    | 4
    | 8
    |-
    | GolfGloveBox
    | 4
    | 8
    |-
    | HeraldsGloveBox
    | 4
    | 8
    |-
    | HunterGloveBox
    | 4
    | 8
    |-
    | MassGenFacGloveBox
    | 4
    | 8
    |-
    | McCoyGloveBox
    | 4
    | 8
    |-
    | MetalWelderGloveBox
    | 4
    | 8
    |-
    | PainterGloveBox
    | 4
    | 8
    |-
    | PoliceGloveBox
    | 4
    | 20
    |-
    | PostalGloveBox
    | 4
    | 8
    |-
    | RadioGloveBox
    | 4
    | 8
    |-
    | RangerGloveBox
    | 4
    | 8
    |-
    | SpiffoGloveBox
    | 4
    | 8
    |-
    | SurvivalistGlovebox
    | 4
    | 8
    |-
    | TaxiGloveBox
    | 4
    | 8
    |-
    | TransitGloveBox
    | 4
    | 8
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Pen" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Pen|41.78.16-->
 
==Crafting==
{{Obsolete|hidecat=true|text=Pens are no longer used in crafting, and can instead be used to [[#writing|write]].}}
Formerly, the pen could be used to make [[doodle]] and with [[notepad]] to make [[journal]], this has since been removed.
{{Crafting header|ing=2}}
{{Crafting|ing=2
| product_image = [[File:Notebook.png|link=Journal]]
| product_name = [[Journal]]
| product_quantity = x20
| rec =
| xp = <!-- Not present in the old template. Please fill in manually. -->
| m1_1 = [[File:Pen.png|20px|link=Pen]] [[Pen]]
| m1_2 = [[File:Pencil.png|20px|link=Pencil]] [[Pencil]]
| q1 =
| tag1 = (consumed)
| f2 = [[File:Notebook.png|link=Empty Notebook]]
| i2 = [[Empty Notebook]]
| q2 =
| tag2 = (consumed)
| sl = ''none''
}}
{{Crafting|ing=2
| product_image = [[File:Paper.png|link=Doodle]]
| product_name = [[Doodle]]{{Sup|Removed}}
| product_quantity =
| rec =
| xp = <!-- Not present in the old template. Please fill in manually. -->
| m1_1 = [[File:Pen.png|20px|link=Pen]] [[Pen]]
| m1_2 = [[File:Pencil.png|20px|link=Pencil]] [[Pencil]]
| q1 =
| tag1 = (consumed)
| f2 = [[File:Paper.png|link=Sheet of Paper]]
| i2 = [[Sheet of Paper]]
| q2 =
| tag2 = (consumed)
| sl = ''none''
}}
|}
|}


== Code ==
==Code==
<nowiki>
{{CodeBox|
item Pen
[[File:Pen.png]] ''Pen''<br>
MaxRange = 0.9,
{{CodeSnip
WeaponSprite = Knife,
  | lang = java
MinAngle = 0,
  | line = true
Type = Weapon,
  | start = 4042
MinimumSwingTime = 2,
  | source = items_weapons.txt
KnockBackOnNoDeath = FALSE,
  | retrieved = true
SwingAmountBeforeImpact = 0.02,
  | version = 41.78.16
Categories = Improvised,
  | code =
ConditionLowerChanceOneIn = 1,
item Pen
Weight = 0.1,
{
SplatN.umber = 0,
    DisplayCategory = Household,
PushBackMod = 0.3,
MaxRange = 0.8,
MaxDamage = 0.1,
WeaponSprite = Pen,
SubCategory = Stab,
MinAngle = 0.65,
AimingMod = 0.8,
Type = Weapon,
ConditionMax = 2,
MinimumSwingTime = 2,
MaxHitCount = 1,
KnockBackOnNoDeath = FALSE,
IsAimedHandWeapon = TRUE,
SwingAmountBeforeImpact = 0.02,
DoorDamage = 0,
Categories = Improvised,
SwingAnim = Stab,
ConditionLowerChanceOneIn = 1,
WeaponWeight = 0.1,
Weight = 0.1,
DisplayName = Pen,
SplatNumber = 1,
MinRange = 0.61,
PushBackMod = 0.3,
SwingTime = 2,
SubCategory = Stab,
MinDamage = 0.1,
AimingMod = 0.8,
KnockdownMod = 0,
ConditionMax = 2,
SplatBloodOnNoDeath = FALSE,
MaxHitCount = 1,
Icon = Pen,
IsAimedHandWeapon = TRUE,
RunAnim = Run_Weapon2,
DoorDamage = 0,
IdleAnim = Idle_Weapon2,
SwingAnim = Stab,
BreakSound  = PZ_MetalSnap,
DisplayName = Pen,
TreeDamage  = 0,
MinRange = 0.61,
EnduranceMod = 0.5,
SwingTime = 2,
</nowiki>
KnockdownMod = 0,
{{Navbox/Tools}}
SplatBloodOnNoDeath = FALSE,
{{Navbox/Weapons}}
Icon = Pen,
[[Category:Stationery]]
RunAnim = Run_Weapon2,
[[Category:Weapons]]
IdleAnim = Idle_Weapon2,
[[Category:Items]]
TreeDamage  =  0,
[[Category:Version 34.28]]
EnduranceMod = 0.5,
CriticalChance = 0,
MinDamage = 0.1,
        MaxDamage = 0.1,
WeaponLength = 0.15,
Tags = Write;Pen,
        BreakSound  =  PenBreak,
        HitFloorSound = PenHit,
        ImpactSound = PenHit,
        DoorHitSound = PenHit,
HitSound = PenHit,
SwingSound = PenSwing,
}
}}
 
[[File:RedPen.png]] ''Red Pen''<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 3946
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item RedPen
{
    DisplayCategory = Household,
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,
TreeDamage  =  0,
EnduranceMod = 0.5,
ColorRed = 220,
        ColorGreen = 10,
        ColorBlue = 10,
        CriticalChance = 0,
        MinDamage = 0.1,
        MaxDamage = 0.1,
WeaponLength = 0.15,
Tags = Write;RedPen,
BreakSound  =  PenBreak,
        HitFloorSound = PenHit,
        ImpactSound = PenHit,
        DoorHitSound = PenHit,
HitSound = PenHit,
SwingSound = PenSwing,
}
}}
 
[[File:BluePen.png]] ''Blue Pen''<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 3994
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item BluePen
{
    DisplayCategory = Household,
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,
TreeDamage  =   0,
EnduranceMod = 0.5,
ColorRed = 50,
        ColorGreen = 50,
        ColorBlue = 210,
        CriticalChance = 0,
        MinDamage = 0.1,
        MaxDamage = 0.1,
WeaponLength = 0.15,
Tags = Write;BluePen,
        BreakSound  =  PenBreak,
        HitFloorSound = PenHit,
        ImpactSound = PenHit,
        DoorHitSound = PenHit,
HitSound = PenHit,
SwingSound = PenSwing,
}
}}
}}
 
==See also==
*[[Pencil]]
*[[Eraser]]
 
{{Navbox items|other_weapons}}
 
 
 
[[Category:Melee weapons]]

Latest revision as of 16:16, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Frame.png
This article contains outdated/low-quality images.
Reason: Missing 3D Model variants
Please help the PZwiki by uploading an improved/updated version of the image(s) found on this page.
Pen
Pen Model.png
Red Pen
Pen
General
Category
Household
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Equipped
One-handed
Slot attached
N/A
Skill
N/A
Properties
Max condition
2
Performance
Damage
0.1–0.1
Range
0.61–0.8
Attack speed
N/A
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.Pen
Base.RedPen
Base.BluePen

The pen is a writing implement and improvised 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. The map can be annotated with a pen, adding symbols and text in the color of the pen used (blue, black, or red).

Weapon

The pen is an improvised weapon and is not associated with a weapon skill, but attacks like a short blade, including the special execution move. Pens have a very low durability so will usually exhaust all of its durability; making it useless as a weapon. It can be used as a discardable stealth-kill weapon, as they are very common, it can be picked up, used to stealth kill a zombie then discarded. However, as the pen has a very low range, this can be dangerous.

Condition

Pens have a maximum condition of 2. Its rate of degradation is influenced by the maintenance skill. The chance of losing durability can be simplified to the following formula: 1 in (1 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the maintenance skill.
Below is an example of the chance of losing durability at varying levels of the maintenance skill.

For how this is calculated, see: Durability
Maintenance skill Durability lower chance
0 1/1 (100%)
2 1/3 (33%)
4 1/5 (20%)
6 1/7 (14%)
8 1/9 (11%)
10 1/11 (9%)

Distribution

The loot distributions can be found in the table(s) below.

Pen distribution Show / Hide
Containers
Building / Room Container Rolls Chance
Not referenced GolfLockers 4 8.0
all Bag_Schoolbag 1 8.0
all counter 4 8.0
all desk 4 8.0
all filingcabinet 4 8.0
all inventoryfemale 1 1.0
all locker 4 8.0
all officedrawers 4 8.0
all other 1 8.0
all shelves 4 8.0
all sidetable 4 2.0
artstore counter 4 8.0
artstore shelves 4 20.0
artstore shelves 4 10.0
bedroom crate 1 0.8
bedroom desk 4 8.0
bedroom sidetable 4 8.0
bookstore counter 4 10.0
classroom counter 4 8.0
classroom desk 4 8.0
classroom metal_shelves 4 8.0
closet crate 4 8.0
empty crate 4 8.0
garagestorage crate 4 8.0
generalstore shelves 4 8.0
hall locker 4 8.0
kitchen counter 4 8.0
kitchen shelves 4 8.0
livingroom shelves 4 8.0
livingroom sidetable 4 8.0
office counter 4 8.0
office desk 4 8.0
office metal_shelves 4 20.0
office metal_shelves 4 10.0
post counter 4 10.0
post counter 4 20.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceGloveBox 4 8
CarpenterGloveBox 4 8
ConstructionWorkerGloveBox 4 8
DistilleryGloveBox 4 8
DoctorGloveBox 4 8
ElectricianGloveBox 4 8
FarmerGloveBox 4 8
FireGloveBox 4 8
FishermanGloveBox 4 8
FossoilGloveBox 4 8
GloveBox 4 8
GolfGloveBox 4 8
HeraldsGloveBox 4 8
HunterGloveBox 4 8
MassGenFacGloveBox 4 8
McCoyGloveBox 4 8
MetalWelderGloveBox 4 8
PainterGloveBox 4 8
PoliceGloveBox 4 20
PostalGloveBox 4 8
RadioGloveBox 4 8
RangerGloveBox 4 8
SpiffoGloveBox 4 8
SurvivalistGlovebox 4 8
TaxiGloveBox 4 8
TransitGloveBox 4 8

Crafting

BoxSmall.png
This feature has been removed from the game.
Pens are no longer used in crafting, and can instead be used to write.

Formerly, the pen could be used to make doodle and with notepad to make journal, this has since been removed.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Notebook.png
Journal x20
none
One of:
Pen.png Pen
Pencil.png Pencil

(consumed)
Notebook.png
Empty Notebook
(consumed)
Paper.png
DoodleRemoved
none
One of:
Pen.png Pen
Pencil.png Pencil

(consumed)
Paper.png
Sheet of Paper
(consumed)

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Pen.png Pen
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item Pen
	{
	    DisplayCategory = Household,
		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,
		TreeDamage  =   0,
		EnduranceMod = 0.5,
		CriticalChance	=	0,
		MinDamage	=	0.1,
        MaxDamage	=	0.1,
		WeaponLength = 0.15,
		Tags = Write;Pen,
        BreakSound  =   PenBreak,
        HitFloorSound	= PenHit,
        ImpactSound	=	PenHit,
        DoorHitSound = PenHit,
		HitSound	=	PenHit,
		SwingSound = PenSwing,
	}

RedPen.png Red Pen
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item RedPen
	{
	    DisplayCategory = Household,
		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,
		TreeDamage  =   0,
		EnduranceMod = 0.5,
		ColorRed = 220,
        ColorGreen = 10,
        ColorBlue = 10,
        CriticalChance	=	0,
        MinDamage	=	0.1,
        MaxDamage	=	0.1,
		WeaponLength = 0.15,
		Tags = Write;RedPen,
		BreakSound  =   PenBreak,
        HitFloorSound = PenHit,
        ImpactSound	=	PenHit,
        DoorHitSound = PenHit,
		HitSound	=	PenHit,
		SwingSound = PenSwing,
	}

BluePen.png Blue Pen
Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item BluePen
	{
	    DisplayCategory = Household,
		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,
		TreeDamage  =   0,
		EnduranceMod = 0.5,
		ColorRed = 50,
        ColorGreen = 50,
        ColorBlue = 210,
        CriticalChance	=	0,
        MinDamage	=	0.1,
        MaxDamage	=	0.1,
		WeaponLength = 0.15,
		Tags = Write;BluePen,
        BreakSound  =   PenBreak,
        HitFloorSound	= PenHit,
        ImpactSound	=	PenHit,
        DoorHitSound = PenHit,
		HitSound	=	PenHit,
		SwingSound = PenSwing,
	}

See also