Fast Food Server Hat: Difference between revisions

From PZwiki
m (Removed Testing tag due to Build 41 being stable.)
(Added variants, updated code)
Line 13: Line 13:
| alternate_image5=ChefHat.png
| alternate_image5=ChefHat.png
| alternate_image6=CookHatSpiffo.png
| alternate_image6=CookHatSpiffo.png
| alternate_image7=CookHatIceCream.png
<!-- General -->
<!-- General -->
| category=Clothing
| category=Clothing
| weight=0.3
| weight=0.3
| body_location=Hat
| body_location=Hat
<!-- Speed -->
<!-- Protection -->
<!-- Insulation -->
<!-- Technical details -->
<!-- Technical details -->
| class_name=Hat_FastFood
| class_name=''See [[#Variants|Variants]]''
| no_style=
}}
}}
A '''fast food server hat''' is a hat that provides no protection or insulation.  
A '''fast food server hat''' is a hat that provides no protection or insulation.  
Line 30: Line 29:
== Body Location ==
== Body Location ==
{{Body location|body_location=Mask}}
{{Body location|body_location=Mask}}
== Variants ==
{| class="pztable" style="text-align:center;"
! Icon
! Name
! Description
! Base ID
|-
| [[File:CookHatBlack.png|Fast Food Server Hat (Black)]][[File:CookHatBlue.png|Fast Food Server Hat (Blue)]][[File:CookHatGreen.png|Fast Food Server Hat (Green)]]<br>[[File:CookHatRed.png|Fast Food Server Hat (Red)]][[File:ChefHat.png|Fast Food Server Hat (White)]]
| Fast Food Server Hat
| General-purpose server hat
| {{ID|Base.Hat_FastFood}}
|-
| [[File:CookHatSpiffo.png|Spiffo's Server Hat]]
| Spiffo's Server Hat
| Server hat worn by employees of [[Spiffo's]]
| {{ID|Base.Hat_FastFood_Spiffo}}
|-
| [[File:CookHatIceCream.png|Ice Cream Server Hat]]
| Ice Cream Server Hat
| Server hat worn by employees of ice-cream parlors
| {{ID|Base.Hat_FastFood_IceCream}}
|-
|}


== Code ==
== Code ==
{{Retrieved|version=41|incver=56}}
'''''From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)'''''<br>
[[File:CookHatBlack.png|Fast Food Server Hat (Black)]] ''Fast Food Server Hat''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_FastFood
<pre> item Hat_FastFood
DisplayCategory = Accessory,
Type = Clothing,
Type = Clothing,
DisplayName = Fast Food Server Hat,
DisplayName = Fast Food Server Hat,
Line 39: Line 65:
BodyLocation = Hat,
BodyLocation = Hat,
IconsForTexture = CookHatBlack;CookHatBlue;CookHatGreen;CookHatRed;ChefHat;CookHatYellow,
IconsForTexture = CookHatBlack;CookHatBlue;CookHatGreen;CookHatRed;ChefHat;CookHatYellow,
CanHaveHoles = false,
ChanceToFall = 80,
Weight = 0.3,
</pre>
[[File:CookHatSpiffo.png|Spiffo's Server Hat]] ''Spiffo's Server Hat''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_FastFood_Spiffo
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Spiffo's Server Hat,
ClothingItem = Hat_FastFood_SPiffo,
BodyLocation = Hat,
Icon = CookHatSpiffo,
CanHaveHoles = false,
ChanceToFall = 80,
Weight = 0.3,
</pre>
[[File:CookHatIceCream.png|Ice Cream Server Hat]] ''Ice Cream Server Hat''
{{Retrieved|version=41|incver=65}}
<pre> item Hat_FastFood_IceCream
DisplayCategory = Accessory,
Type = Clothing,
DisplayName = Ice Cream Server Hat,
ClothingItem = Hat_FastFood_IceCream,
BodyLocation = Hat,
Icon = CookHatIceCream,
CanHaveHoles = false,
CanHaveHoles = false,
ChanceToFall = 80,
ChanceToFall = 80,

Revision as of 19:46, 21 January 2022

The Game WorldItemsClothingFast Food Server Hat
Fast Food Server Hat
Fast Food Server Hat
CookHatBlack.png CookHatBlue.png CookHatGreen.png CookHatRed.png ChefHat.png CookHatSpiffo.png CookHatIceCream.png
General
Category Clothing
Encumbrance
Heavy Load
0.3
Body location Hat
Technical details
Item ID See Variants

A fast food server hat is a hat that provides no protection or insulation.

Usage

A fast food server hat is a cosmetic hat as it provides no insulation or protection to the wearer.

Body Location

Protection Hat.png
  • Head

Variants

Icon Name Description Base ID
Fast Food Server Hat (Black)Fast Food Server Hat (Blue)Fast Food Server Hat (Green)
Fast Food Server Hat (Red)Fast Food Server Hat (White)
Fast Food Server Hat General-purpose server hat Base.Hat_FastFood
Spiffo's Server Hat Spiffo's Server Hat Server hat worn by employees of Spiffo's Base.Hat_FastFood_Spiffo
Ice Cream Server Hat Ice Cream Server Hat Server hat worn by employees of ice-cream parlors Base.Hat_FastFood_IceCream

Code

From clothing_hats.txt (Project Zomboid directory/media/scripts/clothing)
Fast Food Server Hat (Black) Fast Food Server Hat Retrieved: Build 41.65

	item Hat_FastFood
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Fast Food Server Hat,
		ClothingItem	= Hat_FastFood,
		BodyLocation	= Hat,
		IconsForTexture	= CookHatBlack;CookHatBlue;CookHatGreen;CookHatRed;ChefHat;CookHatYellow,
		CanHaveHoles	= false,
		ChanceToFall	= 80,
		Weight		= 0.3,

Spiffo's Server Hat Spiffo's Server Hat Retrieved: Build 41.65

	item Hat_FastFood_Spiffo
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Spiffo's Server Hat,
		ClothingItem	= Hat_FastFood_SPiffo,
		BodyLocation	= Hat,
		Icon		= CookHatSpiffo,
		CanHaveHoles	= false,
		ChanceToFall	= 80,
		Weight		= 0.3,

Ice Cream Server Hat Ice Cream Server Hat Retrieved: Build 41.65

	item Hat_FastFood_IceCream
		DisplayCategory	= Accessory,
		Type		= Clothing,
		DisplayName	= Ice Cream Server Hat,
		ClothingItem	= Hat_FastFood_IceCream,
		BodyLocation	= Hat,
		Icon		= CookHatIceCream,
		CanHaveHoles	= false,
		ChanceToFall	= 80,
		Weight		= 0.3,