Sponge: Difference between revisions

From PZwiki
m (added model)
m (Distribution table update)
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|version=Version 40|incver=43}}{{Infobox item
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
| display_name = Sponge
{{Page version|41.78.16}}
| model = Sponge_Model.png
{{Infobox item
| icon = Sponge.png
|name=Sponge
| weight = 0.1
|model=Sponge_Model.png
| function = ''None''
|icon=Sponge.png
| class_name = Base.Sponge
|weight=0.1
}}A '''sponge''' is currently a useless {{T|item}}, and often considered as ''junk''.
|function=''None''
|item_id=Base.Sponge
}}
A '''sponge''' is currently a useless [[Items|item]], and often considered as ''junk''.


==Usage==
==Usage==
A sponge has no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
A sponge cannot be used to clean the blood and has no use, being added purely for the purpose of clutter, creating more realism for the [[player]] when looting.


==Distribution==
==Distribution==
Sponges can be found in kitchens.  
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|Sponge|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>Sponge distribution
        <span class="mw-customtoggle-togglebox-Sponge" 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-Sponge">
    <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
    |-
    | armysurplus
    | {{ll|counter}}
    | 1
    | 10.0
    |-
    | classroom
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | daycare
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | gasstorage
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | kitchen
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | laundry
    | {{ll|counter}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Sponge" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Sponge|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre>
  | lang = java
item Sponge
  | line = true
Weight = 0.1,
  | start = 731
Type = Normal,
  | source = newitems.txt
DisplayName = Sponge,
  | retrieved = true
Icon = Sponge,
  | version = 41.78.16
</pre>
  | code =
item Sponge
    {
        DisplayCategory = Household,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Sponge,
        Icon = Sponge,
        WorldStaticModel = Sponge,
    }
}}
}}


==See also==
==See also==
*[[Toothbrush]]
*[[Toothbrush]]
*[[Toilet Paper]]
*[[Toilet Paper]]
{{Navbox items|household_equipment}}

Revision as of 16:42, 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]
Sponge
Sponge Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.Sponge

A sponge is currently a useless item, and often considered as junk.

Usage

A sponge cannot be used to clean the blood and has no use, being added purely for the purpose of clutter, creating more realism for the player when looting.

Distribution

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

Sponge distribution Show / Hide
Containers
Building / Room Container Rolls Chance
armysurplus counter 1 10.0
classroom counter 4 10.0
daycare counter 4 10.0
gasstorage counter 4 10.0
kitchen counter 4 10.0
laundry counter 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 Sponge
    {
        DisplayCategory = Household,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Sponge,
        Icon	=	Sponge,
        WorldStaticModel = Sponge,
    }

See also