Pen: Difference between revisions

From PZwiki
(PZ Updater automated execution(task: deploy ReLookup, eid: 142187e1690530e126a390530e1cffeb))
m (→‎Writing: the)
 
(56 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Pen}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household|Stationery}}
{{header|The Game World|Items|Tools|Stationery|version=Version 41|incver=50}}
{{Page version|41.78.16}}
 
{{Reupload|Missing red and blue 3D model variants}}
{{Infobox weapon
{{Infobox item
|display_name=Pen
|name=Pen
|name_colour=Weapon
|model=Pen_Model.png
|name_text_colour=Weapon
|icon=Pen.png
|image=Pen.png
|icon_name=Pen
|image_width=100px
|icon2=RedPen.png
|alternate_image=RedPen.png
|icon_name2=Red Pen
|alternate_name=Red Pen
|icon3=BluePen.png
|alternate_link=
|icon_name3=Blue Pen
|alternate_image2=BluePen.png
<!--GENERAL-->
|alternate_name2=Blue Pen
|category=Household
|category=Weapon
|weight=0.1
|weight=0.1
|equipped=One-handed
|equipped=One-handed
|skill_type=N/A
|attachment_type=N/A
<!--DAMAGE-->
|type=Stab
|type=Stab
|min_range=0.61
|min_range=0.61
|max_range=0.8
|max_range=0.8
|swing_time=2
|base_speed=N/A
|condition_max=2
|condition_max=2
|min_damage=0.1
|min_damage=0.1
Line 25: Line 27:
|push_back=0.3
|push_back=0.3
|knockdown=0
|knockdown=0
|class_name=Base.Pen<br>Base.RedPen<br>Base.BluePen
<!--TECHNICAL-->
|item_id=Base.Pen
|item_id2=Base.RedPen
|item_id3=Base.BluePen
}}
}}
The '''pen''' is a writing implement and early game [[Weapons|weapon]].
The '''pen''' is a writing implement and improvised [[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]], and [[doodle]]s to write notes that can be left in the world and read by other players on [[multiplayer]] servers. Both the in-game [[map]] and found [[Map (item)|maps]] (regular and annotated) can be further annotated with a pen, adding symbols and text in the color of the pen used (blue, black, or red).


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


== Distribution ==
====Condition====
Pens can be found in three colours, standard, red and blue, each with the same stats.
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>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] skill.
{{Durability weapon|1|weapon_skill=false}}


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]].
==Crafting==
Formerly, the pen or [[pencil]] could be used with a [[Sheet of Paper|sheet of paper]], which were then consumed to create a [[doodle]], or with an [[Empty Notebook|empty notebook]] which were then consumed to make 20 [[journal]]s, but this has been removed in [[build 28]].


== Former Crafting ==
==Distribution==
Formerly, the Pen could be used to make Doodles and work with Notepads to make Journals, this has since been removed.
The loot distributions can be found in the table(s) below.
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 4002 -->
{{Crafting/core|ing=2
| product_image = [[File:Notebook.png|link=Journal|Journal]] | product_name = [[Journal]] | product_quantity = x20
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:Notebook.png|link=Empty Notebook|Empty Notebook]] | i1 = [[Empty Notebook]] | q1 = x1 | tag1 = (consumed)
| 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)
}}
|}


