New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
insta-build plugin #1857
Comments
@wolfboyft are you interested in taking this? |
Well... seems I already did something like this for my stepladder script, tho it's bugged somewhere. Should be ok to do. Unless i'm too late hahoops This could sensibly be part of a tiled --> dwarf fort pipeline, right? what, tiled-->quickfort bp-->quickfort-->this? is that (minus the prepention) how this particular ecosystem of scripts works atm? |
Awesome : ) I'll start on an
That's pretty much the idea. You can see how they're all intended to work together in #1859 I had put together a skeleton for the
And here's some code that I wrote in C++ as a proof of concept, but I do think this script should be done entirely in lua:
|
Similar to the insta-dig plugin proposed in #1843, it would be nice to have an insta-build script/plugin ("build-now"?) that would instantly complete building construction tasks.
With this, we could test quickfort
#query
blueprints (which require built furniture from which to define rooms) in the functional test harness that's part of Milestone 1 of #1842The key tasks here are:
Jobs::removeJob()
)Only buildings that have all items attached should be completed. If the building has any non-0-quantity filters (i.e. job_items), or is suspended then this plugin should skip it.
It occurs to me that I'll also need insta-deconstruct functionality as well so I can clean up after a test. Not sure if that should be part of this plugin/script or part of a new "deconstruct-now" plugin/script.
I originally also thought that this plugin/script should create required items for buildingplanned buildings and call
buildingplan.doCycle()
to generate construction jobs, but I think now that item creation should be delegated to a separate plugin/script, perhaps one that completes manager orders instantly ("orders-now"?).The text was updated successfully, but these errors were encountered: