Choumiko / Foreman

Other
12 stars 5 forks source link

Allow loading scripts which generate blueprints. #7

Closed justarandomgeek closed 8 years ago

justarandomgeek commented 8 years ago

This tiny patch allows running scripts directly which return blueprint data, instead of 'sanitizing' them through BlueprintString/Serpent. As this is less safe, it must be enabled every time it is used, and resets to disabled after use.

This allows scripts which generate blueprints from smaller bits of data to be used directly. My specific use case is a script which generates a ROM blueprint from the ROM's data, to simplify loading programs into a large combinator CPU.