Razor: Difference between revisions
No edit summary |
m (Automated CodeBox update) |
||
(26 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Appearance}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Razor | ||
| | |model=Razor_Model.png | ||
|icon=Razor.png | |||
| | |icon_name=Razor | ||
|category=Junk | |||
| | |weight=0.2 | ||
| weight = 0.2 | |function=[[Appearance|Shave hair or beard]] | ||
| function = | |material=Metal | ||
| | |material_value=5 | ||
Razor can modify the type of beard of the | |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== | ==Distribution== | ||
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. | The loot distributions can be found in the table(s) below. | ||
== Code == | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
Weight | ! Building/Room | ||
Type | ! Container | ||
DisplayName | ! style="width: 3.2em;" | Rolls | ||
Icon | ! style="width: 3.2em;" | Chance | ||
MetalValue | |- | ||
|aesthetic | |||
{{ | |[[counter]] | ||
|4 | |||
|4 | |||
|- | |||
|rowspan="3"|bathroom | |||
|[[counter]] | |||
|4 | |||
|4 | |||
|- | |||
|[[medicine]] | |||
|4 | |||
|4 | |||
|- | |||
|[[shelves]] | |||
|4 | |||
|4 | |||
|- | |||
|pharmacy | |||
|[[shelves]] | |||
|4 | |||
|4 | |||
|}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 equipment|household}} | |||
[[Category:Junk]] | |||
{{Navbox miscellaneous items|junk}} | |||
{{Navbox miscellaneous items|appearance}} |
Revision as of 11:22, 26 March 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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
aesthetic | counter | 4 | 4 |
bathroom | counter | 4 | 4 |
medicine | 4 | 4 | |
shelves | 4 | 4 | |
pharmacy | shelves | 4 | 4 |
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,
}
See also
Template:Navbox miscellaneous items Template:Navbox miscellaneous items