Module:ItemData

From Granblue Fantasy Wiki
Jump to navigation Jump to search

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

local p = {}

local types = {
	group_element = 1001,
	group_weapon  = 1002,
	group_arcarum = 1003,
	rarity_wood   = 2001,
	rarity_silver = 2002,
	rarity_gold   = 2003,
	rarity_flip   = 2004,
	rarity_none   = 2099,
	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 arcarums = {
	justice    = 1,
	hanged_man = 2,
	death      = 3,
	temperance = 4,
	devil      = 5,
	tower      = 6,
	star       = 7,
	moon       = 8,
	sun        = 9,
	judgement  = 10,
}

local groups = {
	['arcarum card'] = {
		type = types.group_arcarum,
		rarity = types.rarity_gold,
		justice='Justice Card',
		hanged_man='The Hanged Man Card',
		death='Death Card',
		temperance='Temperance Card',
		devil='The Devil Card',
		tower='The Tower Card',
		star='The Star Card',
		moon='The Moon Card',
		sun='The Sun Card',
		judgement='Judgement Card',
	},
	['arcarum fragment'] = {
		type = types.group_arcarum,
		rarity = types.rarity_gold,
		justice='Bellator Fragment',
		hanged_man='Aquila Fragment',
		death='Celsus Fragment',
		temperance='Celsus Fragment',
		devil='Aquila Fragment',
		tower='Celsus Fragment',
		star='Celsus Fragment',
		moon='Bellator Fragment',
		sun='Aquila Fragment',
		judgement='Bellator Fragment',
	},
	['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 Garniet',
		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',
	},
	['earrings'] = {
		type = types.group_element,
		rarity = types.rarity_flip,
		fire ='Brimstone Earrings',
		water='Permafrost Earrings',
		earth='Brickearth Earrings',
		wind ='Jetstream Earrings',
		light='Sunbeam Earrings',
		dark ='Nightshade Earrings',
	},
	['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',
	},
	['ennead anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Atum Anima',
		water='Tefnut Anima',
		earth='Bennu Anima',
		wind ='Ra Anima',
		light='Horus Anima',
		dark ='Osiris Anima',
	},
	['ennead omega anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Atum Omega Anima',
		water='Tefnut Omega Anima',
		earth='Bennu Omega Anima',
		wind ='Ra Omega Anima',
		light='Horus Omega Anima',
		dark ='Osiris Omega Anima',
	},
	['eternal'] = {
		type = types.group_weapon,
		rarity = types.rarity_none,
		sabre ='Seofon',
		dagger='Feower',
		spear ='Anre',
		axe   ='Threo',
		staff ='Fif',
		gun   ='Tien',
		melee ='Seox',
		bow   ='Tweyen',
		harp  ='Niyon',
		katana='Eahta',
	},
	['evoker'] = {
		type = types.group_arcarum,
		rarity = types.rarity_none,
		justice='Maria Theresa',
		hanged_man='Caim',
		death='Nier',
		temperance='Estarriola',
		devil='Fraux',
		tower='Lobelia',
		star='Geisenborger',
		moon='Haaselia',
		sun='Alanaan',
		judgement='Katzelia',
	},
	['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'},
	},
	['haze'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire='Aurora Haze',
		water='Chaotic Haze',
		earth='Chaotic Haze',
		wind='Aurora Haze',
		light='Aurora Haze',
		dark='Chaotic Haze',
	},
	['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',
	},
	['idean'] = {
		type = types.group_arcarum,
		rarity = types.rarity_gold,
		justice='Justice Idean',
		hanged_man='Hanged Man Idean',
		death='Death Idean',
		temperance='Temperance Idean',
		devil='Devil Idean',
		tower='Tower Idean',
		star='Star Idean',
		moon='Moon Idean',
		sun='Sun Idean',
		judgement='Judgement Idean',
	},
	['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 ii anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Shiva Anima',
		water='Europa Anima',
		earth='Alexiel Anima',
		wind ='Grimnir Anima',
		light='Metatron Anima',
		dark ='Avatar Anima',
	},
	['omega ii omega anima'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Shiva Omega Anima',
		water='Europa Omega Anima',
		earth='Alexiel Omega Anima',
		wind ='Grimnir Omega Anima',
		light='Metatron Omega Anima',
		dark ='Avatar Omega Anima',
	},
	['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',
	},
	['six-dragon jewel'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Wilnas\'s Jewel',
		water='Wamdus\'s Jewel',
		earth='Galleon\'s Jewel',
		wind ='Ewiyar\'s Jewel',
		light='Lu Woh\'s Jewel',
		dark ='Fediel\'s Jewel',
	},
	['six-dragon advent unique item'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		fire ='Smoldering Rubble',
		water='Abyssal Tragedy',
		earth='Insular Core',
		wind ='Gale Rock',
		light='Thunderbolt Wheel',
		dark ='Todestrieb',
	},
	['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',
	},
	['veritas'] = {
		type = types.group_arcarum,
		rarity = types.rarity_gold,
		justice='Justice Veritas',
		hanged_man='Hanged Man Veritas',
		death='Death Veritas',
		temperance='Temperance Veritas',
		devil='Devil Veritas',
		tower='Tower Veritas',
		star='Star Veritas',
		moon='Moon Veritas',
		sun='Sun Veritas',
		judgement='Judgement Veritas',
	},
	['celestial'] = {
		type = types.group_element,
		rarity = types.rarity_gold,
		-- fire ='Twinpain-Wolf Gun',
		-- water={'Selfless-Rift Spear','Twinfall-Sky Blade'},
		-- earth={'Demolition-Tiger Axe','Oration-Life Katana'},
		wind ={'Gateway-Star Sword', 'Fantasia-Realm Harp'},
		-- light= {'Desolation-Crown Bow','Altruism-Soul Staff'},
		-- dark = 'Covenant-Ruin Fist',
	},
}

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

return p