ScreepsPlus

Creep Calculator

part/struct price count boost sum
{{ i.type }} {{ i.price }} {{ i.count * i.price * i.mul }}
units* parts {{ getPartsCount() | num:0 }}({{ getPartsCount()*units | num:0 }}) sum {{ getSum()*units | num }}
per source {{ (1500/300*3000 / getSum() / units) | num }}
balance {{ getBalance() | num }}
Health: {{ getHits(false)*units | num }} (by TOUGH {{getHits(true)*units | num }})
{{ ::stat.name }} {{ assoc[stat.part].count*stat.mul*(bmul[stat.id][assoc[stat.part].boost]||1)*units | num }}/T {{ assoc[stat.part].count*stat.mul*(bmul[stat.id][assoc[stat.part].boost]||1)*1500*units | num }}/life {{ assoc[stat.part].count*stat.mul*(bmul[stat.id][assoc[stat.part].boost]||1)*60*60*units/tick | num }}/H {{ assoc[stat.part].count*stat.mul*(bmul[stat.id][assoc[stat.part].boost]||1)*60*60*24*units/tick | num }}/D
Carry {{ assoc['CARRY'].count*50*(bmul['carry'][assoc['CARRY'].boost]||1) |num }}/1 {{ assoc['CARRY'].count*50*(bmul['carry'][assoc['CARRY'].boost]||1)*units |num }}/{{ units }}
Walk time (empty, full) {{ place.name }}={{ getWait(place.k, false) }},{{ getWait(place.k, true) }}  
Energy {{ getSum(true) | num }}/1 {{ units*getSum(true) | num }}/{{ units }} {{ units*getSum(true)*60*60/(1500*tick) | num }}/H {{ units*getSum(true)*60*60*24/(1500*tick) | num }}/D
{{ assoc[i.type].boost }} {{ 30*i.count | num}}/1 {{ 30*i.count*units | num }}/{{ units }} {{ 30*i.count*units*60*60/(1500*tick) | num}}/H {{ 30*i.count*units*60*60*24/(1500*tick) | num}}/D

links
changes
  • 2018-05-08 made it less noisy
  • 2018-05-08 added boosts support
  • 2018-05-08 added ability to specify tick rate for correct by-hour and by-day calculations
  • 2017-06-16 Published on ScreepsPl.us
  • 2017-04-28 fixed extensions capacity for rcl7/8
  • 2015-08-26 fixed harvest amount
  • 2015-10-08 max parts warning set to 50
  • 2015-10-14 fixed attack,heal values; added units multiplier; captions shinked;
This is copied from o4kapuk's codepen which is a fork of findoff's original version