School Bag: Difference between revisions
m (fixed models) |
m (Automated Formatting) |
||
(22 intermediate revisions by 5 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 54: | Line 53: | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class=" | {| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | ||
! colspan="4" | Containers | |||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
!Rolls | ! style="width: 3.2em;" | Rolls | ||
!Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| | |bedroom | ||
|[[ | |[[wardrobe]] | ||
| | |4 | ||
| | |0.5 | ||
|- | |- | ||
|rowspan="2"|bookstore | |||
|[[ | |[[counter]] | ||
| | |4 | ||
| | |8 | ||
|- | |||
|[[counter]] | |||
|4 | |||
|8 | |||
|- | |- | ||
|rowspan="2"|camping | |||
|[[ | |[[counter]] | ||
|4 | |||
|1 | |1 | ||
|- | |- | ||
|[[counter]] | |||
|[[ | |4 | ||
|1 | |1 | ||
|- | |- | ||
|closet | |||
|[[ | |[[metal_shelves]] | ||
|4 | |4 | ||
| | |0.5 | ||
|- | |- | ||
| | |rowspan="4"|generalstore | ||
|[[ | |[[shelves]] | ||
| | |4 | ||
| | |1 | ||
|- | |- | ||
|[[shelves]] | |||
|[[ | |4 | ||
| | |1 | ||
| | |||
|- | |- | ||
|[[shelves]] | |||
|[[ | |4 | ||
| | |||
|2 | |2 | ||
|- | |- | ||
|[[shelves]] | |||
|[[ | |4 | ||
|2 | |2 | ||
|- | |- | ||
| | |rowspan="2"|hall | ||
|[[ | |[[locker]] | ||
| | |4 | ||
|2 | |2 | ||
|- | |- | ||
|[[locker]] | |||
|4 | |||
|[[ | |||
| | |||
|2 | |2 | ||
|} | |} | ||
==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"> | <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 | 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 152: | ||
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== | ||
Line 212: | Line 164: | ||
*[[Satchel]] | *[[Satchel]] | ||
{{Navbox | {{Navbox items|containers}} |
Revision as of 11:51, 14 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.
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
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,
}