Soap: Difference between revisions

From PZwiki
m (Added model image)
m (Distribution table update)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|type=Tool|version=Version 40|incver=43}}{{Infobox drainable
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
|display_name=Soap
{{Page version|41.78.16}}
|name_colour=Tool
{{Infobox item
|name_text_colour=Tool
|name=Soap
|image=Soap_Model.png
|model=Soap_Model.png
|alternate_image=Soap.png
|icon=Soap.png
|alternate_name=Soap
|icon_name=Soap
|weight=0.1
|weight=0.1
|primary_use=Clean [[clothing]]
|primary_use=Clean [[clothing]]
|max_units=20
|max_units=20
|contents=Soap
|contents=Soap
|class_name=Base.Soap2
|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 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.  
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 header|ing=3}}
{{Crafting/sandbox2
{{Crafting general|024|ing=3}}
|clothing_(clean)
|}
}}


==Distribution==
==Distribution==
Soap can generally be found in bathroom [[Containers#Counters|counters]] and [[Containers#Medicine Cabinet|medicine cabinets]].
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">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | changeroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | classroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | daycare
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | pharmacy
    | {{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==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=65}}
| {{CodeSnip
<pre>
  | lang = java
item Soap2
  | line = true
DisplayCategory = Household,
  | start = 1496
Type = Drainable,
  | source = newitems.txt
UseDelta = 0.05,
  | retrieved = true
UseWhileEquipped = FALSE,
  | version = 41.78.16
DisplayName = Soap,
  | code =
Icon = Soap,
item Soap2
Weight = 0.1,
    {
cantBeConsolided = TRUE,
        DisplayCategory = Household,
WorldStaticModel = Soap,
        Type             =         Drainable,
</pre>
        UseDelta         =         0.05,
        UseWhileEquipped =           FALSE,
        DisplayName =     Soap,
        Icon = Soap,
        Weight = 0.1,
        cantBeConsolided   =           TRUE,
        WorldStaticModel = Soap,
    }
}}
}}


==See also==
==See also==
Line 45: Line 109:
*[[Health]]
*[[Health]]


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

Latest 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