Difference between revisions of "User:Troylaurin"

From The Perfect Tower II
Jump to navigation Jump to search
(Images!)
(sprite table)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
A bunch of scripts to craft stuff.
+
I like scripting!
 +
 
 
{| class="wikitable mw-collapsible mw-collapsed"
 
{| class="wikitable mw-collapsible mw-collapsed"
 
!Click to copy (tamperscript)
 
!Click to copy (tamperscript)
Line 71: Line 72:
 
|}
 
|}
  
 +
Factory scripts: https://www.perfecttower2.com/wiki/AI_Craftapalooza
  
IN DEVELOPMENT.  USE AT YOUR OWN RISK.<br />
 
  
==General scripts==
+
 
 +
<br />
 
{| class="wikitable"
 
{| class="wikitable"
!Script
+
|+Fun sprites
!Impulses
+
!'''#'''
!Conditions
+
!
!Lines
+
!
!Source
+
!'''#'''
 +
!
 +
!
 +
!
 +
!
 +
!
 +
!'''#'''
 +
!
 +
!
 +
!'''#'''
 +
!
 +
!
 +
!'''#'''
 +
!
 
|-
 
|-
|craft init
+
|'''1'''
 +
|gems
 +
|
 +
|'''21'''
 +
|''white pyramid''
 +
|
 +
|'''41'''
 +
|
 
|
 
|
*On wake
+
|'''61'''
 +
|''memory outline''
 
|
 
|
|9
+
|'''81'''
 +
|star
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''101'''
!
+
|''grey module''
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''2'''
wakeup()
+
|hypercube
 
+
|
global.int.set("craft_busy", 0)
+
|'''22'''
global.int.set("craft_status", 200)
+
|''tree logo''
global.int.set("craft_require_tier", 0)
+
|
global.double.set("craft_require_count", 0.0)
+
|'''42'''
global.int.set("craft_tier", 1)
+
|
global.int.set("craft_mode", 1)
+
|
global.int.set("craft_output", 1)
+
|'''62'''
global.double.set("craft_count", 1.0)
+
|''memory''
global.double.set("craft_inventory", 1.0)
+
|
</syntaxhighlight>
+
|
 +
|
 +
|
 +
|'''102'''
 +
|''right click''
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''3'''
CmNyYWZ0IGluaXQBAAAABndha2V1cAAAAAAJAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BApjcmFm
+
|cogs
dF9idXN5CGNvbnN0YW50AgAAAAAOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEDGNyYWZ0X3N0YXR1cwhj
+
|
b25zdGFudALIAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BBJjcmFmdF9yZXF1aXJlX3RpZXIIY29u
+
|'''23'''
c3RhbnQCAAAAABFnbG9iYWwuZG91YmxlLnNldAhjb25zdGFudAQTY3JhZnRfcmVxdWlyZV9jb3VudAhj
+
|white infinity
b25zdGFudAMAAAAAAAAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQKY3JhZnRfdGllcghjb25zdGFu
+
|
dAIBAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BApjcmFmdF9tb2RlCGNvbnN0YW50AgEAAAAOZ2xv
+
|'''43'''
YmFsLmludC5zZXQIY29uc3RhbnQEDGNyYWZ0X291dHB1dAhjb25zdGFudAIBAAAAEWdsb2JhbC5kb3Vi
+
|white pencil
bGUuc2V0CGNvbnN0YW50BAtjcmFmdF9jb3VudAhjb25zdGFudAMAAAAAAADwPxFnbG9iYWwuZG91Ymxl
+
|
LnNldAhjb25zdGFudAQPY3JhZnRfaW52ZW50b3J5CGNvbnN0YW50AwAAAAAAAPA/
+
|'''63'''
</syntaxhighlight>
+
|''cpu outline''
|}
+
|
 +
|
 +
|
 +
|
 +
|'''103'''
 +
|''world''
 
|-
 
|-
|craft GO
+
|'''4'''
 +
|white xp
 +
|
 +
|'''24'''
 +
|hourglass
 +
|
 +
|'''44'''
 +
|''space bar''
 +
|
 +
|'''64'''
 +
|''cpu''
 +
|
 
|
 
|
*key 0
 
 
|
 
|
*not busy crafting & factory screen open
 
 
<br />
 
|13
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''104'''
!
+
|''white warning''
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''5'''
:global int craft_mode
+
|exotic gems
:global int craft_output
+
|
:local int max
+
|'''25'''
 
+
|unlock
key.0()
+
|
 
+
|'''45'''
(global.int.get("craft_busy") == 0 & isopen("factory"))
+
|''white 6-pt star''
 
+
|
  global.int.set("craft_busy", 1)
+
|'''65'''
  global.int.set("craft_require_tier", 0)
+
|''server''
  global.double.set("craft_require_count", 0.0)
+
|
  global.int.set("craft_tier:" . craft_mode . "." . craft_output, global.int.get("craft_tier"))
+
|
  global.double.set("craft_count:" . craft_mode . "." . craft_output, global.double.get("craft_count"))
+
|
 
+
|
  execute("craft script check")
+
|'''105'''
  global.int.set("craft_status", 102) ; Processing
+
|''grid mode''
  stop("craft script check")
 
 
 
  stop("craft " . craft_mode . ":" . craft_output)
 
  executesync("craft " . craft_mode . ":" . craft_output)
 
 
 
; Preserve status if its already in a terminal state
 
end: gotoif(end2, global.int.get("craft_status") > 199)
 
  global.int.set("craft_status", 200) ; OK
 
end2: global.int.set("craft_busy", 0)
 
 
 
</syntaxhighlight>
 
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''6'''
CGNyYWZ0IEdPAQAAAAVrZXkuMAEAAAAPY29tcGFyaXNvbi5ib29sDmNvbXBhcmlzb24uaW50Dmdsb2Jh
+
|white help
bC5pbnQuZ2V0CGNvbnN0YW50BApjcmFmdF9idXN5CGNvbnN0YW50BAI9PQhjb25zdGFudAIAAAAACGNv
+
|
bnN0YW50BAEmEnRvd24ud2luZG93Lmlzb3Blbghjb25zdGFudAQHZmFjdG9yeQ0AAAAOZ2xvYmFsLmlu
+
|'''26'''
dC5zZXQIY29uc3RhbnQECmNyYWZ0X2J1c3kIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25z
+
|white convert shard
dGFudAQSY3JhZnRfcmVxdWlyZV90aWVyCGNvbnN0YW50AgAAAAARZ2xvYmFsLmRvdWJsZS5zZXQIY29u
+
|
c3RhbnQEE2NyYWZ0X3JlcXVpcmVfY291b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CADaTJzDmdsb2Jh
 
bC5pbnQuZ2V0CGNvbnN0YW50BApjcmFmdF9tb2RlCGNvbnN0YW50BAE6A2kycw5nbG9iYWwuaW50Lmdl
 
dAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmdlbmVyaWMuZ290b2lmCGNvbnN0YW50Ag0AAAAOY29tcGFy
 
aXNvbi5pbnQOZ2xvYmFsLmludC5nZXQIY29uc3RhbnQEDGNyYWZ0X3N0YXR1cwhjb25zdGFudAQBPghj
 
b25zdGFudALHAAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9zdGF0dXMIY29uc3RhbnQC
 
yAAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAIAAAAA
 
 
 
</syntaxhighlight>
 
|}
 
 
|-
 
|-
|craft tier up
+
|'''7'''
 +
|blue module
 +
|
 +
|'''27'''
 +
|white mine nothing
 +
|
 +
|'''47'''
 +
|''white blurry circle''
 +
|
 +
|'''67'''
 +
|blue shield
 +
|
 
|
 
|
*key 1
 
 
<br />
 
 
|
 
|
*not busy crafting
 
|1
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''107'''
!
+
|''save icon''
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''8'''
:global int craft_tier
+
|white circle
 
+
|
key.1()
+
|'''28'''
(global.int.get("craft_busy") == 0)
+
|white shard per time
 
+
|
craft_tier = (craft_tier % 10) + 1
+
|'''48'''
</syntaxhighlight>
+
|''to craft grid''
 +
|
 +
|'''68'''
 +
|grey shield
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''9'''
DWNyYWZ0IHRpZXIgdXABAAAABWtleS4xAQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhj
+
|white cube
b25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAEAAAAOZ2xvYmFsLmlu
+
|
dC5zZXQIY29uc3RhbnQECmNyYWZ0X3RpZXIOYXJpdGhtZXRpYy5pbnQOYXJpdGhtZXRpYy5pbnQOZ2xv
+
|'''29'''
YmFsLmludC5nZXQIY29uc3RhbnQECmNyYWZ0X3RpZXIIY29uc3RhbnQEA21vZAhjb25zdGFudAIKAAAA
+
|white redo arrow
CGNvbnN0YW50BAErCGNvbnN0YW50AgEAAAA=
+
|
</syntaxhighlight>
+
|'''49'''
|}
+
|''from craft grid''
 +
|
 +
|'''69'''
 +
|drill
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|-
 
|-
|craft mode up
+
|'''10'''
 +
|''white target''
 +
|
 +
|'''30'''
 +
|
 +
|
 +
|'''50'''
 +
|cloud
 +
|
 +
|'''70'''
 +
|''trashcan''
 +
|
 +
|
 +
|
 
|
 
|
*key 2
 
 
<br />
 
 
|
 
|
*not busy crafting
 
|2
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''11'''
:global int craft_mode
+
|Dr Cubos
:global int craft_output
+
|
 
+
|'''31'''
key.2()
+
|
(global.int.get("craft_busy") == 0)
+
|
 
+
|'''51'''
craft_mode = (craft_mode % 3) + 1
+
|yellow module
craft_output = 1
+
|
</syntaxhighlight>
+
|'''71'''
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|-
 
|-
|<syntaxhighlight lang="text">
+
|'''12'''
DWNyYWZ0IG1vZGUgdXABAAAABWtleS4yAQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhj
+
|white tick
b25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAIAAAAOZ2xvYmFsLmlu
+
|
dC5zZXQIY29uc3RhbnQECmNyYWZ0X21vZGUOYXJpdGhtZXRpYy5pbnQOYXJpdGhtZXRpYy5pbnQOZ2xv
+
|'''32'''
YmFsLmludC5nZXQIY29uc3RhbnQECmNyYWZ0X21vZGUIY29uc3RhbnQEA21vZAhjb25zdGFudAIDAAAA
+
|
CGNvbnN0YW50BAErCGNvbnN0YW50AgEAAAAOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEDGNyYWZ0X291
+
|
dHB1dAhjb25zdGFudAIBAAAA
+
|'''52'''
</syntaxhighlight>
+
|red module
|}
+
|
 +
