Module:Gm4Sprite/Aliases: Difference between revisions

dynamic soul essences and orbs of Ankou (sorry Epyon it felt unnecessary making pneuma{} have 2 arguments just for the pricking part)
m (I'm okay, I swear.)
(dynamic soul essences and orbs of Ankou (sorry Epyon it felt unnecessary making pneuma{} have 2 arguments just for the pricking part))
Line 66: Line 66:
     'Orb of Ankou',
     'Orb of Ankou',
     ['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty' },
     ['Orb of Ankou (Empty)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Empty)', text = '&7&oEmpty' },
     ['Orb of Ankou (Aggressive)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Aggressive)', text = '&dPneumas:/&9Aggressive' },
     ['Soul Shard'] = { name = 'Soul Shard', text = '//&7When in Off Hand:/&c-20% Attack Damage' },
    ['Orb of Ankou (Agile)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Agile)', text = '&dPneumas:/&9Agile' },
    ['Orb of Ankou (Anchoring)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Anchoring)', text = '&dPneumas:/&9Anchoring' },
    ['Orb of Ankou (Bargaining)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Bargaining)', text = '&dPneumas:/&9Bargaining' },
    ['Orb of Ankou (Bashing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Bashing)', text = '&dPneumas:/&9Bashing' },
    ['Orb of Ankou (Blasting)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Blasting)', text = '&dPneumas:/&9Blasting' },
    ['Orb of Ankou (Blinding)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Blinding)', text = '&dPneumas:/&9Blinding' },
    ['Orb of Ankou (Bounding)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Bounding)', text = '&dPneumas:/&9Bounding' },
    ['Orb of Ankou (Bubbly)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Bubbly)', text = '&dPneumas:/&9Bubbly' },
    ['Orb of Ankou (Conjuring)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Conjuring)', text = '&dPneumas:/&9Conjuring' },
    ['Orb of Ankou (Depriving)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Depriving)', text = '&dPneumas:/&9Depriving' },
    ['Orb of Ankou (Draining)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Draining)', text = '&dPneumas:/&9Draining' },
    ['Orb of Ankou (Enduring)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Enduring)', text = '&dPneumas:/&9Enduring' },
    ['Orb of Ankou (Expeditious)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Expeditious)', text = '&dPneumas:/&9Expeditious' },
    ['Orb of Ankou (Feathery)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Feathery)', text = '&dPneumas:/&9Feathery' },
    ['Orb of Ankou (Freezing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Freezing)', text = '&dPneumas:/&9Freezing' },
    ['Orb of Ankou (Gazing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Gazing)', text = '&dPneumas:/&9Gazing' },
    ['Orb of Ankou (Gliding)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Gliding)', text = '&dPneumas:/&9Gliding' },
    ['Orb of Ankou (Hawkeye)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Hawkeye)', text = '&dPneumas:/&9Hawkeye' },
    ['Orb of Ankou (Incombustible)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Incombustible)', text = '&dPneumas:/&9Incombustible' },
    ['Orb of Ankou (Lifeless)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Lifeless)', text = '&dPneumas:/&9Lifeless' },
    ['Orb of Ankou (Neutralizing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Neutralizing)', text = '&dPneumas:/&9Neutralizing' },
    ['Orb of Ankou (Phasing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Phasing)', text = '&dPneumas:/&9Phasing' },
    ['Orb of Ankou (Pricking)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Pricking)', text = '&dPneumas:/&7Thorns V/&9Pricking' },
    ['Orb of Ankou (Retreating)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Retreating)', text = '&dPneumas:/&9Retreating' },
    ['Orb of Ankou (Rushing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Rushing)', text = '&dPneumas:/&9Rushing' },
    ['Orb of Ankou (Scaling)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Scaling)', text = '&dPneumas:/&9Scaling' },
    ['Orb of Ankou (Soaring)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Soaring)', text = '&dPneumas:/&9Soaring' },
    ['Orb of Ankou (Striding)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Striding)', text = '&dPneumas:/&9Striding' },
    ['Orb of Ankou (Synergetic)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Synergetic)', text = '&dPneumas:/&9Synergetic' },
    ['Orb of Ankou (Vanishing)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Vanishing)', text = '&dPneumas:/&9Vanishing' },
    ['Orb of Ankou (Venomous)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Venomous)', text = '&dPneumas:/&9Venomous' },
    ['Orb of Ankou (Volatile)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Volatile)', text = '&dPneumas:/&9Volatile' },
    ['Orb of Ankou (Withering)'] = { title = '&bOrb of Ankou', name = 'Orb of Ankou (Withering)', text = '&dPneumas:/&9Withering' },
 
    ['Aggressive Soul Shard'] = { title = 'Soul Shard', name = 'Aggressive Soul Shard', text = '&9Aggressive' },
    ['Agile Soul Shard'] = { title = 'Soul Shard', name = 'Agile Soul Shard', text = '&9Agile' },
    ['Anchoring Soul Shard'] = { title = 'Soul Shard', name = 'Anchoring Soul Shard', text = '&9Anchoring' },
    ['Bargaining Soul Shard'] = { title = 'Soul Shard', name = 'Bargaining Soul Shard', text = '&9Bargaining' },
    ['Bashing Soul Shard'] = { title = 'Soul Shard', name = 'Bashing Soul Shard', text = '&9Bashing' },
    ['Blasting Soul Shard'] = { title = 'Soul Shard', name = 'Blasting Soul Shard', text = '&9Blasting' },
    ['Blinding Soul Shard'] = { title = 'Soul Shard', name = 'Blinding Soul Shard', text = '&9Blinding' },
    ['Bounding Soul Shard'] = { title = 'Soul Shard', name = 'Bounding Soul Shard', text = '&9Bounding' },
    ['Bubbly Soul Shard'] = { title = 'Soul Shard', name = 'Bubbly Soul Shard', text = '&9Bubbly' },
    ['Conjuring Soul Shard'] = { title = 'Soul Shard', name = 'Conjuring Soul Shard', text = '&9Conjuring' },
    ['Depriving Soul Shard'] = { title = 'Soul Shard', name = 'Depriving Soul Shard', text = '&9Depriving' },
    ['Draining Soul Shard'] = { title = 'Soul Shard', name = 'Draining Soul Shard', text = '&9Draining' },
    ['Enduring Soul Shard'] = { title = 'Soul Shard', name = 'Enduring Soul Shard', text = '&9Enduring' },
    ['Expeditious Soul Shard'] = { title = 'Soul Shard', name = 'Expeditious Soul Shard', text = '&9Expeditious' },
    ['Feathery Soul Shard'] = { title = 'Soul Shard', name = 'Feathery Soul Shard', text = '&9Feathery' },
    ['Freezing Soul Shard'] = { title = 'Soul Shard', name = 'Freezing Soul Shard', text = '&9Freezing' },
    ['Gazing Soul Shard'] = { title = 'Soul Shard', name = 'Gazing Soul Shard', text = '&9Gazing' },
    ['Gliding Soul Shard'] = { title = 'Soul Shard', name = 'Gliding Soul Shard', text = '&9Gliding' },
    ['Hawkeye Soul Shard'] = { title = 'Soul Shard', name = 'Hawkeye Soul Shard', text = '&9Hawkeye' },
    ['Incombustible Soul Shard'] = { title = 'Soul Shard', name = 'Incombustible Soul Shard', text = '&9Incombustible' },
    ['Lifeless Soul Shard'] = { title = 'Soul Shard', name = 'Lifeless Soul Shard', text = '&9Lifeless' },
    ['Neutralizing Soul Shard'] = { title = 'Soul Shard', name = 'Neutralizing Soul Shard', text = '&9Neutralizing' },
    ['Phasing Soul Shard'] = { title = 'Soul Shard', name = 'Phasing Soul Shard', text = '&9Phasing' },
    ['Pricking Soul Shard'] = { title = 'Soul Shard', name = 'Pricking Soul Shard', text = '&9Pricking' },
    ['Retreating Soul Shard'] = { title = 'Soul Shard', name = 'Retreating Soul Shard', text = '&9Retreating' },
    ['Rushing Soul Shard'] = { title = 'Soul Shard', name = 'Rushing Soul Shard', text = '&9Rushing' },
    ['Scaling Soul Shard'] = { title = 'Soul Shard', name = 'Scaling Soul Shard', text = '&9Scaling' },
    ['Soaring Soul Shard'] = { title = 'Soul Shard', name = 'Soaring Soul Shard', text = '&9Soaring' },
    ['Striding Soul Shard'] = { title = 'Soul Shard', name = 'Striding Soul Shard', text = '&9Striding' },
    ['Synergetic Soul Shard'] = { title = 'Soul Shard', name = 'Synergetic Soul Shard', text = '&9Synergetic' },
    ['Vanishing Soul Shard'] = { title = 'Soul Shard', name = 'Vanishing Soul Shard', text = '&9Vanishing' },
    ['Venomous Soul Shard'] = { title = 'Soul Shard', name = 'Venomous Soul Shard', text = '&9Venomous' },
    ['Volatile Soul Shard'] = { title = 'Soul Shard', name = 'Volatile Soul Shard', text = '&9Volatile' },
    ['Withering Soul Shard'] = { title = 'Soul Shard', name = 'Withering Soul Shard', text = '&9Withering' },
 
    ['Aggressive Soul Essence'] = { title = 'Soul Essence', name = 'Aggressive Soul Essence', text = '&9Aggressive' },
    ['Agile Soul Essence'] = { title = 'Soul Essence', name = 'Agile Soul Essence', text = '&9Agile' },
    ['Anchoring Soul Essence'] = { title = 'Soul Essence', name = 'Anchoring Soul Essence', text = '&9Anchoring' },
    ['Bargaining Soul Essence'] = { title = 'Soul Essence', name = 'Bargaining Soul Essence', text = '&9Bargaining' },
    ['Bashing Soul Essence'] = { title = 'Soul Essence', name = 'Bashing Soul Essence', text = '&9Bashing' },
    ['Blasting Soul Essence'] = { title = 'Soul Essence', name = 'Blasting Soul Essence', text = '&9Blasting' },
    ['Blinding Soul Essence'] = { title = 'Soul Essence', name = 'Blinding Soul Essence', text = '&9Blinding' },
    ['Bounding Soul Essence'] = { title = 'Soul Essence', name = 'Bounding Soul Essence', text = '&9Bounding' },
    ['Bubbly Soul Essence'] = { title = 'Soul Essence', name = 'Bubbly Soul Essence', text = '&9Bubbly' },
    ['Conjuring Soul Essence'] = { title = 'Soul Essence', name = 'Conjuring Soul Essence', text = '&9Conjuring' },
    ['Depriving Soul Essence'] = { title = 'Soul Essence', name = 'Depriving Soul Essence', text = '&9Depriving' },
    ['Draining Soul Essence'] = { title = 'Soul Essence', name = 'Draining Soul Essence', text = '&9Draining' },
    ['Enduring Soul Essence'] = { title = 'Soul Essence', name = 'Enduring Soul Essence', text = '&9Enduring' },
    ['Expeditious Soul Essence'] = { title = 'Soul Essence', name = 'Expeditious Soul Essence', text = '&9Expeditious' },
    ['Feathery Soul Essence'] = { title = 'Soul Essence', name = 'Feathery Soul Essence', text = '&9Feathery' },
    ['Freezing Soul Essence'] = { title = 'Soul Essence', name = 'Freezing Soul Essence', text = '&9Freezing' },
    ['Gazing Soul Essence'] = { title = 'Soul Essence', name = 'Gazing Soul Essence', text = '&9Gazing' },
    ['Gliding Soul Essence'] = { title = 'Soul Essence', name = 'Gliding Soul Essence', text = '&9Gliding' },
    ['Hawkeye Soul Essence'] = { title = 'Soul Essence', name = 'Hawkeye Soul Essence', text = '&9Hawkeye' },
    ['Incombustible Soul Essence'] = { title = 'Soul Essence', name = 'Incombustible Soul Essence', text = '&9Incombustible' },
    ['Lifeless Soul Essence'] = { title = 'Soul Essence', name = 'Lifeless Soul Essence', text = '&9Lifeless' },
    ['Neutralizing Soul Essence'] = { title = 'Soul Essence', name = 'Neutralizing Soul Essence', text = '&9Neutralizing' },
    ['Phasing Soul Essence'] = { title = 'Soul Essence', name = 'Phasing Soul Essence', text = '&9Phasing' },
    ['Pricking Soul Essence'] = { title = 'Soul Essence', name = 'Pricking Soul Essence', text = '&9Pricking' },
    ['Retreating Soul Essence'] = { title = 'Soul Essence', name = 'Retreating Soul Essence', text = '&9Retreating' },
    ['Rushing Soul Essence'] = { title = 'Soul Essence', name = 'Rushing Soul Essence', text = '&9Rushing' },
    ['Scaling Soul Essence'] = { title = 'Soul Essence', name = 'Scaling Soul Essence', text = '&9Scaling' },
    ['Soaring Soul Essence'] = { title = 'Soul Essence', name = 'Soaring Soul Essence', text = '&9Soaring' },
    ['Striding Soul Essence'] = { title = 'Soul Essence', name = 'Striding Soul Essence', text = '&9Striding' },
    ['Synergetic Soul Essence'] = { title = 'Soul Essence', name = 'Synergetic Soul Essence', text = '&9Synergetic' },
    ['Vanishing Soul Essence'] = { title = 'Soul Essence', name = 'Vanishing Soul Essence', text = '&9Vanishing' },
    ['Venomous Soul Essence'] = { title = 'Soul Essence', name = 'Venomous Soul Essence', text = '&9Venomous' },
    ['Volatile Soul Essence'] = { title = 'Soul Essence', name = 'Volatile Soul Essence', text = '&9Volatile' },
    ['Withering Soul Essence'] = { title = 'Soul Essence', name = 'Withering Soul Essence', text = '&9Withering' },


'SCUBA Gear',
'SCUBA Gear',
Line 273: Line 170:


-- Orb of Ankou
-- Orb of Ankou
-- Soul Shards
local pneumas = {
local pneumas = {
{'Aggressive', '&9Aggressive' },
'Aggressive',
{'Agile', '&9Agile' },
'Agile',
{'Anchoring', '&9Anchoring' },
'Anchoring',
{'Bargaining', '&9Bargaining' },
'Bargaining',
{'Bashing', '&9Bashing' },
'Bashing',
{'Blasting', '&9Blasting' },
'Blasting',
{'Blinding', '&9Blinding' },
'Blinding',
{'Bounding', '&9Bounding' },
'Bounding',
{'Bubbly', '&9Bubbly' },
'Bubbly',
{'Conjuring', '&9Conjuring' },
'Conjuring',
{'Depriving', '&9Depriving' },
'Depriving',
{'Draining', '&9Draining' },
'Draining',
{'Enduring', '&9Enduring' },
'Enduring',
{'Expeditious', '&9Expeditious' },
'Expeditious',
{'Feathery', '&9Feathery' },
'Feathery',
{'Freezing', '&9Freezing' },
'Freezing',
{'Gazing', '&9Gazing' },
'Gazing',
{'Gliding', '&9Gliding' },
'Gliding',
{'Hawkeye', '&9Hawkeye' },
'Hawkeye',
{'Incombustible', '&9Incombustible' },
'Incombustible',
{'Lifeless', '&9Lifeless' },
'Lifeless',
{'Neutralizing', '&9Neutralizing' },
'Neutralizing',
{'Phasing', '&9Phasing' },
'Phasing',
{'Pricking', '&7Thorns V/&9Pricking' },
'Pricking',
{'Retreating', '&9Retreating' },
'Retreating',
{'Rushing', '&9Rushing' },
'Rushing',
{'Scaling', '&9Scaling' },
'Scaling',
{'Soaring', '&9Soaring' },
'Soaring',
{'Striding', '&9Striding' },
'Striding',
{'Synergetic', '&9Synergetic' },
'Synergetic',
{'Vanishing', '&9Vanishing' },
'Vanishing',
{'Venomous', '&9Venomous' },
'Venomous',
{'Volatile', '&9Volatile' },
'Volatile',
{'Withering', '&9Withering' }
'Withering',
}
 
-- Create Soul Shards
local preLore = {
{'Pricking', '&7Thorns V' },
}
}


local preAttackDamageText = {
local preAttackDamageText = {
{'Enduring', '/&9+8 Max Health/&c-20% Speed' },
{'Enduring', '&9+8 Max Health/&c-20% Speed' },
{'Soaring', '/&c-20% Max Health' },
{'Soaring', '&c-20% Max Health' },
{'Bashing', '/&c-40% Attack Speed' }
{'Bashing', '&c-40% Attack Speed' }
}
}


local postAttackDamageText = {
local postAttackDamageText = {
{'Anchoring', '/&9+0.9 Knockback Resistance' },
{'Anchoring', '&9+0.9 Knockback Resistance' },
{'Bashing', '/&9+70% Attack Damage' }
{'Bashing', '&9+70% Attack Damage' }
}
}


for _, shard in ipairs( pneumas ) do
local name = shard .. ' Soul Shard'
local combinedText = '&9' .. shard .. '//&7When in Off Hand:'


-- Create Soul Shards
for _, shard2 in ipairs( preLore ) do
for _, shard in ipairs( pneumas ) do
if shard == shard2[1] then
local name = shard[1] .. ' Soul Shard'
combinedText = shard2[2] .. '/' .. combinedText
local combinedText = shard[2] .. '//&7When in off hand:'
end
end


for _, shard2 in ipairs( preAttackDamageText ) do
for _, shard2 in ipairs( preAttackDamageText ) do
if shard[1] == shard2[1] then
if shard[1] == shard2[1] then
combinedText = combinedText .. shard2[2]
combinedText = combinedText .. '/' .. shard2[2]
end
end
end
end
Line 337: Line 242:


for _, shard2 in ipairs( postAttackDamageText ) do
for _, shard2 in ipairs( postAttackDamageText ) do
if shard[1] == shard2[1] then
if shard == shard2[1] then
combinedText = combinedText .. shard2[2]
combinedText = combinedText .. '/' .. shard2[2]
end
end
end
end
Line 345: Line 250:
end
end


-- Create Soul Essences
for _, pneuma in ipairs( pneumas ) do
local name = pneuma .. ' Soul Essence'
aliases[name] = { title = 'Soul Essence', name = name, text = '&9' .. pneuma }
end
-- Create Single Pneuma Orbs of Ankou
for _, pneuma in ipairs( pneumas ) do
local name = 'Orb of Ankou (' .. pneuma ''
aliases[name] = { title = '&bOrb of Ankou', name = name, text = '&dPneumas:/&9' .. pneuma }
end


return aliases
return aliases
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits