Module:Gemstone/Data

From EarthMC
Revision as of 09:32, 25 November 2023 by upgradewastaken (talk | contribs) (Created page with "local slots = { -- Normal Slots ['ruby'] = { icon="❤", color="#F55", colorClass="red", ttColor="&c", slotName="Ruby" }, ['amethyst'] = { icon="❈", color="#A0A", colorClass="dark_purple", ttColor="&5", slotName="Amethyst" }, ['jade'] = { icon="☘", color="#5F5", colorClass="green", ttColor="&a", slotName="Jade" }, ['sapphire'] = { icon="✎", color="#5FF", colorClass="aqua", ttColor="&b", slotName="Sapphire" }, ['amber'] = { icon="⸕", color="#FA0", colorClass...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Gemstone/Data/doc

local slots = {
	-- Normal Slots
	['ruby'] = { icon="❤", color="#F55", colorClass="red", ttColor="&c", slotName="Ruby" },
	['amethyst'] = { icon="❈", color="#A0A", colorClass="dark_purple", ttColor="&5", slotName="Amethyst" },
	['jade'] = { icon="☘", color="#5F5", colorClass="green", ttColor="&a", slotName="Jade" },
	['sapphire'] = { icon="✎", color="#5FF", colorClass="aqua", ttColor="&b", slotName="Sapphire" },
	['amber'] = { icon="⸕", color="#FA0", colorClass="gold", ttColor="&6", slotName="Amber" },
	['topaz'] = { icon="✧", color="#FF5", colorClass="yellow", ttColor="&e", slotName="Topaz" },
	['jasper'] = { icon="❁", color="#F5F", colorClass="light_purple", ttColor="&d", slotName="Jasper" },
	['opal'] = { icon="❂", color="#F5F", colorClass="white", ttColor="&f", slotName="Opal" },
	-- Special Slots
	['combat'] = { icon="⚔", color="#A00", colorClass="dark_red", ttColor="&4", slotName="Combat", applicable="&cRuby&r/&5Amethyst&r/&bSapphire&r/&dJasper&r" },
	['offensive'] = { icon="☠", color="#55F", colorClass="blue", ttColor="&9", slotName="Offensive", applicable="&bSapphire&r/&dJasper&r" },
	['defensive'] = { icon="☤", color="#5F5", colorClass="green", ttColor="&a", slotName="Defensive", applicable="&cRuby&r/&5Amethyst&r/&fOpal&r" },
	['mining'] = { icon="✦", color="#A0A", colorClass="dark_purple", ttColor="&5", slotName="Mining", applicable="&aJade&r/&6Amber&r/&eTopaz&r" },
	['universal'] = { icon="❂", color="white", colorClass="white", ttColor="&f", slotName="Universal", applicable="&aAny&r" },
}
-- note: these should match the slot names above
local names = {
	'ruby',
	'amethyst',
	'jade',
	'sapphire',
	'amber',
	'topaz',
	'jasper',
	'opal',
}

local tiers = {
	rough = { color = 'white', order = 1, },
	flawed = { color = 'green', order = 2, },
	fine = { color = 'blue', order = 3, },
	flawless = { color = 'dark_purple', order = 4, },
	perfect = { color = 'gold', order = 5, },
}

return {
	slots = slots,
	names = names,
	tiers = tiers,
}