Staged Blueprint Planning


The ultimate mod for designing staged blueprints.

Utilities
17 hours ago
1.1 - 2.0
2.29K
Blueprints Cheats

g Share Library?

1 year, 8 months ago

@GlassBricks, do you happen to have any problems if I were to use your lib/FactorioJSX? I'm trying to build out an NPM package that basically has all the features that a developer would need, to speed up development and spin up new projects. Love the declarative GUI stuff and could certainly see a use for it in a ton of projects. https://github.com/mkaulfers/create-typed-factorio

1 year, 8 months ago

Hi, thanks for checking out the internals of the mod!
The "lib" directory contains a "framework" I made specifically for this mod and TypescriptToLua, but perhaps generalizable to others. I've been thinking to "polish, package, and publish" this, but haven't go around to that yet; with this comment I might get around to doing that sooner.
If you want give a go at "extracting" the framework or playing around with it before I get around to that, you're free to do so under the LGPL license.

Some notes:
- the FactorioJSX component ties into many other parts of the framework (events, observables, registered functions to store in global, etc.).
- The script scripts/gen-gui-specs.ts is also part of the framework.
- I haven't "finalized" the design of many parts of the framework enough yet to reasonably guarantee backwards-compatibility in the future; which is why I haven't published this yet

New response