All pastes #87375 Raw Edit

Miscellany

public lua v1 · immutable
·published 2006-07-13 22:11 UTC
rendered paste body
## Interface: 11100## Title: StockBoy |cff007fff -Ace- |r## Version: Beta $Rev: 3397 $## Notes: ## Author: Ratbert## DefaultState: enabled## SavedVariables: StockBoyDB## SavedVariablesPerCharacter: StockBoyDBAce2\AceLibrary\AceLibrary.luaAce2\AceOO-2.0\AceOO-2.0.luaAce2\AceEvent-2.0\AceEvent-2.0.luaAce2\AceHook-2.0\AceHook-2.0.luaAce2\AceDB-2.0\AceDB-2.0.luaAce2\AceDebug-2.0\AceDebug-2.0.luaAce2\AceLocale-2.0\AceLocale-2.0.luaAce2\AceConsole-2.0\AceConsole-2.0.luaAce2\AceAddon-2.0\AceAddon-2.0.luaAce2\AceModuleCore-2.0\AceModuleCore-2.0.luaSpecialEventsEmbedBags\SEEmbedBags.luaDewdropLib\DewdropLib.luaPeriodicTable\Core\PTEmbed.luaPeriodicTable\Elements\Misc\PTEmbedElemMisc.luaPeriodicTable\Elements\EquipSets\PTEmbedElemEquipSets.luaPeriodicTable\Elements\Food\PTEmbedElemFood.luaPeriodicTable\Elements\Instance\PTEmbedElemInstance.luaPeriodicTable\Elements\Raid\PTEmbedElemRaid.luaPeriodicTable\Elements\Tradeskills\PTEmbedElemTradeskill.luaPeriodicTable\Elements\AQ\PTEmbedElemAhnQiraj.luaPeriodicTable\Elements\ZG\PTEmbedElemZulGurub.luaStockBoy.lua--[[((    File separator    ))]]--StockBoy = AceLibrary("AceAddon-2.0"):new("AceDB-2.0", "AceEvent-2.0", "AceHook-2.0", "AceDebug-2.0", "AceConsole-2.0", "AceModuleCore-2.0")--local L = AceLibrary("AceLocale-2.0"):new("StockBoy")--local compost = CompostLib:GetInstance("compost-1")--local quartermaster = QuartermasterLib:GetInstance("1.0")local se = SpecialEventsEmbed:GetInstance("Bags 1")local pt = PeriodicTableEmbed:GetInstance("1")local dewdrop = DewdropLib:GetInstance('1.0')StockBoy:RegisterDB("StockBoyDB", "StockBoyCharDB")function StockBoy:OnInitialize()	self.super.OnInitialize(self)	self.ActionLists = { } -- list name = { PTSet = "PT set", Default = <<some action definition, i.e., Conjure food, etc>> }	self.ButtonList = { } -- ActionID = list name	self.ItemLists = { } -- list name = { order = bagslot!value!link }	self:Print("Initialized")endfunction StockBoy:OnEnable()	--self:ScanInventory()	--se:RegisterEvent(self, "SPECIAL_BAGSLOT_UPDATE", "ProcessBagSlotEvent")	self:Print("Enabled")end