Difference between revisions of "User:Troylaurin"

From The Perfect Tower II
Jump to navigation Jump to search
(sprite table)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
A bunch of scripts to craft stuff.
+
I like scripting!
  
 
IN DEVELOPMENT.  USE AT YOUR OWN RISK.<br />
 
 
==General scripts==
 
{| class="wikitable"
 
!Script
 
!Info
 
!Source
 
|-
 
|craft init
 
|1 impulse
 
 
*on wake
 
 
no conditions
 
 
9 actions
 
|
 
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
wakeup()
 
 
global.int.set("craft_busy", 0)
 
global.int.set("craft_status", 200)
 
global.int.set("craft_require_tier", 0)
 
global.double.set("craft_require_count", 0.0)
 
global.int.set("craft_tier", 1)
 
global.int.set("craft_mode", 1)
 
global.int.set("craft_output", 1)
 
global.double.set("craft_count", 1.0)
 
global.double.set("craft_inventory", 1.0)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CmNyYWZ0IGluaXQBAAAABndha2V1cAAAAAAJAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BApjcmFm
 
dF9idXN5CGNvbnN0YW50AgAAAAAOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEDGNyYWZ0X3N0YXR1cwhj
 
b25zdGFudALIAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BBJjcmFmdF9yZXF1aXJlX3RpZXIIY29u
 
c3RhbnQCAAAAABFnbG9iYWwuZG91YmxlLnNldAhjb25zdGFudAQTY3JhZnRfcmVxdWlyZV9jb3VudAhj
 
b25zdGFudAMAAAAAAAAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQKY3JhZnRfdGllcghjb25zdGFu
 
dAIBAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BApjcmFmdF9tb2RlCGNvbnN0YW50AgEAAAAOZ2xv
 
YmFsLmludC5zZXQIY29uc3RhbnQEDGNyYWZ0X291dHB1dAhjb25zdGFudAIBAAAAEWdsb2JhbC5kb3Vi
 
bGUuc2V0CGNvbnN0YW50BAtjcmFmdF9jb3VudAhjb25zdGFudAMAAAAAAADwPxFnbG9iYWwuZG91Ymxl
 
LnNldAhjb25zdGFudAQPY3JhZnRfaW52ZW50b3J5CGNvbnN0YW50AwAAAAAAAPA/
 
</syntaxhighlight>
 
|}
 
|-
 
|craft GO
 
|1 impulse
 
 
* key 0
 
 
1 condition
 
 
* not busy crafting & factory screen open
 
 
12 actions
 
