Compact circuits


Miniaturize a whole logic network into a single entity to save place (similar to factorissimo but for signals).

Content
a month ago
1.1 - 2.0
9.94K
Circuit network

b Reselecting blueprint content deletes the compakt circuit information

2 months ago
(updated 2 months ago)

How to reproduce:

  • put down a compakt circuit, load some model.
  • create a blueprint that contains exactly that circuit. E.g.

0eNqtldtu4jAQhl9l5dtCiZM4iblLKRQogYWULmW1qkJwwTk5B4dTxbuvU9TuSksRS3oVeTzzOfr/secVzIKcxCmNOKi/AuqyKAP1n68go4vICYoY38YE1MGKpjwXkQqInLAIHDKqEOwrgEZzsgF1uP9VASTilFNywLwtts9RHs5IKhI+ql0Wxo7PXZq6OeVVymJW/EMFxCwT5SwqjhbIKrrWsWboqAK2ov4aYV1Dmoz2+8o/dLk0HWIsQ7E8RlcuoSvYUJWz8OoF+DOw6P+x6ofIZ/C1S/jvwDP4+hfwT/WMUbJn5HeLj8FxWfgxKJRKS3KcC8tzT4kB5S/gH8Q5ildKd/pJ/MX38yQVlX1UTtK10s19Av7pzYxT5pIsY+nnkoiRsXJS6hy2RONxZ5EVOX9NIyCRftr3eStZ70xr9IJbnjGeT0Zs4gfGtPtAY76I6WC+TJxhdIWNNB5uw9bwsXan0F2sceRJ5g4TqxM3F7lkYXM4aLb1/nhA28rU02btXaMhq3a7J93f2tny6kZ/ou5y6E3NF8vs8S5Gs/XN1Da9VcvnG/3F84m6Tqwent1Nlw0pV8zu43gOaz/a/YnJb1U4sliw1NvMyL1BPPHH35mkt5fyGAVuU9nYdhAY9mMkS1a3sbUR1J6sXqx3kvUCyRuS3OdK4vDasAdxqKQ7hEdajz4wPtm6rNPcbVK7o9+jREuczTxwFZ6g7WrR7K1ydSx0DtmciGkNHkjGvzVYxFMWBKRwIBNycgLFnviENaE6X4aEU7cqbJvRyOFvRomAL4yBhgYRLNwRRjzTuRggsrYvxnpRLSB/DBJJJM3eDBQ3CKsYI6SpGKnidfkNlyC1aA==

Load the blueprint into https://burnysc2.github.io/Factorio/Tools/DecodeBlueprint/ - The compakt circuit has a tag with the blueprint for the model.

  • Duplicate the blueprint, save to inventory.
  • right click the blueprint, then select "new contents for blueprint". Select exactlyt the same compakt circuit again
  • export the blueprint:

0eNqt1VFvgyAQAOD/cs/YDAQU/8qyLNaRhayCAWxmjP99qGn3MEuc9JHz7tMch4xwvvSys0p7qEZQjdEOqtcRnPrU9WWO+aGTUMFVWd+HCAJdt3NgzcgITAiU/pDfUOHpDYHUXnklV2ZZDO+6b8/ShoR7dWParv7yjbJNr3ymTGfmb0DQGRfKjZ5fHciMnQrBy4IhGEL9iYmCM07YNKE/OknWsRAEh+WWnh/Rc1HSfBdPD/A7WPZ/lt6bvMPnR/wbuMMvnuDHZqZMnBly2+ItXKTiWyh+SW7JtovT3VgzMHmCvzZnk8+TJz3KHz6fUZWl/lSiOk8e7gj+8GR21jTSOWMftyRcGdfaqnp9tFwbyss2WL/XUUiR1i0JYYcEFYIxTgWjYXp/AJtNKz8=

The blueprint no longer contains the tags for the processor and the processor is empty.

  • create a new blueprint from the processor. The blueprint has the tags.
2 months ago

so I could narrow this down to the on_player_setup_blueprint in processor.lua where does local local bp = get_bp_to_setup(player) which returns nil in case of an already existing blueprint. Adding a or e.stack here fixes this for my use cases (the test above works now) but I am not sure that this is the right fix. I noticed that for on_script_setup_blueprint you are looking at e.stack but not for on_player_setup

2 months ago

Thanks for report. Fixed in 2.0.14.

a month ago
(updated a month ago)

I still seem to be experiencing exactly the bug as described above.

Edit: This behavior happens with the MINI processors; I have not tried to use the full sized ones for anything yet

a month ago

Any news on this bug that has returned ?
(Note that occurs with both processors type)

New response