Toilet Paper: Difference between revisions

From PZwiki
(3d model request tag)
m (Distribution table update)
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|version=Version 40|incver=43}}
{{Header|Project Zomboid|Items|Materials|First aid materials}}
{{Reupload}} <!-- Needs model image in infobox along with variants in a <gallery> section-->
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|display_name=Toilet Paper
|name=Toilet Paper
|name_colour=
|model=ToiletPaper_Model.png
|name_text_colour=
|icon=ToiletPaper.png
|model=ToiletPaper.png
|icon_name=Toilet Paper
|model_width=128px
|category=Junk
|weight=0.2
|weight=0.2
|function=[[Fuel]]<br> Muffle sneezes and coughs
|function=[[Fuel]]<br> Muffle [[Has a Cold|sneezes and coughs]]
|class_name=Base.ToiletPaper
|item_id=Base.ToiletPaper
}}'''Toilet paper''' was previously a useless {{T|item}}, and was often considered as ''junk''. It has since been updated to have uses.
}}
{{quote|text=Equip to mute sneezes and coughs.|author=In-game tooltip}}
'''Toilet paper''' is a miscellaneous [[Items|item]].


==Usage==
==Usage==
Toilet paper can be equipped in a player's secondary slot to muffle coughs and sneezes when suffering from a cold. It can also be placed or dropped for the purpose of clutter, creating more realism for the {{T|player}} when looting.  
Toilet paper can be equipped in a player's secondary slot to muffle coughs and sneezes when suffering from a cold. It can also be placed or dropped for the purpose of clutter, creating more realism for the {{ll|player}} when looting.


It serves a second purpose as fuel. With 32 sheets each having 12 minutes of burn time, the whole roll can sustain a fire for a total of 6 hours and 24 minutes when added as fuel, compared to 12 minutes when used to light fires, making it the lightest item to carry per burn time.  
It serves a second purpose as fuel. With 32 sheets each having 12 minutes of burn time, the whole roll can sustain a fire for a total of 6 hours and 24 minutes when added as fuel, compared to 12 minutes when used to light fires, making it the lightest item to carry per burn time.


==Distribution==
==Distribution==
Toilet paper can be found in bathrooms and [[vehicles]].  
The loot distributions can be found in the table(s) below.
A randomized house may spawn with every container (including the fridge and oven) containing toilet paper.
 
<!--BOT FLAG|ToiletPaper|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>ToiletPaper distribution
        <span class="mw-customtoggle-togglebox-ToiletPaper" 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-ToiletPaper">
    <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
    |-
    | all
    | {{ll|Outfit_Hobbo}}
    | 1
    | 10.0
    |-
    | bathroom
    | {{ll|counter}}
    | 4
    | 4.0
    |-
    | bathroom
    | {{ll|shelves}}
    | 4
    | 4.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | AmbulanceGloveBox
    | 1
    | 4
    |-
    | AmbulanceTruckBed
    | 4
    | 6
    |-
    | CarpenterGloveBox
    | 1
    | 4
    |-
    | CarpenterTruckBed
    | 4
    | 6
    |-
    | ClothingTruckBed
    | 4
    | 6
    |-
    | ConstructionWorkerGloveBox
    | 1
    | 4
    |-
    | ConstructionWorkerTruckBed
    | 4
    | 6
    |-
    | DistilleryGloveBox
    | 1
    | 4
    |-
    | DistilleryTruckBed
    | 4
    | 6
    |-
    | DoctorGloveBox
    | 1
    | 4
    |-
    | DoctorTruckBed
    | 4
    | 6
    |-
    | ElectricianGloveBox
    | 1
    | 4
    |-
    | ElectricianTruckBed
    | 4
    | 6
    |-
    | FarmerGloveBox
    | 1
    | 4
    |-
    | FarmerTruckBed
    | 4
    | 6
    |-
    | FireGloveBox
    | 1
    | 4
    |-
    | FireTruckBed
    | 4
    | 6
    |-
    | FishermanGloveBox
    | 1
    | 4
    |-
    | FishermanTruckBed
    | 4
    | 6
    |-
    | FossoilGloveBox
    | 1
    | 4
    |-
    | FossoilTruckBed
    | 4
    | 6
    |-
    | GloveBox
    | 1
    | 4
    |-
    | GolfGloveBox
    | 1
    | 4
    |-
    | GolfTruckBed
    | 4
    | 6
    |-
    | GroceriesTruckBed
    | 4
    | 6
    |-
    | HeraldsGloveBox
    | 1
    | 4
    |-
    | HeraldsTruckBed
    | 4
    | 6
    |-
    | HunterGloveBox
    | 1
    | 4
    |-
    | MassGenFacGloveBox
    | 1
    | 4
    |-
    | MassGenFacTruckBed
    | 4
    | 6
    |-
    | McCoyGloveBox
    | 1
    | 4
    |-
    | McCoyTruckBed
    | 4
    | 6
    |-
    | MetalWelderGloveBox
    | 1
    | 4
    |-
    | MetalWelderTruckBed
    | 4
    | 6
    |-
    | PainterGloveBox
    | 1
    | 4
    |-
    | PainterTruckBed
    | 4
    | 6
    |-
    | PoliceGloveBox
    | 1
    | 4
    |-
    | PoliceTruckBed
    | 4
    | 6
    |-
    | PostalGloveBox
    | 1
    | 4
    |-
    | PostalTruckBed
    | 4
    | 6
    |-
    | RadioGloveBox
    | 1
    | 4
    |-
    | RadioTruckBed
    | 4
    | 6
    |-
    | RangerGloveBox
    | 1
    | 4
    |-
    | RangerTruckBed
    | 4
    | 6
    |-
    | SpiffoGloveBox
    | 1
    | 4
    |-
    | SurvivalistGlovebox
    | 1
    | 4
    |-
    | SurvivalistTruckBed
    | 4
    | 6
    |-
    | TaxiGloveBox
    | 1
    | 4
    |-
    | TaxiTruckBed
    | 4
    | 6
    |-
    | TransitGloveBox
    | 1
    | 4
    |-
    | TransitTruckBed
    | 4
    | 6
    |-
    | TrunkHeavy
    | 4
    | 6
    |-
    | TrunkSports
    | 4
    | 6
    |-
    | TrunkStandard
    | 4
    | 6
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-ToiletPaper" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|ToiletPaper|41.78.16-->


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
{{Retrieved|version=40|incver=43}}
{{CodeSnip
<pre>
  | lang = java
item ToiletPaper
  | line = true
Weight = 0.2,
  | start = 751
Type = Normal,
  | source = newitems.txt
DisplayName = Toilet Paper,
  | retrieved = true
Icon = ToiletPaper,
  | version = 41.78.16
</pre>
  | code =
item ToiletPaper
    {
        DisplayCategory = Junk,
        Weight = 0.2,
        Type = Drainable,
        UseWhileEquipped = FALSE,
        DisplayName = Toilet Paper,
        Icon = ToiletPaper,
        Tooltip = Tooltip_tissue_tooltip,
        ConsolidateOption = ContextMenu_Merge,
        WorldStaticModel = ToiletPaper,
    }
}}
}}


