Hi,
Yes, you can do that. Here's an updated Inventory Engine Support package that will make it easier:
DS_InventoryEngineSupport_2021-11-20.unitypackage
It adds a new Lua function:
mmResizeSlots("inventoryName", columns, rows)
For example, to resize your "MainInventory" inventory to 6 columns x 2 rows, use this Lua code when completing a quest:
Code: Select all
mmResizeSlots("MainInventory", 6, 2)
Note that this doesn't save the new size of the inventory in saved games. If you need to do this, you could record the inventory size in Dialogue System variables. Then add a Dialogue System Trigger to the scene that's set to OnStart. Select Add Action > Run Lua Code, and use the mmResizeSlots() Lua function to set the size.