Town Enhancer
The script adds labels to buildings in your towns which can show the buildings name, its current level and if you have the resources in town to upgrade it (a hammer is shown on the label).
If the requirements for the next building upgrade are unknown, a blue question mark will appear instead of the hammer.
For the "upgradeable" feature to work correctly you must first configure the script. (click the ikariam options button at the top)
Download
Click the following links to download the script file:
Town Enhancer: townenhancer.user.js
Total unique downloads: 41,461
About
Original Script "Village Enhancer" created By Melin (maintained by Cordazar)
Rewritten by BagBag (Ikariam 0.3.0 Update and New Features)
Notes
This script is approved for use on Ikariam.org (see here)
The Building Requirement data is not complete, but it does now cover a larger range of building levels. I will continue update these when i can get the information.
The bonus calculation has been tweaked, and should give the correct values (±1 due to rounding errors)
Languages
To change the language used in this script, goto "options" (next to the highscore link at the top of the page) and select the language in the Town Enhancer Section.
This script currently supports the following languages
- English (default)
- Swedish (Cordazar)
- German (bettyboo)
- Hebrew (goldpower3)
- Turkish (Caspain)
- Polish (fon60)
- Spanish (Spanish_Translator)
- Vietnamese (stoppables)
- Danish (Kilden af Liv)
- French (Mammouth)
- Ukrainian (Lydia)
- Danish (nightlion)
- Hungarian (-lipa-)
- Arabic (Marduk7)
- Serbian (Ivana)
- Portugues (hotcarbu)
- Romanian (phantom390)
- Russian (BeHappy)
- Italian (Gigi214)
- Finnish (tulir-aamos)
- Czech (jferda)
- Lithuanian (spalvotas)
- Latvian (RuncZ)
If you would like to translate this script into a different language, please see this forum post for how to do so.
Changelog
26-01-2009: Initial Release <v1.0>
- no changes
29-01-2009 <v1.1>
- Added Swedish Language
31-01-2009 <v1.2>
- Architect's Office Bonus Bug Fixed
- Added German Language
- Thousands+Millions Seperator Bug Fixed
- Fixed Wine Grower/Winery Data
01-02-2009 <v1.3>
- Building Requirement List Updated
- Added Hebrew Language
- Added Turkish Language
- Fixed File Encoding
- Updated Calculation Method
01-02-2009 <v1.3a>
- Added Polish Language
- Added Spanish Language
15-02-2009 <v1.3b>
- Added Vietnamese Language
- Added Danish Language
16-02-2009 <v1.3c>
- Added French Language
19-02-2009 <v1.3d>
- Added Danish Language (?)
22-02-2009 <v1.3e>
- Fixed Problem with ae.ikariam.com (hopefully)
01-03-2009 <v1.3f>
- Added Hungarian Language
- Added Arabic Language
04-03-2009 <v1.3g>
- Added Serbian Language
- Added Portugues Language
19-03-2009 <v1.3h>
- Added Romanian Language
- Included Spying Patch
19-03-2009 <v1.3i>
- Added Russian Language
- Added Italian Language
19-03-2009 <v1.3j>
- Added Finnish Language
19-03-2009 <v1.3k>
- Bug Fix
26-05-2009 <v1.3l>
- Added Czech Language
- Added Lithuanian Language
- Added Latvian Language
??-??-2009 <v1.3m>
??-??-2009 <v1.3n>
??-??-2009 <v1.3o>
- base value data updates
03-06-2010 <v1.3p>
- fixed options dialog
Comments and issues should be posted on the Forum Thread
Subject: Re: Village Enhancer
Hello, in the latest Version the "Temple" is missing in the translation arrays.
Is this the right place to post errors?
by, Fisch at 2010-03-10 11:47:58
Subject: Re: Village Enhancer
Was wondering if a new version are on it's way, both prices and a new building needs adding/adjusting. Let me know if there is anything I can do to help.
by, Cordazar at 2010-01-21 07:55:12
Subject: Re: Village Enhancer
(Searched and was unable to see if this came up before, sorry if this is a repeat.)
It seems to me that your bonus equation is wrong. You are applying cost reductions incrementally instead of concurrently.
For example, if you have Spirit Level and a Level 32 Carpenter you get a reduction of 14% + 32% = 46%. Your calculation gives only 42% because the 32% is being applied only to 86% of the resources.
Assume some building costs 100 wood
Correct calculation as I understand it:
100 * 0.14 = 14 (Spirit level savings)
100 * 0.32 = 32 (Carpenter savings)
Final = 100 - 14 - 32 = 52
Calculation I see in your code:
100 * 0.14 = 14 (Spirit level savings)
(100 - 14) * 0.32 = 28 (Carpenter savings)
Final = 100 - 14 - 28 = 58
You can verify this by clicking on a cost reduction building. Please correct me if I'm wrong.
It seems that the data array contains numbers generated from the inverse of both of these equations, so some are right and others are wrong.
by, Lafcadio at 2009-12-30 14:44:09
Subject: Re: Village Enhancer
So it doesn't know what the material requirements are from level 27 and up?
by, drachemeister at 2009-11-12 21:09:25
Subject: Re: Village Enhancer
the blue question mark means the script does not know what the resource requirements for the next building level are.
by, BagBag at 2009-11-12 11:09:53
Subject: Re: Village Enhancer
I have a question. At level 26 hideout, in my town of Bedrock, Ikariam world Delta, I'm getting a little blue question mark. What does this question mark mean?
by, drachemeister at 2009-11-12 00:12:26
Subject: Re: Village Enhancer
i have included your translation in the script, please re-install the script to be able to use it.
if Greek does not appear in the options as an available language you will need to clear your browsers cache (press ctrl+shift+delete and select ONLY cache) and try the download again.
by, BagBag at 2009-10-12 17:54:51
Subject: Re: Village Enhancer
This is translated to greek language
gr: {
"townHall": "Δημαρχείο",
"academy": "Ακαδημία",
"warehouse": "Αποθήκη",
"tavern": "Ταβέρνα",
"palace": "Παλάτι",
"palaceColony": "Κατοικία του Κυβερνήτη",
"museum": "Μουσείο",
"port": "Εμπορικός Λιμένας",
"shipyard": "Ναυπηγείο",
"barracks": "Στρατώνας",
"wall": "Τείχος",
"embassy": "Πρεσβεία",
"branchOffice": "Εμπορικό Συναλλακτήριο",
"workshop": "Εργαστήριο",
"safehouse": "Κρυσφήγετο",
"forester": "Σπίτι του Ξυλοκόπου",
"glassblowing": "Υαλουργείο",
"alchemist": "Πύργος Αλχημιστή",
"winegrower": "Αποστακτήριο",
"stonemason": "Λατομείο",
"carpentering": "Ξυλουργείο",
"optician": "Οπτικός",
"fireworker": "Περιοχή Δοκιμών Πυροτεχνημάτων",
"vineyard": "Κελάρι",
"architect": "Αρχητεκτονικό Γραφείο",
"buildingGround": "Οικοδομικός Χώρος",
"settings-main-title": "Ρυθμίσεις Town Enhancer",
"settings-save-text": "Ρυθμίσεις Αποθήκευσης",
"settings-research-title": "Ολοκληρωμένη Έρευνα",
"settings-research-selector": "Υψηλότερη Ολοκληρωμένη Έρευνα",
"settings-research-pulley": "Τροχαλία",
"settings-research-geometry": "Γεωμετρία",
"settings-research-spiritlevel": "Επίπεδο Πνεύματος",
"settings-display-title": "Ρυθμίσης Εμφάνισης",
"settings-display-buildingname": "Εμφάνισε Όνομα Κτηρίου",
"settings-display-buildinglevel": "Εμφάνισε Επίπεδο Κτηρίου",
"settings-display-upgradebutton": "Εμφάνισε Κουμπί Αναβάθμισης",
"settings-language-title": "Επιλογή Γλώσσας",
"settings-language-selector": "Διαθέσιμες Γλώσσες",
"language-name": "Greek"
}
by, Fountoukos13 at 2009-10-12 12:03:41
Subject: Re: Village Enhancer
Fountoukos13: if you would like this script in your language you can translate it.
please see http://ikariamlibrary.com/forum/viewtopic.php?f=11&t=64&st=0&sk=t&sd=a&start=10#p525 for information on how to do so.
by, BagBag at 2009-10-11 14:38:41
Subject: Re: Village Enhancer
hi i'd like to have it in greek language what should i do?
by, Fountoukos13 at 2009-10-11 12:14:34