Module:MinerList: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Add materials used (explosives) column) |
(xp per hour when dropping deathstone doesnt work as you need to get more explosives anyway) |
||
Line 95: | Line 95: | ||
item.productPerHour = item.durationEffective and math.floor(1 / (item.durationEffective + item.downtime / item.batch) * 3600) |
item.productPerHour = item.durationEffective and math.floor(1 / (item.durationEffective + item.downtime / item.batch) * 3600) |
||
item.productPerHourDropping = item.durationEffective and 1 / (item.durationEffective) * 3600 |
item.productPerHourDropping = item.durationEffective and 1 / (item.durationEffective) * 3600 |
||
-- properties per hour |
-- properties per hour |
||
item.xpPerHour = item.xp and item.productPerHour and math.floor(item.xp * item.productPerHour) |
item.xpPerHour = item.xp and item.productPerHour and math.floor(item.xp * item.productPerHour) |
||
Line 221: | Line 221: | ||
:END() |
:END() |
||
-- XP per hour |
-- XP per hour discarding |
||
:IF(item. |
:IF(not item.usesExplosives) |
||
:IF(item.xpPerHourDropping) |
|||
:tag('td') |
|||
⚫ | |||
⚫ | |||
:ELSE() |
|||
⚫ | |||
:END() |
|||
:ELSE() |
|||
:tag('td') |
:tag('td') |
||
:addClass('table-na') |
|||
⚫ | |||
:wikitext('N/A') |
|||
:done() |
:done() |
||
⚫ | |||
⚫ | |||
:END() |
:END() |
||