School Bag: Difference between revisions

From PZwiki
(Automated infobox update)
m (Automated CodeBox update)
Line 131: Line 131:
   | source = clothing_bags.txt
   | source = clothing_bags.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.52
  | incver = 52
   | code =
   | code =
item Bag_Schoolbag
item Bag_Schoolbag

Revision as of 04:23, 23 February 2024

Project ZomboidItemsBaggageSchool Bag
School Bag
SchoolBag Blue Model.png
School Bag (Black)
School Bag (Spiffo)
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 weight reduction.

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.52
item Bag_Schoolbag
{
  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,
}

See also