Project Zomboid

Project Zomboid

Authentic Z
(B42) Schoolbag Upgraded Item Bug
In the XML files for all of the Bag_Schoolbag_Tier items, the textureChoices element range goes beyond the length of the IconsForTexture array and thus it returns null if anything past the first 4 textures is selected. This causes the inventory icon for the bags Tier 1 through Tier 3 to be the PZ default missing texture (a question mark).

I fixed it by removing the last 3 values of the textureChoices element, but I suppose you could also add in 3 more textures to the IconsForTexture array so that it doesn't go out of bounds

For example,

Bag_Schoolbag_Tier1.xml old root
<clothingItem> <m_MaleModel>skinned\backpacks\m_schoolbag</m_MaleModel> <m_FemaleModel>skinned\backpacks\f_schoolbag</m_FemaleModel> <m_GUID>daadbc50-d63f-4799-9a2f-76228ffba8d9</m_GUID> <m_Static>false</m_Static> <m_AllowRandomHue>false</m_AllowRandomHue> <m_AllowRandomTint>false</m_AllowRandomTint> <m_AttachBone></m_AttachBone> <textureChoices>clothes\bag\schoolbag_black</textureChoices> <textureChoices>clothes\bag\schoolbag_blue</textureChoices> <textureChoices>clothes\bag\schoolbag_Sports1</textureChoices> <textureChoices>clothes\bag\schoolbag_Sports2</textureChoices> <textureChoices>schoolbag_spiffo</textureChoices> <textureChoices>clothes\backpacks\schoolbag_spiffo2</textureChoices> <textureChoices>clothes\backpacks\schoolbag_spiffo3</textureChoices> </clothingItem>

Bag_Schoolbag_Tier1.xml new root
<clothingItem> <m_MaleModel>skinned\backpacks\m_schoolbag</m_MaleModel> <m_FemaleModel>skinned\backpacks\f_schoolbag</m_FemaleModel> <m_GUID>daadbc50-d63f-4799-9a2f-76228ffba8d9</m_GUID> <m_Static>false</m_Static> <m_AllowRandomHue>false</m_AllowRandomHue> <m_AllowRandomTint>false</m_AllowRandomTint> <m_AttachBone></m_AttachBone> <textureChoices>clothes\bag\schoolbag_black</textureChoices> <textureChoices>clothes\bag\schoolbag_blue</textureChoices> <textureChoices>clothes\bag\schoolbag_Sports1</textureChoices> <textureChoices>clothes\bag\schoolbag_Sports2</textureChoices> </clothingItem>
< >
Showing 1-2 of 2 comments
This is just for Backpacks+ by the way. It could also apply to the main mod but I haven't checked.

Also, I found a typo in
recipes_AuthenticZ_BackpackUpgrades.txt

Under
craftRecipe Upgrade Medical Duffelbag Bag (Tier 2)

The input requests a Tier 1 Grey Duffel Bag instead of the Tier 1 Trauma Bag



inputs { item 1 [AuthenticZBackpacksPlus.Bag_DuffelBagGrey_Tier_1], item 3 [Base.Thread], item 3 [Base.LeatherStrips;Base.DenimStrips], item 1 tags[Scissors] mode:keep, item 1 tags[SewingNeedle] mode:keep, } outputs { item 1 AuthenticZBackpacksPlus.Bag_MedicalBag_Tier_2, }

Easy fix

inputs { item 1 [AuthenticZBackpacksPlus.Bag_MedicalBag_Tier_1], item 3 [Base.Thread], item 3 [Base.LeatherStrips;Base.DenimStrips], item 1 tags[Scissors] mode:keep, item 1 tags[SewingNeedle] mode:keep, } outputs { item 1 AuthenticZBackpacksPlus.Bag_MedicalBag_Tier_2, }
Authentic Peach  [developer] Jan 20 @ 1:26am 
Fixed in the newest update, thanks for reporting.
< >
Showing 1-2 of 2 comments
Per page: 1530 50