|
 
 
{| class="wikitable mw-collapsible mw-collapsed"
 
{| class="wikitable mw-collapsible mw-collapsed"
!
+
!Click to copy (tamperscript)
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|<syntaxhighlight lang="javascript">
:global int craft_mode
+
// ==UserScript==
:global int craft_output
+
// @name        Click to copy on <pre> tags
:local int max
+
// @namespace    http://tampermonkey.net/
 
+
// @version      0.1
key.0()
+
// @description  Add click to copy buttons to <pre> tags
 +
// @author      Troy.Laurin@gmail.com
 +
// @match        https://www.perfecttower2.com/wiki/*
 +
// @grant        GM_addStyle
 +
// @require      https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js
 +
// @require      http://code.jquery.com/jquery-3.5.1.slim.min.js
 +
// ==/UserScript==
  
(global.int.get("craft_busy") == 0 & isopen("factory"))
+
(function() {
 +
    'use strict';
  
  global.int.set("craft_busy", 1)
+
    // ------------------------------------------
  global.int.set("craft_require_tier", 0)
+
    // CSS part injected in the page
  global.double.set("craft_require_count", 0.0)
+
    GM_addStyle(" \
  global.int.set("craft_tier:" . craft_mode . "." . craft_output, global.int.get("craft_tier"))
+
.precontainer { \
  global.double.set("craft_count:" . craft_mode . "." . craft_output, global.double.get("craft_count"))
+
position: relative; \
 
+
} \
  execute("craft script check")
+
.copy-btn { \
  global.int.set("craft_status", 102) ; Processing
+
background: #DDD; \
  stop("craft script check")
+
font-family: monospace; \
 +
font-weight: bolder; \
 +
margin: 0; \
 +
opacity: 0; \
 +
padding: 4px; \
 +
position: absolute; \
 +
right: 1px; \
 +
top: 1px; \
 +
cursor: pointer; \
 +
-webkit-transition: opacity 0.3s ease-in-out; \
 +
-o-transition: opacity 0.3s ease-in-out; \
 +
transition: opacity 0.3s ease-in-out; \
 +
} \
 +
.precontainer:hover >.copy-btn { \
 +
opacity: 1; \
 +
} \
 +
table { width: 100% } \
 +
");
  
  executesync("craft " . craft_mode . ":" . craft_output)
+
    $('pre').wrap('<div class="precontainer"></div>');
 +
    $('pre').before($('<span class="copy-btn">&lt;/&gt;</span>'));
  
; Preserve status if its already in a terminal state
+
    new ClipboardJS('.copy-btn', {
end: gotoif(end2, global.int.get("craft_status") > 199)
+
        text: function(trigger) {
  global.int.set("craft_status", 200) ; OK
+
            return $(trigger.nextElementSibling).text();
end2: global.int.set("craft_busy", 0)
+
        }
 +
    })
 +
        .on('success',function (e) {
 +
        $(e.trigger).html("&lt;copied/&gt;")
 +
        setTimeout(function() {
 +
            $(e.trigger).html("&lt;/&gt;");
 +
        }, 3000);
 +
    })
 +
        .on('error',function (e) {
 +
        $(e.trigger).html("Error!")
 +
        setTimeout(function() {
 +
            $(e.trigger).html("&lt;/&gt;");
 +
        }, 3000);
 +
    });
 +
})();
  
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CGNyYWZ0IEdPAQAAAAVrZXkuMAEAAAAPY29tcGFyaXNvbi5ib29sDmNvbXBhcmlzb24uaW50Dmdsb2Jh
 
bC5pbnQuZ2V0CGNvbnN0YW50BApjcmFmdF9idXN5CGNvbnN0YW50BAI9PQhjb25zdGFudAIAAAAACGNv
 
bnN0YW50BAEmEnRvd24ud2luZG93Lmlzb3Blbghjb25zdGFudAQHZmFjdG9yeQwAAAAOZ2xvYmFsLmlu
 
dC5zZXQIY29uc3RhbnQECmNyYWZ0X2J1c3kIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25z
 
dGFudAQSY3JhZnRfcmVxdWlyZV90aWVyCGNvbnN0YW50AgAAA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XJpc29uLmludA5nbG9iYWwuaW50LmdldAhj
 
b25zdGFudAQMY3JhZnRfc3RhdHVzCGNvbnN0YW50BAE+CGNvbnN0YW50AscAAAAOZ2xvYmFsLmludC5z
 
ZXQIY29uc3RhbnQEDGNyYWZ0X3N0YXR1cwhjb25zdGFudALIAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0
 
YW50BApjcmFmdF9idXN5CGNvbnN0YW50AgAAAAA=
 
 
</syntaxhighlight>
 
</syntaxhighlight>
 
|}
 
|}
|-
 
|craft tier up
 
|1 impulse
 
  
*key 1
+
Factory scripts: https://www.perfecttower2.com/wiki/AI_Craftapalooza
  
1 condition
 
  
*not busy crafting
 
  
1 action
+
<br />
|
+
{| class="wikitable"
{| class="wikitable mw-collapsible mw-collapsed"
+
|+Fun sprites
 +
!'''#'''
 +
!
 +
!
 +
!'''#'''
 +
!
 +
!
 +
!
 +
!
 +
!
 +
!'''#'''
 +
!
 +
!
 +
!'''#'''
 +
!
 +
!
 +
!'''#'''
 
!
 
!
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''1'''
:global int craft_tier
+
|gems
 
+
|
key.1()
+
|'''21'''
(global.int.get("craft_busy") == 0)
+
|''white pyramid''
 
+
|
craft_tier = (craft_tier % 10) + 1
+
|'''41'''
</syntaxhighlight>
+
|
 +
|
 +
|'''61'''
 +
|''memory outline''
 +
|
 +
|'''81'''
 +
|star
 +
|
 +
|'''101'''
 +
|''grey module''
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''2'''
DWNyYWZ0IHRpZXIgdXABAAAABWtleS4xAQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhj
+
|hypercube
b25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAEAAAAOZ2xvYmFsLmlu
+
|
dC5zZXQIY29uc3RhbnQECmNyYWZ0X3RpZXIOYXJpdGhtZXRpYy5pbnQOYXJpdGhtZXRpYy5pbnQOZ2xv
+
|'''22'''
YmFsLmludC5nZXQIY29uc3RhbnQECmNyYWZ0X3RpZXIIY29uc3RhbnQEA21vZAhjb25zdGFudAIKAAAA
+
|''tree logo''
CGNvbnN0YW50BAErCGNvbnN0YW50AgEAAAA=
+
|
</syntaxhighlight>
+
|'''42'''
|}
+
|
 +
|
 +
|'''62'''
 +
|''memory''
 +
|
 +
|
 +
|
 +
|
 +
|'''102'''
 +
|''right click''
 
|-
 
|-
|craft mode up
+
|'''3'''
|1 impulse
+
|cogs
 
+
|
*key 2
+
|'''23'''
 
+
|white infinity
1 condition
+
|
 
+
|'''43'''
*not busy crafting
+
|white pencil
 
+
|
2 actions
+
|'''63'''
 +
|''cpu outline''
 +
|
 +
|
 +
|
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''103'''
!
+
|''world''
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''4'''
:global int craft_mode
+
|white xp
:global int craft_output
+
|
 
+
|'''24'''
key.2()
+
|hourglass
(global.int.get("craft_busy") == 0)
+
|
 
+
|'''44'''
craft_mode = (craft_mode % 3) + 1
+
|''space bar''
craft_output = 1
+
|
</syntaxhighlight>
+
|'''64'''
 +
|''cpu''
 +
|
 +
|
 +
|
 +
|
 +
|'''104'''
 +
|''white warning''
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''5'''
DWNyYWZ0IG1vZGUgdXABAAAABWtleS4yAQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhj
+
|exotic gems
b25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAIAAAAOZ2xvYmFsLmlu
+
|
dC5zZXQIY29uc3RhbnQECmNyYWZ0X21vZGUOYXJpdGhtZXRpYy5pbnQOYXJpdGhtZXRpYy5pbnQOZ2xv
+
|'''25'''
YmFsLmludC5nZXQIY29uc3RhbnQECmNyYWZ0X21vZGUIY29uc3RhbnQEA21vZAhjb25zdGFudAIDAAAA
+
|unlock
CGNvbnN0YW50BAErCGNvbnN0YW50AgEAAAAOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEDGNyYWZ0X291
+
|
dHB1dAhjb25zdGFudAIBAAAA
+
|'''45'''
</syntaxhighlight>
+
|''white 6-pt star''
|}
+
|
 +
|'''65'''
 +
|''server''
 +
|
 +
|
 +
|
 +
|
 +
|'''105'''
 +
|''grid mode''
 
|-
 
|-
|craft output up
+
|'''6'''
|1 impulse
+
|white help
 
+
|
*key 3
+
|'''26'''
 
+
|white convert shard
1 condition
+
|
 
+
|'''46'''
*not busy crafting
+
|white plus
 
+
|
2 actions
+
|'''66'''
 +
|''graph / statistics''
 +
|
 +
|
 +
|
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''106'''
!
+
|''list mode''
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''7'''
:global int craft_mode
+
|blue module
:global int craft_output
+
|
:local int max
+
|'''27'''
 
+
|white mine nothing
key.3()
+
|
(global.int.get("craft_busy") == 0)
+
|'''47'''
 
+
|''white blurry circle''
max = (13101300 / (100 ^ craft_mode)) % 100
+
|
craft_output = (craft_output % max) + 1
+
|'''67'''
</syntaxhighlight>
+
|blue shield
 +
|
 +
|
 +
|
 +
|
 +
|'''107'''
 +
|''save icon''
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''8'''
D2NyYWZ0IG91dHB1dCB1cAEAAAAFa2V5LjMBAAAADmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0
+
|white circle
CGNvbnN0YW50BApjcmFmdF9idXN5CGNvbnN0YW50BAI9PQhjb25zdGFudAIAAAAAAgAAAA1sb2NhbC5p
+
|
bnQuc2V0CGNvbnN0YW50BANtYXgOYXJpdGhtZXRpYy5pbnQOYXJpdGhtZXRpYy5pbnQIY29uc3RhbnQC
+
|'''28'''
9OjHAAhjb25zdGFudAQBLw5hcml0aG1ldGljLmludAhjb25zdGFudAJkAAAACGNvbnN0YW50BANwb3cO
+
|white shard per time
Z2xvYmFsLmludC5nZXQIY29uc3RhbnQECmNyYWZ0X21vZGUIY29uc3RhbnQEA21vZAhjb25zdGFudAJk
+
|
AAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQOYXJpdGhtZXRpYy5pbnQOYXJp
+
|'''48'''
dGhtZXRpYy5pbnQOZ2xvYmFsLmludC5nZXQIY29uc3RhbnQEDGNyYWZ0X291dHB1dAhjb25zdGFudAQD
+
|''to craft grid''
bW9kDWxvY2FsLmludC5nZXQIY29uc3RhbnQEA21heAhjb25zdGFudAQBKwhjb25zdGFudAIBAAAA
+
|
</syntaxhighlight>
+
|'''68'''
|}
+
|grey shield
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|-
 
|-
|craft count up
+
|'''9'''
|1 impulse
+
|white cube
 
+
|
*key 9
+
|'''29'''
 
+
|white redo arrow
1 condition
+
|
 
+
|'''49'''
*not busy crafting
+
|''from craft grid''
 
+
|
5 actions
+
|'''69'''
 +
|drill
 +
|
 +
|
 +
|
 +
|
 +
|
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''10'''
:global double craft_count
+
|''white target''
:local double pow
+
|
:local double inc
+
|'''30'''
 
+
|
key.9()
+
|
(global.int.get("craft_busy") == 0)
+
|'''50'''
 
+
|cloud
  gotoif(99, craft_count > 900000.0)
+
|
  gotoif(a, craft_count < 1.0)
+
|'''70'''
  pow = double.floor(0.01 + (craft_count // 10.0))
+
|''trashcan''
a: inc = 10.0 ^ pow
+
|
  craft_count = craft_count + inc
+
|
</syntaxhighlight>
+
|
 +
|
 +
|
 +
|
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''11'''
DmNyYWZ0IGNvdW50IHVwAQAAAAVrZXkuOQEAAAAOY29tcGFyaXNvbi5pbnQOZ2xvYmFsLmludC5nZXQI
+
|Dr Cubos
Y29uc3RhbnQECmNyYWZ0X2J1c3kIY29uc3RhbnQEAj09CGNvbnN0YW50AgAAAAAFAAAADmdlbmVyaWMu
+
|
Z290b2lmCGNvbnN0YW50AmMAAAARY29tcGFyaXNvbi5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29u
+
|'''31'''
c3RhbnQEC2NyYWZ0X2NvdW50CGNvbnN0YW50BAE+CGNvbnN0YW50AwAAAABAdytBDmdlbmVyaWMuZ290
+
|
b2lmCGNvbnN0YW50AgQAAAARY29tcGFyaXNvbi5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3Rh
+
|
bnQEC2NyYWZ0X2NvdW50CGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/EGxvY2FsLmRvdWJsZS5z
+
|'''51'''
ZXQIY29uc3RhbnQEA3Bvdwxkb3VibGUuZmxvb3IRYXJpdGhtZXRpYy5kb3VibGUIY29uc3RhbnQDexSu
+
|yellow module
R+F6hD8IY29uc3RhbnQEASsRYXJpdGhtZXRpYy5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3Rh
+
|
bnQEC2NyYWZ0X2NvdW50CGNvbnN0YW50BANsb2cIY29uc3RhbnQDAAAAAAAAJEAQbG9jYWwuZG91Ymxl
+
|'''71'''
LnNldAhjb25zdGFudAQDaW5jEWFyaXRobWV0aWMuZG91YmxlCGNvbnN0YW50AwAAAAAAACRACGNvbnN0
+
|
YW50BANwb3cQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQDcG93EWdsb2JhbC5kb3VibGUuc2V0CGNv
+
|
bnN0YW50BAtjcmFmdF9jb3VudBFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25z
+
|
dGFudAQLY3JhZnRfY291bnQIY29uc3RhbnQEASsQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQDaW5j
+
|
</syntaxhighlight>
+
|
|}
+
|
 +
