Toothpaste: Difference between revisions

From PZwiki
m (Removed Navbox(es) and added Navbox items)
m (Insert empty line above each {{Navbox}})
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
|item_id=Base.Toothpaste
|item_id=Base.Toothpaste
}}
}}
'''Toothpaste''' is currently a useless item, and often considered as ''junk''.
'''Toothpaste''' is currently a useless item, and often considered as ''junk''.


Line 20: Line 19:
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|Toothpaste|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
! Building/Room
    <div>Toothpaste distribution
! Container
        <span class="mw-customtoggle-togglebox-Toothpaste" 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-Toothpaste">
! 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="3"|bathroom  
    |+ {{ll|Containers}}
|[[counter]]
    ! Building / Room
|4  
    ! Container
|1
    ! Rolls
|-
    ! Chance
|[[medicine]]
    |-
|4  
    | all
|1
    | {{ll|junk}}
|-
    | 1
|[[shelves]]
    | 10.0
|4  
    |-
|1
    | bathroom
|-
    | {{ll|counter}}
|pharmacy  
    | 4
|[[shelves]]
    | 10.0
|4  
    |-
|4
    | bathroom
|-
    | {{ll|medicine}}
|prisoncells  
    | 4
|[[wardrobe]]
    | 10.0
|4  
    |-
|1
    | bathroom
|}
    | {{ll|shelves}}
    | 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-Toothpaste" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Toothpaste|41.78.16-->


==Code==
==Code==
Line 70: Line 86:
         Weight = 0.1,
         Weight = 0.1,
         WorldStaticModel = Toothpaste,
         WorldStaticModel = Toothpaste,
     }  
     }
}}
}}
}}
}}
Line 77: Line 93:
*[[Toothbrush]]
*[[Toothbrush]]
*[[Toilet Paper]]
*[[Toilet Paper]]
{{Navbox items|junk}}
{{Navbox items|junk}}

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

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

Usage

Toothpaste 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.

Toothpaste distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all junk 1 10.0
bathroom counter 4 10.0
bathroom medicine 4 10.0
bathroom shelves 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 Toothpaste
    {
        DisplayCategory = Junk,
        Type				=			Normal,
        DisplayName			=		    Toothpaste,
        Icon				=			Toothpaste,
        Weight				=			0.1,
        WorldStaticModel = Toothpaste,
    }

See also