<!--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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | Bag_Satchel
    | {{ll|Bag_Satchel}}
    | 5.21%
    |-
    | Bag_Schoolbag
    | {{ll|Bag_Schoolbag}}
    | 5.21%
    |-
    | Bag_WorkerBag
    | {{ll|Bag_WorkerBag}}
    | 5.21%
    |-
    | Briefcase
    | {{ll|Briefcase}}
    | 5.21%
    |-
    | Suitcase
    | {{ll|Suitcase}}
    | 5.21%
    |-
    | all
    | {{ll|Outfit_OfficeWorker}}
    | 5.21%
    |-
    | all
    | {{ll|Outfit_OfficeWorkerSkirt}}
    | 5.21%
    |-
    | all
    | {{ll|Outfit_Police}}
    | 5.21%
    |-
    | all
    | {{ll|Outfit_PoliceState}}
    | 5.21%
    |-
    | all
    | {{ll|Outfit_Ranger}}
    | 5.21%
    |-
    | all
    | {{ll|counter}}
    | 19.27%
    |-
    | all
    | {{ll|desk}}
    | 19.27%
    |-
    | all
    | {{ll|filingcabinet}}
    | 19.27%
    |-
    | all
    | {{ll|inventoryfemale}}
    | 1.01%
    |-
    | all
    | {{ll|inventorymale}}
    | 1.01%
    |-
    | all
    | {{ll|locker}}
    | 19.27%
    |-
    | all
    | {{ll|officedrawers}}
    | 19.27%
    |-
    | all
    | {{ll|other}}
    | 5.21%
    |-
    | all
    | {{ll|shelves}}
    | 19.27%
    |-
    | all
    | {{ll|sidetable}}
    | 6.29%
    |-
    | artstore
    | {{ll|counter}}
    | 19.27%
    |-
    | artstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | artstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.89%
    |-
    | bedroom
    | {{ll|desk}}
    | 19.27%
    |-
    | bedroom
    | {{ll|sidetable}}
    | 19.27%
    |-
    | bookstore
    | {{ll|counter}}
    | 23.28%
    |-
    | classroom
    | {{ll|counter}}
    | 19.27%
    |-
    | classroom
    | {{ll|desk}}
    | 19.27%
    |-
    | classroom
    | {{ll|metal_shelves}}
    | 19.27%
    |-
    | classroom
    | {{ll|shelves}}
    | 19.27%
    |-
    | closet
    | {{ll|crate}}
    | 0.89%
    |-
    | closet
    | {{ll|crate}}
    | 19.27%
    |-
    | empty
    | {{ll|crate}}
    | 19.27%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.89%
    |-
    | garagestorage
    | {{ll|crate}}
    | 19.27%
    |-
    | generalstore
    | {{ll|shelves}}
    | 19.27%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 19.27%
    |-
    | gigamart
    | {{ll|shelves}}
    | 19.27%
    |-
    | hall
    | {{ll|counter}}
    | 19.27%
    |-
    | hall
    | {{ll|locker}}
    | 19.27%
    |-
    | jewelrystore
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|counter}}
    | 19.27%
    |-
    | kitchen
    | {{ll|shelves}}
    | 19.27%
    |-
    | library
    | {{ll|counter}}
    | 19.27%
    |-
    | livingroom
    | {{ll|counter}}
    | 19.27%
    |-
    | livingroom
    | {{ll|overhead}}
    | 19.27%
    |-
    | livingroom
    | {{ll|shelves}}
    | 19.27%
    |-
    | livingroom
    | {{ll|sidetable}}
    | 19.27%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 19.27%
    |-
    | lobby
    | {{ll|counter}}
    | 19.27%
    |-
    | motelroomoccupied
    | {{ll|sidetable}}
    | 1.61%
    |-
    | office
    | {{ll|counter}}
    | 19.27%
    |-
    | office
    | {{ll|crate}}
    | 19.27%
    |-
    | office
    | {{ll|desk}}
    | 19.27%
    |-
    | office
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | office
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | office
    | {{ll|shelves}}
    | 19.27%
    |-
    | officestorage
    | {{ll|crate}}
    | 19.27%
    |-
    | officestorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | officestorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | plazastore1
    | {{ll|counter}}
    | 19.27%
    |-
    | policestorage
    | {{ll|counter}}
    | 19.27%
    |-
    | post
    | {{ll|counter}}
    | 23.28%
    |-
    | post
    | {{ll|counter}}
    | 41.14%
    |-
    | schoolstorage
    | {{ll|metal_shelves}}
    | 19.27%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.89%
    |-
    | storageunit
    | {{ll|crate}}
    | 19.27%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.89%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 19.27%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Ambulance
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Carpenter
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Construction Worker
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Distillery
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Doctor
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Electrician
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Farmer
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Fire
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Fisherman
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Fossoil
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | All
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Golf
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Heralds
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Hunter
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Mass Gen Fac
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | McCoy
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Metal Welder
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Painter
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Police
    | {{ll|Glove Box}}
    | 41.14%
    |-
    | Postal
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Radio
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Ranger
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Spiffo
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Survivalist
    | {{ll|Glovebox}}
    | 19.27%
    |-
    | Taxi
    | {{ll|Glove Box}}
    | 19.27%
    |-
    | Transit
    | {{ll|Glove Box}}
    | 19.27%
    |}
</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-->


== Code ==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
[[File:Pen.png]] ''Pen''<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4042
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
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,
}
}}


