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
8 months ago
1.1
4.80K
Trains Logistic network Circuit network Blueprints

g Stack size guidance needed

9 months ago
(updated 9 months ago)

Mod Version 1.1

I'm not sure if I misunderstand how things are working or if this is a bug.

BP string
0eNqlVEtvm0AQ/ivRHCuIDE4cG7WnXlv12EMUoQVPYJV9aXehpRb/vbOLY5OaNmpyQTA7j+8x7AEq0aGxXHkoDsBrrRwU9wdwvFFMhJgfDEIB3KOEBBST4ct5RJHWLToPYwJc7fEnFNmYvFpprG4sk5JVAlNnkD2hnbXIx4cEUHnuOU5I4sdQqk5WlFlkp07Mct9K9LxOay0rrpjXlgYZ7ahaqwAhgNrmCQxQpNlqd31Lk/bcYj0lbBIgxt5qUVbYsp5TA6o6dy7peB+7uXDwyK3z5SsMT4qmPTWKPLPUeVY/pY7/wkDWYegbmlM8SJ+vEtAGLZtwwQdqpztvuoVpPbe+o8jZjJiRfoVxHCMhNfGLkPPwsLifa8n3UeiQfqFv/m+nFuRdXd++FHhJ0prbuuP+rOf75JxAz6T8H5UCQmmYjftSwMcYOeILYXIebRRvqil7RhhK7krDfd1C8ciEw7CyzttOEpaoKFmotMfpfcGJ7C9OZOfpR2MSaCyi+jNxHSwjA15ANIINFe1W2WvRBaIE4xRrhK6YEGQOASXE9K5/lEaLwbRaDUcmYzhAe0G+pdx48FweI1qVkpnnULgxjuJHjG8zcRov0TnWhPT7UP1pdsk8XH359v3qMzOsjiULi7tevJwW9nW9sK8XPi0aMP0zZE8kN2NFY3pSLU7Jt9nN3S6/297s1pvdZhx/A40b3k8=

The setup
- Monitor a steel chests content on the green wire
- Arithmetic combinator takes stack size of item in variable 1, multiplies it by 20 and outputs as signal M on red wire
- Speaker checks for item in variable 1 is smaller than M, if so trigger an alarm

Intented result
If less than 50 stacks of the item are in the steel chest, raise an alarm.

Issue
- The variable for stack size value in the arithmetic combinator is not replaced with the actual value after placing the blueprint
- Other variable replacements work as expected.

Any suggestions and/ or help?

8 months ago

The stack size variable is supposed to be replaced with a number in this case. Not sure if this is broken functionality or something I didn't implement yet. I'll look into it.

Thanks for the BP!

7 months ago

I found the solution, the variable will work only if it's in the slot in the right
string: 0eNqVU8lu2zAQ/ZWAx8IKbHkX2lOvLXrsITAIip5YhLmBpNSqhv69Q8qx4khB2otAzfJm5s2bCyllDdYJHUhxIYIb7UnxdCFenDST0RZaC6QgIoAiM6KZin/MiVApCIJn3KhSaBaMI92MCH2E36RYdIcZAR1EENADpp+W6lqV4DDgBmWdOTmmFCslZN4CO6N/RqzxmGx0bAEB8/n6cT0jLb5Wq8c1VsJWgzOSllCxRmB1DOTC8VoEir7jLftZOB/oBwMJZ3RmJQsQp/AQEcY5jXChRsstrY/IvpPUkLLMJSIK8jlZru1EM5IFzkesPoc2DJmnwlMrAq9I8cykh0igD65WSBcVR1LMsZQJ0L+7fmwNPM6WwBbx4+D4muMYmw/V02/cx8kB6LeBy+4QYe9bRCLakvEzbYys46DYxs12kqZkUuIqsFHsGN/mF7VGtrYyur1O0kUHuNHwFcYmx0t6shhNFbMvpijDK/mpx3/aWV9NgffsFL1PMfiLDwAy4xX4cHj49uPnw1dmGcfhCU49UmX+gcAnZLm9E+VRuH45pNhMS3QAHlTqB5nGAwwsXmM+f1+H9zzcTjhrED3d0SJDFH7OvPiTyDEWUJmpL/IJM00dbB3+S+AT4svfEd8iamqC3uUAO6xlitTd+NZHop9Uc18ZtZ4YekUNVmlQgqlIvlustvt8u1vtl5v9puv+Ao/Fvhw=

7 months ago

I found the solution, the variable will work only if it's in the slot in the right
string:
0eNqVU8lu2zAQ/ZWAx8IKbHkX2lOvLXrsITAIip5YhLmBpNSqhv69Q8qx4khB2otAzfJm5s2bCyllDdYJHUhxIYIb7UnxdCFenDST0RZaC6QgIoAiM6KZin/MiVApCIJn3KhSaBaMI92MCH2E36RYdIcZAR1EENADpp+W6lqV4DDgBmWdOTmmFCslZN4CO6N/RqzxmGx0bAEB8/n6cT0jLb5Wq8c1VsJWgzOSllCxRmB1DOTC8VoEir7jLftZOB/oBwMJZ3RmJQsQp/AQEcY5jXChRsstrY/IvpPUkLLMJSIK8jlZru1EM5IFzkesPoc2DJmnwlMrAq9I8cykh0igD65WSBcVR1LMsZQJ0L+7fmwNPM6WwBbx4+D4muMYmw/V02/cx8kB6LeBy+4QYe9bRCLakvEzbYys46DYxs12kqZkUuIqsFHsGN/mF7VGtrYyur1O0kUHuNHwFcYmx0t6shhNFbMvpijDK/mpx3/aWV9NgffsFL1PMfiLDwAy4xX4cHj49uPnw1dmGcfhCU49UmX+gcAnZLm9E+VRuH45pNhMS3QAHlTqB5nGAwwsXmM+f1+H9zzcTjhrED3d0SJDFH7OvPiTyDEWUJmpL/IJM00dbB3+S+AT4svfEd8iamqC3uUAO6xlitTd+NZHop9Uc18ZtZ4YekUNVmlQgqlIvlustvt8u1vtl5v9puv+Ao/Fvhw=

New response