School Bag: Difference between revisions
mNo edit summary |
m (Distribution table update) |
||
(27 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Equipment|Container items|Wearable containers|type=Baggage}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=School Bag | ||
|model=SchoolBag_Blue_Model.png | |||
|icon=Backpack_Blue.png | |||
| | |icon_name=School Bag (blue) | ||
|model2=SchoolBag_Black_Model.png | |||
| | |icon2=Backpack_Black.png | ||
| | |icon_name2=School Bag (black) | ||
| | |model3=SchoolBag_Spiffo_Model.png | ||
| | |icon3=Backpack_Spiffo.png | ||
| | |icon_name3=School Bag (Spiffo) | ||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
| category = Container | |category=Container | ||
| weight = 1.0 | |weight=1.0 | ||
| | |equipped=Back | ||
| capacity = 15 | |capacity=15 | ||
| weight_reduction = 60 | |weight_reduction=60 | ||
| run_speed = 0.97 | |run_speed=0.97 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.Bag_Schoolbag | ||
}}A '''school bag''' is a container [[item]]. The school bag has blue, black and | }} | ||
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 | 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: | |[[File:IckySticks.png|link=Cigarettes]] || [[Cigarettes]] | ||
|- | |- | ||
|[[File:Cube.png|link=Cube]] || [[Cube]] | |[[File:Cube.png|link=Cube]] || [[Cube]] | ||
Line 54: | Line 53: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
=== | <!--BOT FLAG|Bag_Schoolbag|41.78.16--> | ||
{| class=" | {{clear}} | ||
| | <div class="togglebox theme-red"> | ||
! | <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%;" | ||
| | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
| | ! Container | ||
| | ! Rolls | ||
|- | ! Chance | ||
| | |- | ||
| | | all | ||
| | | {{ll|dresser}} | ||
| | | 1 | ||
|- | | 0.5 | ||
| | |- | ||
| | | bedroom | ||
| | | {{ll|wardrobe}} | ||
| | | 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.png|Icon prior to [[build 41]]. | |||
</gallery> | </gallery> | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| 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, | ||
} | 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 items|containers}} |
Latest revision as of 16:32, 24 April 2024
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.
School bags can spawn with (build 40):
Pen | |
Blue Pen | |
Red Pen | |
Pencil | |
Rubber Band | |
Scissors | |
Cigarettes | |
Cube | |
Book |
Distribution
The loot distributions can be found in the table(s) below.
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
Icon prior to build 41.
Code
Source: ProjectZomboid\media\scripts\clothing\clothing_bags.txt
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,
}