Soap: Difference between revisions

From PZwiki
m (Removed {{clear}} line above ==Distribution==)
m (Distribution table update)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Miscellaneous items|Household items}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{Page version|40.43}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name=Soap
|name=Soap
|name_colour=Tool
|name_text_colour=Tool
|model=Soap_Model.png
|model=Soap_Model.png
|icon=Soap.png
|icon=Soap.png
Line 13: Line 11:
|contents=Soap
|contents=Soap
|item_id=Base.Soap2
|item_id=Base.Soap2
}}'''Soap''' is a drainable miscellaneous [[item]].
}}
'''Soap''' is a drainable miscellaneous [[Items|item]].


==Usage==
==Usage==
Line 19: Line 18:


==Crafting==
==Crafting==
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting general|024|ing=3}}
|clothing_(clean)
|}
}}


==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
<!--BOT FLAG|Soap2|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>Soap2 distribution
!Container
        <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>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Soap2">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="2"|bathroom
    |+ {{ll|Containers}}
| [[counter]]
    ! Building / Room
| 4
    ! Container
| 1
    ! Rolls
|-
    ! Chance
|[[shelves]]
    |-
|4
    | bathroom
|1
    | {{ll|counter}}
|-
    | 4
| rowspan="1"|changeroom
    | 10.0
| [[counter]]
    |-
| 4
    | bathroom
| 1
    | {{ll|shelves}}
|-
    | 4
| rowspan="1"|classroom
    | 10.0
| [[counter]]
    |-
| 4
    | changeroom
| 1
    | {{ll|counter}}
|-
    | 4
| rowspan="1"|daycare
    | 10.0
| [[counter]]
    |-
| 4
    | classroom
| 1
    | {{ll|counter}}
|-
    | 4
| rowspan="1"|pharmacy
    | 10.0
| [[shelves]]
    |-
| 4
    | daycare
| 4
    | {{ll|counter}}
|-
    | 4
| rowspan="1"|prisoncells
    | 10.0
| [[wardrobe]]
    |-
| 4
    | pharmacy
| 1
    | {{ll|shelves}}
|}
    | 4
    | 4.0
    |-
    | prisoncells
    | {{ll|wardrobe}}
    | 4
    | 10.0
    |}
</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==
Line 73: Line 83:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 1496
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41.65
   | version = 41.78.16
   | code =
   | code =
item Soap2
item Soap2
{
    {
  DisplayCategory     = Household,
        DisplayCategory = Household,
  Type               = Drainable,
        Type             =         Drainable,
  UseDelta           = 0.05,
        UseDelta         =         0.05,
  UseWhileEquipped   = FALSE,
        UseWhileEquipped =           FALSE,
  DisplayName         = Soap,
        DisplayName =     Soap,
  Icon               = Soap,
        Icon = Soap,
  Weight             = 0.1,
        Weight = 0.1,
  cantBeConsolided    = TRUE,
        cantBeConsolided    =           TRUE,
  WorldStaticModel   = Soap,
        WorldStaticModel = Soap,
}
    }
  }}
}}
}}
}}


Line 98: Line 109:
*[[Health]]
*[[Health]]


{{Navbox equipment}}
{{Navbox items|household_equipment}}

Revision as of 16:39, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Soap
Soap Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Clean clothing
Properties
Contents
Soap
Capacity
20 units
Technical
Item ID
Base.Soap2

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
Vest White.png
Clothing (clean)
One of:
Soap.png Soap ×1 unit(s)
CleaningLiquid.png Cleaning Liquid ×1
Each of:
Vest White.png Clothing ×1
WaterDrop.png Water ×3 unit(s)
none none none none

Distribution

The loot distributions can be found in the table(s) below.

Soap2 distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bathroom counter 4 10.0
bathroom shelves 4 10.0
changeroom counter 4 10.0
classroom counter 4 10.0
daycare counter 4 10.0
pharmacy shelves 4 4.0
prisoncells wardrobe 4 10.0

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Soap2
    {
        DisplayCategory = Household,
        Type	            =	        Drainable,
        UseDelta	        =	        0.05,
        UseWhileEquipped	=           FALSE,
        DisplayName			=		    Soap,
        Icon				=			Soap,
        Weight				=			0.1,
        cantBeConsolided    =           TRUE,
        WorldStaticModel = Soap,
    }

See also