Ever needed to manage multiple inventories? For example, you have two
actors in your game, but they are in two different locations. To make
this more realistic, you would like each actor to have their own
inventories, such as their own weapons, armors, items, and gold.
This plugin provides functionality that will allow you to manage
your inventories using events.
When you're switching between actors during your game, you can also
switch the current active inventory, and the game will handle all of
it for you.
Do your actors come together later on? You can also merge their
inventories together with a simple command.
== Terms of Use ==
- Free for use in non-commercial projects with credits
- Contact me for commercial use
== Change Log ==
Nov 11, 2015 - initial release
== Usage ==
In the plugin manager, you can choose the name of the "default"
inventory. This is what you will start with when the game begins.
It is not necessary to use this if you are planning to run events at
the beginning of the game to set up the inventories yourself.
-- Inventory Names --
This plugin uses "names" for each inventory. A name is any word or
number (or any combination of words or numbers) that doesn't contain
a space.
For example, you could call your inventories
actor1
actor2
main_inventory
sub_inventory
And so on.
-- Switching Inventories --
To switch inventories, use a plugin command
switch_inventory NAME
Where the NAME is the name of the inventory that you would
like to switch with.
-- Merging Inventories --
To merge inventories, use a plugin command
merge_inventory NAME1 into NAME2
Where NAME1 and NAME2 are the names of the inventories that you want
to merge.
Please note the word "into": when you merge inventories, you are
literally merging NAME1 into NAME2. NAME1 will then be deleted, and
you are left with only NAME2.
You will run into problems if you try to merge your current inventory
into another inventory, so always make sure your current inventory is
NAME2.