|'''72'''
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|
 
|-
 
|-
|craft output up
+
|'''13'''
 +
|lock
 +
|
 +
|'''33'''
 +
|
 +
|
 +
|'''53'''
 +
|purple module
 +
|
 +
|'''73'''
 +
|
 +
|
 +
|
 +
|
 
|
 
|
*key 3
 
 
|
 
|
*not busy crafting
 
|2
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''14'''
:global int craft_mode
+
|white shard
:global int craft_output
+
|
:local int max
+
|'''34'''
 
+
|
key.3()
+
|
(global.int.get("craft_busy") == 0)
+
|'''54'''
 
+
|''bomb''
max = (13101300 / (100 ^ craft_mode)) % 100
+
|
craft_output = (craft_output % max) + 1
+
|'''74'''
</syntaxhighlight>
+
|
|-
+
|
|<syntaxhighlight lang="text">
+
|'''94'''
D2NyYWZ0IG91dHB1dCB1cAEAAAAFa2V5LjMBAAAADmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0
+
|''checkbox''
CGNvbnN0YW50BApjcmFmdF9idXN5CGNvbnN0YW50BAI9PQhjb25zdGFudAIAAAAAAgAAAA1sb2NhbC5p
+
|
bnQuc2V0CGNvbnN0YW50BANtYXgOYXJpdGhtZXRpYy5pbnQOYXJpdGhtZXRpYy5pbnQIY29uc3RhbnQC
+
|
9OjHAAhjb25zdGFudAQBLw5hcml0aG1ldGljLmludAhjb25zdGFudAJkAAAACGNvbnN0YW50BANwb3cO
+
|
Z2xvYmFsLmludC5nZXQIY29uc3RhbnQECmNyYWZ0X21vZGUIY29uc3RhbnQEA21vZAhjb25zdGFudAJk
 
AAAADmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQOYXJpdGhtZXRpYy5pbnQOYXJp
 
dGhtZXRpYy5pbnQOZ2xvYmFsLmludC5nZXQIY29uc3RhbnQEDGNyYWZ0X291dHB1dAhjb25zdGFudAQD
 
bW9kDWxvY2FsLmludC5nZXQIY29uc3RhbnQEA21heAhjb25zdGFudAQBKwhjb25zdGFudAIBAAAA
 
</syntaxhighlight>
 
|}
 
 
|-
 
|-
|craft count up
+
|'''15'''
 +
|white skull
 
|
 
|
*key 9
+
|'''35'''
 
|
 
|
*not busy crafting
 
|5
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''55'''
!
+
|''flag / impulse''
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_count
 
:local double pow
 
:local double inc
 
 
 
key.9()
 
