Hello everyone.
A mod I wrote allows players to sew upgraded hiking bags using existing hiking bags. I've found a bug where if one of the hiking bags used to make the upgraded version is equipped on the player's back, the resulting backpack is unequipped, and the player no longer has an option to equip anything on his/her back, as if the original bag is still equipped. There are no options to unequip, as the game thinks nothing is equipped. The resulting bag (and any others) can only be equipped as primary and secondary. The only solution is starting a new game. I've just tested again, and this issue does not occur when the bag is equipped as primary and secondary, only when it is equipped on the player's back.
Here is the code I used for the upgraded bag, and for creating the recipe:
item SmallUpgradedHikingBag
{
WeightReduction = 85,
Weight = 0.6,
Type = Container,
Capacity = 27,
DisplayName = Small Upgraded Hiking Bag,
Icon = SmallUpgradedHikingBag,
CanBeEquipped = Back,
OpenSound = PZ_OpenBag,
CloseSound = PZ_CloseBag,
PutInSound = PZ_PutInBag,
}
recipe Make Small Upgraded Hiking Bag
{
keep Needle,
keep Scissors,
Thread=2,
NormalHikingBag=2,
Result:SmallUpgradedHikingBag,
Time:250.0
}
Has anyone seen or been able to fix this? What am I missing? Sorry if this has already been covered. I've tried searching but couldn't find anything related.
Thanks in advance!