==See also==
==See also==
*[[Toothbrush]]
*[[Toothbrush]]
*[[Toothpaste]]
*[[Toothpaste]]
{{Navbox items|junk}}
[[Category:Materials]]
[[Category:Junk]]

Revision as of 16:52, 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]
Toilet Paper
ToiletPaper Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
Technical
Item ID
Base.ToiletPaper
Equip to mute sneezes and coughs.
— In-game tooltip

Toilet paper is a miscellaneous item.

Usage

Toilet paper can be equipped in a player's secondary slot to muffle coughs and sneezes when suffering from a cold. It can also be placed or dropped for the purpose of clutter, creating more realism for the player when looting.

It serves a second purpose as fuel. With 32 sheets each having 12 minutes of burn time, the whole roll can sustain a fire for a total of 6 hours and 24 minutes when added as fuel, compared to 12 minutes when used to light fires, making it the lightest item to carry per burn time.

Distribution

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

ToiletPaper distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Outfit_Hobbo 1 10.0
bathroom counter 4 4.0
bathroom shelves 4 4.0
Vehicles
Vehicle Type/Location Rolls Chance
AmbulanceGloveBox 1 4
AmbulanceTruckBed 4 6
CarpenterGloveBox 1 4
CarpenterTruckBed 4 6
ClothingTruckBed 4 6
ConstructionWorkerGloveBox 1 4
ConstructionWorkerTruckBed 4 6
DistilleryGloveBox 1 4
DistilleryTruckBed 4 6
DoctorGloveBox 1 4
DoctorTruckBed 4 6
ElectricianGloveBox 1 4
ElectricianTruckBed 4 6
FarmerGloveBox 1 4
FarmerTruckBed 4 6
FireGloveBox 1 4
FireTruckBed 4 6
FishermanGloveBox 1 4
FishermanTruckBed 4 6
FossoilGloveBox 1 4
FossoilTruckBed 4 6
GloveBox 1 4
GolfGloveBox 1 4
GolfTruckBed 4 6
GroceriesTruckBed 4 6
HeraldsGloveBox 1 4
HeraldsTruckBed 4 6
HunterGloveBox 1 4
MassGenFacGloveBox 1 4
MassGenFacTruckBed 4 6
McCoyGloveBox 1 4
McCoyTruckBed 4 6
MetalWelderGloveBox 1 4
MetalWelderTruckBed 4 6
PainterGloveBox 1 4
PainterTruckBed 4 6
PoliceGloveBox 1 4
PoliceTruckBed 4 6
PostalGloveBox 1 4
PostalTruckBed 4 6
RadioGloveBox 1 4
RadioTruckBed 4 6
RangerGloveBox 1 4
RangerTruckBed 4 6
SpiffoGloveBox 1 4
SurvivalistGlovebox 1 4
SurvivalistTruckBed 4 6
TaxiGloveBox 1 4
TaxiTruckBed 4 6
TransitGloveBox 1 4
TransitTruckBed 4 6
TrunkHeavy 4 6
TrunkSports 4 6
TrunkStandard 4 6

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 ToiletPaper
    {
        DisplayCategory = Junk,
        Weight	=	0.2,
        Type	=	Drainable,
        UseWhileEquipped	=	FALSE,
        DisplayName	=	Toilet Paper,
        Icon	=	ToiletPaper,
        Tooltip = Tooltip_tissue_tooltip,
        ConsolidateOption = ContextMenu_Merge,
        WorldStaticModel = ToiletPaper,
    }

See also