Module:Gameplay

local p = {} local game = mw.loadData('Module:Gameplay/data')

function p.skills(frame) local data = { '==Skills==', '{| class="wikitable" style="text-align: center;"', '|-'   }    local names = {} local stats = {} for i, j in pairs(game.skills) do       stat = {} table.insert(names, i)       table.insert(stats,stat) end return --table.concat(data, '\n') end

function p.yellowTile(frame) local data = { '==Yellow Gift Tile Drop rate==', '{| class="wikitable" style="text-align: center;"', '|-',       '! Rarity', '! Range', '|-'   }    for i, j in pairs(game.yellow) do        table.insert(data, '|'..j[1]) table.insert(data, '|'..j[2]) table.insert(data, '|-') end table.insert(data, '|}') return --table.concat(data, '\n') end

function p.endTurn(frame) local data = { '==Tiles at End of Turn==', '{| class="wikitable" style="text-align: center;"', '|-',       '! Type', '! Multiplayer (Required tiles*multiplayer at the end of the turn)', '|-'   }    for i, j in pairs(game.endTurn) do        table.insert(data, '|'..j[1]) table.insert(data, '| x'..j[2]) table.insert(data, '|-') end table.insert(data, '|}') return --table.concat(data, '\n') end

function p.shop(frame) local data = { '==Shop==', '===Offers===' }   return --table.concat(data, '\n') end

function p.onetimeoffers(frame) local data = { '===One Time Offers===' }   return --table.concat(data, '\n') end

return p