# Hybrid Inventory \[2019-5-8\]

**URL:** https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953
**Category:** The Lab
**Created:** [July 22, 2018, 2:33pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953 "2018-07-22T14:33:23Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [October 4, 2018, 5:44am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/62 "2018-10-04T05:44:34Z")

</div>

> [@mr\_sep](#):
>
> Not even a small part? Like putting items in containers via an action?

HI allows moving items to / from containers only via advanced inventory, no action filling in my system I could PR, sorry.

> [@mr\_sep](#):
>
> I’m currently working on a PR for new matter state: powder (behaves similar to liquids, need resealable containers, no more “floor flour” or “pepper in a shopping cart”)

Powder already exists, though not as phase, but as a material. Also, I remember Kevin being adamant about not allowing any container interaction with sole exception of handling liquids, unless done properly through inventory system as he envisioned. Better check with him if he would accept powder expansion before wasting too much time on it.

---

<div class="post-metadata">

### Author: ![Delerium](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@Delerium](https://discourse.cataclysmdda.org/u/Delerium)
#### Post date: [October 5, 2018, 5:40am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/63 "2018-10-05T05:40:21Z")

</div>

I’m seeing a bug related to the dropping code you were frustrated with earlier. changing letters of items inside bags changes the container’s letter instead. Also, if you change the letter of an item in your main inventory to the same letter as an item in a bag, both items keep the same letter. Probably a pain to fix, but figured I’d post it.

P.S. Activating a bag will activate the first item with a function inside it.

P.S.S. Not sure if this is a feature or a bug (it could go either way depending on your intention) If you pick up a filled container into your inventory, it puts the name of the container and lists the contents of that container at the top, which is fine. Then below that, it shows your actual inventory, including the actual container item. That container item seems to be placed into whatever category the first item in the container is assigned to.  
Example: A messenger bag with a cellphone will list the messenger bag as a tool, whereas a briefcase with an asprin will list the briefcase as a drug.

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [October 9, 2018, 10:33am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/64 "2018-10-09T10:33:51Z")

</div>

I am aware of these issues, though I carefully pick what I fix, mainly by how annoying the issue is for me and how hard it is to fix. Every code alteration makes keeping my branch updated with changes in main project harder.

Nothing wrong with reporting it though, at least people can more easily decide if they want to give it a try anyway or stay on vanilla.

---

<div class="post-metadata">

### Author: ![Delerium](https://avatars.discourse-cdn.com/v4/letter/d/d6d6ee/32.png) [@Delerium](https://discourse.cataclysmdda.org/u/Delerium)
#### Post date: [October 9, 2018, 11:10am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/65 "2018-10-09T11:10:16Z")

</div>

Most of those aren’t too much of a hassle. The one bug that does annoy me the most is how “move all” doesn’t actually transfer items out of bags, but eats up time as if it did. Aside from that, I really enjoy your branch much more than the vanilla game. Thanks for the hard work!

---

<div class="post-metadata">

### Author: ![skai\_rue](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/skai_rue/32/6864_2.png) [@skai\_rue](https://discourse.cataclysmdda.org/u/skai_rue)
#### Post date: [October 13, 2018, 5:37pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/66 "2018-10-13T17:37:29Z")

</div>

I’m not sure if this has been brought to your attention, but it seems like lua support is broken. I’ve noticed that while I can call lua functions through the console, I can’t change any attributes. This seems to break any mods that make attribute changes as well, including anything that calls ui menus.

I was planning on trying my hand at lua modding, but its not worth giving up hybrid inventory for.

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [October 19, 2018, 6:24am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/67 "2018-10-19T06:24:13Z")

</div>

> [@skai\_rue](#):
>
> but it seems like lua support is broken

Hmm, no idea what change in my code could have caused that. Maybe Visual Studio compilation is broken.

  
  

Updated. Halloween edition is up.

---

<div class="post-metadata">

### Author: ![lispcoc](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/lispcoc/32/12445_2.png) [@lispcoc](https://discourse.cataclysmdda.org/u/lispcoc)
#### Post date: [October 20, 2018, 6:29am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/68 "2018-10-20T06:29:09Z")

</div>

Related to this

> <https://github.com/CleverRaven/Cataclysm-DDA/issues/23258>

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [November 2, 2018, 4:19pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/69 "2018-11-02T16:19:07Z")

</div>

Just wanted to say thanks for updating this and sharing it with everyone. The game is not the same without it for me.

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [November 18, 2018, 10:37am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/70 "2018-11-18T10:37:05Z")

</div>

Updated.

Sorry it took so long, I was waiting for VS compilation fix in master.

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [November 22, 2018, 12:02am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/71 "2018-11-22T00:02:49Z")

</div>

Thanks for this and for keeping it updated.

I just started a new game with the latest compiled, I am wearing the messenger bag bur items are not auto-added to it. If I use the advanced inventory it works fine. Am I doing something wrong?

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [November 22, 2018, 12:04am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/72 "2018-11-22T00:04:46Z")

</div>

Mmm checking the “armor.json” file I can see its not in there. That must be it.

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [November 22, 2018, 12:07am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/73 "2018-11-22T00:07:28Z")

</div>

Sorry, it is… the ID is mbag… Once I find another Backpack I will confirm if it happens also.

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [November 24, 2018, 8:05am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/74 "2018-11-24T08:05:27Z")

</div>

Updated.

> [@IngDoD](#):
>
> I just started a new game with the latest compiled, I am wearing the messenger bag bur items are not auto-added to it. If I use the advanced inventory it works fine. Am I doing something wrong?

Autopickup works for any held container, but as for worn containers, it works only for backpacks.

Backpacks are items with flag “BACKPACK” in .json definition inside the mod folder. You probably could change messenger bag to work as backpack by adding the missing flag, but keep in mind that you can wear only one backpack at a time.

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [November 24, 2018, 9:42pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/75 "2018-11-24T21:42:30Z")

</div>

Oh, thanks. I found a Backpack and it works fine. I dont get why this isnt getting mainlined. Its almost perfect in my opinion.

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [December 26, 2018, 9:28am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/76 "2018-12-26T09:28:13Z")

</div>

Updated.

I’d like to thank Karthas077 who expanded loot zones to [vehicles](https://github.com/CleverRaven/Cataclysm-DDA/pull/26921).

And also to prutschman who is currently working on fertilizing and [harvesting](https://github.com/CleverRaven/Cataclysm-DDA/pull/27278) of plot tiles.

While I am not playing the game currently, I am glad that things I worked on in the past are improved on so I can enjoy them when I return to get my Cata fix in the future.

---

<div class="post-metadata">

### Author: ![TheZoneWizard](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thezonewizard/32/1397_2.png) [@TheZoneWizard](https://discourse.cataclysmdda.org/u/TheZoneWizard)
#### Post date: [December 26, 2018, 9:30am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/77 "2018-12-26T09:30:56Z")

</div>

BLASPHEMER! Make more stuff! NOW ! lol

I don’t use the mod. But I do follow it to see how it comes along. Hope you come back to this game and make more stuff. Cheers =D

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [December 26, 2018, 2:01pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/78 "2018-12-26T14:01:58Z")

</div>

Thanks for the update, I was just wondering if I should play some cdda today…

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [March 18, 2019, 4:59pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/79 "2019-03-18T16:59:46Z")

</div>

Updated.

I cleaned up the compiled zip so it does no longer contain obsolete files.

Don’t forget to enable Hybrid Inventory mod when starting new game, it is no longer in default mod config file.

---

<div class="post-metadata">

### Author: ![IngDoD](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ingdod/32/6925_2.png) [@IngDoD](https://discourse.cataclysmdda.org/u/IngDoD)
#### Post date: [April 12, 2019, 11:27am UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/80 "2019-04-12T11:27:46Z")

</div>

Hello, could you please compile the new stable version of the game with this? thank you.

---

<div class="post-metadata">

### Author: ![Robik](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/robik/32/1349_2.png) [@Robik](https://discourse.cataclysmdda.org/u/Robik)
#### Post date: [April 12, 2019, 3:36pm UTC](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953/81 "2019-04-12T15:36:47Z")

</div>

Updated. Hopefully everything works, I did test it, but not too much.

[Previous page](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953.md?page=3)

[Next page](https://discourse.cataclysmdda.org/t/hybrid-inventory-2019-5-8/15953.md?page=5)