(global.int.get("craft_busy") == 0)
 
 
 
  gotoif(99, craft_count > 900000.0)
 
  gotoif(a, craft_count < 1.0)
 
  pow = double.floor(0.01 + (craft_count // 10.0))
 
a: inc = 10.0 ^ pow
 
  craft_count = craft_count + inc
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
DmNyYWZ0IGNvdW50IHVwAQAAAAVrZXkuOQEAAAAOY29tcGFyaXNvbi5pbnQOZ2xvYmFsLmludC5nZXQI
 
Y29uc3RhbnQECmNyYWZ0X2J1c3kIY29uc3RhbnQEAj09CGNvbnN0YW50AgAAAAAFAAAADmdlbmVyaWMu
 
Z290b2lmCGNvbnN0YW50AmMAAAARY29tcGFyaXNvbi5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29u
 
c3RhbnQEC2NyYWZ0X2NvdW50CGNvbnN0YW50BAE+CGNvbnN0YW50AwAAAABAdytBDmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AgQAAAARY29tcGFyaXNvbi5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3Rh
 
bnQEC2NyYWZ0X2NvdW50CGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/EGxvY2FsLmRvdWJsZS5z
 
ZXQIY29uc3RhbnQEA3Bvdwxkb3VibGUuZmxvb3IRYXJpdGhtZXRpYy5kb3VibGUIY29uc3RhbnQDexSu
 
R+F6hD8IY29uc3RhbnQEASsRYXJpdGhtZXRpYy5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3Rh
 
bnQEC2NyYWZ0X2NvdW50CGNvbnN0YW50BANsb2cIY29uc3RhbnQDAAAAAAAAJEAQbG9jYWwuZG91Ymxl
 
LnNldAhjb25zdGFudAQDaW5jEWFyaXRobWV0aWMuZG91YmxlCGNvbnN0YW50AwAAAAAAACRACGNvbnN0
 
YW50BANwb3cQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQDcG93EWdsb2JhbC5kb3VibGUuc2V0CGNv
 
bnN0YW50BAtjcmFmdF9jb3VudBFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25z
 
dGFudAQLY3JhZnRfY291bnQIY29uc3RhbnQEASsQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQDaW5j
 
</syntaxhighlight>
 
|}
 
|-
 
|craft count down
 
 
|
 
|
*key 8
+
|'''75'''
 
|
 
|
*not busy crafting
 
|5
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''95'''
!
+
|red gem?!
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_count
 
:local double pow
 
:local double inc
 
 
 
key.8()
 
(global.int.get("craft_busy") == 0)
 
 
 
  gotoif(a, craft_count < 1.0)
 
  pow = double.floor(-0.01 + (craft_count // 10.0))
 
a: inc = 10.0 ^ pow
 
  gotoif(99, craft_count - inc < 1.0)
 
  craft_count = craft_count - inc
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
EGNyYWZ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hbnQEAS0QbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQD
 
aW5j
 
</syntaxhighlight>
 
|}
 
|-
 
|craft inventory use
 
 
|
 
|
*key 5
 
 
<br />
 
 
|
 
|
*not busy crafting
 
|1
 
 
|
 
|
{| 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
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
E2NyYWZ0IGludmVudG9yeSB1c2UBAAAABWtleS41AQAAAA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50
 
LmdldAhjb25zdGFudAQKY3JhZnRfYnVzeQhjb25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAEAAAARZ2xv
 
YmFsLmRvdWJsZS5zZXQIY29uc3RhbnQED2NyYWZ0X2ludmVudG9yeRFhcml0aG1ldGljLmRvdWJsZQhj
 
b25zdGFudAMAAAAAAADwPwhjb25zdGFudAQBLRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3Jh
 
ZnRfaW52ZW50b3J5
 
</syntaxhighlight>
 
|}
 
|-
 
|craft script check
 
 
|
 
|
 +
|'''56'''
 +
|''equals / condition''
 
|
 
|
|3
+
|'''76'''
 +
|fuel can
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global int craft_mode
 
:global int craft_output
 
 
executesync("craft " . craft_mode . ":" . craft_output)
 
global.int.set("craft_status", 404) ; Script not found
 
loop: goto(loop)
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
EmNyYWZ0IHNjcmlwdCBjaGVjawAAAAAAAAAAAwAAABNnZW5lcmljLmV4ZWN1dGVzeW5jBmNvbmNhdAZj
 
b25jYXQGY29uY2F0CGNvbnN0YW50BAZjcmFmdCADaTJzDmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BApj
 
cmFmdF9tb2RlCGNvbnN0YW50BAE6A2kycw5nbG9iYWwuaW50LmdldAhjb25zdGFudAQMY3JhZnRfb3V0
 
cHV0Dmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9zdGF0dXMIY29uc3RhbnQClAEAAAxnZW5l
 
cmljLmdvdG8IY29uc3RhbnQCAwAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft producer set (pg1)
 
 
|
 
|
*key 4
 
 
<br />
 
|<br />
 
 
*not busy crafting & crafting producers
 
|14
 
 
|
 
|
{| 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
 
dGFudAQKY3JhZnRfbW9kZQhjb25zdGFudAQCPT0IY29uc3RhbnQCAQAAAA4AAAAOZ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bnN0YW50
 
BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25z
 
dGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxj
 
cmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFu
 
dAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFm
 
dF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQM
 
Y3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9v
 
dXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft producer set (pg2)
 
 
|
 
|
*key 4
 
 
<br />
 
 
|
 
|
*not busy crafting & crafting producers
 
|13
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''17'''
:global int craft_output
+
|white cross
 
+
|
key.4()
+
|'''37'''
(global.int.get("craft_busy") == 0 & global.int.get("craft_mode") == 1)
+
|white arrow right
 
 
 
 
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>
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
 
bnQCAQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50
 
Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQC
 
AQAAAA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmds
 
b2JhbC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAA
 
AA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2Jh
 
bC5pbnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5n
 
bG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCAQAAAA5nbG9i
 
YWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfb3V0cHV0DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQu
 
Z2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQIY29uc3RhbnQEASsIY29uc3RhbnQCBwAAAA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft output machine
 
 
|
 
|
*key 4 (in factory)
+
|'''57'''
 
+
|''function / action''
<br />
 
|<br />
 
 
 
*not busy crafting & crafting machines
 
|4
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''77'''
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global int craft_output
 
: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">
 
FGNyYWZ0IG91dHB1dCBtYWNoaW5lAQAAAAVrZXkuNAEAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlz
 
b24uYm9vbA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQKY3JhZnRfYnVzeQhj
 
b25zdGFudAQCPT0IY29uc3RhbnQCAAAAAAhjb25zdGFudAQBJg5jb21wYXJpc29uLmludA5nbG9iYWwu
 
aW50LmdldAhjb25zdGFudAQKY3JhZnRfbW9kZQhjb25zdGFudAQCPT0IY29uc3RhbnQCAgAAAAhjb25z
 
dGFudAQBJhJ0b3duLndpbmRvdy5pc29wZW4IY29uc3RhbnQEB2ZhY3RvcnkEAAAADmdsb2JhbC5pbnQu
 
c2V0CGNvbnN0YW50BAF4A2QyaQxkb3VibGUuZmxvb3IRYXJpdGhtZXRpYy5kb3VibGURYXJpdGhtZXRp
 
Yy5kb3VibGURYXJpdGhtZXRpYy5kb3VibGURYXJpdGhtZXRpYy5kb3VibGUGdmVjMi54Dm1vdXNlLnBv
 
c2l0aW9uCGNvbnN0YW50BAEvA2kyZAxzY3JlZW4ud2lkdGgIY29uc3RhbnQEAS0IY29uc3RhbnQDPQrX
 
o3A92j8IY29uc3RhbnQEAS8IY29uc3RhbnQDmpmZmZmZuT8IY29uc3RhbnQEASsIY29uc3RhbnQDAAAA
 
AAAA8D8OZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEAXkDZDJpDGRvdWJsZS5mbG9vchFhcml0aG1ldGlj
 
LmRvdWJsZRFhcml0aG1ldGljLmRvdWJsZQhjb25zdGFudAOamZmZmZnpPwhjb25zdGFudAQBLRFhcml0
 
aG1ldGljLmRvdWJsZQZ2ZWMyLnkObW91c2UucG9zaXRpb24IY29uc3RhbnQEAS8DaTJkDXNjcmVlbi5o
 
ZWlnaHQIY29uc3RhbnQEAS8IY29uc3RhbnQDMQisHFpkyz8OZ2VuZXJpYy5nb3RvaWYIY29uc3RhbnQC
 
YwAAAA9jb21wYXJpc29uLmJvb2wPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJp
 
c29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQBeAhjb25zdGFudAQBPAhjb25zdGFudAIBAAAA
 
CGNvbnN0YW50BAF8DmNvbXBhcmlzb24uaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BAF4CGNvbnN0
 
YW50BAE+CGNvbnN0YW50AgUAAAAIY29uc3RhbnQEAXwOY29tcGFyaXNvbi5pbnQOZ2xvYmFsLmludC5n
 
ZXQIY29uc3RhbnQEAXkIY29uc3RhbnQEATwIY29uc3RhbnQCAAAAAAhjb25zdGFudAQBfA5jb21wYXJp
 
c29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQBeQhjb25zdGFudAQBPghjb25zdGFudAIBAAAA
 
Dmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BAxjcmFmdF9vdXRwdXQOYXJpdGhtZXRpYy5pbnQOZ2xvYmFs
 
LmludC5nZXQIY29uc3RhbnQEAXgIY29uc3RhbnQEASsOYXJpdGhtZXRpYy5pbnQOZ2xvYmFsLmludC5n
 
ZXQIY29uc3RhbnQEAXkIY29uc3RhbnQEASoIY29uc3RhbnQCBQAAAA==
 
 
 
</syntaxhighlight>
 
|}
 
|-
 
|craft ingot
 
 
|
 
|
 
|
 
|
|13
+
|'''97'''
 +
|''museum stones''
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
: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, global.int.get("craft_tier:ingot") < 1 | global.int.get("craft_tier:ingot") > 10 | global.double.get("craft_count:ingot") <= 0.0 | global.int.get("craft_status") > 199)
 
 
gotoif(99, global.double.get("craft_count:ingot") <= count("ingot", global.int.get("craft_tier:ingot")))
 
gotoif(bad, global.double.get("craft_count:ingot") > count("ingot", global.int.get("craft_tier:ingot")) + count("dust", global.int.get("craft_tier:ingot")) - 1.0)
 
gotoif(99, verify_mode > 0)
 
  waitwhile(active("oven"))
 
  produce("dust", global.int.get("craft_tier:ingot"), ceil(global.double.get("craft_count:ingot") - count("ingot", global.int.get("craft_tier:ingot"))), "oven")
 
  waituntil(count("ingot", global.int.get("craft_tier:ingot")) >= global.double.get("craft_count:ingot"))
 
  goto(99) ; ok
 
 
bad: global.int.set("craft_require_tier", global.int.get("craft_tier:ingot"))
 
  global.double.set("craft_require_count", global.double.get("craft_count:ingot"))
 
  global.int.set("craft_status", 412)
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
C2NyYWZ0IGluZ290AAAAAAAAAAANAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEC3ZlcmlmeV9tb2Rl
 
Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BBJjcmFmdF92ZXJpZnk6aW5nb3QOZ2xvYmFsLmludC5zZXQI
 
Y29uc3RhbnQEEmNyYWZ0X3ZlcmlmeTppbmdvdAhjb25zdGFudAIAAAAADmdlbmVyaWMuZ290b2lmCGNv
 
bnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA9jb21wYXJpc29uLmJvb2wO
 
Y29tcGFyaXNvbi5pbnQOZ2xvYmFsLmludC5nZXQIY29uc3RhbnQEEGNyYWZ0X3RpZXI6aW5nb3QIY29u
 
c3RhbnQEATwIY29uc3RhbnQCAQAAAAhjb25zd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GNvbnN0YW50BBFjcmFm
 
dF9jb3VudDppbmdvdA5nbG9iYWwuaW50LnNldAhjb25zdGFudAQMY3JhZnRfc3RhdHVzCGNvbnN0YW50
 
ApwBAAA=
 
 
</syntaxhighlight>
 
|}
 
|}
 
 
==Parts scripts==
 
{| class="wikitable"
 
|+
 
!Output
 
!Part
 
!Scripts
 
|-
 
|1
 
|chips [[File:Chip recipe.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:1
 
|20
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
 
|-
 
|-
|<syntaxhighlight lang="actionscript">
+
|'''18'''
; Chips
+
|health logo
: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
 
 
 
tier = global.int.get("craft_tier:3.1")
 
count = global.double.get("craft_count:3.1")
 
gotoif(99, tier < 1 | tier > 5 | count < 1.0)
 
 
 
; Verify ingot resources
 
; Also craft lower tier chips for input
 
executesync("craft 3:1:in")
 
 
 
; 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)
 
 
 
; 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")
 
 
 
global.int.set("craft_status:3.1", 1)
 
execute("craft 3:1:board")
 
execute("craft 3:1:circuit")
 
 
 
waituntil(global.int.get("craft_status:3.1") >= 7 & 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">
 
CWNyYWZ0IDM6MQAAAAAAAAAAFAAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My4xDmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJpc29u
 
LmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAE8CGNvbnN0YW50AgEAAAAI
 
Y29uc3RhbnQEAXwOY29tcGFyaXNvbi5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25z
 
dGFudAQBPghjb25zdGFudAIFAAAACGNvbnN0YW50BAF8EWNvbXBhcmlzb24uZG91YmxlEGxvY2FsLmRv
 
dWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/E2dlbmVy
 
aWMuZXhlY3V0ZXN5bmMIY29uc3RhbnQEDGNyYWZ0IDM6MTppbhBsb2NhbC5kb3VibGUuc2V0CGNvbnN0
 
YW50BAhib2FyZF9oaRFhcml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ZhY3RvcnkuaXRl
 
bXMuY291bnQIY29uc3RhbnQEDXBsYXRlLmNpcmN1aXQOYXJpdGhtZXRpYy5pbnQNbG9jYWwuaW50Lmdl
 
dAhjb25zdGFudAQEdGllcghjb25zdGFudAQBKghjb25zdGFudAICAAAACGNvbnN0YW50BAI+PRBsb2Nh
 
bC5kb3VibGUuZ2V0CGNvbnN0YW50BAhib2FyZF9oaQhjb25zdGFudAQBJhFjb21wYXJpc29uLmRvdWJs
 
ZRNmYWN0b3J5Lml0ZW1zLmNvdW50CGNvbnN0YW50BAdjaXJjdWl0DmFyaXRobWV0aWMuaW50DmFyaXRo
 
bWV0aWMuaW50DWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEASoIY29uc3RhbnQC
 
AgAAAAhjb25zdGFudAQBLQhjb25zdGFudAIBAAAACGNvbnN0YW50BAI+PRBsb2NhbC5kb3VibGUuZ2V0
 
CGNvbnN0YW50BApjaXJjdWl0X2xvCGNvbnN0YW50BAEmEWNvbXBhcmlzb24uZG91YmxlE2ZhY3Rvcnku
 
aXRlbXMuY291bnQIY29uc3RhbnQEB2NpcmN1aXQOYXJpdGhtZXRpYy5pbnQNbG9jYWwuaW50LmdldAhj
 
b25zdGFudAQEdGllcghjb25zdGFudAQBKghjb25zdGFudAICAAAACGNvbnN0YW50BAI+PRBsb2NhbC5k
 
b3VibGUuZ2V0CGNvbnN0YW50BApjaXJjdWl0X2hpDWZhY3RvcnkuY3JhZnQIY29uc3RhbnQEBGNoaXAN
 
bG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllchBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3Vu
 
dA==
 
 
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:1:in
 
|18
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''38'''
!
+
|''firesword logo''
|-
 
|<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 (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)
 
 
 
; 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)
 
 
 
