Tetris Inventory Considerations

ENABLING TETRIS INVENTORY

To set this up, go to the InventoryProManager. Under InventoryStyle, choose Tetris.

If Tetris Inventory Style is not activated, items will occupy a single space in the inventory (1x1 size). When activated, items can have various sizes (2x1, 2x2, 3x1, 3x2, 2x3, 3x3, etc.).

ROTATING ITEMS

In Tetris Inventory Style, you can rotate items while dragging them. To do this, hold left-click on an item, and the item's icon will follow your mouse. While holding it, press "R" to rotate the item, then release the left-click to place it in the new orientation.

Default Orientation
New Orientation after pressing "R"
Item placed with the new orientation after releasing left-click

UPDATING ITEM_SO SIZES

This is also explained in Inventory Designer: Creating, Updating & Deleting Inventory Grid Data.

When working with Items and InventoryGridData, there may be times when you need to adjust an item's settings after it's already been placed in the grid, such as changing its size. Reducing the item size usually doesn't cause issues, but increasing the size can lead to problems. The item may end up overlapping with others or even extending outside the grid boundaries.

Below is an example of what might happen if you change the Katana's size from 3x1 to 4x1 after it has already been placed in the grid.

Original 3x1 Size VS Updated 4x1 Size.

What to do now?

Delete the overlapping Items and re-adjust your Grid Layouts or Item Sizes to ensure all Items fit properly.

Last updated