Pen: Difference between revisions
(Update distribution file) |
|||
(63 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Household|Stationery}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Reupload|Missing 3D Model variants}} | ||
| | {{Improve|Fix crafting to new system}} | ||
| | {{Infobox item | ||
|weight = 0.1 | |name=Pen | ||
|model=Pen_Model.png | |||
|icon=Pen.png | |||
|icon_name=Pen | |||
|icon2=RedPen.png | |||
|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]]. | |||
==Usage== | |||
===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). | |||
===Weapon=== | |||
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. | |||
==Condition== | |||
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 × 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}} | |||
==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"> | |||
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:50%"> | |||
{| 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:50%"> | |||
{| 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--> | |||
==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. | |||
<nowiki> | |||
{{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'' | |||
}} | }} | ||
|} | |} | ||
</nowiki> | |||
== Code == | ==Code== | ||
{{CodeBox| | |||
{ | [[File:Pen.png]] ''Pen''<br> | ||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 4042 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
MaxRange | | code = | ||
item Pen | |||
{ | |||
DisplayCategory = Household, | |||
Weight | MaxRange = 0.8, | ||
WeaponSprite = Pen, | |||
MinAngle = 0.65, | |||
SwingTime = | Type = Weapon, | ||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised, | |||
ConditionLowerChanceOneIn = 1, | |||
Weight = 0.1, | |||
ConditionMax | SplatNumber = 1, | ||
IsAimedHandWeapon = | 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: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]] | |||
[[Category:weapons | |||
Latest revision as of 05:18, 30 April 2024
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.
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.
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% |
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% |
Crafting
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
Pen
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}
Red Pen
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}
Blue Pen
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}