|
 
|-
 
|-
|craft count down
+
|'''12'''
|1 impulse
+
|white tick
 
+
|
*key 8
+
|'''32'''
 
+
|
1 condition
+
|
 
+
|'''52'''
*not busy crafting
+
|red module
 
+
|
5 actions
+
|'''72'''
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''13'''
:global double craft_count
+
|lock
:local double pow
+
|
:local double inc
+
|'''33'''
 
+
|
key.8()
+
|
(global.int.get("craft_busy") == 0)
+
|'''53'''
 
+
|purple module
  gotoif(a, craft_count < 1.0)
+
|
  pow = double.floor(-0.01 + (craft_count // 10.0))
+
|'''73'''
a: inc = 10.0 ^ pow
+
|
  gotoif(99, craft_count - inc < 1.0)
+
|
  craft_count = craft_count - inc
+
|
</syntaxhighlight>
+
|
 +
|
 +
|
 +
|
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''14'''
EGNyYWZ0IGNvdW50IGRvd24BAAAABWtleS44AQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50Lmdl
+
|white shard
dAhjb25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAUAAAAOZ2VuZXJp
+
|
Yy5nb3RvaWYIY29uc3RhbnQCAwAAABFjb21wYXJpc29uLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhj
+
|'''34'''
b25zdGFudAQLY3JhZnRfY291bnQIY29uc3RhbnQEATwIY29uc3RhbnQDAAAAAAAA8D8QbG9jYWwuZG91
+
|
YmxlLnNldAhjb25zdGFudAQDcG93DGRvdWJsZS5mbG9vchFhcml0aG1ldGljLmRvdWJsZQhjb25zdGFu
+
|
dAN7FK5H4XqEvwhjb25zdGFudAQBKxFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhj
+
|'''54'''
b25zdGFudAQLY3JhZnRfY291bnQIY29uc3RhbnQEA2xvZwhjb25zdGFudAMAAAAAAAAkQBBsb2NhbC5k
+
|''bomb''
b3VibGUuc2V0CGNvbnN0YW50BANpbmMRYXJpdGhtZXRpYy5kb3VibGUIY29uc3RhbnQDAAAAAAAAJEAI
+
|
Y29uc3RhbnQEA3BvdxBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BANwb3cOZ2VuZXJpYy5nb3RvaWYI
+
|'''74'''
Y29uc3RhbnQCYwAAABFjb21wYXJpc29uLmRvdWJsZRFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91
+
|
YmxlLmdldAhjb25zdGFudAQLY3JhZnRfY291bnQIY29uc3RhbnQEAS0QbG9jYWwuZG91YmxlLmdldAhj
+
|
b25zdGFudAQDaW5jCGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/EWdsb2JhbC5kb3VibGUuc2V0
+
|'''94'''
CGNvbnN0YW50BAtjcmFmdF9jb3VudBFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhj
+
|''checkbox''
b25zdGFudAQLY3JhZnRfY291bnQIY29uc3RhbnQEAS0QbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQD
+
|
aW5j
+
|
</syntaxhighlight>
+
|
|}
 
 
|-
 
