School Bag: Difference between revisions

From PZwiki
m (clean up, replaced: wikitable → pztable (2))
m (Version bump)
 
(29 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Schoolbag}}
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers|type=Baggage}}
{{header|The Game World|Items|Baggage|type=Baggage|version=Version 40|incver=6}}{{Infobox container
{{Page version|41.78.16}}
| display_name = Schoolbag
{{Infobox item
| name_colour = Container
|name=School Bag
| name_text_colour = Container
|model=SchoolBag_Blue_Model.png
| image = Backpack_120px.png
|icon=Backpack_Blue.png
| category = Container
|icon_name=School Bag (blue)
| weight = 0.5
|model2=SchoolBag_Black_Model.png
| equipped = Back
|icon2=Backpack_Black.png
| capacity = 15
|icon_name2=School Bag (black)
| weight_reduction = 60
|model3=SchoolBag_Spiffo_Model.png
| class_name = Base.Schoolbag
|icon3=Backpack_Spiffo.png
}}A '''schoolbag''' is a container [[item]].
|icon_name3=School Bag (Spiffo)
<!--GENERAL-->
|category=Container
|weight=1.0
|equipped=Back
|capacity=15
|weight_reduction=60
|run_speed=0.97
<!--TECHNICAL DETAILS-->
|item_id=Base.Bag_Schoolbag
}}
 
A '''school bag''' is a container [[Items|item]]. The school bag has blue, black and Spiffo variants.


