Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.74 KB | None | 0 0
  1. -------------------------------------------------------------------------------------------------------------------
  2. -- Mappings, lists and sets to describe game relationships that aren't easily determinable otherwise.
  3. -------------------------------------------------------------------------------------------------------------------
  4.  
  5. -------------------------------------------------------------------------------------------------------------------
  6. -- Elemental mappings for element relationships and certain types of spells and gear.
  7. -------------------------------------------------------------------------------------------------------------------
  8.  
  9. -- Basic elements
  10. elements = {}
  11.  
  12. elements.list = S{'Light','Dark','Fire','Ice','Wind','Earth','Lightning','Water'}
  13.  
  14. elements.weak_to = {['Light']='Dark', ['Dark']='Light', ['Fire']='Ice', ['Ice']='Wind', ['Wind']='Earth', ['Earth']='Lightning',
  15. ['Lightning']='Water', ['Water']='Fire'}
  16.  
  17. elements.strong_to = {['Light']='Dark', ['Dark']='Light', ['Fire']='Water', ['Ice']='Fire', ['Wind']='Ice', ['Earth']='Wind',
  18. ['Lightning']='Earth', ['Water']='Lightning'}
  19.  
  20.  
  21. storms = S{"Aurorastorm", "Voidstorm", "Firestorm", "Sandstorm", "Rainstorm", "Windstorm", "Hailstorm", "Thunderstorm",
  22. "Aurorastorm II", "Voidstorm II", "Firestorm II", "Sandstorm II", "Rainstorm II", "Windstorm II", "Hailstorm II", "Thunderstorm II"}
  23.  
  24. elements.storm_of = {['Light']="Aurorastorm II", ['Dark']="Voidstorm II", ['Fire']="Firestorm II", ['Earth']="Sandstorm II",
  25. ['Water']="Rainstorm II",['Wind']="Windstorm II", ['Ice']="Hailstorm II", ['Lightning']="Thunderstorm II"}
  26.  
  27. spirits = S{"LightSpirit", "DarkSpirit", "FireSpirit", "EarthSpirit", "WaterSpirit", "AirSpirit", "IceSpirit", "ThunderSpirit"}
  28. elements.spirit_of = {['Light']="Light Spirit", ['Dark']="Dark Spirit", ['Fire']="Fire Spirit", ['Earth']="Earth Spirit",
  29. ['Water']="Water Spirit", ['Wind']="Air Spirit", ['Ice']="Ice Spirit", ['Lightning']="Thunder Spirit"}
  30.  
  31. runes = S{'Lux', 'Tenebrae', 'Ignis', 'Gelus', 'Flabra', 'Tellus', 'Sulpor', 'Unda'}
  32. elements.rune_of = {['Light']='Lux', ['Dark']='Tenebrae', ['Fire']='Ignis', ['Ice']='Gelus', ['Wind']='Flabra',
  33. ['Earth']='Tellus', ['Lightning']='Sulpor', ['Water']='Unda'}
  34.  
  35. elements.obi_of = {['Light']='Hachirin-no-obi', ['Dark']='Hachirin-no-obi', ['Fire']='Hachirin-no-obi', ['Ice']='Hachirin-no-obi', ['Wind']='Hachirin-no-obi',
  36. ['Earth']='Hachirin-no-obi', ['Lightning']='Hachirin-no-obi', ['Water']='Hachirin-no-obi'}
  37.  
  38. elements.gorget_of = {['Light']='Fotia Gorget', ['Dark']='Fotia Gorget', ['Fire']='Fotia Gorget', ['Ice']='Fotia Gorget',
  39. ['Wind']='Fotia Gorget', ['Earth']='Fotia Gorget', ['Lightning']='Fotia Gorget', ['Water']='Fotia Gorget'}
  40.  
  41. elements.belt_of = {['Light']='Fotia Belt', ['Dark']='Fotia Belt', ['Fire']='Fotia Belt', ['Ice']='Fotia Belt',
  42. ['Wind']='Fotia Belt', ['Earth']='Fotia Belt', ['Lightning']='Fotia Belt', ['Water']='Fotia Belt'}
  43.  
  44. elements.fastcast_staff_of = {['Light']='Arka I', ['Dark']='Xsaeta I', ['Fire']='Atar I', ['Ice']='Vourukasha I',
  45. ['Wind']='Vayuvata I', ['Earth']='Vishrava I', ['Lightning']='Apamajas I', ['Water']='Haoma I', ['Thunder']='Apamajas I'}
  46.  
  47. elements.recast_staff_of = {['Light']='Arka II', ['Dark']='Xsaeta II', ['Fire']='Atar II', ['Ice']='Vourukasha II',
  48. ['Wind']='Vayuvata II', ['Earth']='Vishrava II', ['Lightning']='Apamajas II', ['Water']='Haoma II', ['Thunder']='Apamajas II'}
  49.  
  50. elements.perpetuance_staff_of = {['Light']='Arka III', ['Dark']='Xsaeta III', ['Fire']='Atar III', ['Ice']='Vourukasha III',
  51. ['Wind']='Vayuvata III', ['Earth']='Vishrava III', ['Lightning']='Apamajas III', ['Water']='Haoma III', ['Thunder']='Apamajas III'}
  52.  
  53.  
  54. -- Elements for skillchain names
  55. skillchain_elements = {}
  56. skillchain_elements.Light = S{'Light','Fire','Wind','Lightning'}
  57. skillchain_elements.Darkness = S{'Dark','Ice','Earth','Water'}
  58. skillchain_elements.Fusion = S{'Light','Fire'}
  59. skillchain_elements.Fragmentation = S{'Wind','Lightning'}
  60. skillchain_elements.Distortion = S{'Ice','Water'}
  61. skillchain_elements.Gravitation = S{'Dark','Earth'}
  62. skillchain_elements.Transfixion = S{'Light'}
  63. skillchain_elements.Compression = S{'Dark'}
  64. skillchain_elements.Liquification = S{'Fire'}
  65. skillchain_elements.Induration = S{'Ice'}
  66. skillchain_elements.Detonation = S{'Wind'}
  67. skillchain_elements.Scission = S{'Earth'}
  68. skillchain_elements.Impaction = S{'Lightning'}
  69. skillchain_elements.Reverberation = S{'Water'}
  70.  
  71.  
  72. -------------------------------------------------------------------------------------------------------------------
  73. -- Mappings for weaponskills
  74. -------------------------------------------------------------------------------------------------------------------
  75.  
  76. -- REM weapons and their corresponding weaponskills
  77. data = {}
  78. data.weaponskills = {}
  79. data.weaponskills.relic = {
  80. ["Spharai"] = "Final Heaven",
  81. ["Mandau"] = "Mercy Stroke",
  82. ["Excalibur"] = "Knights of Round",
  83. ["Ragnarok"] = "Scourge",
  84. ["Guttler"] = "Onslaught",
  85. ["Bravura"] = "Metatron Torment",
  86. ["Apocalypse"] = "Catastrophe",
  87. ["Gungnir"] = "Gierskogul",
  88. ["Kikoku"] = "Blade: Metsu",
  89. ["Amanomurakumo"] = "Tachi: Kaiten",
  90. ["Mjollnir"] = "Randgrith",
  91. ["Claustrum"] = "Gates of Tartarus",
  92. ["Annihilator"] = "Coronach",
  93. ["Yoichinoyumi"] = "Namas Arrow"}
  94. data.weaponskills.mythic = {
  95. ["Conqueror"] = "King's Justice",
  96. ["Glanzfaust"] = "Ascetic's Fury",
  97. ["Yagrush"] = "Mystic Boon",
  98. ["Laevateinn"] = "Vidohunir",
  99. ["Murgleis"] = "Death Blossom",
  100. ["Vajra"] = "Mandalic Stab",
  101. ["Burtgang"] = "Atonement",
  102. ["Liberator"] = "Insurgency",
  103. ["Aymur"] = "Primal Rend",
  104. ["Carnwenhan"] = "Mordant Rime",
  105. ["Gastraphetes"] = "Trueflight",
  106. ["Kogarasumaru"] = "Tachi: Rana",
  107. ["Nagi"] = "Blade: Kamu",
  108. ["Ryunohige"] = "Drakesbane",
  109. ["Nirvana"] = "Garland of Bliss",
  110. ["Tizona"] = "Expiacion",
  111. ["Death Penalty"] = "Leaden Salute",
  112. ["Kenkonken"] = "Stringing Pummel",
  113. ["Terpsichore"] = "Pyrrhic Kleos",
  114. ["Tupsimati"] = "Omniscience",
  115. ["Idris"] = "Exudation",
  116. ["Epeolatry"] = "Dimidiation"}
  117. data.weaponskills.empyrean = {
  118. ["Verethragna"] = "Victory Smite",
  119. ["Twashtar"] = "Rudra's Storm",
  120. ["Almace"] = "Chant du Cygne",
  121. ["Caladbolg"] = "Torcleaver",
  122. ["Farsha"] = "Cloudsplitter",
  123. ["Ukonvasara"] = "Ukko's Fury",
  124. ["Redemption"] = "Quietus",
  125. ["Rhongomiant"] = "Camlann's Torment",
  126. ["Kannagi"] = "Blade: Hi",
  127. ["Masamune"] = "Tachi: Fudo",
  128. ["Gambanteinn"] = "Dagann",
  129. ["Hvergelmir"] = "Myrkr",
  130. ["Gandiva"] = "Jishnu's Radiance",
  131. ["Armageddon"] = "Wildfire"}
  132.  
  133. -- Weaponskills that can be used at range.
  134. data.weaponskills.ranged = S{"Flaming Arrow", "Piercing Arrow", "Dulling Arrow", "Sidewinder", "Arching Arrow",
  135. "Empyreal Arrow", "Refulgent Arrow", "Apex Arrow", "Namas Arrow", "Jishnu's Radiance",
  136. "Hot Shot", "Split Shot", "Sniper Shot", "Slug Shot", "Heavy Shot", "Detonator", "Last Stand",
  137. "Coronach", "Trueflight", "Leaden Salute", "Wildfire",
  138. "Myrkr"}
  139.  
  140. ranged_weaponskills = data.weaponskills.ranged
  141.  
  142. -------------------------------------------------------------------------------------------------------------------
  143. -- Spell mappings allow defining a general category or description that each of sets of related
  144. -- spells all fall under.
  145. -------------------------------------------------------------------------------------------------------------------
  146.  
  147. spell_maps = {
  148. ['Cure']='Cure',['Cure II']='Cure',['Cure III']='Cure',['Cure IV']='Cure',['Cure V']='Cure',['Cure VI']='Cure',
  149. ['Cura']='Curaga',['Cura II']='Curaga',['Cura III']='Curaga',
  150. ['Curaga']='Curaga',['Curaga II']='Curaga',['Curaga III']='Curaga',['Curaga IV']='Curaga',['Curaga V']='Curaga',
  151. -- Status Removal doesn't include Esuna or Sacrifice, since they work differently than the rest
  152. ['Poisona']='StatusRemoval',['Paralyna']='StatusRemoval',['Silena']='StatusRemoval',['Blindna']='StatusRemoval',['Cursna']='StatusRemoval',
  153. ['Stona']='StatusRemoval',['Viruna']='StatusRemoval',['Erase']='StatusRemoval',
  154. ['Barfire']='BarElement',['Barstone']='BarElement',['Barwater']='BarElement',['Baraero']='BarElement',['Barblizzard']='BarElement',['Barthunder']='BarElement',
  155. ['Barfira']='BarElement',['Barstonra']='BarElement',['Barwatera']='BarElement',['Baraera']='BarElement',['Barblizzara']='BarElement',['Barthundra']='BarElement',
  156. ['Raise']='Raise',['Raise II']='Raise',['Raise III']='Raise',['Arise']='Raise',
  157. ['Reraise']='Reraise',['Reraise II']='Reraise',['Reraise III']='Reraise',
  158. ['Protect']='Protect',['Protect II']='Protect',['Protect III']='Protect',['Protect IV']='Protect',['Protect V']='Protect',
  159. ['Shell']='Shell',['Shell II']='Shell',['Shell III']='Shell',['Shell IV']='Shell',['Shell V']='Shell',
  160. ['Protectra']='Protectra',['Protectra II']='Protectra',['Protectra III']='Protectra',['Protectra IV']='Protectra',['Protectra V']='Protectra',
  161. ['Shellra']='Shellra',['Shellra II']='Shellra',['Shellra III']='Shellra',['Shellra IV']='Shellra',['Shellra V']='Shellra',
  162. ['Regen']='Regen',['Regen II']='Regen',['Regen III']='Regen',['Regen IV']='Regen',['Regen V']='Regen',
  163. ['Refresh']='Refresh',['Refresh II']='Refresh',
  164. ['Teleport-Holla']='Teleport',['Teleport-Dem']='Teleport',['Teleport-Mea']='Teleport',['Teleport-Altep']='Teleport',['Teleport-Yhoat']='Teleport',
  165. ['Teleport-Vahzl']='Teleport',['Recall-Pashh']='Teleport',['Recall-Meriph']='Teleport',['Recall-Jugner']='Teleport',
  166. ['Valor Minuet']='Minuet',['Valor Minuet II']='Minuet',['Valor Minuet III']='Minuet',['Valor Minuet IV']='Minuet',['Valor Minuet V']='Minuet',
  167. ["Knight's Minne"]='Minne',["Knight's Minne II"]='Minne',["Knight's Minne III"]='Minne',["Knight's Minne IV"]='Minne',["Knight's Minne V"]='Minne',
  168. ['Advancing March']='March',['Victory March']='March',['Honor March']='March',
  169. ['Sword Madrigal']='Madrigal',['Blade Madrigal']='Madrigal',
  170. ["Hunter's Prelude"]='Prelude',["Archer's Prelude"]='Prelude',
  171. ['Sheepfoe Mambo']='Mambo',['Dragonfoe Mambo']='Mambo',
  172. ['Raptor Mazurka']='Mazurka',['Chocobo Mazurka']='Mazurka',
  173. ['Sinewy Etude']='Etude',['Dextrous Etude']='Etude',['Vivacious Etude']='Etude',['Quick Etude']='Etude',['Learned Etude']='Etude',['Spirited Etude']='Etude',['Enchanting Etude']='Etude',
  174. ['Herculean Etude']='Etude',['Uncanny Etude']='Etude',['Vital Etude']='Etude',['Swift Etude']='Etude',['Sage Etude']='Etude',['Logical Etude']='Etude',['Bewitching Etude']='Etude',
  175. ["Mage's Ballad"]='Ballad',["Mage's Ballad II"]='Ballad',["Mage's Ballad III"]='Ballad',
  176. ["Army's Paeon"]='Paeon',["Army's Paeon II"]='Paeon',["Army's Paeon III"]='Paeon',["Army's Paeon IV"]='Paeon',["Army's Paeon V"]='Paeon',["Army's Paeon VI"]='Paeon',
  177. ['Fire Carol']='Carol',['Ice Carol']='Carol',['Wind Carol']='Carol',['Earth Carol']='Carol',['Lightning Carol']='Carol',['Water Carol']='Carol',['Light Carol']='Carol',['Dark Carol']='Carol',
  178. ['Fire Carol II']='Carol',['Ice Carol II']='Carol',['Wind Carol II']='Carol',['Earth Carol II']='Carol',['Lightning Carol II']='Carol',['Water Carol II']='Carol',['Light Carol II']='Carol',['Dark Carol II']='Carol',
  179. ['Foe Lullaby']='Lullaby',['Foe Lullaby II']='Lullaby',['Horde Lullaby']='Lullaby',['Horde Lullaby II']='Lullaby',
  180. ['Fire Threnody']='Threnody',['Ice Threnody']='Threnody',['Wind Threnody']='Threnody',['Earth Threnody']='Threnody',['Lightning Threnody']='Threnody',['Water Threnody']='Threnody',['Light Threnody']='Threnody',['Dark Threnody']='Threnody',
  181. ['Battlefield Elegy']='Elegy',['Carnage Elegy']='Elegy',
  182. ['Foe Requiem']='Requiem',['Foe Requiem II']='Requiem',['Foe Requiem III']='Requiem',['Foe Requiem IV']='Requiem',['Foe Requiem V']='Requiem',['Foe Requiem VI']='Requiem',['Foe Requiem VII']='Requiem',
  183. ['Utsusemi: Ichi']='Utsusemi',['Utsusemi: Ni']='Utsusemi',
  184. ['Katon: Ichi'] = 'ElementalNinjutsu',['Suiton: Ichi'] = 'ElementalNinjutsu',['Raiton: Ichi'] = 'ElementalNinjutsu',
  185. ['Doton: Ichi'] = 'ElementalNinjutsu',['Huton: Ichi'] = 'ElementalNinjutsu',['Hyoton: Ichi'] = 'ElementalNinjutsu',
  186. ['Katon: Ni'] = 'ElementalNinjutsu',['Suiton: Ni'] = 'ElementalNinjutsu',['Raiton: Ni'] = 'ElementalNinjutsu',
  187. ['Doton: Ni'] = 'ElementalNinjutsu',['Huton: Ni'] = 'ElementalNinjutsu',['Hyoton: Ni'] = 'ElementalNinjutsu',
  188. ['Katon: San'] = 'ElementalNinjutsu',['Suiton: San'] = 'ElementalNinjutsu',['Raiton: San'] = 'ElementalNinjutsu',
  189. ['Doton: San'] = 'ElementalNinjutsu',['Huton: San'] = 'ElementalNinjutsu',['Hyoton: San'] = 'ElementalNinjutsu',
  190. ['Banish']='Banish',['Banish II']='Banish',['Banish III']='Banish',['Banishga']='Banish',['Banishga II']='Banish',
  191. ['Holy']='Holy',['Holy II']='Holy',['Drain']='Drain',['Drain II']='Drain',['Aspir']='Aspir',['Aspir II']='Aspir',
  192. ['Absorb-Str']='Absorb',['Absorb-Dex']='Absorb',['Absorb-Vit']='Absorb',['Absorb-Agi']='Absorb',['Absorb-Int']='Absorb',['Absorb-Mnd']='Absorb',['Absorb-Chr']='Absorb',
  193. ['Absorb-Acc']='Absorb',['Absorb-TP']='Absorb',['Absorb-Attri']='Absorb',
  194. ['Burn']='ElementalEnfeeble',['Frost']='ElementalEnfeeble',['Choke']='ElementalEnfeeble',['Rasp']='ElementalEnfeeble',['Shock']='ElementalEnfeeble',['Drown']='ElementalEnfeeble',
  195. ['Pyrohelix']='Helix',['Cryohelix']='Helix',['Anemohelix']='Helix',['Geohelix']='Helix',['Ionohelix']='Helix',['Hydrohelix']='Helix',['Luminohelix']='Helix',['Noctohelix']='Helix',
  196. ['Pyrohelix II']='Helix',['Cryohelix II']='Helix',['Anemohelix II']='Helix',['Geohelix II']='Helix',['Ionohelix II']='Helix',['Hydrohelix II']='Helix',['Luminohelix II']='Helix',['Noctohelix II']='Helix',
  197. ['Firestorm']='Storm',['Hailstorm']='Storm',['Windstorm']='Storm',['Sandstorm']='Storm',['Thunderstorm']='Storm',['Rainstorm']='Storm',['Aurorastorm']='Storm',['Voidstorm']='Storm',
  198. ['Firestorm II']='Storm',['Hailstorm II']='Storm',['Windstorm II']='Storm',['Sandstorm II']='Storm',['Thunderstorm II']='Storm',['Rainstorm II']='Storm',['Aurorastorm II']='Storm',['Voidstorm II']='Storm',
  199. ['Fire Maneuver']='Maneuver',['Ice Maneuver']='Maneuver',['Wind Maneuver']='Maneuver',['Earth Maneuver']='Maneuver',['Thunder Maneuver']='Maneuver',
  200. ['Water Maneuver']='Maneuver',['Light Maneuver']='Maneuver',['Dark Maneuver']='Maneuver',
  201. }
  202.  
  203. no_skill_spells_list = S{'Haste', 'Refresh', 'Regen', 'Protect', 'Protectra', 'Shell', 'Shellra',
  204. 'Raise', 'Reraise', 'Sneak', 'Invisible', 'Deodorize'}
  205.  
  206.  
  207. -------------------------------------------------------------------------------------------------------------------
  208. -- Tables to specify general area groupings. Creates the 'areas' table to be referenced in job files.
  209. -- Zone names provided by world.area/world.zone are currently in all-caps, so defining the same way here.
  210. -------------------------------------------------------------------------------------------------------------------
  211.  
  212. areas = {}
  213.  
  214. -- City areas for town gear and behavior.
  215. areas.Cities = S{
  216. "Ru'Lude Gardens",
  217. "Upper Jeuno",
  218. "Lower Jeuno",
  219. "Port Jeuno",
  220. "Port Windurst",
  221. "Windurst Waters",
  222. "Windurst Woods",
  223. "Windurst Walls",
  224. "Heavens Tower",
  225. "Port San d'Oria",
  226. "Northern San d'Oria",
  227. "Southern San d'Oria",
  228. "Port Bastok",
  229. "Bastok Markets",
  230. "Bastok Mines",
  231. "Metalworks",
  232. "Aht Urhgan Whitegate",
  233. "Tavanazian Safehold",
  234. "Nashmau",
  235. "Selbina",
  236. "Mhaura",
  237. "Norg",
  238. "Eastern Adoulin",
  239. "Western Adoulin",
  240. "Kazham"
  241. }
  242. -- Adoulin areas, where Ionis will grant special stat bonuses.
  243. areas.Adoulin = S{
  244. "Yahse Hunting Grounds",
  245. "Ceizak Battlegrounds",
  246. "Foret de Hennetiel",
  247. "Morimar Basalt Fields",
  248. "Yorcia Weald",
  249. "Yorcia Weald [U]",
  250. "Cirdas Caverns",
  251. "Cirdas Caverns [U]",
  252. "Marjami Ravine",
  253. "Kamihr Drifts",
  254. "Sih Gates",
  255. "Moh Gates",
  256. "Dho Gates",
  257. "Woh Gates",
  258. "Rala Waterways",
  259. "Rala Waterways [U]",
  260. "Outer Ra'Kaznar",
  261. "Outer Ra'Kaznar [U]"
  262. }
  263.  
  264.  
  265. -------------------------------------------------------------------------------------------------------------------
  266. -- Lists of certain NPCs.
  267. -------------------------------------------------------------------------------------------------------------------
  268.  
  269. npcs = {}
  270. npcs.Trust = S{'Ajido-Marujido','Aldo','Ayame','Cherukiki','Curilla','D.Shantotto','Elivira','Excenmille',
  271. 'Fablinix','FerreousCoffin','Gadalar','Gessho','Ingrid','IronEater','Joachim','Klara','Kupipi',
  272. 'LehkoHabhoka','LhuMhakaracca','Lion','Luzaf','Maat','MihliAliapoh','Mnejing','Moogle','Mumor',
  273. 'NajaSalaheem','Najelith','Naji','NanaaMihgo','Nashmeira','Noillurie','Ovjang','Prishe','Rainemard',
  274. 'RomaaMihgo','Sakura','Shantotto','StarSibyl','Tenzen','Trion','UkaTotlihn','Ulmia','Valaineral',
  275. 'Volker','Zazarg','Zeid'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement