RecourcesShortcuts

By A.Rosemary Last update Apr 9, 2008 — Installed 10,589 times.
Script Summary:
This script adds shortcuts to the resources in a side panel. Moreover, the shortcuts show the increased amount per hour.
Recently Updated TopicsPosts
Archived Comments22

this script has 1 topic, 22 posts

This script has no reviews.

The script is quite simple, getting the info was the tricky part.
Amongst my priorities was a clear design so that others can improve it and correct me.
My next step is adding the increase to gold and
maybe shortcuts to other buildings when I find out how the position parameter works...

v0.2.
Some Variable renaming.
Fast-Fix: Added extra menu for the +1000 resources problem. Too much text in the Div.

v0.4.
· Removed the shortcuts (and increment) from the resources Div. This should solve the problem with +1000 units.
· Created a side panel to set the resource information. The panel should appear always under the first panel. That is
· I realized the name is wrongly spelled XD and no one said a word...anyway, it remains as it is for history. However, I changed the title of this page.

Note: I saw there's a (i guess) Turkish translation. As for me, you can edit the script on your local PC, in fact changing the resources names takes 10 seconds. What I mean is:
(1) your free to do as you wish, but give me some credit (i can easily set a GNU license but i preffer not to do so) ;).
(2) I don't plan any multi-language support until all functionalities are perfect.

Some detected issues:
· Amount not correct with which resource panel shows :/
Thats because there are some float operations and that can create some +1/-1 error. I made some fast round method.
· Issue used with Kronos Utilites: Since we both add a side panel, the world and city map are extended and an ugly white part appears :/
· Issue with Kronos Utilities: His (her?) shortcuts to resources remove "index.php" from the url. I think my include does require it.

Need Checking:
· Shortcuts disappearing when the tag Value is updated? I'm not sure of it...:P

PD: Not tested on IE, and don't really bother for it. I apologize for those who use it.

NOTICE: Project was discontinued a long time ago since the feature was included in Kronos script.
I've been forced to add a GPL Lincence, so please, all those forks update properly.