TGITS-Solutions / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
1 stars 1 forks source link

Inconsistent move cost when using scabbards and similar containers #29

Open TrainTurningPoint opened 5 years ago

TrainTurningPoint commented 5 years ago

Describe the bug
Wielding items from designated containers takes less time than wielding items from inventory, even if designated container itself is stored in inventory and not worn.

To Reproduce
Steps to reproduce the behavior:

  1. Spawn a sword, store in inventory
  2. 'w'ield sword from inventory
  3. Spawn a scabbard, put sword in scabbard, store scabbard in inventory
  4. 'a'ctivate scabbard
  5. Compare move cost of steps 2 and 4

Expected behavior
Wielding sword from scabbard from inventory should at the very least give no benefit over wielding sword from inventory.

TrainTurningPoint commented 5 years ago

Addition: a designated container with item can take less space than the item itself. Example: an arming sword takes 2 L of volume, while a scabbard containing an arming sword takes 1.75 L of volume. So the only downside in wrapping most guns in holsters and most knifes in sheathes is an increased weight.