[2.0.55] Blueprint parameters not calculating correctly.
Posted: Sat Jun 07, 2025 2:16 pm
I have a blueprint with parameters 0 through 6, where 1 through 6 are the ingredients of 0. all have different default values. Nuclear reactor used as testing recipe.
entering "sign(p1_r-10000)" into one of the formula boxes gives -1.
entering "sign(p6_r-10000)" into another one of the formula boxes gives 0 (as unused parameters apparently have a rocket capacity of 10000).
entering "sign(p1_r-10000)+sign(p6_r-10000)" into a third formula box gives 0. -1+0 does not equal 0 so this is incorrect.
assigning the first two to variables a and b respectively and entering "a+b" into a fourth box gives -1, which is correct.
The blueprint I've been using for testing: 0eNqlleFqpDAQx98ln67ULRqNW4U+SSkSdWwDmtgYS5fFd78Z3RUs3nLpKqgZZ37zH5OJZ1a2I/RWacfyM1OV0QPLX89sUO9atmTTsgOWMwufIwwO7KH6wDubAqZ0Dd8sj6a3gIF2yilYgufBqdBjV4JFh+BfkID1ZsA4oykTsg48yZ5EwE4sf34SmAMFOWvaooQP+aWMJb9K2WpUruhMDYVpCtODlQsEU13fYmQ9owvQsmyhZnkj2wEQepFRNKpFLQMxB6jId9F/LSxgq8fGeqmmlxYfqJoIK/kcZYtVo10b2+G3I/Ed+TiSzV5mw0gfOgrDKViBfAfI/YB8A4x3gLEfMN4Akx1g4gdMNkCxAxR+QLEBpjvA1A+YboDHHWDoOcvZ9IYndcfKWFaSO/VEVjU642Wbg0TccKClpvS7hVphmx1M4xfO7wuP7wtP7gsX94Wn/x9+2bqC60POogxHDc752Eoc0v74p48KnJAQj4fHxZCuBvSuoQdcTbQWnB3hJh77Y8MnkicimhFf0ira7tAgbyr2pPOf9HKH/uvy4x/ly8dyh4CdpBx0lHz9a6EmbKt58xcpz5IsE8eQi2PGp+kvNaw9GA==
entering "sign(p1_r-10000)" into one of the formula boxes gives -1.
entering "sign(p6_r-10000)" into another one of the formula boxes gives 0 (as unused parameters apparently have a rocket capacity of 10000).
entering "sign(p1_r-10000)+sign(p6_r-10000)" into a third formula box gives 0. -1+0 does not equal 0 so this is incorrect.
assigning the first two to variables a and b respectively and entering "a+b" into a fourth box gives -1, which is correct.
The blueprint I've been using for testing: 0eNqlleFqpDAQx98ln67ULRqNW4U+SSkSdWwDmtgYS5fFd78Z3RUs3nLpKqgZZ37zH5OJZ1a2I/RWacfyM1OV0QPLX89sUO9atmTTsgOWMwufIwwO7KH6wDubAqZ0Dd8sj6a3gIF2yilYgufBqdBjV4JFh+BfkID1ZsA4oykTsg48yZ5EwE4sf34SmAMFOWvaooQP+aWMJb9K2WpUruhMDYVpCtODlQsEU13fYmQ9owvQsmyhZnkj2wEQepFRNKpFLQMxB6jId9F/LSxgq8fGeqmmlxYfqJoIK/kcZYtVo10b2+G3I/Ed+TiSzV5mw0gfOgrDKViBfAfI/YB8A4x3gLEfMN4Akx1g4gdMNkCxAxR+QLEBpjvA1A+YboDHHWDoOcvZ9IYndcfKWFaSO/VEVjU642Wbg0TccKClpvS7hVphmx1M4xfO7wuP7wtP7gsX94Wn/x9+2bqC60POogxHDc752Eoc0v74p48KnJAQj4fHxZCuBvSuoQdcTbQWnB3hJh77Y8MnkicimhFf0ira7tAgbyr2pPOf9HKH/uvy4x/ly8dyh4CdpBx0lHz9a6EmbKt58xcpz5IsE8eQi2PGp+kvNaw9GA==