Help:Boilerplate clothing: Difference between revisions

From PZwiki
m (Add languages)
(Undo revision 321915 by CalvyBot (talk))
Tag: Undo
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages}}{{header|Community|Help|Boilerplates|version=Version 41|incver=78.16}}
{{Header|Project Zomboid|Items|Clothing}}
{| class="pztable" width="100%"
{{Outdated}}
{| class="wikitable theme-red" width="100%"
|-
|-
|<center><small> This boilerplate is used for giving a new page a standard look. Copy the code below and add it to your new page before adding the relevant content. This boilerplate is currently in an early format and we are likely to add and change sections as time goes on. If you wish to suggest improvements to this boilerplate please use the [[Help talk:Boilerplate clothing|discussion page]].
|<center><small> This boilerplate is used for giving a new page a standard look. Copy the code below and add it to your new page before adding the relevant content. This boilerplate is currently in an early format and we are likely to add and change sections as time goes on. If you wish to suggest improvements to this boilerplate, please use the [[Help talk:Boilerplate clothing|discussion page]].
<br>The current code and result of the code are shown below. Anything between <nowiki><!--</nowiki> and <nowiki>--></nowiki> is a comment and can safely be discarded, and it will not affect the template.</small></center>
<br>The current code and result of the code are shown below. Anything between <nowiki><!--</nowiki> and <nowiki>--></nowiki> is a comment and can safely be discarded, and it will not affect the template.</small></center>
|}
|}
  <nowiki><!--COMMENT: This section is for the language bar. The language bar is used for linking translations of the same page into different languages.
  <nowiki><!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise.-->
-->{{languages}}<!--COMMENT: The header format can be seen in the header template with a working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{Header|Project Zomboid|Items|Clothing}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0}}
{{Page version|41.78.16}}
<!--COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_clothing-->
<!--COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_item#Clothing-->
{{Infobox clothing
{{Infobox item
| display_name = Padded Jacket
|name=Padded Jacket
| name_colour = Clothing
|model=Jacket_PaddedDOWN.png
| name_text_colour = Clothing
|icon=JacketPadded White.png
| image = Jacket_PaddedDOWN.png
|icon_name=Padded Jacket
| image_width = 300px
|icon2=
| alternate_image = JacketPadded.png
|icon_name2=
| alternate_name = Padded Jacket
|icon3=
| alternate_link =  
|icon_name3=
| alternate_image2 =  
|icon4=
| alternate_name2 =  
|icon_name4=
| alternate_link2 =  
|icon5=
| alternate_image3 =  
|icon_name5=
| alternate_name3 =  
|icon6=
| alternate_link3 =  
|icon_name6=
| alternate_image4 =  
<!--General-->
| alternate_name4 =  
|category=Clothing
| alternate_link4 =
|weight=1.0
| alternate_image5 =
|capacity=
| alternate_name5 =
|weight_reduction=
| alternate_link5 =
|body_location=Jacket
| alternate_image6 =
|function=
| alternate_name6 =
|attachments_provided=
| alternate_link6 =
<!--Properties-->
| alternate_image7 =
|material=Cotton
| alternate_name7 =
|condition_max=
| alternate_link7 =  
|condition_lower_chance=
<!-- General -->
|run_speed=0.89
| category = Clothing
|combat_speed=0.96
| weight = 1.0
|scratch_defense=20
| body_location = Jacket
|bite_defense=10
| condition =  
|bullet_defense=
| fabric = Cotton
|neck_protection=0.5
| capacity =
|insulation=0.95
| weight_reduction =  
|wind_resistance=0.95
| attachments_provided =  
|water_resistance=0.60
<!-- Speed -->
<!--Technical-->
| run_speed = 0.89
|tag=
| combat_speed = 0.96
|item_id=Base.Jacket_Padded
<!-- Protection -->
|item_id2=Base.Jacket_PaddedDOWN
| scratch_defense = 20
}}
| bite_defense = 10
A brief introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.
| neck_protection = 0.5
<!-- Insulation -->
| insulation = 0.95
| wind_resistance = 0.95
| water_resistance = 0.60
<!-- Technical details -->
| class_name = Base.Jacket_Padded<br>Base.Jacket_PaddedDOWN
}}A brief introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.  


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
__TOC__
__TOC__
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->


