Module:ItemData

From Granblue Fantasy Wiki
Jump to: navigation, search

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

local p = {}

local types = {
	group_element = 1001,
	group_weapon  = 1002,
	rarity_wood   = 2001,
	rarity_silver = 2002,
	rarity_gold   = 2003,
	rarity_flip   = 2004,
	icon_none     = 9101,
	icon_wood     = 9102,
	icon_silver   = 9103,
	icon_gold     = 9104,
	icon_flip     = 9105,
	icon_square   = 9106,
	icon_icon     = 9107,
	icon_tall     = 9108,
	icon_full     = 9109,
}

local weapons = {
	sabre  = 1,
	dagger = 2,
	spear  = 3,
	axe    = 4,
	staff  = 5,
	gun    = 6,
	melee  = 7,
	bow    = 8,
	harp   = 9,
	katana = 10,
	boost  = 11,
}

local elements = {
	fire  = 1,
	water = 2,
	earth = 3,
	wind  = 4,
	light = 5,
	dark  = 6,
}

local groups = {
	['astra'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire ='Flameborne Astra',
		water='Aquaborne Astra',
		earth='Earthborne Astra',
		wind ='Windborne Astra',
		light='Lightborne Astra',
		dark ='Darkborne Astra',
	},
	['basic omega anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Colossus Omega Anima',
		water='Leviathan Omega Anima',
		earth='Yggdrasil Omega Anima',
		wind ='Tiamat Omega Anima',
		light='Luminiera Omega Anima',
		dark ='Celeste Omega Anima',
	},
	['basic primal beast anima'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire ='Colossus Anima',
		water='Leviathan Anima',
		earth='Yggdrasil Anima',
		wind ='Tiamat Anima',
		light='Luminiera Anima',
		dark ='Celeste Anima',
	},
	['centrum'] = {
		type = types.group_element,
		rarity = types.rarity_flip,
		fire ='Rubeus Centrum',
		water='Indicus Centrum',
		earth='Luteus Centrum',
		wind ='Galbinus Centrum',
		light='Niveus Centrum',
		dark ='Ater Centrum',
	},
	['co-op rotating showdown item'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire='Infernal Garnet',
		water='Frozen Hell Prism',
		earth='Evil Judge Crystal',
		wind='Horseman\'s Plate',
		light='Halo Light Quartz',
		dark='Phantom Demon Jewel',
	},
	['dragon scale'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Red Dragon Scale',
		water='Blue Dragon Scale',
		earth='Brown Dragon Scale',
		wind ='Green Dragon Scale',
		light='White Dragon Scale',
		dark ='Black Dragon Scale',
	},
	['elemental halo'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Fire Halo',
		water='Water Halo',
		earth='Earth Halo',
		wind='Wind Halo',
	},
	['elemental quartz'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire ='Fire Quartz',
		water='Water Quartz',
		earth='Earth Quartz',
		wind ='Wind Quartz',
		light='Light Quartz',
		dark ='Dark Quartz',
	},
	['grimoire'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire ='Fire Grimoire',
		water='Water Grimoire',
		earth='Earth Grimoire',
		wind ='Wind Grimoire',
		light= {'Fire Grimoire','Wind Grimoire'},
		dark = {'Earth Grimoire','Water Grimoire'},
	},
	['high orb'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire ='Inferno Orb',
		water='Frost Orb',
		earth='Rumbling Orb',
		wind ='Cyclone Orb',
		light='Shining Orb',
		dark ='Abysm Orb',
	},
	['impossible tier 2 summon anima'] = {
		alias = 'tier 3 summon anima',
	},
	['impossible tier 3 summon anima'] = {
		alias = 'tier 3 summon anima',
	},
	['low orb'] = {
		type = types.group_element,
		rarity = types.rarity_wood,
		fire ='Fire Orb',
		water='Water Orb',
		earth='Earth Orb',
		wind ='Wind Orb',
		light='Light Orb',
		dark ='Dark Orb',
	},
	['omega unique item'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Resolute Reactor',
		water='Fanned Fin',
		earth='Genesis Bud',
		wind ='Green Dragon Eye',
		light='Primal Bit',
		dark ='Black Fog Sphere',
	},
	['pinion'] = {
		type = types.group_element,
		rarity = types.rarity_flip,
		fire ='Fire Pinion',
		water='Water Pinion',
		earth='Earth Pinion',
		wind ='Wind Pinion',
	},
	['primarch anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Michael Anima',
		water='Gabriel Anima',
		earth='Uriel Anima',
		wind='Raphael Anima',
	},
	['quartz'] = {
		alias = 'elemental quartz'
	},
	['rotating showdown anima'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire='Ifrit Anima',
		water='Cocytus Anima',
		earth='Vohu Manah Anima',
		wind='Sagittarius Anima',
		light='Corow Anima',
		dark='Diablo Anima',
	},
	['rotating showdown omega anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Ifrit Omega Anima',
		water='Cocytus Omega Anima',
		earth='Vohu Manah Omega Anima',
		wind='Sagittarius Omega Anima',
		light='Corow Omega Anima',
		dark='Diablo Omega Anima',
	},
	['rotating showdown silver chest item'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire='Scorching Peak',
		water='Crystal Spirit',
		earth='Luminous Judgment',
		wind='Sagittarius Rune',
		light='Sunlight Quartz',
		dark='Shadow Sliver',
	},
	['scroll'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire ='Hellfire Scroll',
		water='Flood Scroll',
		earth='Thunder Scroll',
		wind ='Gale Scroll',
		light='Skylight Scroll',
		dark ='Chasm Scroll',
	},
	['tier 1 summon anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Twin Elements Anima',
		water='Macula Marius Anima',
		earth='Medusa Anima',
		wind='Nezha Anima',
		light='Apollo Anima',
		dark='Dark Angel Olivia Anima',
	},
	['tier 1 summon omega anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Twin Elements Omega Anima',
		water='Macula Marius Omega Anima',
		earth='Medusa Omega Anima',
		wind='Nezha Omega Anima',
		light='Apollo Omega Anima',
		dark='Dark Angel Olivia Omega Anima',
	},
	['tier 2 summon anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Athena Anima',
		water='Grani Anima',
		earth='Baal Anima',
		wind='Garuda Anima',
		light='Odin Anima',
		dark='Lich Anima',
	},
	['tier 2 summon omega anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Athena Omega Anima',
		water='Grani Omega Anima',
		earth='Baal Omega Anima',
		wind='Garuda Omega Anima',
		light='Odin Omega Anima',
		dark='Lich Omega Anima',
	},
	['tier 3 summon anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Prometheus Anima',
		water='Ca Ong Anima',
		earth='Gilgamesh Anima',
		wind='Morrigna Anima',
		light='Hector Anima',
		dark='Anubis Anima',
	},
	['tome'] = {
		type = types.group_element,
		rarity = types.rarity_wood,
		fire ='Red Tome',
		water='Blue Tome',
		earth='Brown Tome',
		wind ='Green Tome',
		light='White Tome',
		dark ='Black Tome',
	},
	['trial fragment'] = {
		type = types.group_element,
		rarity = types.rarity_silver,
		fire='Hellfire Fragment',
		water='Deluge Fragment',
		earth='Wasteland Fragment',
		wind='Typhoon Fragment',
	},
	['true anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='True Fire Anima',
		water='True Water Anima',
		earth='True Earth Anima',
		wind ='True Wind Anima',
		light='True Light Anima',
		dark ='True Dark Anima',
	},
	['true xeno anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='True Xeno Ifrit Anima',
		water='True Xeno Cocytus Anima',
		earth='True Xeno Vohu Manah Anima',
		wind='True Xeno Sagittarius Anima',
		light='True Xeno Corow Anima',
		dark='True Xeno Diablo Anima',
	},
	['urn'] = {
		type = types.group_element,
		rarity = types.rarity_flip,
		fire ='Fire Urn',
		water='Water Urn',
		earth='Earth Urn',
		wind ='Wind Urn',
		light='Light Urn',
		dark ='Dark Urn',
	},
	['verum proof'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Fire Verum Proof',
		water='Water Verum Proof',
		earth='Earth Verum Proof',
		wind ='Wind Verum Proof',
	},
	['weapon stone'] = {
		type = types.group_weapon,
		rarity = types.rarity_silver,
		sabre ='Sword Stone',
		dagger='Dagger Stone',
		spear ='Spear Stone',
		axe   ='Axe Stone',
		staff ='Staff Stone',
		gun   ='Pistol Stone',
		melee ='Melee Stone',
		bow   ='Bow Stone',
		harp  ='Harp Stone',
		katana='Katana Stone',
	},
	['whorl'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Infernal Whorl',
		water='Tidal Whorl',
		earth='Seismic Whorl',
		wind ='Tempest Whorl',
		light='Radiant Whorl',
		dark ='Umbral Whorl',
	},
	['xeno clash unique item'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Infernal Vajra',
		water='Frozen Hellplume',
		earth='Sacrosanct Sutra',
		wind='Zodiac Arc',
		light='Flame Fanner',
		dark='Wraithbind Fetter',
	},
}

p.elements = elements
p.groups = groups
p.types = types
p.weapons = weapons

return p