Melvor Idle:Projects/V1.3 Lua Fixes and Additions

From Melvor Idle

Following the release of V1.3 (Into the Abyss Expansion) of the game, there are a number of changes required for many Lua generated templates:

  • Some existing templates need to be amended to correctly handle changes to the game data structure
  • Some new templates are required, for things such as infoboxes & associated other templates for stronghold and abyssal depth pages

Tasks

The following major goals / tasks can be identified. They are listed in order that they are most reasonable to complete in. (Please do not remove items from this list once finished. Rather change completed=no to completed=yes

Completed User Description Skills
No Auron956 Create templates for strongholds, likely to be contained within Module:CombatAreas and Module:CombatAreas/AreaTables Lua
Yes Slash Summoning Item costs are now rounded up instead of down. Any code deriving the quantity of Summoning secondary item costs will need amending. Additionally, Abyssal tablet costs are capped at 250, up from 50. Lua
No Slash Check any tables that have Abyssal Levels and/or Abyssal EXP for incorrect values such as Level 99 or 0xp. Known Templates with issues: Template:SkillUnlocks, Template:MenuThieving (sort by DLC too), Template:MenuLogs, Template:OreBarNav, Template:RuneNav, Template:FamiliarNav, Template:PrayerNav, Lua
No N/A Correctly handle requirements for Abyssal Realm within Module:Items/UseTables and Module:Items/SourceTables Lua
No N/A Support Realms in the following templates: Template:TownshipBuildingBiomeTable, Template:TownshipBuildingTable, Template:SkillUnlocks lua
No N/A Enhance modifiers support, enabling Template:ModifierTable to pass restrictions for parameters like currency, realm, etc. on a global and per-modifier basis Lua
Yes Slash Present new resistances, damage type information within Template:AutoArmourStats, Template:AutoWeaponStats, Template:EquipmentTableFromList. Eternal Damage mobs (Starfang) need fixing however I'm unsure if their resistance will be AR or ER upon being properly implemented into the game. Lua
No N/A Add any new modifier sources into Module:ModifierTables Lua
No N/A Introduce support for combat effects, likely as a new module (Module:CombatEffects?) Lua
No N/A Correct monster maximum hit calculation, likely dependent on combat effects support Lua
No N/A Support conditional modifiers within Module:Modifiers, then incorporate into Module:ModifierTables Lua
No N/A Support abyssal stats within Template:UpgradeTable and fix {{UpgradeTable|Potions}} having no results (?) Lua
No N/A The tables under Astrology#Constellations should have IDs so they can be linked to using Astrology#Deedree Lua
No N/A Add Expansion icons to the following templates: Template:FishingNav, Template:FarmingNav, Template:PotionNav, Template:FoodNav, Template:PetNav, Template:SpellNav Lua
No N/A Add Abyss Depths to Template:CombatNav Lua
No N/A Add food items into the list of items to check when checking for modifiers Lua

Notes

Take care when amending modules due to the high impact upon other pages. Using the console (available when editing any module) and creating sandbox copies of modules is encouraged.

Goal

Once completed, all automated templates in use across the wiki should correctly handle the current version of the game data, reporting accurate information.