|-
|craft inventory use
+
|'''15'''
|1 impulse
+
|white skull
 
+
|
*key 5
+
|'''35'''
 
+
|
1 condition
+
|
 
+
|'''55'''
*not busy crafting
+
|''flag / impulse''
 
+
|
1 action
+
|'''75'''
 +
|
 +
|
 +
|'''95'''
 +
|red gem?!
 +
|
 +
|
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''16'''
:global double craft_inventory
+
|''white square''
 
+
|
key.5()
+
|'''36'''
(global.int.get("craft_busy") == 0)
+
|
 
+
|
craft_inventory = 1.0 - craft_inventory
+
|'''56'''
</syntaxhighlight>
+
|''equals / condition''
 +
|
 +
|'''76'''
 +
|fuel can
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''17'''
E2NyYWZ0IGludmVudG9yeSB1c2UBAAAABWtleS41AQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50
+
|white cross
LmdldAhjb25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAEAAAARZ2xv
+
|
YmFsLmRvdWJsZS5zZXQIY29uc3RhbnQED2NyYWZ0X2ludmVudG9yeRFhcml0aG1ldGljLmRvdWJsZQhj
+
|'''37'''
b25zdGFudAMAAAAAAADwPwhjb25zdGFudAQBLRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3Jh
+
|white arrow right
ZnRfaW52ZW50b3J5
+
|
</syntaxhighlight>
+
|'''57'''
|}
+
|''function / action''
 +
|
 +
|'''77'''
 +
|
 +
|
 +
|'''97'''
 +
|''museum stones''
 +
|
 +
|
 +
|
 
|-
 
|-
|craft script check
+
|'''18'''
|3 actions
+
|health logo
 +
|
 +
|'''38'''
 +
|''firesword logo''
 +
|
 +
|'''58'''
 +
|''left click''
 +
|
 +
|'''78'''
 +
|
 +
|
 +
|'''98'''
 +
|''white stairs''
 +
|
 +
|
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''19'''
:global int craft_mode
+
|damage logo
:global int craft_output
+
|
 
+
|'''39'''
executesync("craft " . craft_mode . ":" . craft_output)
+
|kreds
global.int.set("craft_status", 404) ; Script not found
+
|
loop: goto(loop)
+
|'''59'''
 
+
|''ship''
</syntaxhighlight>
+
|
|-
+
|'''79'''
|<syntaxhighlight lang="text">
+
|
EmNyYWZ0IHNjcmlwdCBjaGVjawAAAAAAAAAAAwAAABNnZW5lcmljLmV4ZWN1dGVzeW5jBmNvbmNhdAZj
+
|
b25jYXQGY29uY2F0CGNvbnN0YW50BAZjcmFmdCADaTJzDmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BApj
+
|'''99'''
cmFmdF9tb2RlCGNvbnN0YW50BAE6A2kycw5nbG9iYWwuaW50LmdldAhjb25zdGFudAQMY3JhZnRfb3V0
+
|''shipping box''
cHV0Dmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9zdGF0dXMIY29uc3RhbnQClAEAAAxnZW5l
 
cmljLmdvdG8IY29uc3RhbnQCAwAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft producer set (pg1)
 
|1 impulse
 
 
 
*key 4
 
 
 
1 condition
 
 
 
*not busy crafting & crafting producers
 
 
 
14 actions
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global int craft_output
 
 
key.4()
 
(global.int.get("craft_busy") == 0 & global.int.get("craft_mode") == 1)
 
 
craft_output = 1
 
gotoif(a, isopen("powerplant"))
 
gotoif(b, isopen("mine"))
 
gotoif(c, isopen("factory"))
 
gotoif(d, isopen("headquarters"))
 
gotoif(e, isopen("arcade"))
 
gotoif(f, isopen("laboratory"))
 
goto(99)
 
f: craft_output = craft_output + 1
 
e: craft_output = craft_output + 1
 
d: craft_output = craft_output + 1
 
c: craft_output = craft_output + 1
 
b: craft_output = craft_output + 1
 
a: craft_output = craft_output + 1
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
GGNyYWZ0IHByb2R1Y2VyIHNldCAocGcxKQEAAAAFa2V5LjQBAAAAD2NvbXBhcmlzb24uYm9vbA5jb21w
 
YXJpc29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0I
 
Y29uc3RhbnQCAAAAAAhjb25zdGFudAQBJg5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhjb25z
 
dGFudAQKY3JhZnRfbW9kZQhjb25zdGFudAQCPT0IY29uc3RhbnQCAQAAAA4AAAAOZ2xvYmFsLmludC5z
 
ZXQIY29uc3RhbnQEDGN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hbnQEASsIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25z
 
dGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxj
 
cmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFu
 
dAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFm
 
dF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQM
 
Y3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9v
 
dXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft producer set (pg2)
 
|1 impulse
 
 
*key 4
 
 
1 condition
 
 
*not busy crafting & crafting producers
 
 
13 actions
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global int craft_output
 
 
key.4()
 
(global.int.get("craft_busy") == 0 & global.int.get("craft_mode") == 1)
 
 
 
gotoif(a, isopen("shipyard"))
 
gotoif(b, isopen("tradingpost"))
 
gotoif(c, isopen("workshop"))
 
gotoif(d, isopen("museum"))
 
gotoif(e, isopen("constructionfirm"))
 
gotoif(f, isopen("statueofcubos"))
 
goto(99)
 
f: craft_output = craft_output + 1
 
e: craft_output = craft_output + 1
 
d: craft_output = craft_output + 1
 
c: craft_output = craft_output + 1
 
b: craft_output = craft_output + 1
 
a: craft_output = craft_output + 7
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
GGNyYWZ0IHByb2R1Y2VyIHNldCAocGcyKQEAAAAFa2V5LjQBA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uaW50
 
Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQC
 
AQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmds
 
b2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAA
 
AA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2Jh
 
bC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5n
 
bG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9i
 
YWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQu
 
Z2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCBwAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft machine set
 
|1 impulse
 
 
*key 4
 
 
1 condition
 
 
*not busy crafting & crafting machines
 
 
4 actions
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''20'''
:global int craft_output
+
|wave logo
:global int y
 
