# 75th item in inventory has no hotkey assigned

**URL:** https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198
**Category:** The Garage
**Created:** [February 24, 2014, 6:23pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198 "2014-02-24T18:23:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![gcaliber](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gcaliber](https://discourse.cataclysmdda.org/u/gcaliber)
#### Post date: [February 24, 2014, 6:23pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/1 "2014-02-24T18:23:21Z")

</div>

0.9 g5f5e629

Sometimes the 74th item also doesn’t get a hotkey assigned. Invlet is set to 0.

---

<div class="post-metadata">

### Author: ![Soyweiser](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soyweiser/32/37_2.png) [@Soyweiser](https://discourse.cataclysmdda.org/u/Soyweiser)
#### Post date: [February 24, 2014, 8:11pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/2 "2014-02-24T20:11:27Z")

</div>

not sure how many hotkeys there are. You are able to use the = key to swap inventory letters. You can use the normal numpad keys to select items without a hotkey.

Would that fix your problem?

---

<div class="post-metadata">

### Author: ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)
#### Post date: [February 24, 2014, 8:25pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/3 "2014-02-24T20:25:55Z")

</div>

That means that there are too many keys for items.

Just drop a few.

---

<div class="post-metadata">

### Author: ![gcaliber](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gcaliber](https://discourse.cataclysmdda.org/u/gcaliber)
#### Post date: [February 24, 2014, 9:08pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/4 "2014-02-24T21:08:08Z")

</div>

Ok, now I understand what is happening. I was used to the old way where you couldn’t carry more than 75 different items. It would be nice if you dropped some items if ones without hotkeys were automatically assigned one, though.

---

<div class="post-metadata">

### Author: ![Taraq](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@Taraq](https://discourse.cataclysmdda.org/u/Taraq)
#### Post date: [February 24, 2014, 9:55pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/5 "2014-02-24T21:55:38Z")

</div>

Why doesn’t the inventory assign the same `xx hotkeys as tiles with stuff on them?

---

<div class="post-metadata">

### Author: ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)
#### Post date: [February 24, 2014, 10:14pm UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/6 "2014-02-24T22:14:19Z")

</div>

This was a necessary side effect of making you be able to carry more items than the hotkey count limit. You can still change hotkeys through the inventory menu by selecting the item and then inputing the hotkey change command IIRC.

As for auto assigning hotkeys I believe it doesn’t do this because the game saves hotkeys based on item type. So if you assign a battery to ‘b’ then it will try to assign any new batteries to the ‘b’ key if you pick them up later.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [February 25, 2014, 6:48am UTC](https://discourse.cataclysmdda.org/t/75th-item-in-inventory-has-no-hotkey-assigned/5198/7 "2014-02-25T06:48:18Z")

</div>

> [@Taraq](#):
>
> Why doesn’t the inventory assign the same `xx hotkeys as tiles with stuff on them?

Because of ugly inventory handling internals. The short explanation is that the actual ‘b’ or ‘x’ or whatever character gets passed around in the code as the identifier for which item was selected. Most of the code has been converted to a more stable index thingamagig, once that’s done we can take a look at finally implementing multi-character inventory indices.