==Usage==
==Usage==
<!--COMMENT: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets. -->
<!--COMMENT: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets.-->


===Container===
===Container===
Line 70: Line 63:


===Pros and cons===
===Pros and cons===
This section should contain the template: {{tlx|pros-cons}}. Summarise the item with its pros and cons. This should be the last section in the "Usage" section.  
This section should contain the template: {{tlx|Pros-cons}}. Summarise the item with its pros and cons. This should be the last section in the "Usage" section.
{{pros-cons
{{Pros-cons
<!-- #PROS# - below this line -->
<!-- #PROS# - below this line -->
|pros1 = pros1
|pros1 = pros1
Line 87: Line 80:


===Crafting===
===Crafting===
{{see|Crafting}}
{{See|Crafting}}
Include here which recipes this item can be used in with: {{tlx|Crafting header}}. Remove this section if it isn't applicable to the clothing.
Include here which recipes this item can be used in with: {{tlx|Crafting header}}. Remove this section if it isn't applicable to the clothing.
{{Crafting header|ing=2}}
{{Crafting header|ing=2}}
Line 94: Line 87:


==Body location==
==Body location==
This section uses the template: {{tlx|Body_location}}, which automatically creates an image of the clothing's body location.  
This section uses the template: {{tlx|Body location}}, which automatically creates an image of the clothing's body location.
{| style="text-align:center;"
{| style="text-align:center;"
|'''Hood down'''<br>{{Body location|body_location=Jacket}}
|'''Hood down'''<br>{{Body location|body_location=Jacket}}
Line 101: Line 94:


==Distribution==
==Distribution==
<!--COMMENT: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua, ProceduralDistributions.lua and vehicledistribution.lua files. -->
<!--COMMENT: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua, ProceduralDistributions.lua and vehicledistribution.lua files.-->


===Buildings===
===Buildings===
{{see|Businesses}}
{{See|Businesses}}
Include here the building types that the clothing can be found in, being sure to include links. Use <code>ProceduralDistributions.lua</code> then <code>Distributions</code> for a list of spawn locations.
Include here the building types that the clothing can be found in, being sure to include links. Use <code>ProceduralDistributions.lua</code> then <code>Distributions</code> for a list of spawn locations.


===Vehicles===
===Vehicles===
{{see|Vehicles}}
{{See|Vehicles}}
Include here all the vehicle types/areas the clothing can be found. Use <code>vehicledistribution.lua</code> for a list of spawn locations.
Include here all the vehicle types/areas the clothing can be found. Use <code>vehicledistribution.lua</code> for a list of spawn locations.


===Foraging===
===Foraging===
{{see|Foraging}}
{{See|Foraging}}
Include here requirements to be found while foraging. Use <code>forageDefinitions.lua</code>.  
Include here requirements to be found while foraging. Use <code>forageDefinitions.lua</code>.


===NPCs===
===NPCs===
{{see|NPC}}
{{See|NPC}}
Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.
Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.


Line 122: Line 115:


==Trivia==
==Trivia==
Any interesting facts about the clothing should be bullet-pointed <code>*</code> in this section
*Any interesting facts about the clothing should be bullet-pointed <code>*</code> in this section


==Gallery==
==Gallery==
Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.
Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.
<!--COMMENT: Include a list of clothing variants, in-game screenshots, etc. here -->
<!--COMMENT: Include a list of clothing variants, in-game screenshots, etc. here.-->
<gallery>
<gallery>
File:Jacket_PaddedDOWN.png|3D model of Padded Jacket with hood down
File:Jacket_PaddedDOWN.png|3D model of Padded Jacket with hood down
Line 132: Line 125:


==Code==
==Code==
<!--COMMENT: all the code related to the item found in txt files should be placed here-->
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->


===Item===
===Item===
<!--COMMENT: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
<!--COMMENT: The CodeBox template will add the code to a collapsible box-->
'''''From clothing_jacket.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox|
 
<!--COMMENT: The CodeSnip template will have the source file and retrieved version-->
''Hood up''
''Hood up''<br>
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
{{CodeSnip
{{Retrieved|version=41|incver=0}}
| lang = java
<pre>
| source = items.txt
| retrieved = true
| version = 41.78.16
| code =
     item Jacket_Padded
     item Jacket_Padded
     {
     {
        DisplayCategory = Clothing,
         Type = Clothing,
         Type = Clothing,
         DisplayName = Padded Jacket,
         DisplayName = Padded Jacket,
         ClothingItem = Jacket_Padded,
         ClothingItem = Jacket_Padded,
         BodyLocation = JacketHat,
         BodyLocation = JacketHat_Bulky,
         Icon = JacketPadded_White,
         Icon = JacketPadded_White,
         BloodLocation = Jumper;FullHelmet,
         BloodLocation = Jumper;FullHelmet,
Line 154: Line 151:
         ClothingItemExtra = Jacket_PaddedDOWN,
         ClothingItemExtra = Jacket_PaddedDOWN,
         ClothingItemExtraOption = DownHoodie,
         ClothingItemExtraOption = DownHoodie,
        clothingExtraSubmenu = UpHoodie,
         BiteDefense = 10,
         BiteDefense = 10,
         ScratchDefense = 20,
         ScratchDefense = 20,
Line 160: Line 158:
         WaterResistance = 0.60,
         WaterResistance = 0.60,
         Weight = 3,
         Weight = 3,
        WorldStaticModel = Hoodie_Ground,
     }
     }
</pre>
  }}


''Hood down''
''Hood down''<br>
{{Retrieved|version=41|incver=0}}
{{CodeSnip
<pre>
| lang = java
| source = items.txt
| retrieved = true
| version = 41.78.16
| code =
     item Jacket_PaddedDOWN
     item Jacket_PaddedDOWN
     {
     {
        DisplayCategory = Clothing,
         Type = Clothing,
         Type = Clothing,
         DisplayName = Padded Jacket,
         DisplayName = Padded Jacket,
         ClothingItem = Jacket_PaddedDOWN,
         ClothingItem = Jacket_PaddedDOWN,
         BodyLocation = Jacket,
         BodyLocation = Jacket_Bulky,
         Icon = JacketPadded_White,
         Icon = JacketPadded_White,
         BloodLocation = Jacket,
         BloodLocation = Jacket,
Line 178: Line 182:
         ClothingItemExtra = Jacket_Padded,
         ClothingItemExtra = Jacket_Padded,
         ClothingItemExtraOption = UpHoodie,
         ClothingItemExtraOption = UpHoodie,
        clothingExtraSubmenu = DownHoodie,
         BiteDefense = 10,
         BiteDefense = 10,
         ScratchDefense = 20,
         ScratchDefense = 20,
Line 185: Line 190:
         WaterResistance = 0.60,
         WaterResistance = 0.60,
         Weight = 3,
         Weight = 3,
        WorldStaticModel = Hoodie_Ground,
     }
     }
</pre>
  }}
}}


==See also==
==See also==
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way.-->
*[[Jacket]]
*[[Jacket]]
*[[Jumper]]
<!--COMMENT: Navbox should go here, just below the see also section.-->
<!--COMMENT: Navbox should go here, just below the see also section.-->
{{Navbox clothing}}
{{Navbox clothing}}


<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]] -->
<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]].--></nowiki>
</nowiki>


<span style="font-size:188%">'''This will produce the following:'''</span>
<span style="font-size:188%">'''This will produce the following:'''</span>


<!--COMMENT: This section is for the language bar. The language bar is used for linking translations of the same page into different languages.
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise.-->
-->{{languages}}<!--COMMENT: The header format can be seen in the header template with a working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{Header|Project Zomboid|Items|Clothing|hidecat=true}}
{{header|The Game World|Items|Clothing|version=Version 41|incver=0|hidecat=true}}
{{Page version|41.78.16}}
<!--COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_clothing-->
<!--COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_item#Clothing-->
{{Infobox clothing
{{Infobox item
| display_name = Padded Jacket
|name=Padded Jacket
| name_colour = Clothing
|model=Jacket_PaddedDOWN.png
| name_text_colour = Clothing
|icon=JacketPadded White.png
| image = Jacket_PaddedDOWN.png
|icon_name=Padded Jacket
| image_width = 300px
|icon2=
| alternate_image = JacketPadded.png
|icon_name2=
| alternate_name = Padded Jacket
|icon3=
| alternate_link =  
|icon_name3=
| alternate_image2 =  
|icon4=
| alternate_name2 =  
|icon_name4=
| alternate_link2 =  
|icon5=
| alternate_image3 =  
|icon_name5=
| alternate_name3 =  
|icon6=
| alternate_link3 =  
|icon_name6=
| alternate_image4 =  
<!--General-->
| alternate_name4 =  
|category=Clothing
| alternate_link4 =
|weight=1.0
| alternate_image5 =
|capacity=
| alternate_name5 =
|weight_reduction=
| alternate_link5 =
|body_location=Jacket
| alternate_image6 =
|function=
| alternate_name6 =
|attachments_provided=
| alternate_link6 =
<!--Properties-->
| alternate_image7 =
|material=Cotton
| alternate_name7 =
|condition_max=
| alternate_link7 =  
|condition_lower_chance=
<!-- General -->
|run_speed=0.89
| category = Clothing
|combat_speed=0.96
| weight = 1.0
|scratch_defense=20
| body_location = Jacket
|bite_defense=10
| condition =  
|bullet_defense=
| fabric = Cotton
|neck_protection=0.5
| capacity =
|insulation=0.95
| weight_reduction =  
|wind_resistance=0.95
| attachments_provided =  
|water_resistance=0.60
<!-- Speed -->
<!--Technical-->
| run_speed = 0.89
|tag=
| combat_speed = 0.96
|item_id=Base.Jacket_Padded
<!-- Protection -->
|item_id2=Base.Jacket_PaddedDOWN
| scratch_defense = 20
}}
| bite_defense = 10
A brief introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.
| neck_protection = 0.5
<!-- Insulation -->
| insulation = 0.95
| wind_resistance = 0.95
| water_resistance = 0.60
<!-- Technical details -->
| class_name = Base.Jacket_Padded<br>Base.Jacket_PaddedDOWN
}}A brief introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.  


<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
__TOC__
__TOC__
<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed-->


==Usage==
==Usage==
<!--COMMENT: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets. -->
<!--COMMENT: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets.-->


===Container===
===Container===
Line 265: Line 262:


===Pros and cons===
===Pros and cons===
This section should contain the template: {{tlx|pros-cons}}. Summarise the item with its pros and cons. This should be the last section in the "Usage" section.  
This section should contain the template: {{tlx|Pros-cons}}. Summarise the item with its pros and cons. This should be the last section in the "Usage" section.
{{pros-cons
{{Pros-cons
<!-- #PROS# - below this line -->
<!-- #PROS# - below this line -->
|pros1 = pros1
|pros1 = pros1
Line 282: Line 279:


===Crafting===
===Crafting===
{{see|Crafting}}
{{See|Crafting}}
Include here which recipes this item can be used in with: {{tlx|Crafting header}}. Remove this section if it isn't applicable to the clothing.
Include here which recipes this item can be used in with: {{tlx|Crafting header}}. Remove this section if it isn't applicable to the clothing.
{{Crafting header|ing=2}}
{{Crafting header|ing=2}}
Line 289: Line 286:


==Body location==
==Body location==
This section uses the template: {{tlx|Body_location}}, which automatically creates an image of the clothing's body location.  
This section uses the template: {{tlx|Body location}}, which automatically creates an image of the clothing's body location.
{| style="text-align:center;"
{| style="text-align:center;"
|'''Hood down'''<br>{{Body location|body_location=Jacket}}
|'''Hood down'''<br>{{Body location|body_location=Jacket}}
Line 296: Line 293:


==Distribution==
==Distribution==
<!--COMMENT: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua, ProceduralDistributions.lua and vehicledistribution.lua files. -->
<!--COMMENT: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua, ProceduralDistributions.lua and vehicledistribution.lua files.-->


===Buildings===
===Buildings===
Line 303: Line 300:


===Vehicles===
===Vehicles===
{{see|Vehicles}}
{{See|Vehicles}}
Include here all the vehicle types/areas the clothing can be found. Use <code>vehicledistribution.lua</code> for a list of spawn locations.
Include here all the vehicle types/areas the clothing can be found. Use <code>vehicledistribution.lua</code> for a list of spawn locations.


===Foraging===
===Foraging===
{{see|Foraging}}
{{See|Foraging}}
Include here requirements to be found while foraging. Use <code>forageDefinitions.lua</code>.  
Include here requirements to be found while foraging. Use <code>forageDefinitions.lua</code>.


===NPCs===
===NPCs===
{{see|NPC}}
{{See|NPC}}
Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.
Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.


Line 317: Line 314:


==Trivia==
==Trivia==
Any interesting facts about the clothing should be bullet-pointed <code>*</code> in this section
*Any interesting facts about the clothing should be bullet-pointed <code>*</code> in this section


==Gallery==
==Gallery==
Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.
Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.
<!--COMMENT: Include a list of clothing variants, in-game screenshots, etc. here -->
<!--COMMENT: Include a list of clothing variants, in-game screenshots, etc. here.-->
<gallery>
<gallery>
File:Jacket_PaddedDOWN.png|3D model of Padded Jacket with hood down
File:Jacket_PaddedDOWN.png|3D model of Padded Jacket with hood down
Line 327: Line 324:


==Code==
==Code==
<!--COMMENT: all the code related to the item found in txt files should be placed here-->
<!--COMMENT: The CodeBox template will add the code to a collapsible box-->
 
{{CodeBox|
===Item===
<!--COMMENT: The CodeSnip template will have the source file and retrieved version-->
<!--COMMENT: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
''Hood up''<br>
'''''From clothing_jacket.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeSnip
 
| lang = java
''Hood up''
| source = items.txt
<!--COMMENT: Be sure to include this "Retrieved" template, filling in the version of the game the code was retrieved.-->
| retrieved = true
{{Retrieved|version=41|incver=0}}
| version = 41.78.16
<pre>
| code =
     item Jacket_Padded
     item Jacket_Padded
     {
     {
        DisplayCategory = Clothing,
         Type = Clothing,
         Type = Clothing,
         DisplayName = Padded Jacket,
         DisplayName = Padded Jacket,
         ClothingItem = Jacket_Padded,
         ClothingItem = Jacket_Padded,
         BodyLocation = JacketHat,
         BodyLocation = JacketHat_Bulky,
         Icon = JacketPadded_White,
         Icon = JacketPadded_White,
         BloodLocation = Jumper;FullHelmet,
         BloodLocation = Jumper;FullHelmet,
Line 349: Line 347:
         ClothingItemExtra = Jacket_PaddedDOWN,
         ClothingItemExtra = Jacket_PaddedDOWN,
         ClothingItemExtraOption = DownHoodie,
         ClothingItemExtraOption = DownHoodie,
        clothingExtraSubmenu = UpHoodie,
         BiteDefense = 10,
         BiteDefense = 10,
         ScratchDefense = 20,
         ScratchDefense = 20,
Line 355: Line 354:
         WaterResistance = 0.60,
         WaterResistance = 0.60,
         Weight = 3,
         Weight = 3,
        WorldStaticModel = Hoodie_Ground,
     }
     }
</pre>
  }}


''Hood down''
''Hood down''<br>
{{Retrieved|version=41|incver=0}}
{{CodeSnip
<pre>
| lang = java
| source = items.txt
| retrieved = true
| version = 41.78.16
| code =
     item Jacket_PaddedDOWN
     item Jacket_PaddedDOWN
     {
     {
        DisplayCategory = Clothing,
         Type = Clothing,
         Type = Clothing,
         DisplayName = Padded Jacket,
         DisplayName = Padded Jacket,
         ClothingItem = Jacket_PaddedDOWN,
         ClothingItem = Jacket_PaddedDOWN,
         BodyLocation = Jacket,
         BodyLocation = Jacket_Bulky,
         Icon = JacketPadded_White,
         Icon = JacketPadded_White,
         BloodLocation = Jacket,
         BloodLocation = Jacket,
Line 373: Line 378:
         ClothingItemExtra = Jacket_Padded,
         ClothingItemExtra = Jacket_Padded,
         ClothingItemExtraOption = UpHoodie,
         ClothingItemExtraOption = UpHoodie,
        clothingExtraSubmenu = DownHoodie,
         BiteDefense = 10,
         BiteDefense = 10,
         ScratchDefense = 20,
         ScratchDefense = 20,
Line 380: Line 386:
         WaterResistance = 0.60,
         WaterResistance = 0.60,
         Weight = 3,
         Weight = 3,
        WorldStaticModel = Hoodie_Ground,
     }
     }
</pre>
  }}
}}


==See also==
==See also==
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way.-->
*[[Jacket]]
*[[Jacket]]
*[[Jumper]]
<!--COMMENT: Navbox should go here, just below the see also section.-->
<!--COMMENT: Navbox should go here, just below the see also section.-->
{{Navbox clothing}}
{{Navbox clothing}}


<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]] -->
<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]].-->
 
