Razor: Difference between revisions

From PZwiki
(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:
{{languages|Razor}}
{{Header|Project Zomboid|Items|Miscellaneous items|Appearance}}
{{header|The Game World|Items|version=Version 39|incver=56}}
{{Page version|41.78.16}}
{{Items
{{Infobox item
|image = Razor.png  
|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]].


'''Razors''' are useless items that 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|zombies]]. Oddly enough, beards cannot be shaved with this item.
==Distribution==
The loot distributions can be found in the table(s) below.


<!-- == Crafting ==
<!--BOT FLAG|Razor|41.78.16-->
Razor can be used in the following recipes:
{{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.


{| class="wikitable" width="550" style="text-align:center;"
==Code==
|-
{{CodeBox
! Ingredients || Other Items || Output || Description
| {{CodeSnip
|-
  | lang = java
| Ingredient + [[Ingredient]] || None || [[What the recipe makes]] || Brief description of what it makes.
  | 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]]


== Code ==
{{Navbox items|household_equipment}}
<nowiki>
item Razor
Weight = 0.2,
Type = Normal,
DisplayName = Razor,
Icon = Razor,
</nowiki>




==See Also==
[[Category:Junk]]
*[[Comb]]

Latest revision as of 19:37, 30 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]
Razor
Razor Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Properties
Material
Metal
Metal quantity
5
Technical
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.

Razor 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
aesthetic counter 10.78%
bathroom counter 10.78%
bathroom medicine 10.78%
bathroom shelves 10.78%
pharmacy shelves 10.78%
Vehicles
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

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Razor
	{
	    DisplayCategory = Junk,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Razor,
		Icon	=	Razor,
		MetalValue = 5,
		StaticModel = DisposableRazor,
		WorldStaticModel = Razor_Ground,
		Tags = Razor,
	}

See also