Soap: Difference between revisions
(added the new infobox and layout) |
(Update distribution file) |
||
(35 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Household}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Soap | ||
| | |model=Soap_Model.png | ||
| | |icon=Soap.png | ||
|weight = 0.1 | |icon_name=Soap | ||
|primary_use = Clean [[clothing]] | |weight=0.1 | ||
|primary_use=Clean [[clothing]] | |||
|max_units=20 | |max_units=20 | ||
|contents=Soap | |contents=Soap | ||
| | |item_id=Base.Soap2 | ||
}}'''Soap''' is a drainable miscellaneous [[item]]. | }} | ||
'''Soap''' is a drainable miscellaneous [[Items|item]]. | |||
==Usage== | ==Usage== | ||
Soap, along with [[water]], can be used to clean dirty or bloody [[clothing]]. Over the course of the zombie apocalypse, clothing will become dirty and bloody, which is | Soap, along with [[water]], can be used to clean dirty or bloody [[clothing]]. Over the course of the zombie apocalypse, clothing will become dirty and bloody, which is dependent on the player's activities. If the player is wearing dirty or bloody clothing over an open wound, the chance of [[Health#Types of Injuries|infection]] will increase. | ||
== Crafting == | ==Crafting== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|clothing_(clean) | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|Soap2|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Soap2 distribution | |||
<span class="mw-customtoggle-togglebox-Soap2" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Soap2"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| bathroom | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| bathroom | |||
| {{ll|shelves}} | |||
| 23.28% | |||
|- | |||
| changeroom | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| classroom | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| daycare | |||
| {{ll|counter}} | |||
| 23.28% | |||
|- | |||
| pharmacy | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| prisoncells | |||
| {{ll|wardrobe}} | |||
| 23.28% | |||
|- | |||
| schoolstorage | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Soap2" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Soap2|41.78.16--> | |||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1496 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Soap2 | |||
{ | |||
DisplayCategory = Household, | |||
Type = Drainable, | |||
UseDelta = 0.05, | |||
UseWhileEquipped = FALSE, | |||
DisplayName = Soap, | |||
Icon = Soap, | |||
Weight = 0.1, | |||
cantBeConsolided = TRUE, | |||
WorldStaticModel = Soap, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Bleach]] | *[[Bleach]] | ||
*[[ | *[[Cleaning Liquid]] | ||
*[[Health]] | |||
{{Navbox items|household_equipment}} |
Latest revision as of 13:55, 30 April 2024
Soap is a drainable miscellaneous item.
Usage
Soap, along with water, can be used to clean dirty or bloody clothing. Over the course of the zombie apocalypse, clothing will become dirty and bloody, which is dependent on the player's activities. If the player is wearing dirty or bloody clothing over an open wound, the chance of infection will increase.
Crafting
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Clothing (clean) |
One of: Soap ×1 unit(s) Cleaning Liquid ×1 Each of: Clothing ×1 Water ×3 unit(s) |
none | none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
bathroom | counter | 23.28% |
bathroom | shelves | 23.28% |
changeroom | counter | 23.28% |
classroom | counter | 23.28% |
daycare | counter | 23.28% |
pharmacy | shelves | 10.78% |
prisoncells | wardrobe | 23.28% |
schoolstorage | metal_shelves | 23.28% |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item Soap2
{
DisplayCategory = Household,
Type = Drainable,
UseDelta = 0.05,
UseWhileEquipped = FALSE,
DisplayName = Soap,
Icon = Soap,
Weight = 0.1,
cantBeConsolided = TRUE,
WorldStaticModel = Soap,
}