{{clear}}


[[Category:Boilerplates]]
[[Category:Boilerplates]]

Revision as of 03:33, 25 April 2024

Project ZomboidItemsClothingBoilerplate clothing
AppleRotten.png
This page may be outdated.
Editors are encouraged to update this page with new information.
This boilerplate is used for giving a new page a standard look. Copy the code below and add it to your new page before adding the relevant content. This boilerplate is currently in an early format and we are likely to add and change sections as time goes on. If you wish to suggest improvements to this boilerplate, please use the discussion page.
The current code and result of the code are shown below. Anything between <!-- and --> is a comment and can safely be discarded, and it will not affect the template.
<!--COMMENT: The header template goes below the language template, there should be NOTHING in between. The format can be seen in the header template with a working explanation. The header connects categories and Version number. PLEASE ENTER THE VERSION AND INCREMENT NUMBER WHEN YOU MAKE OR EDIT A PAGE. It helps everyone else know how old the page is version-wise.-->
{{Header|Project Zomboid|Items|Clothing}}
{{Page version|41.78.16}}
<!--COMMENT: Here is the infobox for the clothing. This is a quick lookup for the item's stats. For more information, see: https://pzwiki.net/wiki/Template:Infobox_item#Clothing-->
{{Infobox item
|name=Padded Jacket
|model=Jacket_PaddedDOWN.png
|icon=JacketPadded White.png
|icon_name=Padded Jacket
|icon2=
|icon_name2=
|icon3=
|icon_name3=
|icon4=
|icon_name4=
|icon5=
|icon_name5=
|icon6=
|icon_name6=
<!--General-->
|category=Clothing
|weight=1.0
|capacity=
|weight_reduction=
|body_location=Jacket
|function=
|attachments_provided=
<!--Properties-->
|material=Cotton
|condition_max=
|condition_lower_chance=
|run_speed=0.89
|combat_speed=0.96
|scratch_defense=20
|bite_defense=10
|bullet_defense=
|neck_protection=0.5
|insulation=0.95
|wind_resistance=0.95
|water_resistance=0.60
<!--Technical-->
|tag=
|item_id=Base.Jacket_Padded
|item_id2=Base.Jacket_PaddedDOWN
}}
A brief introduction to the item. Include [[Nails|links]] (example link is to Nails article) to other pages within the wiki where appropriate.