[[File:Pen.png]] ''Pen''
[[File:RedPen.png]] ''Red Pen''<br>
{{Retrieved|version=41|incver=50}}
{{CodeSnip
<pre> item Pen
  | lang = java
MaxRange = 0.8,
  | line = true
WeaponSprite = Pen,
  | start = 3946
MinAngle = 0.65,
  | source = items_weapons.txt
Type = Weapon,
  | retrieved = true
MinimumSwingTime = 2,
  | version = 41.78.16
KnockBackOnNoDeath = FALSE,
  | code =
SwingAmountBeforeImpact = 0.02,
item RedPen
Categories = Improvised,
{
ConditionLowerChanceOneIn = 1,
    DisplayCategory = Household,
Weight = 0.1,
MaxRange = 0.8,
SplatNumber = 1,
WeaponSprite = Pen,
PushBackMod = 0.3,
MinAngle = 0.65,
SubCategory = Stab,
Type = Weapon,
AimingMod = 0.8,
MinimumSwingTime = 2,
ConditionMax = 2,
KnockBackOnNoDeath = FALSE,
MaxHitCount = 1,
SwingAmountBeforeImpact = 0.02,
IsAimedHandWeapon = TRUE,
Categories = Improvised,
DoorDamage = 0,
ConditionLowerChanceOneIn = 1,
SwingAnim = Stab,
Weight = 0.1,
DisplayName = Pen,
SplatNumber = 1,
MinRange = 0.61,
PushBackMod = 0.3,
SwingTime = 2,
SubCategory = Stab,
KnockdownMod = 0,
AimingMod = 0.8,
SplatBloodOnNoDeath = FALSE,
ConditionMax = 2,
Icon = Pen,
MaxHitCount = 1,
RunAnim = Run_Weapon2,
IsAimedHandWeapon = TRUE,
IdleAnim = Idle_Weapon2,
DoorDamage = 0,
BreakSound  = BreakMetalItem,
SwingAnim = Stab,
TreeDamage = 0,
DisplayName = Red Pen,
EnduranceMod = 0.5,
MinRange = 0.61,
CriticalChance = 0,
SwingTime = 2,
MinDamage = 0.1,
KnockdownMod = 0,
MaxDamage = 0.1,
SplatBloodOnNoDeath = FALSE,
WeaponLength = 0.15,
Icon = Pen,
Tags = Write,
RunAnim = Run_Weapon2,
</pre>
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:RedPen.png]] ''Red Pen''
[[File:BluePen.png]] ''Blue Pen''<br>
{{Retrieved|version=41|incver=50}}
{{CodeSnip
<pre> item RedPen
  | lang = java
MaxRange = 0.8,
  | line = true
WeaponSprite = Pen,
  | start = 3994
MinAngle = 0.65,
  | source = items_weapons.txt
Type = Weapon,
  | retrieved = true
MinimumSwingTime = 2,
  | version = 41.78.16
KnockBackOnNoDeath = FALSE,
  | code =
SwingAmountBeforeImpact = 0.02,
item BluePen
Categories = Improvised,
{
ConditionLowerChanceOneIn = 1,
    DisplayCategory = Household,
Weight = 0.1,
MaxRange = 0.8,
SplatNumber = 1,
WeaponSprite = Pen,
PushBackMod = 0.3,
MinAngle = 0.65,
SubCategory = Stab,
Type = Weapon,
AimingMod = 0.8,
MinimumSwingTime = 2,
ConditionMax = 2,
KnockBackOnNoDeath = FALSE,
MaxHitCount = 1,
SwingAmountBeforeImpact = 0.02,
IsAimedHandWeapon = TRUE,
Categories = Improvised,
DoorDamage = 0,
ConditionLowerChanceOneIn = 1,
SwingAnim = Stab,
Weight = 0.1,
DisplayName = Red Pen,
SplatNumber = 1,
MinRange = 0.61,
PushBackMod = 0.3,
SwingTime = 2,
SubCategory = Stab,
KnockdownMod = 0,
AimingMod = 0.8,
SplatBloodOnNoDeath = FALSE,
ConditionMax = 2,
Icon = Pen,
MaxHitCount = 1,
RunAnim = Run_Weapon2,
IsAimedHandWeapon = TRUE,
IdleAnim = Idle_Weapon2,
DoorDamage = 0,
BreakSound  = BreakMetalItem,
SwingAnim = Stab,
TreeDamage = 0,
DisplayName = Blue Pen,
EnduranceMod = 0.5,
MinRange = 0.61,
ColorRed = 220,
SwingTime = 2,
ColorGreen = 10,
KnockdownMod = 0,
        ColorBlue = 10,
SplatBloodOnNoDeath = FALSE,
CriticalChance = 0,
Icon = Pen,
MinDamage = 0.1,
RunAnim = Run_Weapon2,
MaxDamage = 0.1,
IdleAnim = Idle_Weapon2,
WeaponLength = 0.15,
TreeDamage =   0,
Tags = Write,
EnduranceMod = 0.5,
</pre>
ColorRed = 50,
 
        ColorGreen = 50,
[[File:BluePen.png]] ''Blue Pen''
        ColorBlue = 210,
{{Retrieved|version=41|incver=50}}
        CriticalChance = 0,
<pre> item BluePen
        MinDamage = 0.1,
MaxRange = 0.8,
        MaxDamage = 0.1,
WeaponSprite = Pen,
WeaponLength = 0.15,
MinAngle = 0.65,
Tags = Write;BluePen,
Type = Weapon,
        BreakSound =   PenBreak,
MinimumSwingTime = 2,
        HitFloorSound = PenHit,
KnockBackOnNoDeath = FALSE,
        ImpactSound = PenHit,
SwingAmountBeforeImpact = 0.02,
        DoorHitSound = PenHit,
Categories = Improvised,
HitSound = PenHit,
ConditionLowerChanceOneIn = 1,
SwingSound = PenSwing,
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,
</pre>


==See also==
==See also==
Line 197: Line 642:
*[[Eraser]]
*[[Eraser]]


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

Latest revision as of 10:16, 1 May 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 red and blue 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
Blue 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, and doodles to write notes that can be left in the world and read by other players on multiplayer servers. Both the in-game map and found maps (regular and annotated) can be further 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: Condition
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%)

Crafting

Formerly, the pen or pencil could be used with a sheet of paper, which were then consumed to create a doodle, or with an empty notebook which were then consumed to make 20 journals, but this has been removed in build 28.

Distribution

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

Pen distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
Bag_Satchel Bag_Satchel 5.21%
Bag_Schoolbag Bag_Schoolbag 5.21%
Bag_WorkerBag Bag_WorkerBag 5.21%
Briefcase Briefcase 5.21%
Suitcase Suitcase 5.21%
all Outfit_OfficeWorker 5.21%
all Outfit_OfficeWorkerSkirt 5.21%
all Outfit_Police 5.21%
all Outfit_PoliceState 5.21%
all Outfit_Ranger 5.21%
all counter 19.27%
all desk 19.27%
all filingcabinet 19.27%
all inventoryfemale 1.01%
all inventorymale 1.01%
all locker 19.27%
all officedrawers 19.27%
all other 5.21%
all shelves 19.27%
all sidetable 6.29%
artstore counter 19.27%
artstore shelves 23.28%
artstore shelves 41.14%
bedroom crate 0.89%
bedroom desk 19.27%
bedroom sidetable 19.27%
bookstore counter 23.28%
classroom counter 19.27%
classroom desk 19.27%
classroom metal_shelves 19.27%
classroom shelves 19.27%
closet crate 0.89%
closet crate 19.27%
empty crate 19.27%
garagestorage crate 0.89%
garagestorage crate 19.27%
generalstore shelves 19.27%
generalstorestorage shelves 19.27%
gigamart shelves 19.27%
hall counter 19.27%
hall locker 19.27%
jewelrystore counter 19.27%
kitchen counter 19.27%
kitchen shelves 19.27%
library counter 19.27%
livingroom counter 19.27%
livingroom overhead 19.27%
livingroom shelves 19.27%
livingroom sidetable 19.27%
livingroom wardrobe 19.27%
lobby counter 19.27%
motelroomoccupied sidetable 1.61%
office counter 19.27%
office crate 19.27%
office desk 19.27%
office metal_shelves 23.28%
office metal_shelves 41.14%
office shelves 19.27%
officestorage crate 19.27%
officestorage metal_shelves 23.28%
officestorage metal_shelves 41.14%
plazastore1 counter 19.27%
policestorage counter 19.27%
post counter 23.28%
post counter 41.14%
schoolstorage metal_shelves 19.27%
storageunit crate 0.89%
storageunit crate 19.27%
storageunit metal_shelves 0.89%
storageunit metal_shelves 19.27%
Vehicles
Type Container Effective chance
Ambulance Glove Box 19.27%
Carpenter Glove Box 19.27%
Construction Worker Glove Box 19.27%
Distillery Glove Box 19.27%
Doctor Glove Box 19.27%
Electrician Glove Box 19.27%
Farmer Glove Box 19.27%
Fire Glove Box 19.27%
Fisherman Glove Box 19.27%
Fossoil Glove Box 19.27%
All Glove Box 19.27%
Golf Glove Box 19.27%
Heralds Glove Box 19.27%
Hunter Glove Box 19.27%
Mass Gen Fac Glove Box 19.27%
McCoy Glove Box 19.27%
Metal Welder Glove Box 19.27%
Painter Glove Box 19.27%
Police Glove Box 41.14%
Postal Glove Box 19.27%
Radio Glove Box 19.27%
Ranger Glove Box 19.27%
Spiffo Glove Box 19.27%
Survivalist Glove Box 19.27%
Taxi Glove Box 19.27%
Transit Glove Box 19.27%

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