Here is what I have so far.
https://gist.github.com/rovermicrover/2 ... 0646c1d64e
It successfully loops through all the xenon stations and attempts to kick off the builds but... I have two problems.
The lookup on line 18 always fails with the following error
Code: Select all
[=ERROR=] 1517198.24 Error in MD cue md.XenonDurability.EnsureSolarPowerPlants<inst:b6a4c>: Property lookup failed: $ConstructionPlan.{16}.macro.products
* Expression: $ConstructionPlan.{$plan_i}.macro.products.list.indexof.{ware.energycells}
Code: Select all
[=ERROR=] 1517198.24 Error in AI script build.buildstorage on entity 0x419f7: <process_build />: Build Task could not be successfully processed by the BuildProcessor
* Expression: $build