Download
(8 Kb)
Download
Updated: 06-13-13 11:43 AM
Pictures
File Info
Compatibility:
Escalation (5.3)
Updated:06-13-13 11:43 AM
Created:08-14-11 01:50 AM
Downloads:703
Favorites:1
MD5:
5.3
LootPrice  Updated this week!
Version: 2.02
by: Choonstertwo [More]
Description
LootPrice records how many of an item you loot and displays the total value based on a price you set. This value is displayed both when you loot the item (off by default) and when you use the /lp display command.

You must add an item to the AddOn's database using the /lp add slash command for it to start recording the amount of the item you loot.



Slash command usage:
/lootprice or /lp command itemId price
spam on|off - Enable/disable price messages when looting an item
add itemId - Adds the item to the LootPrice database, allowing it to record how many you've looted.
set itemId XgYsZc - Sets the value of the item to the specified amount.
display itemId - Displays information for the item.
/lootpriceitemid or /lpitemid itemLink|itemName
Displays the itemId of the given item.
Note: Using the item's link will always return the correct itemId, but using the item's name may return the wrong itemId if there are multiple items with that name.



The original concept for LootPrice was outlined by Zelreth.
v2.02
  • Remove libraries from .pkgmeta

v2.01
  • Add license and readme
  • Add .gitattributes and .gitignore

v2.00
  • Move prefixprint and tabprint to start of file
  • Put LocaleSub in its own block with the localeTemp table
  • Change self:Print to prefixprint in CHAT_MSG_LOOT
  • "set" command now allows partial currency strings (e.g. 3g2c, 4s1c)
  • Other minor modifications to slash command handler
  • Fix "attempt to index a nil value" (core.lua:91
  • Add Italian and Portuguese locale files to TOC
  • Update TOC to 5.3, remove libraries, add author
  • Update for 5.3
  • Remove library dependencies
  • Add coloursub, prefixprint and tabprint functions similar to the old
    ChoonLib versions
  • Move local declarations inside functions where appropriate
  • Change slash command handlers to local functions instead of methods
  • Add GLOBALS comment for Mikk's FindGlobals script

[size="5"]v1.01 - Zelreth's requests[/size="5"]
  • Added an optional price message when looting an item in the DB (off by default)
  • Added the spam sub-command to /lootprice, allowing price messages when looting to be enabled/disabled.
  • Added a new slash command /lootpriceitemid (alias /lpitemid), which displays the itemId of the given item name or link.
    Was initially going to be a sub-command of /lp, but it was too difficult to implement due to the spaces in some item names.
  • Moved the slash command help to its own function PrintHelp() so it can be easily called from both slash commands.

[size="5"]v1.0 - Initial release[/size="5"]
  • AddOn created. Yay!
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
v40200-1.01
4kB
Choonstertwo
08-21-11 02:26 AM
v40200-1.0
3kB
Choonstertwo
08-14-11 01:50 AM


Post A Reply Comment Options
Old 08-14-11, 04:54 AM  
unlimit
Lookin' Good
 
unlimit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 484
File comments: 24
Uploads: 4
Neat addon!

I could see where this could come in handy a LOT of the time!
__________________


kúdan: im playing pantheon
JRCapablanca: no youre not
** Pantheon has been Banned. **
unlimit is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: