Razor: Difference between revisions
(Changed code section +See Also +navbar +fixed container links) Tag: categories removed |
m (Distribution table fix) |
||
(38 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Appearance}} | ||
{{ | {{Page version|41.78.16}} | ||
{{ | {{Infobox item | ||
| | |name=Razor | ||
|weight = 0.2 | |model=Razor_Model.png | ||
|icon=Razor.png | |||
|icon_name=Razor | |||
|category=Junk | |||
|weight=0.2 | |||
|function=[[Appearance|Shave hair or beard]] | |||
|material=Metal | |||
|material_value=5 | |||
|tags=Razor | |||
|item_id=Base.Razor | |||
}} | }} | ||
'''Razor''' can modify the type of beard of the [[player]] or used to shave hair. In all cases, to modify beard or shaving hair, razor can be replaced by [[scissors]]. | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!-- == | <!--BOT FLAG|Razor|41.78.16--> | ||
Razor | {{Clear}} | ||
<div class="togglebox theme-red"> | |||
<div>Razor distribution | |||
<span class="mw-customtoggle-togglebox-Razor" 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-Razor"> | |||
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 | |||
|- | |||
| aesthetic | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|medicine}} | |||
| 10.78% | |||
|- | |||
| bathroom | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| pharmacy | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|} | |||
</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}} | |||
| 10.78% | |||
|- | |||
| Carpenter | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Construction Worker | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Distillery | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Doctor | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Electrician | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Farmer | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Fire | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Fisherman | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Fossoil | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| All | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Golf | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Heralds | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Hunter | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Mass Gen Fac | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| McCoy | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Metal Welder | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Painter | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Postal | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Radio | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Ranger | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Spiffo | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|- | |||
| Survivalist | |||
| {{ll|Glovebox}} | |||
| 10.78% | |||
|- | |||
| Transit | |||
| {{ll|Glove Box}} | |||
| 10.78% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Razor" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Razor|41.78.16--> | |||
Razors are most often found in [[Containers#Medicine Cabinet|medicine cabinets]] and [[Containers#Counters|bathroom counters]], though they very rarely spawn as loot on the [[corpse]]s of [[zombie]]s. | |||
==Code== | |||
| | {{CodeBox | ||
| {{CodeSnip | |||
| | | lang = java | ||
| line = true | |||
| start = 1832 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Razor | |||
{ | |||
DisplayCategory = Junk, | |||
Weight = 0.2, | |||
Type = Normal, | |||
DisplayName = Razor, | |||
Icon = Razor, | |||
MetalValue = 5, | |||
StaticModel = DisposableRazor, | |||
WorldStaticModel = Razor_Ground, | |||
Tags = Razor, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Scissors]] | |||
{{Navbox items|household_equipment}} | |||
[[Category:Junk]] | |||
Latest revision as of 19:37, 30 April 2024
Razor can modify the type of beard of the player or used to shave hair. In all cases, to modify beard or shaving hair, razor can be replaced by scissors.
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
aesthetic | counter | 10.78% |
bathroom | counter | 10.78% |
bathroom | medicine | 10.78% |
bathroom | shelves | 10.78% |
pharmacy | shelves | 10.78% |
Type | Container | Effective chance |
---|---|---|
Ambulance | Glove Box | 10.78% |
Carpenter | Glove Box | 10.78% |
Construction Worker | Glove Box | 10.78% |
Distillery | Glove Box | 10.78% |
Doctor | Glove Box | 10.78% |
Electrician | Glove Box | 10.78% |
Farmer | Glove Box | 10.78% |
Fire | Glove Box | 10.78% |
Fisherman | Glove Box | 10.78% |
Fossoil | Glove Box | 10.78% |
All | Glove Box | 10.78% |
Golf | Glove Box | 10.78% |
Heralds | Glove Box | 10.78% |
Hunter | Glove Box | 10.78% |
Mass Gen Fac | Glove Box | 10.78% |
McCoy | Glove Box | 10.78% |
Metal Welder | Glove Box | 10.78% |
Painter | Glove Box | 10.78% |
Postal | Glove Box | 10.78% |
Radio | Glove Box | 10.78% |
Ranger | Glove Box | 10.78% |
Spiffo | Glove Box | 10.78% |
Survivalist | Glove Box | 10.78% |
Transit | Glove Box | 10.78% |
Razors are most often found in medicine cabinets and bathroom counters, though they very rarely spawn as loot on the corpses of zombies.
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item Razor
{
DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Razor,
Icon = Razor,
MetalValue = 5,
StaticModel = DisposableRazor,
WorldStaticModel = Razor_Ground,
Tags = Razor,
}