:global int x
 
 
 
key.4()
 
(global.int.get("craft_busy") == 0 & global.int.get("craft_mode") == 2 & isopen("factory"))
 
 
 
x = d2i(floor(((x(position()) / i2d(width()) - 0.41) / 0.10) + 1.0))
 
y = d2i(floor(((0.80 - y(position()) / i2d(height())) / 0.214)))
 
 
 
gotoif(99, x<1 | x>5 | y<0 | y>1)
 
craft_output = x + y*5
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
EWNyYWZ0IG1hY2hpbmUgc2V0AQAAAAVrZXkuNAEAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24u
 
Ym9vbA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQKY3JhZnRfYnVzeQhjb25z
 
dGFudAQCPT0IY29uc3RhbnQCAAAAAAhjb25zdGFudAQBJg5jb21wYXJpc29uLmludA5nbG9iYWwuaW50
 
LmdldAhjb25zdGFudAQKY3JhZnRfbW9kZQhjb25zdGFudAQCPT0IY29uc3RhbnQCAgAAAAhjb25zdGFu
 
dAQBJhJ0b3duLndpbmRvdy5pc29wZW4IY29uc3RhbnQEB2ZhY3RvcnkEAAAADmdsb2JhbC5pbnQuc2V0
 
CGNvbnN0YW50BAF4A2QyaQxkb3VibGUuZmxvb3IRYXJpdGhtZXRpYy5kb3VibGURYXJpdGhtZXRpYy5k
 
b3VibGURYXJpdGhtZXRpYy5kb3VibGURYXJpdGhtZXRpYy5kb3VibGUGdmVjMi54Dm1vdXNlLnBvc2l0
 
aW9uCGNvbnN0YW50BAEvA2kyZAxzY3JlZW4ud2lkdGgIY29uc3RhbnQEAS0IY29uc3RhbnQDPQrXo3A9
 
2j8IY29uc3RhbnQEAS8IY29uc3RhbnQDmpmZmZmZuT8IY29uc3RhbnQEASsIY29uc3RhbnQDAAAAAAAA
 
8D8OZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEAXkDZDJpDGRvdWJsZS5mbG9vchFhcml0aG1ldGljLmRv
 
dWJsZRFhcml0aG1ldGljLmRvdWJsZQhjb25zdGFudAOamZmZmZnpPwhjb25zdGFudAQBLRFhcml0aG1l
 
dGljLmRvdWJsZQZ2ZWMyLnkObW91c2UucG9zaXRpb24IY29uc3RhbnQEAS8DaTJkDXNjcmVlbi5oZWln
 
aHQIY29uc3RhbnQEAS8IY29uc3RhbnQDMQisHFpkyz8OZ2VuZXJpYy5nb3RvaWYIY29uc3RhbnQCYwAA
 
AA9jb21wYXJpc29uLmJvb2wPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJpc29u
 
LmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQBeAhjb25zdGFudAQBPAhjb25zdGFudAIBAAAACGNv
 
bnN0YW50BAF8DmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAF4CGNvbnN0YW50
 
BAE+CGNvbnN0YW50AgUAAAAIY29uc3RhbnQEAXwOY29tcGFyaXNvbi5pbnQOZ2xvYmFsLmludC5nZXQI
 
Y29uc3RhbnQEAXkIY29uc3RhbnQEATwIY29uc3RhbnQCAAAAAAhjb25zdGFudAQBfA5jb21wYXJpc29u
 
LmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQBeQhjb25zdGFudAQBPghjb25zdGFudAIBAAAADmds
 
b2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQOYXJpdGhtZXRpYy5pbnQOZ2xvYmFsLmlu
 
dC5nZXQIY29uc3RhbnQEAXgIY29uc3RhbnQEASsOYXJpdGhtZXRpYy5pbnQOZ2xvYmFsLmludC5nZXQI
 
Y29uc3RhbnQEAXkIY29uc3RhbnQEASoIY29uc3RhbnQCBQAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft ingot
 
|15 actions
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''40'''
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:local int tier
 
:local double count
 
:local int verify_mode
 
 
 
tier = global.int.get("craft_tier:ingot")
 
count = global.double.get("craft_count:ingot")
 
verify_mode = global.int.get("craft_verify:ingot")
 
global.int.set("craft_verify:ingot", 0)
 
gotoif(99, tier < 1 | tier > 10 | count <= 0.0 | global.int.get("craft_status") > 199)
 
 
 
gotoif(99, count <= count("ingot", tier))
 
gotoif(bad, count > count("ingot", tier) + count("dust", tier) - 1.0)
 
gotoif(99, verify_mode > 0)
 
  waitwhile(active("oven"))
 
  produce("dust", tier, ceil(count - count("ingot", tier)), "oven")
 
  waituntil(count("ingot", tier) >= count)
 
  goto(99) ; ok
 
 
 
bad: global.int.set("craft_require_tier", tier)
 
  global.double.set("craft_require_count", count)
 
  global.int.set("craft_status", 412)
 
 
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
C2NyYWZ0IGluZ290AAAAAAAAAAAPAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEBHRpZXIOZ2xvYmFs
 
LmludC5nZXQIY29uc3RhbnQEEGNyYWZ0X3RpZXI6aW5nb3QQbG9jYWwuZG91YmxlLnNldAhjb25zdGFu
 
dAQFY291bnQRZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3RhbnQEEWNyYWZ0X2NvdW50OmluZ290DWxvY2Fs
 
LmludC5zZXQIY29uc3RhbnQEC3ZlcmlmeV9tb2RlDmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BBJjcmFm
 
dF92ZXJpZnk6aW5nb3QOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEEmNyYWZ0X3ZlcmlmeTppbmdvdAhj
 
b25zdGFudAIAAAAADmdlbmVyaWMuZ290b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2Nv
 
bXBhcmlzb24uYm9vbA9jb21wYXJpc29uLmJvb2wOY29tcGFyaXNvbi5pbnQNbG9jYWwuaW50LmdldAhj
 
b25zdGFudAQEdGllcghjb25zdGFudAQBPAhjb25zdGFudAIBAAAACGNvbnN0YW50BAF8DmNvbXBhcmlz
 
b24uaW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEAT4IY29uc3RhbnQCCgAA
 
AAhjb25zdGFudAQBfBFjb21wYXJpc29uLmRvdWJ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2UIY29uc3RhbnQEBGR1c3QNbG9j
 
YWwuaW50LmdldAhjb25zdGFudAQEdGllcgtkb3VibGUuY2VpbBFhcml0aG1ldGljLmRvdWJsZRBsb2Nh
 
bC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBLRNmYWN0b3J5Lml0ZW1zLmNvdW50
 
CGNvbnN0YW50BAVpbmdvdA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BARvdmVu
 
EWdlbmVyaWMud2FpdHVudGlsEWNvbXBhcmlzb24uZG91YmxlE2ZhY3RvcnkuaXRlbXMuY291bnQIY29u
 
c3RhbnQEBWluZ290DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEAj49EGxvY2Fs
 
LmRvdWJsZS5nZXQIY29uc3RhbnQEBWNvdW50DGdlbmVyaWMuZ290bwhjb25zdGFudAJjAAAADmdsb2Jh
 
bC5pbnQuc2V0CGNvbnN0YW50BBJjcmFmdF9yZXF1aXJlX3RpZXINbG9jYWwuaW50LmdldAhjb25zdGFu
 
dAQEdGllchFnbG9iYWwuZG91YmxlLnNldAhjb25zdGFudAQTY3JhZnRfcmVxdWlyZV9jb3VudBBsb2Nh
 
bC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRf
 
c3RhdHVzCGNvbnN0YW50ApwBAAA=
 
</syntaxhighlight>
 
|}
 
|}
 
 
 
==Parts scripts==
 
{| class="wikitable"
 
|+
 
!Output
 
!Part
 
!Scripts
 
|-
 
|1
 
|chips
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:1
 
|19
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''60'''
!
+
|''circle/orb''
|-
 
