Attached is some code for creating an additional inventory/object pane. The zip file contains three files:
1) InvPane2.js - This file is the one that actually creates the additional pane. It also has a function to allow setting the list contents. You need to include this JS file in your game file. The pane is created automatically when this file is included.
2) InvPane2.aslx - This file contains an ASLX function you can call to set the list contents. You need to include this library in your game file. There are two functions:
- SetInventory2Label: Call this function, passing the new label as a string, to set the pane's label (the text at the top)
- SetInventory2: Call this function, passing an object list, to set the objects into the pane.
3) AdditionalPane.aslx - This is a sample test game file that shows the second pane in operation. You don't need this file in your game.
The list is set up to work the same as the standard inventory pane. Clicking on an object shows the verbs available. Also, you *must* call SetInventory2 to set or update the pane list contents as desired. This is a separate pane and will not be updated automatically. (A way to do this is to use a turn script.)