4,951
edits
Falterfire (talk | contribs) (Added Agility to list of Rhaelyx sources) |
Falterfire (talk | contribs) m (typing is hard) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 108: | Line 108: | ||
table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time, maxTime)) | table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time, maxTime)) | ||
end | end | ||
if item.type == " | if item.type == "Harvest" or item.type == "Herb" or item.type == "Logs" then | ||
-- | --Harvest/Herb means farming | ||
--Logs might mean farming or might not. Depends on the logs | --Logs might mean farming or might not. Depends on the logs | ||
for i, item2 in pairs(ItemData.Items) do | for i, item2 in pairs(ItemData.Items) do | ||
if item2.grownItemID == item.id then | if item2.grownItemID == item.id then | ||
Line 118: | Line 117: | ||
xp = item2.farmingXP | xp = item2.farmingXP | ||
time = item2.timeToGrow | time = item2.timeToGrow | ||
qty = | if item.type == 'Logs' then | ||
qty = 35 | |||
else | |||
qty = 15 | |||
end | |||
req = {{id = i - 1, qty = (item2.seedsRequired ~= nil and item2.seedsRequired or 1)}} | req = {{id = i - 1, qty = (item2.seedsRequired ~= nil and item2.seedsRequired or 1)}} | ||
table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time)) | table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time)) |