|<syntaxhighlight lang="actionscript">
 
; Chips
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double board_lo
 
:local double board_hi
 
:local double circuit_lo
 
:local double circuit_hi
 
 
 
(isopen("factory"))
 
 
 
tier = global.int.get("craft_tier:3.1")
 
count = global.double.get("craft_count:3.1")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
 
; Verify ingot resources
 
; Also craft lower tier chips for input
 
executesync("craft 3:1:in")
 
 
 
; Ensure we have enough ingots (lo)
 
board_lo = count * i2d((864410 / (10 ^ tier)) % 10)
 
circuit_lo = count * 2.0
 
global.int.set("craft_tier:ingot", tier * 2 - 1)
 
global.double.set("craft_count:ingot", max(0.0, board_lo - craft_inventory * (count("plate", tier * 2 - 1) + count("plate.circuit", tier * 2 - 1))) + max(0.0, ceil((circuit_lo - craft_inventory * (count("cable", tier * 2 - 1) + count("circuit", tier * 2 - 1)))/2.0)))
 
executesync("craft ingot")
 
 
 
; Ensure we have enough ingots (hi)
 
board_hi = count * i2d((862210 / (10 ^ tier)) % 10)
 
circuit_hi = count * i2d((224420 / (10 ^ tier)) % 10)
 
global.int.set("craft_tier:ingot", tier * 2)
 
global.double.set("craft_count:ingot", max(0.0, board_hi - craft_inventory * (count("plate", tier * 2) + count("plate.circuit", tier * 2))) + max(0.0, ceil((circuit_hi - craft_inventory * (count("cable", tier * 2) + count("circuit", tier * 2)))/2.0)))
 
executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
execute("craft 3:1:board")
 
execute("craft 3:1:circuit")
 
 
 
waituntil(count("plate.circuit", tier * 2 - 1) >= board_lo & count("plate.circuit", tier * 2) >= board_hi & count("circuit", tier * 2 - 1) >= circuit_lo & count("circuit", tier * 2) >= circuit_hi)
 
craft("chip", tier, count)
 
 
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6MQAAAAABAAAAEnRvd24ud2luZG93Lmlzb3Blbghjb25zdGFudAQHZmFjdG9yeRMAAAAN
 
bG9jYWwuaW50LnNldAhjb25zdGF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WN0b3J5Lml0ZW1zLmNvdW50
 
CGNvbnN0YW50BAdjaXJjdWl0DmFyaXRobWV0aWMuaW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRp
 
ZXIIY29uc3RhbnQEASoIY29uc3RhbnQCAgAAAAhjb25zdGFudAQCPj0QbG9jYWwuZG91YmxlLmdldAhj
 
b25zdGFudAQKY2lyY3VpdF9oaQ1mYWN0b3J5LmNyYWZ0CGNvbnN0YW50BARjaGlwDWxvY2FsLmludC5n
 
ZXQIY29uc3RhbnQEBHRpZXIQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQFY291bnQ=
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:1:in
 
