School Bag

From PZwiki
Revision as of 20:05, 15 July 2018 by Simian (talk | contribs)


The Game WorldItemsBaggageSchool Bag

Template:BaggageA 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 easy or normal starting difficulty, they will spawn with a schoolbag. During the custom sandbox setup, choosing the "starter kit" option will also spawn the player with a schoolbag.

Schoolbags can spawn with:

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

Item distribution

Buildings

Building/Room Container Rolls Chance
All Clothing Rack 3 3
Locker 2 3
Male Corpse 1 0.1
Female Corpse 1 0.1
Wardrobe 4 3
Bedroom Wardrobe 2 3
Changeroom Locker 3 3
Clothes Store Shelves 3 3
Clothing Rack 3 3
Department Store Shelves 3 3
Laundromat Counter 3 2
Motel Room Other 2 0.1
Mechanic Metal Locker 3 1
Motel Room (occupied) Other 2 0.3
Sport Store Shelves 3 3
Clothing Rack 3 3
Sport Storage Metal Shelves 3 3

Vehicles

Profession Container Rolls Chance
All Trunk 2 2
Clothing Trunk 2 2
Taxi Trunk 3 3


Code

From newitems.txt (Project Zomboid directory/media/scripts/)

	item BigHikingBag
		WeightReduction	= 60,
		Weight	        = 0.5,
		Type	        = Container,
		Capacity	= 15,
		DisplayName	= Schoolbag,
		Icon	        = Backpack,
		CanBeEquipped	= Back,
		OpenSound	= PZ_OpenBag,
		CloseSound	= PZ_CloseBag,
		PutInSound	= PZ_PutInBag,

See also

Template:Navbox/Baggage