Tent Kit: Difference between revisions

From PZwiki
(added code section)
m (Distribution table fix)
 
(39 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Languages|Tent Kit}}
{{Header|Project Zomboid|Items|Construction}}
{{header|The Game World|Items|Construction|type=Construction|version=Version 39|incver=67.5}}{{Infobox normal
{{Page version|41.78.16}}
|display_name=Tent Kit
{{Infobox item
|name_colour=Construction
|name=Tent Kit
|name_text_colour=Construction
|model=TentKit_Model.png
|image=TZ_TentKit.png
|icon=TZ_TentKit.png
|alternate_image=Tent.png
|model2=Tent.png
|alternate_name=Tent
|icon2=Tent.png
|alternate_link=Tent
|icon_name=Tent Kit
|category=Camping
|weight=3
|weight=3
|class_name=Base.CampingTentKit
|function=Construct [[tent]]
|item_id=Base.CampingTentKit
}}
}}
A '''tent kit''' is a camping kit used to place a [[tent]] in any location.
A '''tent kit''' is a camping kit used to place a tent in any location.


==Usage==
==Usage==
Used to build a [[tent]] for sleeping. Must be in your primary slot before use.
Used to build a [[tent]] for sleeping.


The tent can be placed anywhere. Simply right-click the floor and click the 'Put up tent' option in the menu if the tent is in the characters main inventory. When the tent is built, it will be a structure of dimensions 2x1x1 where you can sleep.
The tent can be placed anywhere. Simply right-click the floor and click the 'Put up tent' option in the menu if the tent is in the characters main inventory. When the tent is built, it will be a structure of dimensions 2x1x1 where you can sleep with an average bed quality.
A good place to build a tent is on the roof of a warehouse or warehouse-like building which have secure roofs.


== Crafting ==
==Crafting==
The tent kit is involved in the following recipes:
{{Crafting/sandbox2
|tent_kit
|tent_kit2
}}
<small>''[[Tent Peg|Tent pegs]] are found primarily in warehouses. [[Sturdy Stick|Sturdy sticks]] can be made by [[Saw|sawing]] [[plank]]s''.</small>


{{Crafting table header}}
===Construction===
{{RecipeLookup|4011}}
{{Crafting/sandbox2
{{Crafting table footer}}
|tent
}}


Tent pegs are found primarily in warehouses. Sticks can be made by sawing planks.  
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|CampingTentKit|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>CampingTentKit distribution
        <span class="mw-customtoggle-togglebox-CampingTentKit" 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-CampingTentKit">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | armysurplus
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | armysurplus
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | armysurplus
    | {{ll|shelves}}
    | 23.28%
    |-
    | armysurplus
    | {{ll|shelves}}
    | 41.14%
    |-
    | bedroom
    | {{ll|crate}}
    | 0.47%
    |-
    | camping
    | {{ll|counter}}
    | 23.28%
    |-
    | camping
    | {{ll|counter}}
    | 41.14%
    |-
    | camping
    | {{ll|shelves}}
    | 23.28%
    |-
    | camping
    | {{ll|shelves}}
    | 41.14%
    |-
    | campingstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | campingstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | closet
    | {{ll|crate}}
    | 0.47%
    |-
    | closet
    | {{ll|crate}}
    | 3.98%
    |-
    | closet
    | {{ll|crate}}
    | 6.29%
    |-
    | fishingstorage
    | {{ll|counter}}
    | 23.28%
    |-
    | fishingstorage
    | {{ll|counter}}
    | 41.14%
    |-
    | fishingstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | fishingstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | fishingstorage
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | fishingstorage
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | fishingstorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | fishingstorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | garagestorage
    | {{ll|crate}}
    | 0.47%
    |-
    | garagestorage
    | {{ll|crate}}
    | 3.98%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.29%
    |-
    | hunting
    | {{ll|counter}}
    | 23.28%
    |-
    | hunting
    | {{ll|counter}}
    | 41.14%
    |-
    | pawnshop
    | {{ll|crate}}
    | 23.28%
    |-
    | pawnshop
    | {{ll|crate}}
    | 41.14%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | pawnshop
    | {{ll|metal_shelves}}
    | 41.14%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 23.28%
    |-
    | pawnshop
    | {{ll|shelves}}
    | 41.14%
    |-
    | storageunit
    | {{ll|crate}}
    | 0.47%
    |-
    | storageunit
    | {{ll|crate}}
    | 3.98%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.29%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 0.47%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 3.98%
    |}
</div>
    </div><div style="clear: both;"></div>
    {| class="wikitable theme-red" style="width: 98%;"
    |+ {{ll|Foraging}}
    ! rowspan="2" | Amount
    ! rowspan="2" | Skill level
    ! rowspan="2" | Biomes
    ! colspan="4" style="text-align: center;" | Weather modifiers
    ! colspan="3" style="text-align: center;" | Month modifiers
    |-
    ! Snow
    ! Rain
    ! Day
    ! Night
    ! Months available
    ! Bonus months
    ! Malus months
    |-
    | ---
    | 2
    | DeepForest  10
    | -
    | -
    | -
    | -
    | -
    | -
    | -
    |}
    </div></div><div class="toggle large mw-customtoggle-togglebox-CampingTentKit" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CampingTentKit|41.78.16-->


