Razor: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(added to infobox changes)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 41|incver=78.16}}{{Infobox item
{{Languages}}{{Header|The Game World|Items|version=Version 41|incver=78.16}}{{Infobox item
|display_name=Razor
|display_name=Razor
|name_colour=
|model=Razor Model.png
|name_text_colour=
|model=Model Razor.png
|model_width=200px
|model_width=200px
|icon=Razor.png
|icon=Razor.png
|altername_name=Razor
|icon_name=Razor
|category=Junk
|weight=0.2
|weight=0.2
|function=Shave hair or beard
|function=Shave hair or beard
|material=Metal
|material_value=5
|tags=Razor
|class_name = Base.Razor}}Razor can modify the type of beard of the {{T|player}} or used to shave hair. In all cases to modify beard or shaving hair, razor can be replaced by [[Scissors|Scissors]].
|class_name = Base.Razor}}Razor can modify the type of beard of the {{T|player}} or used to shave hair. In all cases to modify beard or shaving hair, razor can be replaced by [[Scissors|Scissors]].


Line 16: Line 18:
==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=43}}
{{Retrieved|version=41|incver=78.16}}
<pre>
<pre>
item Razor
item Razor
Weight = 0.2,
{
Type = Normal,
    DisplayCategory = Junk,
DisplayName = Razor,
Weight = 0.2,
Icon = Razor,
Type = Normal,
MetalValue = 5,
DisplayName = Razor,
Icon = Razor,
MetalValue = 5,
StaticModel = DisposableRazor,
WorldStaticModel = Razor_Ground,
Tags = Razor,
}
</pre>
</pre>



Revision as of 06:03, 24 September 2023

Razor
Razor Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Shave hair or beard
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

Razors are most often found in medicine cabinets and bathroom counters, though they very rarely spawn as loot on the corpses of zombies.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) 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