Tote Bag: Difference between revisions

From PZwiki
(→‎Code: CodeBox update)
m (Remove lines))
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Baggage|type=Baggage|version=Version 41|incver=73}}{{Infobox container
{{Header|Project Zomboid|Items|Equipment|Container items|Handheld containers|type=Baggage}}
|display_name=Tote Bag
{{Page version|41.78.16}}
|name_colour=Container
{{Infobox item
|name_text_colour=Container
|name=Tote Bag
|image=ToteBag_Model.png
|model=ToteBag_Model.png
|alternate_image=Tote.png
|icon=Tote.png
|alternate_name=Tote Bag
|icon_name=Tote Bag
|category=Container
|category=Container
|weight=0.5
|weight=0.5
Line 11: Line 11:
|capacity=12
|capacity=12
|weight_reduction=50
|weight_reduction=50
|class_name=Base.Tote
|item_id=Base.Tote
}}A '''tote bag''' is a common container item.
}}
A '''tote bag''' is a common container item.


==Usage==
==Usage==
A tote bag has a poor capacity and above average weight reduction. It can be found in the [[Containers#Counters|counters]] of almost every store, making it one of the best substitutes until a [[backpack]] is found. However, it does not reduce movement speed. It must be equipped in either the primary or secondary hand to be accessed and can usually be dropped if a [[backpack]] is found. After obtaining a backpack, if you have spare weight capacity,  
A tote bag has a poor capacity and above average weight reduction. It can be found in the [[Containers#Counters|counters]] of almost every store, making it one of the best substitutes until a [[backpack]] is found. However, it does not reduce movement speed. It must be equipped in either the primary or secondary hand to be accessed and can usually be dropped if a [[backpack]] is found. After obtaining a backpack, if you have spare weight capacity,
are using a one-handed weapon, and want more storage without hindering movement speed, keeping a Tote Bag is another option.
are using a one-handed weapon, and want more storage without hindering movement speed, keeping a Tote Bag is another option.


Line 24: Line 25:


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


===Buildings===
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
{| class="wikitable theme-red" style="text-align:center;"
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
!Rolls
! style="width: 3.2em;" | Rolls
!Chance
! style="width: 3.2em;" | Chance
|-
|-
|rowspan="2"|All
|rowspan="5"|artstore
|[[Containers#Corpse|Male Corpse]]
|[[counter]]
|4
|1
|1
|0.1
|-
|-
<!--|All-->
|[[counter]]
|[[Containers#Corpse|Female Corpse]]
|4
|1
|1
|0.1
|-
|-
|Clothes Store
|[[counter]]
|[[Containers#Counters|Counter]]
|4
|3
|2
|5 (x4)
|-
|-
|Furniture Store
|[[counter]]
|[[Containers#Counters|Counter]]
|4
|3
|2
|5 (x4)
|-
|-
|rowspan="3"|Gift Store
|[[counter]]
|[[Containers#Shelves|Shelf]]
|3
|4
|4
|5
|-
|-
<!--|Gift Store -->
|rowspan="4"|bookstore
|[[Containers#Displays|Display Case]]
|[[counter]]
|3
|4
|4
|1
|-
|-
<!--|Gift Store -->
|[[counter]]
|[[Containers#Counters|Counter]]
|4
|3
|1
|5 (x4)
|-
|-
|Hall
|[[counter]]
|[[Containers#Counters|Counter]]
|4
|3
|2
|6 (x4)
|-
|-
|Kitchen
|[[counter]]
|[[Containers#Counters|Counter]]
|4
|2
|2
|1
|-
|-
|Spiffo's Kitchen
|drugshack
|[[Containers#Counters|Counter]]
|[[counter]]
|6
|4
|1 (x3)
|4
|-
|Pile-o-crepe Kitchen
|[[Containers#Counters|Counter]]
|6
|1 (x3)
|-
|Shoe Store
|[[Containers#Counters|Counter]]
|3
|5 (x4)
|-
|Sport Store
|[[Containers#Counters|Counter]]
|3
|5 (x4)
|-
|Sport Storage
|[[Containers#Counters|Counter]]
|3
|5
|-
|Sewing Store
|[[Containers#Counters|Counter]]
|3
|5 (x2)
|-
|-
|kitchen
|[[counter]]
|4
|4
|}
|}


Line 129: Line 103:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
   | start =  
   | start = 308
   | source = newitems.txt
   | source = clothing_bags.txt
   | retrieved = true
   | retrieved = true
   | version = 40
   | version = 41.78.16
  | incver = 6
   | code =
   | code =
item Tote
item Tote
{
{
  WeightReduction   = 50,
    DisplayCategory = Container,
  Weight           = 0.5,
WeightReduction = 50,
  Type             = Container,
Weight = 0.5,
  Capacity         = 12,
Type = Container,
  DisplayName       = Tote Bag,
Capacity = 12,
  Icon             = Tote,
DisplayName = Tote Bag,
}
Icon = Tote,
  }}
        OpenSound  =  OpenBag,
        CloseSound  =  CloseBag,
        PutInSound  =  PutItemInBag,
ReplaceInSecondHand = Bag_Tote_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Tote_RHand holdingbagright,
        WorldStaticModel = TotesBag_Ground,
        SoundParameter = EquippedBaggageContainer ToteBag,
}
}}
}}
}}


Line 152: Line 133:
*[[Plastic Bag]]
*[[Plastic Bag]]


{{Navbox equipment}}
{{Navbox items|containers}}

Revision as of 07:35, 15 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]
Tote Bag
ToteBag Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
0.5 (empty)
6.15 (full)
Equipped
One-handed
Properties
Capacity
12
Technical
Item ID
Base.Tote

A tote bag is a common container item.

Usage

A tote bag has a poor capacity and above average weight reduction. It can be found in the counters of almost every store, making it one of the best substitutes until a backpack is found. However, it does not reduce movement speed. It must be equipped in either the primary or secondary hand to be accessed and can usually be dropped if a backpack is found. After obtaining a backpack, if you have spare weight capacity, are using a one-handed weapon, and want more storage without hindering movement speed, keeping a Tote Bag is another option.

Tote bags can spawn with:

Plasticbag.png Plastic Bag

Distribution

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

Containers
Building/Room Container Rolls Chance
artstore counter 4 1
counter 4 1
counter 4 2
counter 4 2
counter 4 5
bookstore counter 4 1
counter 4 1
counter 4 2
counter 4 2
drugshack counter 4 4
kitchen counter 4 4

Vehicles

Profession Container Rolls Chance
All Trunk 2 3

Code

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

Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt

Retrieved: Build 41.78.16
item Tote
	{
	    DisplayCategory = Container,
		WeightReduction	=	50,
		Weight	=	0.5,
		Type	=	Container,
		Capacity	=	12,
		DisplayName	=	Tote Bag,
		Icon	=	Tote,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
		ReplaceInSecondHand = Bag_Tote_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Tote_RHand holdingbagright,
        WorldStaticModel = TotesBag_Ground,
        SoundParameter = EquippedBaggageContainer ToteBag,
	}

See also