Razor: Difference between revisions

From PZwiki
(Updated item in game use cases.)
No edit summary
Line 11: Line 11:
| function = ''None''
| function = ''None''
| class_name = Base.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]].
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]].
==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.
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 ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
Line 27: Line 24:
MetalValue = 5,
MetalValue = 5,
</pre>
</pre>
{{Navbox_equipment}}
{{Navbox_equipment}}

Revision as of 08:07, 3 April 2023

Razor
Razor
Razor.png
General
Category Item
Encumbrance
Heavy Load
0.2
Function None
Technical details
Base 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 40.43

	item Razor
		Weight			= 0.2,
		Type			= Normal,
		DisplayName		= Razor,
		Icon			= Razor,
		MetalValue		= 5,