Inventory Processing Suite

Paragon

Member
Inventory Processing Suite (Updated to 0.1.0)

Inventory Process Suite 0.1.0
Screen Shots
Item_Desc.png
ScriptEdit.png
Processing.png


Inventory Process Suite is a per item inventory control script.


NEWEST FEATURES: Smash Action!
Mall price links to wiki mall price graph.

IPS works by assigning a specific Inventory Control script to each individual item (Future versions may inculde generic scripts that can be assigned to items). Currently scripts can process items in 10 different ways. keep, kmail, gift, closet, stash, display, mall, autosell, use and smash. These actions are performed in any order as the script dictates, and each action can be performed multiple times. Scipts can also contain multiple user-defined processing types.

IPS will modify the item_desc page (the popup window that appears when clicking on an item in KoL.) IPS adds a recent mall price, along with pulverize results to the bottom of the item_desc window. In addition it will change the Item's Image into a link to the wiki for that item. To the right of the item's name it will add a link to the script editing window.

Once the items scripts are defined you can process your entire inventory by calling processInventory.ash <processingType>. When processInventory.ash is run for the first time it will define an alias processInv, this alias will call processInventory without allowing a prompt to appear when no processingType is defined. If the alias is used with no processingType the "default" processing Type will be used. Every item action must be associated with a processing type. The default processing type is predefined, although it will not actually call any actions with on your items.

Example script
Code:
[default]
display =1;
[/default]
[Clean]
keep 5;
autosell *;
[/Clean]

In this example the default item processing will place one of the item into your display case unless one already exists there otherwise it will do nothing. By calling processInventory with the Clean processingType it will keep five of the item and autosell the rest.

ProcessingTypes are defined withing [<processingType>][/processingType] tags. Between these tags place any number or order of actions.
Actions are always followed by number indicating how many, the number may be proceeded by a modifier.

Modifiers:
= : For situations where this modifier makes sense (closet,stash,display, mall) upto the number will have that action applied.
- : All but the number will have the action applied
*: All of the items will have this action applied (Numbers following * are ignored)
%: n% of the available items will have the action applied.

assuming you initially have 200 of an item the script
Code:
  keep %50;
will keep 100 of the item in your inventory. However
Code:
   autosell 100;
   keep %50;
will only end up keeping 50 of the item in your inventory after selling 100 of the item.


Requirements:
zlib

To Install:
Place item_desc.ash, and editItemScript.ash into your relay folder.
Place processInventory.ash and puvlerizeResults.ash into your scripts directory.

IPS will create ItemScripts.txt in your data folder.


Change log:
0.0.5: Initial upload

0.1.0: Added Smash Action
Added link from Mallprice to coldfront mall price graph.
 

Attachments

  • IPS.zip
    6.1 KB · Views: 77
Last edited:
Top