Ogame Time Until Available

By Oliver Jensen Last update Jul 20, 2009 — Installed 2,759 times.

Language independence

in
Subscribe to Language independence 2 posts, 2 voices



Vess Scriptwright

You could make it language-independent by taking the names of the resources at the top of the Building page. Just look for the element with id "resources". It's a table. It's 2nd tr element contains the resource names; you need the innerHTML of its first 3 td elements.

And, of course, you have to exclude moons, since nothing is produced there.

 
Oliver Jensen Script's Author

Ah clever! Thanks! I was going to just try and figure out what the strings'd be for each language and serve them based on the URL. I'll update this script in the next day or two

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel