892
edits
m (not enough memory) |
m (it funks?) |
||
Line 13: | Line 13: | ||
local result = '{|\r\n' | local result = '{|\r\n' | ||
local rows = {} | local rows = {} | ||
local monsterID = 0 | local monsterID = 0 | ||
Line 22: | Line 19: | ||
local rowTxt = '|-\r\n' | local rowTxt = '|-\r\n' | ||
result = | result = result..'!!ID' | ||
rowTxt = rowTxt..'|'..monsterID | rowTxt = rowTxt..'|'..monsterID | ||
Line 69: | Line 66: | ||
result = result..'!!BonePrayerValue' | result = result..'!!BonePrayerValue' | ||
local bones = Items.getItemByID(monster.bones) | local bones = Items.getItemByID(monster.bones) | ||
if bones.prayerPoints then | if bones ~= nil and bones.prayerPoints then | ||
rowTxt = rowTxt..'|'..bones.name | rowTxt = rowTxt..'|'..bones.name | ||
rowTxt = rowTxt..'|'..bones.prayerPoints | rowTxt = rowTxt..'|'..bones.prayerPoints |
edits