School Bag: Difference between revisions

From PZwiki
mNo edit summary
m (Distribution table update)
 
(27 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers|type=Baggage}}
{{header|The Game World|Items|Baggage|type=Baggage|version=Version 41|incver=52}}{{Infobox container
{{Page version|41.78.16}}
| display_name = School Bag
{{Infobox item
| name_colour = Container
|name=School Bag
| name_text_colour = Container
|model=SchoolBag_Blue_Model.png
| image = Model_SchoolBag_Blue.png
|icon=Backpack_Blue.png
| image_width = 200px
|icon_name=School Bag (blue)
| alternate_image = Backpack_Blue.png
|model2=SchoolBag_Black_Model.png
| alternate_name = School Bag (Blue)
|icon2=Backpack_Black.png
| alternate_link =  
|icon_name2=School Bag (black)
| alternate_image2 = Backpack_Black.png
|model3=SchoolBag_Spiffo_Model.png
| alternate_name2 = School Bag (Black)
|icon3=Backpack_Spiffo.png
| alternate_link2 =  
|icon_name3=School Bag (Spiffo)
| alternate_image3 = Backpack_Spiffo.png
| alternate_name3 = School Bag (Spiffo)
| alternate_link3 =
<!--GENERAL-->
<!--GENERAL-->
| category = Container
|category=Container
| weight = 1.0
|weight=1.0
| body_location = Back
|equipped=Back
| capacity = 15
|capacity=15
| weight_reduction = 60
|weight_reduction=60
| run_speed = 0.97
|run_speed=0.97
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
| class_name = Base.Bag_Schoolbag
|item_id=Base.Bag_Schoolbag
}}A '''school bag''' is a container [[item]]. The school bag has blue, black and spiffo variants.
}}
A '''school bag''' is a container [[Items|item]]. The school bag has blue, black and Spiffo variants.


==Overview==
==Overview==
Line 30: Line 28:


==Usage==
==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 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.


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


==Distribution==
==Distribution==
'''''Build 40'''''
The loot distributions can be found in the table(s) below.
===Buildings===
{| class="pztable" 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="pztable" 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
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
|All
    |+ {{ll|Containers}}
|[[Trunk]]
    ! Building / Room
|2
    ! Container
|2
    ! Rolls
|-
    ! Chance
|Clothing
    |-
|[[Trunk]]
    | all
|2
    | {{ll|dresser}}
|2
    | 1
|-
    | 0.5
|Taxi
    |-
|[[Trunk]]
    | bedroom
|3
    | {{ll|wardrobe}}
|3
    | 4
|-
    | 0.5
|}
    |-
    | bookstore
    | {{ll|counter}}
    | 4
    | 8.0
    |-
    | camping
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | closet
    | {{ll|metal_shelves}}
    | 4
    | 0.5
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |-
    | hall
    | {{ll|locker}}
    | 4
    | 2.0
    |}
</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==
<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_120px.png|Icon prior to build 41
Backpack.png|Icon prior to [[build 41]].
Model_SchoolBag_Blue.png|Model for blue variant of the school bag.
Model_SchoolBag_Black.png|Model for black variant of the school bag.
Model_SchoolBag_Spiffo.png|Model for Spiffo variant of the school bag.
</gallery>
</gallery>


==Code==
==Code==
'''''From clothing_bags.txt (Project Zomboid directory/media/scripts/clothing)'''''
{{CodeBox
{{Retrieved|version=41|incver=52}}
| {{CodeSnip
<pre> item Bag_Schoolbag
  | lang = java
  | line = true
  | start = 25
  | source = clothing_bags.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Bag_Schoolbag
     {
     {
        DisplayCategory = Bag,
         WeightReduction = 60,
         WeightReduction = 60,
         Weight = 1,
         Weight = 1,
Line 204: Line 148:
         ReplaceInSecondHand = Bag_Schoolbag_LHand holdingbagleft,
         ReplaceInSecondHand = Bag_Schoolbag_LHand holdingbagleft,
         ReplaceInPrimaryHand = Bag_Schoolbag_RHand holdingbagright,
         ReplaceInPrimaryHand = Bag_Schoolbag_RHand holdingbagright,
     }</pre>
        WorldStaticModel = SchoolBag_Ground,
        SoundParameter = EquippedBaggageContainer SchoolBag,
     }
}}
}}


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


{{Navbox_equipment}}
{{Navbox items|containers}}

Latest revision as of 16:32, 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]
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
Containers
Building / Room Container Rolls Chance
all dresser 1 0.5
bedroom wardrobe 4 0.5
bookstore counter 4 8.0
camping counter 4 10.0
closet metal_shelves 4 0.5
generalstore shelves 4 20.0
generalstore shelves 4 10.0
hall locker 4 2.0

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