Cataclysm-dda: Javelin bag can't hold javelins, and is bulkier than a full duffel bag

Created on 28 Sep 2020  路  3Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug

Javelin bag both can't hold javelins (they're too long for it) and it's encumbrance when filled (with the 6 theoretical javelins) is the same as a full dufflebag which seems to be wrong

Steps To Reproduce

Spawn 10 javelins of each type (wood, metal) and a javelin bag
try to put the javelins in the bag through either Reload, Insert, or Advanced Inventory

Expected behavior

Javelin bags should be able to hold the one thing they're designed to hold
Javelin quivers should be nowhere near 35 torso encumbrance based on historical designs

Screenshots

Encumberance
1 - equipped encumberance

Javelin length is too big for bag (also volumes don't match pockets)
2 - iron javelin stats
2 - wood javelin stats
3 - javelin bag pockets

Can't insert Javelins
4 - can't load javelins

Can't pickup javelins with bag equipped
4 - can't pickup javelins

Versions and configuration

  • OS: Windows

    • OS Version: Microsoft Windows 10 Pro

  • Game Version: 0.E-6333-g7f98932 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Alternative Map Key [alt_map_key]
    ]

Additional context

Looks like it's an issue with length, though the encumbrance needs to be re-balanced and the pocket volumes should probably be updated but unless it confuses the encumbrance check that's probably minor

(S2 - Confirmed) <Bug> Good First Issue Containers [JSON]

All 3 comments

Can confirm that javelin_bag is indeed missing max_item_length entries in its pockets. Some other specialized containers also seem to have the same issue. This happens when an item is given a length but the associated container isn't updated accordingly.

Do you have a link to the historical javelin bags you mention preferably with pictures of how they are worn?

24766 has more input about the Javelin bag and to give an picture of its appearance.

a good alternative would be to allow small shields to store up to 3 javelins as they were mostly used by skirmishers in combination. atleast thats a good way until you are able to hold things in your left hand aswell.

Was this page helpful?
0 / 5 - 0 ratings