; 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 3: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">
 
DGNyYWZ0IDM6MTppbgAAAAA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dldAhjb25zdGFudAQEdGllcghjb25zdGFudAQDbW9kCGNv
 
bnN0YW50AwAAAAAAACRACGNvbnN0YW50BAEtEWFyaXRobWV0aWMuZG91YmxlEWdsb2JhbC5kb3VibGUu
 
Z2V0CGNvbnN0YW50BA9jcmFmdF9pbnZlbnRvcnkIY29uc3RhbnQEASoTZmFjdG9yeS5pdGVtcy5jb3Vu
 
dAhjb25zdGFudAQEY2hpcA5hcml0aG1ldGljLmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVy
 
CGNvbnN0YW50BAEtCGNvbnN0YW50AgEAAAATZ2VuZXJpYy5leGVjdXRlc3luYwhjb25zdGFudAQJY3Jh
 
ZnQgMzoxDmdlbmVyaWMuZ290b2lmCGNvbnN0YW50AmMAAAAOY29tcGFyaXNvbi5pbnQOZ2xvYmFsLmlu
 
dC5nZXQIY29uc3RhbnQEDGNyYWZ0X3N0YXR1cwhjb25zdGFudAQBPghjb25zdGFudALHAAAADmdsb2Jh
 
bC5pbnQuc2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMQ1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0
 
aWVyEWdsb2JhbC5kb3VibGUuc2V0CGNvbnN0YW50BA9jcmFmdF9jb3VudDozLjEQbG9jYWwuZG91Ymxl
 
LmdldAhjb25zdGFudAQFY291bnQ=
 
 
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:1:board
 
|16
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''58'''
!
+
|''left click''
|-
 
|<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(end, 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")
 
 
 
end: global.int.set("craft_status:3.1", global.int.get("craft_status:3.1") + 2)
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
D2NyYWZ0IDM6MTpib2FyZAAAAAAAAAAAEAAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmds
 
b2JhbC5pbnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0
 
YW50BAhib2FyZF9sbxFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQP
 
Y3JhZnRfY291bnQ6My4xCGNvbnN0YW50BAEqA2kyZA5hcml0aG1ldGljLmludA5hcml0aG1ldGljLmlu
 
dAhjb25zdGFudAKaMA0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pZXIIY29uc3RhbnQEASoIY29uc3RhbnQCAgAAABFhcml0aG1ldGljLmRv
 
dWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAhib2FyZF9oaQhjb25zdGFudAQBLRFhcml0aG1l
 
dGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfaW52ZW50b3J5CGNvbnN0
 
YW50BAEqE2ZhY3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEDXBsYXRlLmNpcmN1aXQOYXJpdGhtZXRp
 
Yy5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25zdGFudAQBKghjb25zdGFudAICAAAA
 
CGNvbnN0YW50BAhyZWZpbmVyeQ5nbG9iYWwuaW50LnNldAhjb25zdGFudAQQY3JhZnRfc3RhdHVzOjMu
 
MQ5hcml0aG1ldGljLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQQY3JhZnRfc3RhdHVzOjMuMQhj
 
b25zdGFudAQBKwhjb25zdGFudAICAAAA
 
 
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:1:circuit
 
|16
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''78'''
!
 
|-
 
