Dongle-Rift

Addons
1,882 Downloads Last Updated: Oct 24, 2011 Game Version: 1.5

This is a minimalist addon framework, which provides saved variable profiles, addon submodules, and debug printing utilities.

Basic usage for creating an addon:

StarTip = Dongle:New("StarTip")

For creating basic saved variables.

local defaults = {
	profile = {
		mouse = true,
		x = 10,
		y = 10
	}
}
StarTip_SavedVariables = StarTip_SavedVariables or {}
StarTip.config = StarTip:InitializeDB(StarTip_SavedVariables, defaults)
StarTip.config = StarTip.config.profile

Comments

Posts Quoted: