Blueprint Variables


This adds circuit signals to the game that when blueprinted, provides an interface to quickly apply changes to all circuit conditions. Additionally, it will update named entities, such as train station names.

Utilities
7 months ago
1.1
4.80K
Trains Logistic network Circuit network Blueprints

b after copy and paste and select variable to replace

8 months ago

Error after after copy and paste and select variable to replace

The mod Blueprint Variables (0.1.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event blueprint-variables::on_gui_click (ID 1)
'type': string expected, got nil
stack traceback:
[C]: in function 'newindex'
__blueprint-variables
/variables-manager.lua:276: in function 'updateControlBehavior'
blueprint-variables/variables-manager.lua:407: in function 'applyVariables'
blueprint-variables/gui.lua:54: in function 'handler'
flib/gui-lite.lua:169: in function <flib/gui-lite.lua:152>

8 months ago

Narrowed it down to using a variable in the enable/disable for an inserter.

8 months ago

Do you have a blueprint string that replicates this? I haven't been able to reproduce it yet.

8 months ago

0eNqdks1ugzAQhN9lzzjCJOQH5U2qCBnYtquCQYtBRcjv3jVIJGpzqHJB8trjb2bwDEU9YMdkHWQzUNnaHrK3GXr6sKYOMzd1CBmMxG6QSQTWNGGwnlAx+AjIVvgNmfbRi8rkZeX+ZeXB3yJA68gRrqGXxZTboSmQJc6mbrCioVFYY+mYStW1NcrdXduLuLUBLBceT4ddGsEEmdLnON2lwpJCrYho6XUGHT6M1SOOqpD/5n1I8stCcg/gTPmlyPbITnaewI/P4I7bOi/w04zUcjhaEpcDuVz2qk3/Tty7/E+L5LC5V7i9FDUaJlPUqLRa/cIKE4/hHek4DsumM2xcoMIV/P+70EsX8m8W/ANXrIzI/eI5OevD6ZKczml6SfZ7738Am4Ht8g==

8 months ago

Just paste it down, select some replacement (I used an ore) and click apply, then error appears

8 months ago
(updated 8 months ago)

😅 I've found some undefined behavior
https://i.imgur.com/bK8AxAm.png

8 months ago

Not sure what that means, but ok

8 months ago

Got it reproduced and fixed. Gonna try to drop an update today.

8 months ago

Got it reproduced and fixed. Gonna try to drop an update today.

Cool, useful mod, thanks for the work on it. Glad to see it got adopted into 2.0

New response