<!--COMMENT: This is where the 'Table Of Contents' will go if it is needed.-->
__TOC__

==Usage==
<!--COMMENT: This section contains how the item can be used. This may include crafting, adding attachments (belts), storage space, or another functionality, such as being able to raise and lower the hood of some jackets.-->

===Container===
Include this section if the clothing can be used for storage, such as bags and belts. Include the storage space, weight reduction if it's a bag, or number of slots and where they are if it's a belt.

===Pros and cons===
This section should contain the template: {{tlx|Pros-cons}}. Summarise the item with its pros and cons. This should be the last section in the "Usage" section.
{{Pros-cons
<!-- #PROS# - below this line -->
|pros1 = pros1
|pros2 = pros2
|pros3 = pros3
|pros4 = pros4
|pros5 = pros5
<!-- #CONS# - below this line -->
|cons1 = cons1
|cons2 = cons2
|cons3 = cons3
|cons4 = cons4
|cons5 = cons5
}}

===Crafting===
{{See|Crafting}}
Include here which recipes this item can be used in with: {{tlx|Crafting header}}. Remove this section if it isn't applicable to the clothing.
{{Crafting header|ing=2}}
{{Crafting general|007|ing=2}}
|}

==Body location==
This section uses the template: {{tlx|Body location}}, which automatically creates an image of the clothing's body location.
{| style="text-align:center;"
|'''Hood down'''<br>{{Body location|body_location=Jacket}}
|'''Hood up'''<br>{{Body location|body_location=JacketHat}}
|}

