Razor: Difference between revisions
VaileasysBot (talk | contribs) 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 | ||
|model=Razor Model.png | |||
|model=Model | |||
|model_width=200px | |model_width=200px | ||
|icon=Razor.png | |icon=Razor.png | ||
| | |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= | {{Retrieved|version=41|incver=78.16}} | ||
<pre> | <pre> | ||
item Razor | item Razor | ||
Weight | { | ||
Type | DisplayCategory = Junk, | ||
DisplayName | Weight = 0.2, | ||
Icon | Type = Normal, | ||
MetalValue | DisplayName = Razor, | ||
Icon = Razor, | |||
MetalValue = 5, | |||
StaticModel = DisposableRazor, | |||
WorldStaticModel = Razor_Ground, | |||
Tags = Razor, | |||
} | |||
</pre> | </pre> | ||
Revision as of 06:03, 24 September 2023
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, }