School Bag: Difference between revisions

From PZwiki
mNo edit summary
(Update distribution file)
 
(36 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers|type=Baggage}}
{{languages|Schoolbag}}
{{Page version|41.78.16}}
{{header|The Game World|Items|Baggage|type=Baggage|version=Version 39|incver=52}}{{Baggage
{{Infobox item
| display_name = Schoolbag
|name=School Bag
| image = Backpack_120px.png
|model=SchoolBag_Blue_Model.png
| equippable = Back
|icon=Backpack_Blue.png
| weight = 0.5
|icon_name=School Bag (blue)
| capacity = 15
|model2=SchoolBag_Black_Model.png
| weight_reduction = 60
|icon2=Backpack_Black.png
| class_name = Base.Schoolbag
|icon_name2=School Bag (black)
}}A '''schoolbag''' is a baggage item that 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. 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.
|model3=SchoolBag_Spiffo_Model.png
|icon3=Backpack_Spiffo.png
|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.


'''Schoolbags can spawn with:'''
==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 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==
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.
 
{{Outdated|section=true}}
'''School bags can spawn with ([[build 40]]):'''
{|
{|
|[[File:Pen.png|link=Pen]] || [[Pen]]
|[[File:Pen.png|link=Pen]] || [[Pen]]
Line 25: Line 45:
|[[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 32: Line 52:
|}
|}


==Item distribution==
==Distribution==
===Buildings===
The loot distributions can be found in the table(s) below.
{| class="wikitable" style="text-align:center;"
|-
!Building/Room
!Container
!Rolls
!Chance
|-
|rowspan="5"|All
|[[Containers#Displays|Clothing Rack]]
|3
|3
|-
<!--|All-->
|[[Containers#Lockers|Locker]]
|2
|3
|-
<!--|All-->
|[[Containers#Corpse|Male Corpse]]
|1
|0.1
|-
<!--|All-->
|[[Containers#Corpse|Female Corpse]]
|1
|0.1
|-
<!--|All-->
|[[Containers#Bedrooms Storage|Wardrobe]]
|4
|3
|-
|Bedroom
|[[Containers#Bedrooms Storage|Wardrobe]]
|2
|3
|-
|Changeroom
|[[Containers#Lockers|Locker]]
|3
|3
|-
|rowspan="2"|Clothes Store
|[[Containers#Shelves|Shelves]]
|3
|3
|-
<!--|Clothes Store-->
|[[Containers#Displays|Clothing Rack]]
|3
|3
|-
|Department Store
|[[Containers#Shelves|Shelves]]
|3
|3
|-
|Laundromat
|[[Containers#Counters|Counter]]
|3
|2
|-
|Motel Room
|[[Containers|Other]]
|2
|0.1
|-
|Mechanic
|[[Containers#Lockers|Metal Locker]]
|3
|1
|-
|Motel Room (occupied)
|[[Containers|Other]]
|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===
<!--BOT FLAG|Bag_Schoolbag|41.78.16-->
{| class="wikitable" style="text-align:center;"
{{Clear}}
|-
<div class="togglebox theme-red">
!Profession
    <div>Bag_Schoolbag distribution
!Container
        <span class="mw-customtoggle-togglebox-Bag_Schoolbag" 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>
!Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Bag_Schoolbag">
!Chance
    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">
|All
<div id="containers" style="flex-basis:30%">
|[[Trunk]]
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
|2
    |+ {{ll|Containers}}
|2
    ! Building/Room
|-
    ! Container
|Clothing
    ! Effective chance
|[[Trunk]]
    |-
|2
    | bedroom
|2
    | {{ll|wardrobe}}
|-
    | 2.81%
|Taxi
    |-
|[[Trunk]]
    | bookstore
|3
    | {{ll|counter}}
|3
    | 19.27%
|-
    |-
|}
    | camping
    | {{ll|counter}}
    | 23.28%
    |-
    | camping
    | {{ll|shelves}}
    | 23.28%
    |-
    | campingstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | closet
    | {{ll|metal_shelves}}
    | 2.81%
    |-
    | daycare
    | {{ll|wardrobe}}
    | 2.81%
    |-
    | fishingstorage
    | {{ll|counter}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 41.14%
    |-
    | hall
    | {{ll|locker}}
    | 6.29%
    |-
    | hunting
    | {{ll|counter}}
    | 23.28%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 2.81%
    |-
    | motelroomoccupied
    | {{ll|dresser}}
    | 0.71%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Bag_Schoolbag" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Bag_Schoolbag|41.78.16-->


==Gallery==
<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]].
</gallery>


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
<nowiki>
| {{CodeSnip
item BigHikingBag
  | 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,</nowiki>
        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 items|containers}}
[[Category:Baggage]]
[[Category:Items]]

Latest revision as of 13: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]
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.

Bag_Schoolbag 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
bedroom wardrobe 2.81%
bookstore counter 19.27%
camping counter 23.28%
camping shelves 23.28%
campingstorage crate 23.28%
closet metal_shelves 2.81%
daycare wardrobe 2.81%
fishingstorage counter 23.28%
generalstore shelves 23.28%
generalstore shelves 41.14%
generalstorestorage shelves 23.28%
generalstorestorage shelves 41.14%
gigamart shelves 23.28%
gigamart shelves 41.14%
hall locker 6.29%
hunting counter 23.28%
livingroom wardrobe 2.81%
motelroomoccupied dresser 0.71%

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