==Code==
==Code==
'''''From camping.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|[[File:TZ_TentKit.png]] {{ID|Base.CampingTentKit}}<br>
{{Retrieved|version=39|incver=67.5}}
{{CodeSnip
<nowiki> item CampingTentKit
  | lang = java
Type = Normal,
  | line = true
DisplayName = Tent Kit,
  | start = 61
Icon = TZ_TentKit,
  | source = camping.txt
Weight = 3.0,</nowiki>
  | retrieved = true
  | version = 41.78.16
  | code =
item CampingTentKit
{
    DisplayCategory = Camping,
Type = Normal,
DisplayName = Tent Kit,
Icon = TZ_TentKit,
Weight = 3.0,
WorldStaticModel  = CampingTentKit_Ground,
}
}}
 
[[File:Tent.png]] {{ID|Base.CampingTent}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 52
  | source = camping.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item CampingTent
{
    DisplayCategory = Camping,
Type = Normal,
DisplayName = Tent,
Icon = TZ_Tent,
Weight = 3.0,
}
}}
}}


==See also==
==See also==
* [[Tent peg]]
*[[Tent peg]]
* [[Tent]]
*[[Tarp]]
* [[Tarp]]
 
{{Navbox items|survival}}
 


{{Navbox/Construction}}


[[Category:Camping]]
[[Category:Camping]]
[[Category:Spiffo's Construction Crew (Project)]]

Latest revision as of 19:48, 30 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]
Tent Kit
TentKit Model.png
Tent.png
General
Category
Camping
Encumbrance
Moodle Icon HeavyLoad.png
3
Function
Construct tent
Technical
Item ID
Base.CampingTentKit

A tent kit is a camping kit used to place a tent in any location.

Usage

Used to build a tent for sleeping.

The tent can be placed anywhere. Simply right-click the floor and click the 'Put up tent' option in the menu if the tent is in the characters main inventory. When the tent is built, it will be a structure of dimensions 2x1x1 where you can sleep with an average bed quality.

Crafting

Product Ingredients Tools Requirements Workstation XP
TZ TentKit.png
Tent Kit
TentMaterial.png Tarp ×1
TZ TentPeg.png Tent Peg ×4
TZ WoodenStick.png Sturdy Stick ×2
none none none none
TZ TentKit.png
Tent Kit
TentMaterial.png Tarp ×1
Stake.png Stake ×4
TZ WoodenStick.png Sturdy Stick ×2
none none none none

Tent pegs are found primarily in warehouses. Sturdy sticks can be made by sawing planks.

Construction

Product Ingredients Tools Requirements Workstation XP
Tent.png
Tent
TZ TentKit.png Tent Kit ×1 none none none none

Distribution

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

CampingTentKit distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
armysurplus metal_shelves 23.28%
armysurplus metal_shelves 41.14%
armysurplus shelves 23.28%
armysurplus shelves 41.14%
bedroom crate 0.47%
camping counter 23.28%
camping counter 41.14%
camping shelves 23.28%
camping shelves 41.14%
campingstorage crate 23.28%
campingstorage crate 41.14%
closet crate 0.47%
closet crate 3.98%
closet crate 6.29%
fishingstorage counter 23.28%
fishingstorage counter 41.14%
fishingstorage crate 23.28%
fishingstorage crate 41.14%
fishingstorage metal_shelves 23.28%
fishingstorage metal_shelves 41.14%
fishingstorage shelves 23.28%
fishingstorage shelves 41.14%
garagestorage crate 0.47%
garagestorage crate 3.98%
garagestorage crate 6.29%
hunting counter 23.28%
hunting counter 41.14%
pawnshop crate 23.28%
pawnshop crate 41.14%
pawnshop metal_shelves 23.28%
pawnshop metal_shelves 41.14%
pawnshop shelves 23.28%
pawnshop shelves 41.14%
storageunit crate 0.47%
storageunit crate 3.98%
storageunit crate 6.29%
storageunit metal_shelves 0.47%
storageunit metal_shelves 3.98%
Foraging
Amount Skill level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
--- 2 DeepForest 10 - - - - - - -

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

TZ TentKit.png Base.CampingTentKit
Source: ProjectZomboid\media\scripts\camping.txt

Retrieved: Build 41.78.16
item CampingTentKit
	{
	    DisplayCategory = Camping,
		Type				=		Normal,
		DisplayName			=	 Tent Kit,
		Icon				=		TZ_TentKit,
		Weight				=		3.0,
		WorldStaticModel  = CampingTentKit_Ground,
	}

Tent.png Base.CampingTent
Source: ProjectZomboid\media\scripts\camping.txt

Retrieved: Build 41.78.16
item CampingTent
	{
	    DisplayCategory = Camping,
		Type				=		Normal,
		DisplayName			=	 Tent,
		Icon				=		TZ_Tent,
		Weight				=		3.0,
	}

See also