==Distribution==
<!--COMMENT: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua, ProceduralDistributions.lua and vehicledistribution.lua files.-->

===Buildings===
{{See|Businesses}}
Include here the building types that the clothing can be found in, being sure to include links. Use <code>ProceduralDistributions.lua</code> then <code>Distributions</code> for a list of spawn locations.

===Vehicles===
{{See|Vehicles}}
Include here all the vehicle types/areas the clothing can be found. Use <code>vehicledistribution.lua</code> for a list of spawn locations.

===Foraging===
{{See|Foraging}}
Include here requirements to be found while foraging. Use <code>forageDefinitions.lua</code>.

===NPCs===
{{See|NPC}}
Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.

Once survivor NPCs are added, they will also be added into this section.

==Trivia==
*Any interesting facts about the clothing should be bullet-pointed <code>*</code> in this section

==Gallery==
Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.
<!--COMMENT: Include a list of clothing variants, in-game screenshots, etc. here.-->
<gallery>
File:Jacket_PaddedDOWN.png|3D model of Padded Jacket with hood down
</gallery>

==Code==
<!--COMMENT: all the code related to the item found in txt files should be placed here.-->

===Item===
<!--COMMENT: The CodeBox template will add the code to a collapsible box-->
{{CodeBox|
<!--COMMENT: The CodeSnip template will have the source file and retrieved version-->
''Hood up''<br>
{{CodeSnip
| lang = java
| source = items.txt
| retrieved = true
| version = 41.78.16
| code =
    item Jacket_Padded
    {
        DisplayCategory = Clothing,
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_Padded,
        BodyLocation = JacketHat_Bulky,
        Icon = JacketPadded_White,
        BloodLocation = Jumper;FullHelmet,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_PaddedDOWN,
        ClothingItemExtraOption = DownHoodie,
        clothingExtraSubmenu = UpHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        Insulation = 0.95,
        WindResistance = 0.95,
        WaterResistance = 0.60,
        Weight = 3,
        WorldStaticModel = Hoodie_Ground,
    }
  }}

''Hood down''<br>
{{CodeSnip
| lang = java
| source = items.txt
| retrieved = true
| version = 41.78.16
| code =
    item Jacket_PaddedDOWN
    {
        DisplayCategory = Clothing,
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_PaddedDOWN,
        BodyLocation = Jacket_Bulky,
        Icon = JacketPadded_White,
        BloodLocation = Jacket,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_Padded,
        ClothingItemExtraOption = UpHoodie,
        clothingExtraSubmenu = DownHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        NeckProtectionModifier = 0.5,
        Insulation = 1.0,
        WindResistance = 1.0,
        WaterResistance = 0.60,
        Weight = 3,
        WorldStaticModel = Hoodie_Ground,
    }
  }}
}}

