Sponge: Difference between revisions

From PZwiki
(→‎Code: CodeBox update)
m (Distribution table update)
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{header/sandbox2|Project Zomboid|Items|Miscellaneous items|Household items}}
{{Page version|41.78.16}}
{{page version|40.43}}
{{Infobox item
{{Infobox item
| display_name = Sponge
|name=Sponge
| model = Sponge_Model.png
|model=Sponge_Model.png
| icon = Sponge.png
|icon=Sponge.png
| weight = 0.1
|weight=0.1
| function = ''None''
|function=''None''
| class_name = Base.Sponge
|item_id=Base.Sponge
}}A '''sponge''' is currently a useless {{T|item}}, and often considered as ''junk''.
}}
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==
Line 21: Line 70:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 731
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40
   | version = 41.78.16
  | incver = 43
   | code =
   | code =
item Sponge
item Sponge
{
    {
  Weight             = 0.1,
        DisplayCategory = Household,
  Type               = Normal,
        Weight = 0.1,
  DisplayName        = Sponge,
        Type = Normal,
  Icon                = Sponge,
        DisplayName = Sponge,
}
         Icon = Sponge,
  }}
        WorldStaticModel = Sponge,
    }
}}
}}
}}


Line 40: Line 91:
*[[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