Skip to content

Commit

Permalink
complete trimplez
Browse files Browse the repository at this point in the history
  • Loading branch information
Unihedro committed Apr 6, 2017
1 parent 6c44d5b commit 09645bb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .user.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// ==UserScript==
// @name AutoTrimps-unimod
// @namespace https://github.com/unihedro/AutoTrimps
// @version 2.1.5.3u1-unimod-4-06-2017+Modular
// @version 2.1.5.3u2-unimod-4-07-2017+Modular
// @description Automate all the trimps!
// @author zininzinin, spindrjr, Ishkaru, genBTC
// @author zininzinin, spindrjr, Ishkaru, genBTC, Unihedro
// @include *trimps.github.io*
// @include *kongregate.com/games/GreenSatellite/trimps
// @grant none
Expand Down
10 changes: 7 additions & 3 deletions AutoTrimps2.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// ==UserScript==
// @name AutoTrimpsV2+unimod
// @namespace https://github.com/unihedro/AutoTrimps
// @version 2.1.5.3u2-unimod-4-06-2017+Modular
// @version 2.1.5.3u2-unimod-4-07-2017+Modular
// @description try to take over the world!
// @author zininzinin, spindrjr, belaith, ishakaru, genBTC, Unihedron
// @include *trimps.github.io*
// @include *kongregate.com/games/GreenSatellite/trimps
// @grant none
// ==/UserScript==
var ATversion = '2.1.5.3u2-unimod-4-06-2017+Modular';
var ATversion = '2.1.5.3u2-unimod-4-07-2017+Modular';

////////////////////////////////////////////////////////////////////////////////
//Main Loader Initialize Function (loads first, load everything else)///////////
Expand Down Expand Up @@ -54,11 +54,15 @@ function initializeAutoTrimps() {

function printChangelog() {
tooltip('confirm', null, 'update', '\
<br><span style="background-color:#AA8439"><b>4/08 v2.1.5.3u2</b> - new settings TrimpleZ, ScryerDieZ, IgnoreCrits</span>\
<br><span style="background-color:#552700"><b>4/07 v2.1.5.3u2</b> - new settings TrimpleZ, ScryerDieZ, IgnoreCrits</span>\
<br> Managing Ancient Treasure.\
<br><span style="opacity:.8">You can now set a zone to run Trimple of Doom but it won\'t work until the next patch is out of beta.</span>\
<br> Dark theme graphs!\
<br><span style="opacity:.8">Uses a custom stylesheet by Uni (me) for the graph to look dark and awesome. If you don\'t like it, make one yourself. Loaded by default if you use "Dark Theme". (Until a button is added, refresh after setting Dark Theme)</span>\
<br> Fixed bugs caused by "cleaning up settings storage".\
<br><span style="background-color:#277552;opacity:.6"><b>4/06 v2.1.5.3u1</b> - new settings Don\'t buy Coords / Skip challenge maps\
<br> Added Spire farming progress as an Auto Maps status.\
<br> Cleaned up settings storage.</span>\
<br><u>Report any bugs/problems please! You can find me on Discord: <span style="background-color:#ddd;color:#222">Uni#8610</span></u>\
<br><a href="https://github.com/Unihedro/AutoTrimps/commits/gh-pages" target="#">Check the commit history</a> (if you care)\
', 'cancelTooltip()', 'Script Update Notice ' + ATversion);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ javascript:with(document)(head.appendChild(createElement('script')).src='https:/

Notes: https://github.com/genbtc/AutoTrimps/blob/gh-pages/README.md

I don't track detailed change logs, sorry. You can get that information by reading the changelogs.
I don't track detailed change logs, sorry. You can get that information by reading the commits or update notice in each version.
4 changes: 2 additions & 2 deletions modules/automaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ function autoMap() {
var treasure = false;
if (theMap.name == 'Trimple Of Doom' && (!dont && (game.global.challengeActive == "Meditate" || game.global.challengeActive == "Trapper") || game.mapUnlocks.AncientTreasure /* <- FIXME delete after update */ && game.mapUnlocks.AncientTreasure.canRunOnce && game.global.world >= (treasure = getPageSetting('TrimpleZ')))) {
var theMapDifficulty = Math.ceil(theMap.difficulty / 2);
if(game.global.world < 33 + theMapDifficulty) continue;
if ((game.global.world < 33 + theMapDifficulty) || treasure > -33 && treasure < 33) continue;
selectedMap = theMap.id;
if (treasure < 0) // need to reset
;// ???
setPageSetting('TrimpleZ', 0);
break;
}
if (!dont) {
Expand Down

0 comments on commit 09645bb

Please sign in to comment.