Module:Mazunki/Monsters: Difference between revisions

m
whoos csv
m (name not table)
m (whoos csv)
 
(5 intermediate revisions by the same user not shown)
Line 75: Line 75:
end
end
table.insert(rowTxt, tostring(hasSpecialAttack))
table.insert(rowTxt, tostring(hasSpecialAttack))
table.insert(rowTxt, table.concat(spAtks, ";"))
table.insert(rowTxt, table.concat(spAtks, arraySeparatorInSheets))
table.insert(rowTxt, table.concat(spAtksChance, ";"))
table.insert(rowTxt, table.concat(spAtksChance, arraySeparatorInSheets))
table.insert(rowTxt, Monsters._getMonsterAR(monster))
table.insert(rowTxt, Monsters._getMonsterAR(monster))
Line 122: Line 122:
isNormalLocation = true
isNormalLocation = true
end
end
table.insert(locations, location.name)
table.insert(locations, tostring(location.name))
end
end
table.insert(rowTxt, table.concat(locations, arraySeparatorInSheets))
table.insert(rowTxt, table.concat(locations, arraySeparatorInSheets))
Line 135: Line 135:
else
else
slayer = {
slayer = {
["display"] = "None",
["id"] = notext,
["reward"] = 0
["display"] = notext,
["cost"] = notext,
["slayerLevel"] = notext,
["minQuantity"] = notext,
["maxQuantity"] = notext,
["reward"] = notext
}
}
rowTxt = rowTxt
end
end
table.insert(rowTxt, slayer.id)
table.insert(rowTxt, tostring(slayer.id))
table.insert(rowTxt, slayer.display)
table.insert(rowTxt, tostring(slayer.display))
table.insert(rowTxt, slayer.cost)
table.insert(rowTxt, tostring(slayer.cost))
table.insert(rowTxt, slayer.slayerLevel)
table.insert(rowTxt, tostring(slayer.slayerLevel))
table.insert(rowTxt, slayer.minQuantity)
table.insert(rowTxt, tostring(slayer.minQuantity))
table.insert(rowTxt, slayer.maxQuantity)
table.insert(rowTxt, tostring(slayer.maxQuantity))
table.insert(rowTxt, slayer.reward)
table.insert(rowTxt, tostring(slayer.reward))


local itemIds = {}
local itemIds = {}
892

edits