==See also==
<!--COMMENT: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way.-->
*[[Jacket]]
<!--COMMENT: Navbox should go here, just below the see also section.-->
{{Navbox clothing}}

<!--COMMENT: Categories that aren't mentioned in the header should go here. E.g. Welder Mask uses [[Category:Construction]].-->

This will produce the following:

Project ZomboidItemsClothingBoilerplate clothing
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Padded Jacket
Jacket PaddedDOWN.png
General
Category
Clothing
Encumbrance
Moodle Icon HeavyLoad.png
1.0
Equipped
Jacket
Properties
Material
Cotton
Run speed
89% (disabled)
Combat speed
96%
Scratch defence
20%
Bite defence
10%
Neck protection
50%
Insulation
95%
Wind resistance
95%
Water resistance
60%
Technical
Item ID
Base.Jacket_Padded
Base.Jacket_PaddedDOWN

A brief introduction to the item. Include links (example link is to Nails article) to other pages within the wiki where appropriate.

Usage

Container

Include this section if the clothing can be used for storage, such as bags and belts. Include the storage space, weight reduction if it's a bag, or number of slots and where they are if it's a belt.

Pros and cons

This section should contain the template: {{Pros-cons}}. Summarise the item with its pros and cons. This should be the last section in the "Usage" section.

