Inventory Pro Add-On Documentation
  • Welcome to Inventory Pro Add-On for FPS Engine!
  • BEFORE WE START
    • Early Considerations
    • Add-On Compatibility
    • List of Tutorials
  • GETTING STARTED
    • 01. Basic Set-Up
    • 02. Roadmap
  • CONTENT
    • 03. Content
      • 03.1 CRAFTING
        • Recipe_SO
          • Ingredient
        • CraftingButton
        • CraftingProcess
        • CraftingUI
        • CraftingBench
        • IngredientUIIcon
      • 03.2 FAV MENU
        • FavItemSlot
        • FavItemsMenu
          • FavItemReference
      • 03.3 INTERACTABLES
        • InventoryItemPickeable
      • 03.4 INVENTORY
        • InventoryGridData_SO
        • InventoryProManager
        • GridGenerator
        • InventorySlot
        • SlotData
        • InventoryProManagerInputActions
      • 03.5 ITEMS
        • AppleItem_SO
        • EnergyDrinkItem_SO
      • 03.6 OTHERS
        • 03.6.1 TRADE HUB
          • TradeButton
          • TradeUI
          • TradeHub
        • Chest
        • ExamineItem
      • 03.7 SHOP
        • PurchasableItem
        • Shop
          • ShopItemData
        • ShopUI
        • ShopButton
      • 03.8 UI TOOLKIT
        • ContextMenu
        • HighlightInteractions
        • Padding
        • TooltipManager
    • 04. Shared Content for Add-Ons
  • HOW TO USE & GUIDES
    • Uninstalling the Add-On: Fixing Errors
    • Creating, Updating & Deleting Recipes
    • Inventory Designer: Creating, Updating & Deleting Inventory Grid Data
    • Working with Crafting Benches
    • Working with Chests
    • Working with Shops
    • Working with Purchasable Items
    • Working with Item Examination
    • Favorite Pinned Items Menu Considerations
    • Inventory, Hotbar & Chests Considerations
    • Tetris Inventory Considerations
    • Weapons & Ammo from the Inventory
    • Custom Item_SOs
    • Adding a New Inventory
  • FAQ
    • FAQ
  • SUPPORT
    • Support
Powered by GitBook
On this page
  • ENABLING TETRIS INVENTORY
  • ROTATING ITEMS
  • UPDATING ITEM_SO SIZES
  1. HOW TO USE & GUIDES

Tetris Inventory Considerations

PreviousInventory, Hotbar & Chests ConsiderationsNextWeapons & Ammo from the Inventory

Last updated 1 month ago

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.

UPDATING ITEM_SO SIZES

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.

This is also explained in .

Inventory Designer: Creating, Updating & Deleting Inventory Grid Data
Default Orientation
New Orientation after pressing "R"
Item placed with the new orientation after releasing left-click