Razor: Difference between revisions

From PZwiki
m (Update)
m (Automated CodeBox update)
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name =Razor
|name=Razor
|model=Razor Model.png
|model=Razor_Model.png
|icon=Razor.png
|icon=Razor.png
|icon_name=Razor
|icon_name=Razor
Line 12: Line 12:
|material_value=5
|material_value=5
|tags=Razor
|tags=Razor
|item_id = Base.Razor
|item_id=Base.Razor
}}
}}


Line 18: Line 18:


==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.
 
{| 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
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|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==
==Code==
Line 30: Line 62:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
item Razor
item Razor
{
{
    DisplayCategory = Junk,
    DisplayCategory = Junk,
Line 41: Line 73:
WorldStaticModel = Razor_Ground,
WorldStaticModel = Razor_Ground,
Tags = Razor,
Tags = Razor,
}
}  
  }}
}}
}}
}}


Line 52: Line 84:
[[Category:Junk]]
[[Category:Junk]]


{{Navbox junk}}
{{Navbox miscellaneous items|junk}}
{{Navbox miscellaneous items|appearance}}

Revision as of 11:22, 26 March 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.

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

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

Template:Navbox miscellaneous items Template:Navbox miscellaneous items