==Overview==
==Overview==
When starting a new game, if the player chooses the [[Game Modes#Easy|easy]] or [[Game Modes#Normal|normal]] starting difficulty, they will spawn with a schoolbag. During the [[Game Modes#Custom Sandbox|custom sandbox]] setup, choosing the "[[Game Modes#Character|starter kit]]" option will also spawn the [[player]] with a schoolbag.
When starting a new game, if the player chooses the [[Game Modes#Easy|easy]] or [[Game Modes#Normal|normal]] starting difficulty, they will spawn with a school bag. During the [[Game Modes#Custom Sandbox|custom sandbox]] setup, choosing the "[[Game Modes#Character|starter kit]]" option will also spawn the [[player]] with a school bag.


==Usage==
==Usage==
A schoolbag can be equipped on the back. Although it is the most common of the bags that can be equipped on the back, it also has the lowest capacity and weight reduction.  
A school bag can be equipped on the back. Although it is the most common of the bags that can be equipped on the back, it also has the lowest capacity and encumbrance reduction.


'''Schoolbags can spawn with:'''
{{Outdated|section=true}}
'''School bags can spawn with ([[build 40]]):'''
{|
{|
|[[File:Pen.png|link=Pen]] || [[Pen]]
|[[File:Pen.png|link=Pen]] || [[Pen]]
Line 33: Line 46:
|[[File:Scissors.png|link=Scissors]] || [[Scissors]]
|[[File:Scissors.png|link=Scissors]] || [[Scissors]]
|-
|-
|[[File:Cigarettes.png|link=Cigarettes]] || [[Cigarettes]]
|[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]]
|-
|-
|[[File:Cube.png|link=Cube]] || [[Cube]]
|[[File:Cube.png|link=Cube]] || [[Cube]]
Line 41: Line 54:


==Distribution==
==Distribution==
===Buildings===
The loot distributions can be found in the table(s) below.
{| class="pztable" style="text-align:center;"
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|-
!Building/Room
|bedroom
!Container
|[[wardrobe]]
!Rolls
|4
!Chance
|0.5
|-
|-
|rowspan="5"|All
|rowspan="2"|bookstore
|[[Containers#Displays|Clothing Rack]]
|[[counter]]  
|3
|4
|3
|8
|-
|-
<!--|All-->
|[[counter]]  
|[[Containers#Lockers|Locker]]
|4
|2
|8
|3
|-
|-
<!--|All-->
|rowspan="2"|camping
|[[Containers#Corpse|Male Corpse]]
|[[counter]]  
|4
|1
|1
|0.1
|-
|-
<!--|All-->
|[[counter]]  
|[[Containers#Corpse|Female Corpse]]
|4
|1
|1
|0.1
|-
|-
<!--|All-->
|closet
|[[Containers#Bedrooms Storage|Wardrobe]]
|[[metal_shelves]]  
|4
|4  
|3
|0.5
|-
|-
|Bedroom
|rowspan="4"|generalstore
|[[Containers#Bedrooms Storage|Wardrobe]]
|[[shelves]]  
|2
|4
|3
|1
|-
|-
|Changeroom
|[[shelves]]  
|[[Containers#Lockers|Locker]]
|4
|3
|1
|3
|-
|-
|rowspan="2"|Clothes Store
|[[shelves]]  
|[[Containers#Shelves|Shelves]]
|4
|3
|2
|3
|-
<!--|Clothes Store-->
|[[Containers#Displays|Clothing Rack]]
|3
|3
|-
|Department Store
|[[Containers#Shelves|Shelves]]
|3
|3
|-
|-
|Laundromat
|[[shelves]]  
|[[Containers#Counters|Counter]]
|4
|3
|2
|2
|-
|-
|Motel Room
|rowspan="2"|hall
|[[Containers|Other]]
|[[locker]]  
|4
|2
|2
|0.1
|-
|Mechanic
|[[Containers#Lockers|Metal Locker]]
|3
|1
|-
|-
|Motel Room (occupied)
|[[locker]]  
|[[Containers|Other]]
|4
|2
|2
|0.3
|-
|rowspan="2"|Sport Store
|[[Containers#Shelves|Shelves]]
|3
|3
|-
<!--|Sport Store-->
|[[Containers#Displays|Clothing Rack]]
|3
|3
|-
|Sport Storage
|[[Containers#Shelves|Metal Shelves]]
|3
|3
|-
|}
|}


===Vehicles===
==Gallery==
{| class="pztable" style="text-align:center;"
<gallery style="image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor">
|-
Backpack.png|Icon prior to [[build 41]].
!Profession
</gallery>
!Container
!Rolls
!Chance
|-
|All
|[[Trunk]]
|2
|2
|-
|Clothing
|[[Trunk]]
|2
|2
|-
|Taxi
|[[Trunk]]
|3
|3
|-
|}


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=6}}
| {{CodeSnip
<pre> item Schoolbag
  | lang = java
WeightReduction = 60,
  | line = true
Weight         = 0.5,
  | start = 25
Type         = Container,
  | source = clothing_bags.txt
Capacity = 15,
  | retrieved = true
DisplayName = Schoolbag,
  | version = 41.78.16
Icon         = Backpack,
  | code =
CanBeEquipped = Back,
item Bag_Schoolbag
OpenSound = PZ_OpenBag,
    {
CloseSound = PZ_CloseBag,
        DisplayCategory = Bag,
PutInSound = PZ_PutInBag,</pre>
        WeightReduction = 60,
        Weight = 1,
        Type = Container,
        Capacity = 15,
        DisplayName = School Bag,
         IconsForTexture = Backpack_Black;Backpack_Blue;Backpack_Spiffo,
        CanBeEquipped = Back,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =  PutItemInBag,
        ClothingItem = Bag_SchoolBag,
        BloodLocation = Bag,
        RunSpeedModifier = 0.97,
        AttachmentReplacement = Bag,
        ReplaceInSecondHand = Bag_Schoolbag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Schoolbag_RHand holdingbagright,
        WorldStaticModel = SchoolBag_Ground,
        SoundParameter = EquippedBaggageContainer SchoolBag,
    }
}}
}}


==See also==
==See also==
* [[Big Hiking Bag]]
*[[Big Hiking Bag]]
* [[Normal Hiking Bag]]
*[[Hiking Bag]]
* [[Duffelbag]]
*[[Duffel Bag]]
*[[Satchel]]


{{Navbox/Baggage}}
{{Navbox equipment|containers}}

Latest revision as of 08:38, 28 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
School Bag
SchoolBag Blue Model.png
SchoolBag Black Model.png
SchoolBag Spiffo Model.png
General
Category
Container
Encumbrance
Moodle Icon HeavyLoad.png
1.0 (empty)
6.3 (full)
Equipped
Back
Properties
Capacity
15
Run speed
97% (disabled)
Technical
Item ID
Base.Bag_Schoolbag

A school bag is a container item. The school bag has blue, black and Spiffo variants.

Overview

When starting a new game, if the player chooses the easy or normal starting difficulty, they will spawn with a school bag. During the custom sandbox setup, choosing the "starter kit" option will also spawn the player with a school bag.

Usage

A school bag can be equipped on the back. Although it is the most common of the bags that can be equipped on the back, it also has the lowest capacity and encumbrance reduction.

AppleRotten.png
This section may be outdated.
Editors are encouraged to update this section with new information.

School bags can spawn with (build 40):

Pen.png Pen
Blue Pen Blue Pen
Red Pen Red Pen
Pencil.png Pencil
RubberBand.png Rubber Band
Scissors.png Scissors
IckySticks.png Cigarettes
Cube.png Cube
Book.png Book

Distribution

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

Containers
Building/Room Container Rolls Chance
bedroom wardrobe 4 0.5
bookstore counter 4 8
counter 4 8
camping counter 4 1
counter 4 1
closet metal_shelves 4 0.5
generalstore shelves 4 1
shelves 4 1
shelves 4 2
shelves 4 2
hall locker 4 2
locker 4 2

Gallery

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 Bag_Schoolbag
    {
        DisplayCategory = Bag,
        WeightReduction	=	60,
        Weight	=	1,
        Type	=	Container,
        Capacity	=	15,
        DisplayName	=	School Bag,
        IconsForTexture = Backpack_Black;Backpack_Blue;Backpack_Spiffo,
        CanBeEquipped = Back,
        OpenSound   =   OpenBag,
        CloseSound   =   CloseBag,
        PutInSound   =   PutItemInBag,
        ClothingItem = Bag_SchoolBag,
        BloodLocation = Bag,
        RunSpeedModifier = 0.97,
        AttachmentReplacement = Bag,
        ReplaceInSecondHand = Bag_Schoolbag_LHand holdingbagleft,
        ReplaceInPrimaryHand = Bag_Schoolbag_RHand holdingbagright,
        WorldStaticModel = SchoolBag_Ground,
        SoundParameter = EquippedBaggageContainer SchoolBag,
    }

See also