View Issue Details

IDProjectCategoryView StatusLast Update
0006369The Dark ModGUIpublic11.02.2024 23:53
ReporterFiver Assigned To 
PrioritylowSeveritytextReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version11 Bullseye
Product VersionTDM 2.11 
Summary0006369: Unexpected behavior when frobbing an item when maximum inventory for that item type has already been reached
DescriptionWhen frobbing an item when maximum inventory for that item type has already been reached, there are two issues:
* The pickup message is misleading: It says that the item was picked up, when in fact is not added to inventory.
* The object (all if more than one) vanishes: It is neither left where it was, nor added to inventory.

E.g. when carrying 50 arrows and frobbing one more, pickup message is still "Acquired X" and with a sound effect rather than a pickup message informing the player that they cannot carry more of that item type.

This appears in TDM 2.11 and TDM 2.12/64 #10518.

Possible solution:
* (preferred) Fix behavior: Only pick up items when they can fit into inventory. If only some of the items can be picked up, pick them up and leave the rest. E.g. If carrying 30 broadheads and trying to pick up 50, then pick up 20 and leave 30 where they were and say "Acquired 20 broadheads". Also fix pickup message: When trying to pick up something but inventory of that item is full, say "Already carrying <max> <item>".
* (quickfix) Fix pickup message: Change message so that when trying to pick up one or more of something but inventory of that item is full, say "Already carrying <max> <item>".
Steps To Reproduce* Fill inventory with broadhead arrows
** In console: spawn atdm:ammo_broadhead inv_ammo_amount 50
** Frob them
* Spawn one more arrow:
** In console: spawn atdm:ammo_broadhead inv_ammo_amount 1
** Frob 1
* 1) Pickup message is "Acquired X" (unexpected) but inventory is still only 50 arrows (expected) 2) Arrow disappeared (unexpected given that object is neither left nor added to inventory)
TagsHUD, realism, usability

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
29.12.2023 16:26 Fiver New Issue
30.12.2023 09:13 Fiver Tag Attached: HUD
30.12.2023 09:25 Fiver Summary Misleading message when frobbing an item when maximum inventory has been reached => Unexpected behavior when frobbing an item when maximum inventory has been reached
30.12.2023 09:25 Fiver Description Updated
30.12.2023 09:26 Fiver Summary Unexpected behavior when frobbing an item when maximum inventory has been reached => Unexpected behavior when frobbing an item when maximum inventory for that item type has already been reached
01.01.2024 19:52 Fiver Description Updated
01.01.2024 19:52 Fiver Steps to Reproduce Updated
01.01.2024 19:53 Fiver Tag Attached: realism
11.02.2024 23:53 Fiver Tag Attached: usability