|18
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''80'''
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
 
 
tier = global.int.get("craft_tier:3.1")
 
count = global.double.get("craft_count:3.1")
 
 
 
; Ingots (lo)
 
;  board_lo = global.double.get("craft_count:3.1") * i2d((864410 / (10 ^ mytier)) % 10)
 
;  circuit_lo = global.double.get("craft_count:3.1") * 2.0
 
global.int.set("craft_tier:ingot", tier * 2 - 1)
 
global.double.set("craft_count:ingot", max(0.0, count * i2d((864410 / (10 ^ tier)) % 10) - craft_inventory * (count("plate", tier * 2 - 1) + count("plate.circuit", tier * 2 - 1))) + max(0.0, ceil((count*2.0 - craft_inventory * (count("cable", tier * 2 - 1) + count("circuit", tier * 2 - 1)))/2.0)))
 
global.int.set("craft_verify:ingot", 1)
 
executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
; Ingots (hi)
 
;  board_hi = global.double.get("craft_count:3.1") * i2d((862210 / (10 ^ mytier)) % 10)
 
;  circuit_hi = global.double.get("craft_count:3.1") * i2d((224420 / (10 ^ mytier)) % 10)
 
global.int.set("craft_tier:ingot", tier * 2)
 
global.double.set("craft_count:ingot", max(0.0, count * i2d((862210 / (10 ^ tier)) % 10) - craft_inventory * (count("plate", tier * 2) + count("plate.circuit", tier * 2))) + max(0.0, ceil((count * i2d((224420 / (10 ^ tier)) % 10) - craft_inventory * (count("cable", tier * 2) + count("circuit", tier * 2)))/2.0)))
 
global.int.set("craft_verify:ingot", 1)
 
executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
; Input chips
 
global.int.set("craft_tier:3.1", tier - 1)
 
global.double.set("craft_count:3.1", count * 2.0 * (floor(664200.0 / (10.0 ^ i2d(tier))) % 10.0) - craft_inventory * count("chip", tier - 1))
 
executesync("craft part:1")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
; Restore state for this tier
 
global.int.set("craft_tier:3.1", tier)
 
global.double.set("craft_count:3.1", count)
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
DGNyYWZ0IDM6MTppbgAAAAAAAAAAEgAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2Jh
 
bC5pbnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50
 
BAVjb3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My4xDmdsb2JhbC5p
 
bnQuc2V0CGNvbnN0YW50BBBjcmFmdF90aWVyOmluZ290DmFyaXRobWV0aWMuaW50DmFyaXRobWV0aWMu
 
aW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEASoIY29uc3RhbnQCAgAAAAhj
 
b25zdGFudAQBLQhjb25zdGFudAIBAAAAEWdsb2JhbC5kb3VibGUuc2V0CGNvbnN0YW50BBFjcmFmdF9j
 
b3VudDppbmdvdBFhcml0aG1ldGljLmRvdWJsZQpkb3VibGUubWF4CGNvbnN0YW50AwAAAAAAAAAAEWFy
 
aXRobWV0aWMuZG91YmxlEWFyaXRobWV0aWMuZG91Ymxl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2NhbC5pbnQuZ2V0CGNvbnN0YW50
 
BAR0aWVyEWdsb2JhbC5kb3VibGUuc2V0CGNvbnN0YW50BA9jcmFmdF9jb3VudDozLjEQbG9jYWwuZG91
 
YmxlLmdldAhjb25zdGFudAQFY291bnQ=
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:1:board
 
|15
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double board_lo
 
:local double board_hi
 
 
tier = global.int.get("craft_tier:3.1")
 
board_lo = global.double.get("craft_count:3.1") * i2d((864410 / (10 ^ tier)) % 10)
 
board_hi = global.double.get("craft_count:3.1") * i2d((862210 / (10 ^ tier)) % 10)
 
 
; Craft plates
 
lo1: gotoif(hi1, board_lo <= craft_inventory * (count("plate.circuit", tier * 2 - 1) + count("plate", tier * 2 - 1)))
 
  waitwhile(active("presser"))
 
  produce("ingot", tier * 2 - 1, board_lo - craft_inventory * (count("plate.circuit", tier * 2 - 1) + count("plate", tier * 2 - 1)), "presser")
 
 
hi1: gotoif(lo2, board_hi <= craft_inventory * (count("plate.circuit", tier * 2) + count("plate", tier * 2)))
 
  waitwhile(active("presser"))
 
  produce("ingot", tier * 2, board_hi - craft_inventory * (count("plate.circuit", tier * 2) + count("plate", tier * 2)), "presser")
 
 
; Craft circuit boards
 
lo2: gotoif(hi2, board_lo <= craft_inventory * (count("plate.circuit", tier * 2 - 1)))
 
  waitwhile(active("refinery") | count("plate", tier * 2 - 1) < board_lo - craft_inventory * (count("plate.circuit", tier * 2 - 1)))
 
  produce("plate", tier * 2 - 1, board_lo - craft_inventory * (count("plate.circuit", tier * 2 - 1)), "refinery")
 
 
hi2: gotoif(99, board_hi <= craft_inventory * (count("plate.circuit", tier * 2)))
 
  waitwhile(active("refinery") | count("plate", tier * 2) < board_hi - craft_inventory * (count("plate.circuit", tier * 2)))
 
  produce("plate", tier * 2, board_hi - craft_inventory * (count("plate.circuit", tier * 2)), "refinery")
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
D2NyYWZ0IDM6MTpib2FyZAAAAAAAAAAADwAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmds
 
b2JhbC5pbnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0
 
YW50BAhib2FyZF9sbxFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQP
 
Y3JhZnRfY291bnQ6My4xCGNvbnN0YW50BAEqA2kyZA5hcml0aG1ldGljLmludA5hcml0aG1ldGljLmlu
 
dAhjb25zdGFudAKaMA0ACGNvbnN0YW50BAEvDmFyaXRobWV0aWMuaW50CGNvbnN0YW50AgoAAAAIY29u
 
c3RhbnQEA3Bvdw1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BANtb2QIY29uc3Rh
 
bnQCCgAAABBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAhib2FyZF9oaRFhcml0aG1ldGljLmRvdWJs
 
ZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My4xCGNvbnN0YW50BAEqA2ky
 
ZA5hcml0aG1ldGljLmludA5hcml0aG1ldGljLmludAhjb25zdGFudAICKA0ACGNvbnN0YW50BAEvDmFy
 
aXRobWV0aWMuaW50CGNvbnN0YW50AgoAAAAIY29uc3RhbnQEA3Bvdw1sb2NhbC5pbnQuZ2V0CGNvbnN0
 
YW50BAR0aWVyCGNvbnN0YW50BANtb2QIY29uc3RhbnQCCgAAAA5nZW5lcmljLmdvdG9pZghjb25zdGFu
 
dAIHAAAAEWNvbXBhcmlzb24uZG91YmxlEGxvY2FsLmRvdWJsZS5nZXQIY29uc3RhbnQECGJvYXJkX2xv
 
CGNvbnN0YW50BAI8PRFhcml0aG1ldGljLm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lLmdldAhjb25zdGFudAQIYm9hcmRfaGkIY29uc3RhbnQEAS0RYXJp
 
dGhtZXRpYy5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3RhbnQED2NyYWZ0X2ludmVudG9yeQhj
 
b25zdGFudAQBKhNmYWN0b3J5Lml0ZW1zLmNvdW50CGNvbnN0YW50BA1wbGF0ZS5jaXJjdWl0DmFyaXRo
 
bWV0aWMuaW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEASoIY29uc3RhbnQC
 
AgAAAA9mYWN0b3J5LnByb2R1Y2UIY29uc3RhbnQEBXBsYXRlDmFyaXRobWV0aWMuaW50DWxvY2FsLmlu
 
dC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEASoIY29uc3RhbnQCAgAAABFhcml0aG1ldGljLmRv
 
dWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAhib2FyZF9oaQhjb25zdGFudAQBLRFhcml0aG1l
 
dGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfaW52ZW50b3J5CGNvbnN0
 
YW50BAEqE2ZhY3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEDXBsYXRlLmNpcmN1aXQOYXJpdGhtZXRp
 
Yy5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25zdGFudAQBKghjb25zdGFudAICAAAA
 
CGNvbnN0YW50BAhyZWZpbmVyeQ==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:1:circuit
 
|15
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''100'''
!
+
|save icon
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double circuit_lo
 
:local double circuit_hi
 
 
 
tier = global.int.get("craft_tier:3.1")
 
circuit_lo = global.double.get("craft_count:3.1") * 2.0
 