|<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(end, 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")
 
 
 
end: global.int.set("craft_status:3.1", global.int.get("craft_status:3.1") + 4)
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
EWNyYWZ0IDM6MTpjaXJjdWl0AAAAAAAAAAAQAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEBHRpZXIO
 
Z2xvYmFsLmludC5nZXQIY29uc3RhbnQEDmNyYWZ0X3RpZXI6My4xEGxvY2FsLmRvdWJsZS5zZXQIY29u
 
c3RhbnQECmNpcmN1aXRfbG8RYXJpdGhtZXRpYy5kb3VibGURZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3Rh
 
bnQED2NyYWZ0X2NvdW50OjMuMQhjb25zdGFudAQBKghjb25zdGFudAMAAAAAAAAAQBBsb2NhbC5kb3Vi
 
bGUuc2V0CGNvbnN0YW50BApjaXJjdWl0X2hpEWFyaXRobWV0aWMuZG91YmxlEWdsb2JhbC5kb3VibGUu
 
Z2V0CGNvbnN0YW50BA9jcmFmdF9jb3VudDozLjEIY29uc3RhbnQEASoDaTJkDmFyaXRobWV0aWMuaW50
 
DmFyaXRobWV0aWMuaW50CGNvbnN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jb25zdGFudAQHY2lyY3Vp
 
dA5hcml0aG1ldGljLmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAEqCGNv
 
bnN0YW50AgIAAAAIY29uc3RhbnQECWFzc2VtYmxlcg5nbG9iYWwuaW50LnNldAhjb25zdGFudAQQY3Jh
 
ZnRfc3RhdHVzOjMuMQ5hcml0aG1ldGljLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQQY3JhZnRf
 
c3RhdHVzOjMuMQhjb25zdGFudAQBKwhjb25zdGFudAIEAAAA
 
 
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|2
 
|plates
 
[[File:Gold plate.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:2
 
|9
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''98'''
!
+
|''white stairs''
|-
 
|<syntaxhighlight lang="actionscript">
 
; Regular plates
 
:global int craft_status
 
:local double count
 
:local int tier
 
 
 
tier = global.int.get("craft_tier:3.2")
 
count = global.double.get("craft_count:3.2")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
 
global.int.set("craft_tier:ingot", tier)
 
global.double.set("craft_count:ingot", count)
 
executesync("craft ingot")
 
gotoif(99, craft_status > 199)
 
 
 
waitwhile(active("presser"))
 
produce("ingot", tier, count, "presser")
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6MgAAAAAAAAAACQAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMhBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My4yDmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AmMAAAA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ates
 
[[File:Dense gold plate.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:3
 
|14
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
; Dense plates
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double plates
 
 
tier = global.int.get("craft_tier:3.3")
 
count = global.double.get("craft_count:3.3")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
plates = count * 9.0 - craft_inventory * count("plate.stack", tier)
 
 
global.int.set("craft_tier:ingot", tier)
 
global.double.set("craft_count:ingot", plates - craft_inventory * count("plate", tier))
 
executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
plates: gotoif(stacks, plates <= craft_inventory * count("plate", tier))
 
  waitwhile(active("presser"))
 
  produce("ingot", tier, plates - craft_inventory * count("plate", tier), "presser")
 
 
stacks: waitwhile(count("plate", tier) < plates | active("presser"))
 
  craft("plate.stack", tier, count - craft_inventory * count("plate.stack", tier))
 
  produce("plate.stack", tier, count, "presser")
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6MwAAAAAAAAAADgAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuMxBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My4zDmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJpc29u
 
LmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAE8CGNvbnN0YW50AgEAAAAI
 
Y29uc3RhbnQE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Y291bnQIY29uc3RhbnQEBXBsYXRlDWxvY2FsLmludC5nZXQIY29uc3RhbnQE
 
BHRpZXIIY29uc3RhbnQEATwQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQGcGxhdGVzCGNvbnN0YW50
 
BAF8FmZhY3RvcnkubWFjaGluZS5hY3RpdmUIY29uc3RhbnQEB3ByZXNzZXINZmFjdG9yeS5jcmFmdAhj
 
b25zdGFudAQLcGxhdGUuc3RhY2sNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllchFhcml0aG1ldGlj
 
LmRvdWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBLRFhcml0aG1l
 
dGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfaW52ZW50b3J5CGNvbnN0
 
YW50BAEqE2ZhY3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEC3BsYXRlLnN0YWNrDWxvY2FsLmludC5n
 
ZXQIY29uc3RhbnQEBHRpZXIPZmFjdG9yeS5wcm9kdWNlCGNvbnN0YW50BAtwbGF0ZS5zdGFjaw1sb2Nh
 
bC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyEGxvY2FsLmRvdWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNv
 
bnN0YW50BAdwcmVzc2Vy
 
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|4
 
|blocks
 
[[File:Gold block.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
 
|-
 
|-
|craft 3:4
+
|'''19'''
|10
+
|damage logo
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''39'''
!
+
|kreds
|-
 
|<syntaxhighlight lang="actionscript">
 
; Blocks
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double platesperblock
 
:local double stacks
 
:local double plates
 
 
 
tier = global.int.get("craft_tier:3.4")
 
count = global.double.get("craft_count:3.4")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
 
plates: platesperblock = 4.0 * round((33332222220.0 / (10.0 ^ i2d(tier))) % 10.0)
 
  global.int.set("craft_tier:3.3", tier)
 
  global.double.set("craft_count:3.3", count * platesperblock - craft_inventory * count("plate.dense", tier))
 
  executesync("craft 3:3")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
waitwhile(count("plate.dense", tier) < count * platesperblock)
 
craft("block", tier, count)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6NAAAAAAAAAAACgAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuNBBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My40DmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJpc29u
 
LmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAE8CGNvbnN0YW50AgEAAAAI
 
Y29uc3RhbnQEAXwOY29tcGFyaXNvbi5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25z
 
dGFudAQBPghjb25zdGFudAIKAAAACGNvbnN0YW50BAF8EWNvbXBhcmlzb24uZG91YmxlEGxvY2FsLmRv
 
dWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/EGxvY2Fs
 
LmRvdWJsZS5zZXQIY29uc3RhbnQEDnBsYXRlc3BlcmJsb2NrEWFyaXRobWV0aWMuZG91YmxlCGNvbnN0
 
YW50AwAAAAAAABBACGNvbnN0YW50BAEqDGRvdWJsZS5yb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nQEC3BsYXRlLmRlbnNlDWxv
 
Y2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEATwRYXJpdGhtZXRpYy5kb3VibGUQbG9j
 
YWwuZG91YmxlLmdldAhjb25zdGFudAQFY291bnQIY29uc3RhbnQEASoQbG9jYWwuZG91YmxlLmdldAhj
 
b25zdGFudAQOcGxhdGVzcGVyYmxvY2sNZmFjdG9yeS5jcmFmdAhjb25zdGFudAQFYmxvY2sNbG9jYWwu
 
aW50LmdldAhjb25zdGFudAQEdGllchBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudA==
 
 
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|5
 
|cables
 
[[File:Golden cable.png|frameless]]
 
 
|
 
|
{| class="wikitable"
+
|'''59'''
!Name
+
|''ship''
!Lines
 
!Code
 
|-
 
|craft 3:5
 
|9
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''79'''
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
; Cables
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
 
 
tier = global.int.get("craft_tier:3.5")
 
count = global.double.get("craft_count:3.5")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
 
global.int.set("craft_tier:ingot", tier)
 
global.double.set("craft_count:ingot", count / 2.0)
 
executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
waitwhile(active("refinery"))
 
produce("ingot", tier, ceil(count / 2.0), "refinery")
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6NQAAAAAAAAAACQAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuNRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZn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UuY2VpbBFhcml0
 
aG1ldGljLmRvdWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBLwhj
 
b25zdGFudAMAAAAAAAAAQAhjb25zdGFudAQIcmVmaW5lcnk=
 
 
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|6
 
|insulated cables
 
[[File:Golden insulated cable.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:6
 
|21
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''99'''
!
+
|''shipping box''
|-
 
|<syntaxhighlight lang="actionscript">
 
; Insulated cables
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double cables
 
:local double rubber
 
 
 
tier = global.int.get("craft_tier:3.6")
 
count = global.double.get("craft_count:3.6")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
 
cables = count * max(max(1.0, i2d(tier) - 2.0), max(10.0 - (5.0 * ((i2d(tier) - 8.0) ^ 2.0)), ceil(((i2d(tier) - 1.0) ^ 1.5) - 11.0)))
 
rubber = count * max(0.0, ((2.0 * i2d(tier)) - 4.0) - max(0.0, 2.0 - ((i2d(tier) - 8.0) * (i2d(tier) - 9.0))))
 
 
 
gotoif(ingots, count("rubber", 1) >= rubber - craft_inventory * count("plate.rubber", 1))
 
  global.int.set("craft_status", 412)
 
  global.int.set("craft_require_tier", -1)
 
  global.double.set("craft_require_count", rubber)
 
 
 
ingots: global.int.set("craft_tier:ingot", tier)
 
  global.double.set("craft_count:ingot", (cables - count("cable", tier)) / 2.0)
 
  executesync("craft ingot")
 
check: gotoif(99, global.int.get("craft_status") > 199)
 
 
 
cables: gotoif(rubber, cables <= craft_inventory * count("cable", tier))
 
  waitwhile(active("refinery"))
 
  produce("ingot", tier, ceil((cables - craft_inventory * count("cable", tier)) / 2.0), "refinery")
 
 
 
rubber: gotoif(craft, rubber <= count("plate.rubber", 1))
 
  waitwhile(active("presser"))
 
  produce("rubber", tier, rubber - craft_inventory * count("plate.rubber", 1), "presser")
 
 
 
craft: waituntil(count("cable", tier) >= cables & count("plate.rubber", 1) >= rubber)
 
craft("cable.insulated", tier, count)
 
 
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6NgAAAAAAAAAAFQAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuNhBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My42DmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJpc29u
 
LmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAE8CGNvbnN0YW50AgEAAAAI
 
Y29uc3RhbnQEAXwOY29tcGFyaXNvbi5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25z
 
dGFudAQBPghjb25zdGFudAIKAAAACGNvbnN0YW50BAF8EWNvbXBhcmlzb24uZG91YmxlEGxvY2FsLmRv
 
dWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/EGxvY2Fs
 
LmRvdWJsZS5zZXQIY29uc3RhbnQEBmNhYmxlcxFhcml0aG1ldGljLmRvdWJsZRBsb2NhbC5kb3VibGUu
 
Z2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBKgpkb3VibGUubWF4CmRvdWJsZS5tYXgIY29uc3Rh
 
bnQDAAAAAAAA8D8RYXJpdGhtZXRpYy5kb3VibGUDaTJkDWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRp
 
ZXIIY29u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NvbnN0YW50BAVjYWJsZQ1sb2NhbC5pbnQuZ2V0
 
CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAI+PRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAZjYWJs
 
ZXMIY29uc3RhbnQEASYRY29tcGFyaXNvbi5kb3VibGUTZmFjdG9yeS5pdGVtcy5jb3VudAhjb25zdGFu
 
dAQMcGxhdGUucnViYmVyCGNvbnN0YW50AgEAAAAIY29uc3RhbnQEAj49EGxvY2FsLmRvdWJsZS5nZXQI
 
Y29uc3RhbnQEBnJ1YmJlcg1mYWN0b3J5LmNyYWZ0CGNvbnN0YW50BA9jYWJsZS5pbnN1bGF0ZWQNbG9j
 
YWwuaW50LmdldAhjb25zdGFudAQEdGllchBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudA==
 
 
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|7
 
|rods
 
[[File:Golden rod.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:7
 
|9
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
; Rods
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
 
tier = global.int.get("craft_tier:3.7")
 
count = global.double.get("craft_count:3.7")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
global.int.set("craft_tier:ingot", tier)
 
global.double.set("craft_count:ingot", count / 2.0)
 
executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
waitwhile(active("refinery"))
 
produce("ingot", tier, ceil(count / 2.0), "shaper")
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6NwAAAAAAAAAACQAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuN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D2ZhY3RvcnkucHJvZHVjZQhj
 
b25zdGFudAQFaW5nb3QNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcgtkb3VibGUuY2VpbBFhcml0
 
aG1ldGljLmRvdWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBLwhj
 
b25zdGFudAMAAAAAAAAAQAhjb25zdGFudAQGc2hhcGVy
 
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|8
 
|motors
 
[[File:Golden motor.png|frameless]]
 
 
|
 
|
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
 
|-
 
|-
|craft 3:8
+
|'''20'''
|20
+
|wave logo
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''40'''
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
; Motor
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double rods
 
:local double plates
 
 
 
tier = global.int.get("craft_tier:3.8")
 
count = global.double.get("craft_count:3.8")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
 
; ingots
 
rods = count * 2.0 + max(0.0, ceil((count - craft_inventory * count("screw", tier))/4.0))
 
;rods:  produce("ingot", tier, ceil((rods - craft_inventory * count("rod", tier))/2.0), "shaper")
 
;wires: produce("ingot", tier, ceil((count - craft_inventory * (count("cable", tier) + count("wire", tier)))/2.0), "refinery")
 
;plates: produce("ingot", tier, count * 4.0 - craft_inventory * count("plate", tier), "presser")
 
 
 
gotoif(ingots, count <= count("rubber", 1))
 
  global.int.set("craft_status", 412)
 
  global.int.set("craft_require_tier", -1)
 
  global.double.set("craft_require_count", count)
 
 
 
ingots: global.int.set("craft_tier:ingot", tier)
 
  global.double.set("craft_count:ingot", max(0.0, ceil((rods - craft_inventory * count("rod", tier))/2.0)) + max(0.0, ceil((count - craft_inventory * (count("cable", tier) + count("wire", tier)))/2.0)) + max(0.0, count * 4.0 - craft_inventory * count("plate", tier)))
 
  executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
global.int.set("craft_status:3.8", 1)
 
execute("craft 3:8:rods")
 
execute("craft 3:8:wire")
 
 
 
; plates
 
;plates = count * 4.0
 
 
 
gotoif(wait, count * 4.0 <= craft_inventory * count("plate", tier))
 
waitwhile(active("presser"))
 
produce("ingot", tier, count * 4.0 - craft_inventory * count("plate", tier), "presser")
 
 
 
wait: waituntil(global.int.get("craft_status:3.8") >= 7 & count("plate", tier) >= count * 4.0 & count("rod", tier) >= count * 2.0 & count("screw", tier) >= count & count("wire", tier) >= count)
 
craft("motor", tier, count)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6OAAAAAAAAAAAFAAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuOBBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6My44DmdlbmVyaWMuZ290
 
b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA5jb21wYXJpc29u
 
LmludA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAE8CGNvbnN0YW50AgEAAAAI
 
Y29uc3RhbnQEAXwOY29tcGFyaXNvbi5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25z
 
dGFudAQBPghjb25zdGFudAIKAAAACGNvbnN0YW50BAF8EWNvbXBhcmlzb24uZG91YmxlEGxvY2FsLmRv
 
dWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50BAE8CGNvbnN0YW50AwAAAAAAAPA/EGxvY2Fs
 
LmRvdWJsZS5zZXQIY29uc3RhbnQEBHJvZHMRYXJpdGhtZXRpYy5kb3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AAAEEAIY29uc3RhbnQEASYRY29tcGFyaXNvbi5kb3VibGUTZmFjdG9y
 
eS5pdGVtcy5jb3VudAhjb25zdGFudAQDcm9kDWxvY2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXIIY29u
 
c3RhbnQEAj49EWFyaXRobWV0aWMuZG91YmxlEGxvY2FsLmRvdWJsZS5nZXQIY29uc3RhbnQEBWNvdW50
 
CGNvbnN0YW50BAEqCGNvbnN0YW50AwAAAAAAAABACGNvbnN0YW50BAEmEWNvbXBhcmlzb24uZG91Ymxl
 
E2ZhY3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEBXNjcmV3DWxvY2FsLmludC5nZXQIY29uc3RhbnQE
 
BHRpZXIIY29uc3RhbnQEAj49EGxvY2FsLmRvdWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50
 
BAEmEWNvbXBhcmlzb24uZG91YmxlE2ZhY3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEBHdpcmUNbG9j
 
YWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25zdGFudAQCPj0QbG9jYWwuZG91YmxlLmdldAhjb25z
 
dGFudAQFY291bnQNZmFjdG9yeS5jcmFmdAhjb25zdGFudAQFbW90b3INbG9jYWwuaW50LmdldAhjb25z
 
dGFudAQEdGllchBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudA==
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:8:rods
 
|10
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double rods
 
;:local double screws
 
 
; rods & screws
 
tier = global.int.get("craft_tier:3.8")
 
count = global.double.get("craft_count:3.8")
 
;screws = count
 
rods = count * 2.0 + max(0.0, ceil((count - craft_inventory * count("screw", tier))/4.0))
 
 
rods: gotoif(screws, rods <= craft_inventory * count("rod", tier))
 
waitwhile(active("shaper"))
 
produce("ingot", tier, ceil((rods - craft_inventory * count("rod", tier))/2.0), "shaper")
 
 
screws: gotoif(end, count <= craft_inventory * count("screw", tier))
 
waitwhile(count("rod", tier) < (count - craft_inventory * count("screw", tier))/4.0 | active("cutter"))
 
produce("rod", tier, ceil((count - craft_inventory * count("screw", tier))/4.0), "cutter")
 
 
end: global.int.set("craft_status:3.8", global.int.get("craft_status:3.8") + 2)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
DmNyYWZ0IDM6ODpyb2RzAAAAAAAAAAAKAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEBHRpZXIOZ2xv
 
YmFsLmludC5nZXQIY29uc3RhbnQEDmNyYWZ0X3RpZXI6My44EGxvY2FsLmRvdWJsZS5zZXQIY29uc3Rh
 
bnQEBWNvdW50EWdsb2JhbC5kb3VibGUuZ2V0CGNvbnN0YW50BA9jcmFmdF9jb3VudDozLjgQbG9jYWwu
 
ZG91YmxlLnNldAhjb25zdGFudAQEcm9kcxFhcml0aG1ldGljLmRvdWJsZRFhcml0aG1ldGljLmRvdWJs
 
ZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBKghjb25zdGFudAMAAAAA
 
AAAAQAhjb25zdGFudAQBKwpkb3VibGUubWF4CGNvbnN0YW50AwAAAAAAAAAAC2RvdWJsZS5jZWlsEWFy
 
aXRobWV0aWMuZG91YmxlEWFyaXRobWV0aWMuZG91YmxlEGxvY2FsLmRvdWJsZS5nZXQIY29uc3RhbnQE
 
BWNvdW50CGNvbnN0YW50BAEtEWFyaXRobWV0aWMuZG91YmxlEWdsb2JhbC5kb3VibGUuZ2V0CGNvbnN0
 
YW50BA9jcmFmdF9pbnZlbnRvcnkIY29uc3RhbnQEASoTZmFjdG9yeS5pdGVtcy5jb3VudAhjb25zdGFu
 
dAQFc2NyZXcNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25zdGFudAQBLwhjb25zdGFud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mludC5nZXQIY29uc3RhbnQEBHRpZXIIY29uc3RhbnQEAS8IY29uc3RhbnQDAAAAAAAAEEAIY29uc3Rh
 
bnQEBmN1dHRlcg5nbG9iYWwuaW50LnNldAhjb25zdGFudAQQY3JhZnRfc3RhdHVzOjMuOA5hcml0aG1l
 
dGljLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQQY3JhZnRfc3RhdHVzOjMuOAhjb25zdGFudAQB
 
Kwhjb25zdGFudAICAAAA
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:8:wire
 
|9
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
+
|'''60'''
!
+
|''circle/orb''
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
 
 
; rods & screws
 
tier = global.int.get("craft_tier:3.8")
 
count = global.double.get("craft_count:3.8")
 
 
 
gotoif(wire, count <= craft_inventory * (count("cable", tier) + count("wire", tier)))
 
waitwhile(active("refinery"))
 
produce("ingot", tier, ceil((count - craft_inventory * (count("cable", tier) + count("wire", tier)))/2.0), "refinery")
 
 
 
wire: gotoif(end, count <= craft_inventory * count("wire", tier))
 
waitwhile(count("cable", tier) < count - count - craft_inventory * count("wire", tier) | active("refinery"))
 
produce("cable", tier, count - craft_inventory * count("wire", tier), "refinery")
 
 
 
end: global.int.set("craft_status:3.8", global.int.get("craft_status:3.8") + 4)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
DmNyYWZ0IDM6ODp3aXJlAAAAAAAAAAAJAAAADWxvY2FsLmludC5zZXQIY29uc3RhbnQEBHRpZXIOZ2xv
 
YmFsLmludC5nZXQIY29uc3RhbnQEDmNyYWZ0X3RpZXI6My44EGxvY2FsLmRvdWJsZS5zZXQIY29uc3Rh
 
bnQEBWNvdW50EWdsb2JhbC5kb3VibGUuZ2V0CGNvbnN0YW50BA9jcmFmdF9jb3VudDozLjgOZ2VuZXJp
 
Yy5nb3RvaWYIY29uc3RhbnQ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sZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50BAEtEWFy
 
aXRobWV0aWMuZG91YmxlEWdsb2JhbC5kb3VibGUuZ2V0CGNvbnN0YW50BA9jcmFmdF9pbnZlbnRvcnkI
 
Y29uc3RhbnQEASoTZmFjdG9yeS5pdGVtcy5jb3VudAhjb25zdGFudAQEd2lyZQ1sb2NhbC5pbnQuZ2V0
 
CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50BAhyZWZpbmVyeQ5nbG9iYWwuaW50LnNldAhjb25zdGFudAQQ
 
Y3JhZnRfc3RhdHVzOjMuOA5hcml0aG1ldGljLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQQY3Jh
 
ZnRfc3RhdHVzOjMuOAhjb25zdGFudAQBKwhjb25zdGFudAIEAAAA
 
</syntaxhighlight>
 
|}
 
|}
 
|-
 
|9
 
|pumps
 
[[File:Golden pump.png|frameless]]
 
 
|
 
|
{| class="wikitable"
+
|'''80'''
!Name
 
!Lines
 
!Code
 
|-
 
|craft 3:9
 
|10
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
; Pumps
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double rubber
 
:local double rods
 
 
tier = global.int.get("craft_tier:3.9")
 
count = global.double.get("craft_count:3.9")
 
gotoif(99, tier < 1 | tier > 10 | count < 1.0)
 
 
executesync("craft 3:9:in")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
global.int.set("craft_status:3.9", 1)
 
execute("craft 3:9:plates")
 
execute("craft 3:9:rings")
 
 
waituntil(global.int.get("craft_status:3.9") >= 7 & count("plate", tier) >= count*2.0 & count("plate.rubber", 1) >= count*4.0 & count("ring", tier) >= count*2.0)
 
craft("pump", tier, count)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
CWNyYWZ0IDM6OQAAAAAAAAAACgAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0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w-collapsed"
+
|'''100'''
!
+
|save icon
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double rubber
 
:local double need_pumps
 
:local double rods
 
:local double plates
 
 
 
tier = global.int.get("craft_tier:3.9")
 
count = global.double.get("craft_count:3.9")
 
 
 
; rubber and ingots
 
rubber = max(0.0, count - craft_inventory * count("motor", tier)) + max(0.0, count*4.0 - craft_inventory * count("plate.rubber", tier))
 
gotoif(ingots, rubber <= count("rubber", 1))
 
  global.int.set("craft_status", 412)
 
  global.int.set("craft_require_tier", -1)
 
  global.double.set("craft_require_count", rubber)
 
 
 
ingots: global.int.set("craft_tier:ingot", tier)
 
; plates: count*2.0 - craft_inventory * count("plate", tier)
 
; rods = count * 2.0 - count("ring", tier)
 
; rings: ceil((rods - craft_inventory * count("rod", tier))/2.0)
 
; motors...
 
;    rods = count * 2.0 + max(0.0, ceil((count - craft_inventory * count("screw", tier))/4.0))
 
;    global.double.set("craft_count:ingot", max(0.0, ceil((rods - craft_inventory * count("rod", tier))/2.0)) + max(0.0, ceil((count - craft_inventory * (count("cable", tier) + count("wire", tier)))/2.0)) + max(0.0, count * 4.0 - craft_inventory * count("plate", tier)))
 
  need_pumps = max(0.0, count - craft_inventory * count("motor", tier))
 
  rods = max(0.0, count * 2.0 - count("ring", tier)) + need_pumps * 2.0 + max(0.0, ceil((need_pumps - craft_inventory * count("screw", tier))/4.0))
 
  global.double.set("craft_count:ingot", max(0.0, count*2.0 + need_pumps * 4.0 - craft_inventory * count("plate", tier)) + max(0.0, ceil((rods - craft_inventory * count("rod", tier))/2.0)) + max(0.0, ceil((count - craft_inventory * (count("cable", tier) + count("wire", tier)))/2.0)))
 
  executesync("craft ingot")
 
gotoif(99, global.int.get("craft_status") > 199)
 
 
 
global.int.set("craft_tier:3.8", tier)
 
global.double.set("craft_count:3.8", count - craft_inventory * count("motor", tier))
 
executesync("craft 3:8")
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="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GFudAQEdGllcghjb25z
 
dGFudAQBKxNmYWN0b3J5Lml0ZW1zLmNvdW50CGNvbnN0YW50BAR3aXJlDWxvY2FsLmludC5nZXQIY29u
 
c3RhbnQEBHRpZXIIY29uc3RhbnQEAS8IY29uc3RhbnQDAAAAAAAAAEATZ2VuZXJpYy5leGVjdXRlc3lu
 
Ywhjb25zdGFudAQLY3JhZnQgaW5nb3QOZ2VuZXJpYy5nb3RvaWYIY29uc3RhbnQCYwAAAA5jb21wYXJp
 
c29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFudAQMY3JhZnRfc3RhdHVzCGNvbnN0YW50BAE+CGNv
 
bnN0YW50AscAAAAOZ2xvYmFsLmludC5zZXQIY29uc3RhbnQEDmNyYWZ0X3RpZXI6My44DWxvY2FsLmlu
 
dC5nZXQIY29uc3RhbnQEBHRpZXIRZ2xvYmFsLmRvdWJsZS5zZXQIY29uc3RhbnQED2NyYWZ0X2NvdW50
 
OjMuOBFhcml0aG1ldGljLmRvdWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25z
 
dGFudAQBLRFhcml0aG1ldGljLmRvdWJsZRFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRf
 
aW52ZW50b3J5CGNvbnN0YW50BAEqE2ZhY3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEBW1vdG9yDWxv
 
Y2FsLmludC5nZXQIY29uc3RhbnQEBHRpZXITZ2VuZXJpYy5leGVjdXRlc3luYwhjb25zdGFudAQJY3Jh
 
ZnQgMzo4
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:9:plates
 
|9
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
 
tier = global.int.get("craft_tier:3.9")
 
count = global.double.get("craft_count:3.9")
 
 
;plates = count * 2.0
 
plates: gotoif(rubber, count*2.0 < craft_inventory * count("plate", tier))
 
  waitwhile(active("presser"))
 
  produce("ingot", tier, count*2.0 - craft_inventory * count("plate", tier), "presser")
 
 
rubber: gotoif(end, count*4.0 < craft_inventory * count("plate.rubber", tier))
 
waitwhile(active("presser"))
 
  produce("rubber", 1, count*4.0 - craft_inventory * count("plate.rubber", tier), "presser")
 
 
end: global.int.set("craft_status:3.9", global.int.get("craft_status:3.9") + 2)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
EGNyYWZ0IDM6OTpwbGF0ZXMAAAAAAAAAAAkAAAANbG9jYWwuaW50LnNldAhjb25zdGFudAQEdGllcg5n
 
bG9iYWwuaW50LmdldAhjb25zdGFudAQOY3JhZnRfdGllcjozLjkQbG9jYWwuZG91YmxlLnNldAhjb25z
 
dGFudAQFY291bnQRZ2xvYmFsLmRvdWJsZS5nZXQIY29uc3RhbnQED2NyYWZ0X2NvdW50OjMuOQ5nZW5l
 
cmljLmdvdG9pZghjb25zdGFudAIGAAAAEWNvbXBhcmlzb24uZG91YmxlEWFyaXRobWV0aWMuZG91Ymxl
 
EGxvY2FsLmRvdWJsZS5nZXQIY29uc3RhbnQEBWNvdW50CGNvbnN0YW50BAEqCGNvbnN0YW50AwAAAAAA
 
AABACGNvbnN0YW50BAE8EWFyaXRobWV0aWMuZG91YmxlEWdsb2JhbC5kb3VibGUuZ2V0CGNvbnN0YW50
 
BA9jcmFmdF9pbnZlbnRvcnkIY29uc3RhbnQEASoTZmFjdG9yeS5pdGVtcy5jb3VudAhjb25zdGFudAQF
 
cGxhdGUNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllchFnZW5lcmljLndhaXR3aGlsZRZmYWN0b3J5
 
Lm1hY2hpbmUuYWN0aXZlCGNvbnN0YW50BAdwcmVzc2VyD2ZhY3RvcnkucHJvZHVjZQhjb25zdGFudAQF
 
aW5nb3QNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllchFhcml0aG1ldGljLmRvdWJsZRFhcml0aG1l
 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FudAQPY3JhZnRfaW52ZW50b3J5CGNvbnN0YW50BAEqE2ZhY3RvcnkuaXRlbXMuY291bnQI
 
Y29uc3RhbnQEDHBsYXRlLnJ1YmJlcg1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyCGNvbnN0YW50
 
BAdwcmVzc2VyDmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BBBjcmFmdF9zdGF0dXM6My45DmFyaXRobWV0
 
aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BBBjcmFmdF9zdGF0dXM6My45CGNvbnN0YW50BAEr
 
CGNvbnN0YW50AgIAAAA=
 
</syntaxhighlight>
 
|}
 
|-
 
|craft 3:9:rings
 
|10
 
 
|
 
|
{| class="wikitable mw-collapsible mw-collapsed"
 
!
 
|-
 
|<syntaxhighlight lang="actionscript">
 
:global double craft_inventory
 
:local int tier
 
:local double count
 
:local double rods
 
 
tier = global.int.get("craft_tier:3.9")
 
count = global.double.get("craft_count:3.9")
 
 
; 2 rings
 
rods = count * 2.0 - count("ring", tier)
 
rods: gotoif(rings, rods < craft_inventory * count("rod", tier))
 
  waitwhile(active("shaper"))
 
  produce("ingot", tier, ceil((rods - craft_inventory * count("rod", tier))/2.0), "shaper")
 
 
rings: gotoif(end, count*2.0 < craft_inventory * count("ring", tier))
 
  waitwhile(count("rod", tier) < rods | active("shaper"))
 
  produce("rod", tier, count*2.0 - craft_inventory * count("ring", tier), "shaper")
 
 
end: global.int.set("craft_status:3.9", global.int.get("craft_status:3.9") + 4)
 
</syntaxhighlight>
 
|-
 
|<syntaxhighlight lang="text">
 
D2NyYWZ0IDM6OTpyaW5ncwAAAAAAAAAACgAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmds
 
b2JhbC5pbnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjMuORBsb2NhbC5kb3VibGUuc2V0CGNvbnN0
 
YW50BAVjb3VudBFnbG9iYWwuZG91YmxlLmdldAh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EqE2Zh
 
Y3RvcnkuaXRlbXMuY291bnQIY29uc3RhbnQEBHJpbmcNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGll
 
cghjb25zdGFudAQGc2hhcGVyDmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BBBjcmFmdF9zdGF0dXM6My45
 
DmFyaXRobWV0aWMuaW50Dmdsb2JhbC5pbnQuZ2V0CGNvbnN0YW50BBBjcmFmdF9zdGF0dXM6My45CGNv
 
bnN0YW50BAErCGNvbnN0YW50AgQAAAA=
 
</syntaxhighlight>
 
|}
 
|}
 
|}
 
<br />
 
 
==Producer scripts==
 
<br />
 
 
==Machine scripts==
 
 
 
 
<br />
 
{| class="wikitable"
 
!Name
 
!Lines
 
!Code
 
|-
 
|x
 
|x
 
 
|
 
|
{| 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