Difference between revisions of "AI Craftapalooza"

From The Perfect Tower II
Jump to navigation Jump to search
(Start of page)
 
Line 1: Line 1:
 
IN PROGRESS.  USE AT YOUR OWN RISK
 
IN PROGRESS.  USE AT YOUR OWN RISK
 +
 +
<br />{{AIScript
 +
| source = ; Cutter
 +
:global double craft_inventory
 +
:local int tier
 +
:local double count
 +
 +
tier = global.int.get("craft_tier:2.5")
 +
count = global.double.get("craft_count:2.5")
 +
gotoif(99, tier < 1 {{!}} tier > 10 {{!}} count < 1.0 {{!}} global.int.get("craft_status") > 199)
 +
 +
executesync("craft 2:5:in")
 +
 +
; blocks = count * floor((64400000001.0 / (10.0 ^ i2d(tier))) % 10.0)
 +
global.int.set("craft_tier:3.4", tier)
 +
global.double.set("craft_count:3.4", count * floor((64400000001.0 / (10.0 ^ i2d(tier))) % 10.0) - craft_inventory * count("block", tier))
 +
executesync("craft 3:4")
 +
 +
; denseplates = count * floor((22244333331.0 / (10.0 ^ i2d(tier))) % 10.0)
 +
global.int.set("craft_tier:3.3", tier)
 +
global.double.set("craft_count:3.3", count * floor((22244333331.0 / (10.0 ^ i2d(tier))) % 10.0) - craft_inventory * count("plate.dense", tier))
 +
executesync("craft 3:3")
 +
 +
; plates = count * floor((00022222221.0 / (10.0 ^ i2d(tier))) % 10.0)
 +
global.int.set("craft_tier:3.2", tier)
 +
global.double.set("craft_count:3.2", count * floor((00022222221.0 / (10.0 ^ i2d(tier))) % 10.0) - craft_inventory * count("plate", tier))
 +
executesync("craft 3:2")
 +
gotoif(99, global.int.get("craft_status") > 199)
 +
 +
craft("machine.cutter", tier, count)
 +
| code = CWNyYWZ0IDI6NQAAAAAAAAAADwAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
 +
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjIuNRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
 +
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGF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3V0dGVyDWxvY2Fs
 +
LmludC5nZXQIY29uc3RhbnQEBHRpZXIQbG9jYWwuZG91YmxlLmdldAhjb25zdGFudAQFY291bnQ=
 +
}}<br />{{PerfectNavigation}}

Revision as of 15:11, 21 January 2021

IN PROGRESS. USE AT YOUR OWN RISK


CWNyYWZ0IDI6NQAAAAAAAAAADwAAAA1sb2NhbC5pbnQuc2V0CGNvbnN0YW50BAR0aWVyDmdsb2JhbC5p
bnQuZ2V0CGNvbnN0YW50BA5jcmFmdF90aWVyOjIuNRBsb2NhbC5kb3VibGUuc2V0CGNvbnN0YW50BAVj
b3VudBFnbG9iYWwuZG91YmxlLmdldAhjb25zdGFudAQPY3JhZnRfY291bnQ6Mi41DmdlbmVyaWMuZ290
b2lmCGNvbnN0YW50AmMAAAAPY29tcGFyaXNvbi5ib29sD2NvbXBhcmlzb24uYm9vbA9jb21wYXJpc29u
LmJvb2wOY29tcGFyaXNvbi5pbnQNbG9jYWwuaW50LmdldAhjb25zdGFudAQEdGllcghjb25zdGFudAQB
PAhjb25zdGFudAIBAAAACGNvbnN0YW50BAF8DmNvbXBhcmlzb24uaW50DWxvY2FsLmludC5nZXQIY29u
c3RhbnQEBHRpZXIIY29uc3RhbnQEAT4IY29uc3RhbnQCCgAAAAhjb25zdGFudAQBfBFjb21wYXJpc29u
LmRvdWJsZRBsb2NhbC5kb3VibGUuZ2V0CGNvbnN0YW50BAVjb3VudAhjb25zdGFudAQBPAhjb25zdGFu
dAMAAAAAAADwPwhjb25zdGFudAQBfA5jb21wYXJpc29uLmludA5nbG9iYWwuaW50LmdldAhjb25zdGFu
dAQMY3JhZnRfc3RhdHVzCGNvbnN0YW50BAE+CGNvbnN0YW50AscAAAATZ2VuZXJpYy5leGVjdXRlc3lu
Ywhjb25zdGFudAQMY3JhZnQgMjo1OmluDmdsb2JhbC5pbnQuc2V0CGNvbnN0YW50BA5jcmFmdF90aWVy
OjMuNA1sb2NhbC5pbnQuZ2V0CGNvbnN0YW50BAR0aWVyE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