circuit_hi = global.double.get("craft_count:3.1") * i2d((224420 / (10 ^ tier)) % 10)
 
 
 
; Craft cables
 
lo1: gotoif(hi1, circuit_lo <= craft_inventory * (count("circuit", tier * 2 - 1) + count("cable", tier * 2 - 1)))
 
waitwhile(active("refinery"))
 
produce("ingot", tier * 2 - 1, ceil((circuit_lo - craft_inventory * (count("circuit", tier * 2 - 1) + count("cable", tier * 2 - 1))) / 2.0), "refinery")
 
 
 
hi1: gotoif(lo2, circuit_hi <= craft_inventory * (count("circuit", tier * 2) + count("cable", tier * 2)))
 
waitwhile(active("refinery"))
 
produce("ingot", tier * 2, ceil((circuit_hi - craft_inventory * (count("circuit", tier * 2) + count("cable", tier * 2))) / 2.0), "refinery")
 
 
 
; Craft circuit wires
 
lo2: gotoif(hi2, circuit_lo <= craft_inventory * count("circuit", tier * 2 - 1))
 
  waitwhile(count("cable", tier * 2 - 1) < circuit_lo - craft_inventory * count("circuit", tier * 2 - 1) | active("assembler"))
 
  produce("cable", tier * 2 - 1, circuit_lo - craft_inventory * count("circuit", tier * 2 - 1), "assembler")
 
 
 
hi2: gotoif(99, circuit_hi <= craft_inventory * count("circuit", tier * 2))
 
  waitwhile(count("cable", tier * 2) < circuit_hi - craft_inventory * count("circuit", tier * 2) | active("assembler"))
 
  produce("cable", tier * 2, circuit_hi - craft_inventory * count("circuit", tier * 2), "assembler")
 
 
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
EWNyYWZ0IDM6MTpjaXJjdWl0AAAAAAAAAAAPAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEBHRpZXIO
 
Z2xvYmFsLmludC5nZXQIY29uc3RhbnQEDmNyYWZ0X3RpZXI6My4xEGxvY2FsLmRvdWJsZS5zZXQIY29u
 
c3RhbnQECmNpcmN1aXRfbG8RYXJpdGhtZXRpYy5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3Rh
 
bnQED2NyYWZ0X2NvdW50OjMuMQhjb25zdGFudAQBKghjb25zdGFudAMAAAAAAAAAQBB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vdWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BApjaXJjdWl0X2hpCGNv
 
bnN0YW50BAEtEWFyaXRobWV0aWMuZG91YmxlEWdsb2JhbC5kb3VibGUuZ2V0CGNvbnN0YW50BA9jcmFm
 
dF9pbnZlbnRvcnkIY29uc3RhbnQEASoTZmFjdG9yeS5pdGVtcy5jb3VudAhjb25zdGFudAQHY2lyY3Vp
 
dA5hcml0aG1ldGljLmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAEqCGNv
 
bnN0YW50AgIAAAAIY29uc3RhbnQECWFzc2VtYmxlcg==
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
 
|
 
|
 
|
 
|
 
|
 
|
|}
 
<br />
 
 
 
==Producer scripts==
 
<br />
 
 
==Machine scripts==
 
 
 
 
<br />
 
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
x
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
x
 
</syntaxhighlight>
 
 
|}
 
|}

Latest revision as of 09:04, 31 January 2021

I like scripting!

Click to copy (tamperscript)
// ==UserScript==
// @name         Click to copy on <pre> tags
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Add click to copy buttons to <pre> tags
// @author       Troy.Laurin@gmail.com
// @match        https://www.perfecttower2.com/wiki/*
// @grant        GM_addStyle
// @require      https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js
// @require      http://code.jquery.com/jquery-3.5.1.slim.min.js
// ==/UserScript==

(function() {
    'use strict';

    // ------------------------------------------
    // CSS part injected in the page
    GM_addStyle(" \
.precontainer { \
position: relative; \
} \
.copy-btn { \
background: #DDD; \
font-family: monospace; \
font-weight: bolder; \
margin: 0; \
opacity: 0; \
padding: 4px; \
position: absolute; \
right: 1px; \
top: 1px; \
cursor: pointer; \
-webkit-transition: opacity 0.3s ease-in-out; \
-o-transition: opacity 0.3s ease-in-out; \
transition: opacity 0.3s ease-in-out; \
} \
.precontainer:hover >.copy-btn { \
opacity: 1; \
} \
table { width: 100% } \
");

    $('pre').wrap('<div class="precontainer"></div>');
    $('pre').before($('<span class="copy-btn">&lt;/&gt;</span>'));

    new ClipboardJS('.copy-btn', {
        text: function(trigger) {
            return $(trigger.nextElementSibling).text();
        }
    })
        .on('success',function (e) {
        $(e.trigger).html("&lt;copied/&gt;")
        setTimeout(function() {
            $(e.trigger).html("&lt;/&gt;");
        }, 3000);
    })
        .on('error',function (e) {
        $(e.trigger).html("Error!")
        setTimeout(function() {
            $(e.trigger).html("&lt;/&gt;");
        }, 3000);
    });
})();

Factory scripts: https://www.perfecttower2.com/wiki/AI_Craftapalooza



Fun sprites
# # # # #
1 gems 21 white pyramid 41 61 memory outline 81 star 101 grey module
2 hypercube 22 tree logo 42 62 memory 102 right click
3 cogs 23 white infinity 43 white pencil 63 cpu outline 103 world
4 white xp 24 hourglass 44 space bar 64 cpu 104 white warning
5 exotic gems 25 unlock 45 white 6-pt star 65 server 105 grid mode
6 white help 26 white convert shard 46 white plus 66 graph / statistics 106 list mode
7 blue module 27 white mine nothing 47 white blurry circle 67 blue shield 107 save icon
8 white circle 28 white shard per time 48 to craft grid 68 grey shield
9 white cube 29 white redo arrow 49 from craft grid 69 drill
10 white target 30 50 cloud 70 trashcan
11 Dr Cubos 31 51 yellow module 71
12 white tick 32 52 red module 72
13 lock 33 53 purple module 73
14 white shard 34 54 bomb 74 94 checkbox
15 white skull 35 55 flag / impulse 75 95 red gem?!
16 white square 36 56 equals / condition 76 fuel can
17 white cross 37 white arrow right 57 function / action 77 97 museum stones
18 health logo 38 firesword logo 58 left click 78 98 white stairs
19 damage logo 39 kreds 59 ship 79 99 shipping box
20 wave logo 40 60 circle/orb 80 100 save icon