Editing Module:MinerList
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 92: | Line 92: | ||
--products per hour |
--products per hour |
||
item.batch = 24 |
item.batch = 24 |
||
item.durationEffective = |
item.durationEffective = item.respawn and item.respawn / item.nodes |
||
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 |
||
:IF( |
:IF(item.xpPerHourDropping) |
||
:IF(item.xpPerHourDropping) |
|||
:tag('td') |
|||
⚫ | |||
⚫ | |||
:ELSE() |
|||
⚫ | |||
:END() |
|||
:ELSE() |
|||
:tag('td') |
:tag('td') |
||
⚫ | |||
:addClass('table-na') |
|||
:wikitext('N/A') |
|||
:done() |
:done() |
||
⚫ | |||
⚫ | |||
:END() |
:END() |
||