Visual Chests System - KageDesu/Alpha-ABS GitHub Wiki

⚠️ Available since Build 1158
⚠️ Available only in Alpha ABS PRO

Also, see Map Inventory


How create Visual Chest

  1. Add plugin command: ABS VisualChest
  2. Then add one of change Actor equipment default commands: Change Items, Change Weapons, Change Armors
  3. You can add multiple commands (one next one)
  4. When one of this three commands ends, Visual Chests will appear automatically (don't add any other commands between)

⚠️ Change gold - not works with Visual Chest

Example:

How change Visual Chest name

Instead plugin command ABS VisualChest use ABS VisualChest NAME, where NAME - chest name (without quotes)
Example: ABS VisualChest Treasures

Settings

Chest window settings file: data\AABS\UIMapChest.json

By default chest have not any sound effect at opening, you can set it to any SE, see openChestSE in settings file

Stored Chests

⚠️ Available since Build 1164

Plugin command ABS VisualChestStored - allows you to create chests that remember their items. If the player did not take all items from this chest, he can then return and take the remaining ones

You can rename Stored Chest like Visual Chest, just add some Name after plugin command
Example: ABS VisualChestStored Stored

⚠️ Stored Visual Chests increase the size of the player's save data (save file) and memory, as they store all their items in memory.

For improve game performance, you can use uAPI script calls:
uAPI.clearAllStoredChests() - clear all chests from memory
uAPI.clearStoredChestsOnMap() - clear all chests on current map
uAPI.clearStoredChestsOnMap(MAP_ID) - clear all chests on map MAP_ID

TIP : If player never return to current map that have many opened stored chests, just call uAPI.clearStoredChestsOnMap() before transfer player from this map


How create Chest only for certain items types

⚠️ Available since Build 1200

First, you need set custom type for items

Then, use plugin command ABS VisualChestStored NAME TYPES

NAME - chest name (title)
TYPES - types that allowed to store in this chest

You can use multiple types, separating them by | (no spaces)

Example: