Empire Overview

Script for Ikariam 0.7.x, Overview tables for resources, buildings and military inspired by Ikariam Empire Board

< Feedback on Empire Overview

Review: ياخشى - قوليازما ئىشلەيدۇ، بىراق خاتالىق بار

§
يوللانغان ۋاقتى: 2014-06-19

Can add missing resources to full warehouse?

hi can you add this feature?
here is an example:
var progTip = '\n \n \n \n \n \n \n \n \n {0}{11}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

{12}{13}
{9}{1}{2}« {14}
{10}{3}{4}« {15}
{16}{17}«Missing
{5}{6}
{7}« {8}

';

and:

return Utils.format(progTip, [rows, Utils.FormatNumToStr(storage.safe, false, 0), Utils.FormatNumToStr(storage.capacity, false, 0), Utils.FormatNumToStr(Math.min(storage.safe, current), false, 0), Utils.FormatNumToStr(Math.min(storage.capacity, current), false, 0), Utils.FormatNumToStr(Math.min(1, current / storage.safe) * 100, false, 2) + '%', Utils.FormatNumToStr(Math.min(1, current / storage.capacity) * 100, false, 2) + '%', Utils.FormatTimeLengthToStr(fulltime), fulltime < 0 ? Constant.LanguageData[lang].time_to_empty : Constant.LanguageData[lang].time_to_full, database.getGlobalData.hasPremiumFeature(Constant.Premium.STORAGECAPACITY_BONUS)? '' : '', database.getGlobalData.hasPremiumFeature(Constant.Premium.SAFECAPACITY_BONUS)? '' : '', gold, Constant.LanguageData[lang].safe, Constant.LanguageData[lang].capacity, Constant.LanguageData[lang].maximum, Constant.LanguageData[lang].used,Utils.FormatNumToStr(storage.safe - Math.min(storage.safe, current)),Utils.FormatNumToStr(storage.capacity-Math.min(storage.capacity, current))])

germanoئاپتور
§
يوللانغان ۋاقتى: 2014-06-19
تەھرىرلەنگەن ۋاقتى: 2014-06-19

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.