Skip to content

Commit

Permalink
fix Mi graph. also show it
Browse files Browse the repository at this point in the history
  • Loading branch information
Unihedro committed Apr 7, 2017
1 parent 4260713 commit fc75edc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions NewUI2.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ function AutoTrimpsTooltip(what, isItIn, event) {
tooltipText = "Autotrimps MODULE variable settings have been successfully reset to its defaults!";
costText = "<div class='maxCenter'><div id='confirmTooltipBtn' class='btn btn-info' onclick='cancelTooltip();'>OK</div></div>";
} else if (what == 'MagmiteExplain') {
tooltipText = "Autotrimps MODULE variable settings have been successfully reset to its defaults!";
costText = "<div class='maxCenter'><div id='confirmTooltipBtn' class='btn btn-info' onclick='cancelTooltip();'>OK</div></div>";
tooltipText = "<img src='" + base + "mi.png'>";
costText = "<div class='maxCenter'><div id='confirmTooltipBtn' class='btn btn-info' onclick='cancelTooltip();'>I don't get it at all</div></div>";
}
game.global.lockTooltip = true;
elem.style.left = "33.75%";
Expand Down
4 changes: 2 additions & 2 deletions mi.dot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ digraph S {
Overclocker:se -> SupplyWall0 -> { Capacity, Supply } [label="cheapest"];
Overclocker:s -> SupplyWall1 -> Capacity;
Overclocker:w -> { SupplyWallX [color=darkgreen] } [color=darkgreen];
SupplyWallX -> Capacity [label="if cap > (N * sup)", color=darkgreen];
SupplyWallX -> Capacity [label="if cap <= (N * sup)", color=darkgreen];
Capacity -> Supply [label="else", color=darkgreen];
Overclocker:e -> { SupplyWallN [color=red] } [color=red];
SupplyWallN -> Supply [label="if (cap * N) > sup)", color=red] ;
SupplyWallN -> Supply [label="if (cap * N) >= sup)", color=red] ;
Supply -> Capacity [label="else", color=red];
}
Binary file modified mi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc75edc

Please sign in to comment.