Anonymous

Module:Skills/Cartography: Difference between revisions

From Melvor Idle
no edit summary
(Fix POI discovery rewards handling)
No edit summary
Line 12: Line 12:
local Common = require('Module:Common')
local Common = require('Module:Common')
local Icons = require('Module:Icons')
local Icons = require('Module:Icons')
local Num = require('Module:Number')


p.MelvorMap = GameData.getEntityByID(SkillData.Cartography.worldMaps, 'melvorAoD:Melvor')
p.MelvorMap = GameData.getEntityByID(SkillData.Cartography.worldMaps, 'melvorAoD:Melvor')
Line 187: Line 188:
local row = mw.html.create('tr')
local row = mw.html.create('tr')
row:tag('td'):wikitext(Shared.formatnum(bonus.masteredHexes))
row:tag('td'):wikitext(Num.formatnum(bonus.masteredHexes))
if modText == nil then
if modText == nil then
row:tag('td')
row:tag('td')
2,874

edits