Pros Cons
  • pros1
  • pros2
  • pros3
  • pros4
  • pros5
  • cons1
  • cons2
  • cons3
  • cons4
  • cons5

Crafting

See more: Crafting

Include here which recipes this item can be used in with: {{Crafting header}}. Remove this section if it isn't applicable to the clothing.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Molotov.png
Molotov Cocktail
0 XP none Bourbon
Bourbon
(consumed)

(consumed)

Body location

This section uses the template: {{Body location}}, which automatically creates an image of the clothing's body location.

Hood down
Protection Jacket.png
  • Neck
  • Upper Torso
  • Lower Torso
  • Upper Arms
  • Forearms
Hood up
Protection JacketHat.png
  • Head
  • Neck
  • Upper Torso
  • Lower Torso
  • Upper Arms
  • Forearms

Distribution

Buildings

See more: Businesses

Include here the building types that the clothing can be found in, being sure to include links. Use ProceduralDistributions.lua then Distributions for a list of spawn locations.

Vehicles

See more: Vehicles

Include here all the vehicle types/areas the clothing can be found. Use vehicledistribution.lua for a list of spawn locations.

Foraging

See more: Foraging

Include here requirements to be found while foraging. Use forageDefinitions.lua.

NPCs

See more: NPC

Include here if the clothing can be found on zombies, and where. I.e. Many zombies wearing occupation clothing can be found near to their occupation. E.g. Police zombies are found near police stations/roadblocks.

