Skip to content

Instantly share code, notes, and snippets.

View PatrikValkovic's full-sized avatar

Patrik Valkovic PatrikValkovic

View GitHub Profile
@amiuhle
amiuhle / tw-simulator.js
Last active January 14, 2024 09:40
Tribal Wars building duration calculation
/*
* Installation: Save as snippet in Chrome DevTools. (Crtl + Shift + i, Tab 'Sources', Sub-Tab 'Snippets', right-click, 'New')
*
* Usage:
* 1) Go to http://<your-world>.die-staemme.de/interface.php?func=get_building_info
* 2) Adjust the 'currentMain' and 'jobs' to match your main building at start and the build jobs you want to simulate.
* 3) Run snippet.
*/
(function() {
'use strict';