Once survivor NPCs are added, they will also be added into this section.

Trivia

  • Any interesting facts about the clothing should be bullet-pointed * in this section

Gallery

Here are a list of images that can be used to show off the clothing. Include screenshots, model variants, or any other images that are relevant to the clothing.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Hood up
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Jacket_Padded
    {
        DisplayCategory = Clothing,
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_Padded,
        BodyLocation = JacketHat_Bulky,
        Icon = JacketPadded_White,
        BloodLocation = Jumper;FullHelmet,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_PaddedDOWN,
        ClothingItemExtraOption = DownHoodie,
        clothingExtraSubmenu = UpHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        Insulation = 0.95,
        WindResistance = 0.95,
        WaterResistance = 0.60,
        Weight = 3,
        WorldStaticModel = Hoodie_Ground,
    }

Hood down
Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Jacket_PaddedDOWN
    {
        DisplayCategory = Clothing,
        Type = Clothing,
        DisplayName = Padded Jacket,
        ClothingItem = Jacket_PaddedDOWN,
        BodyLocation = Jacket_Bulky,
        Icon = JacketPadded_White,
        BloodLocation = Jacket,
        RunSpeedModifier = 0.89,
        CombatSpeedModifier = 0.96,
        ClothingItemExtra = Jacket_Padded,
        ClothingItemExtraOption = UpHoodie,
        clothingExtraSubmenu = DownHoodie,
        BiteDefense = 10,
        ScratchDefense = 20,
        NeckProtectionModifier = 0.5,
        Insulation = 1.0,
        WindResistance = 1.0,
        WaterResistance = 0.60,
        Weight = 3,
        WorldStaticModel = Hoodie_Ground,
    }

See also