Tax tool multivalued trade amounts
Open in chat • 8 posts (analysis)
• Page 1 of 1
You can add the same goods to a trade twice. For example:
It states:
The tax tool acts strangely by picking a random value from the set.
- Code: Select all
<data !trade #Product exchange ACA+Outpost upkeep>
To [ref]: novalia system
From [ref]: my'enru system
Consumer Goods: 75
Construction Materials: 75
Food: 100
Consumer Goods:20
Exotic Matter Devices: 20
</data>
It states:
Consumer Goods: 75Consumer Goods:20The tax tool acts strangely by picking a random value from the set.
Either outcome is wrong as a result since the ACA never get the full amount of 95
Nice insight. I agree that summing them up is the least problematic solution. I will take this into account when rebuilding the tax tool.
:p
Or we could just ask people not to use sets of the same good in the same trade datablock. Would save you the extra work..
Btw when I checked this afternoon, the 20 amount came up every time, so are you sure it's random?
Or we could just ask people not to use sets of the same good in the same trade datablock. Would save you the extra work..
Btw when I checked this afternoon, the 20 amount came up every time, so are you sure it's random?
You're right, it is not random. It is arbitrary: the database probably returns the values in the order it has them stored, on which it gives no guarantees. Apparently it is currently putting 20 first.
-

Dragonmaster352 - Storyteller
I take it you fixed it for now as I am now receiving the correct amount.
Thank you kindly.
Thank you kindly.
No, I did nothing.
All credit for fixing this goes to Stuiter -- she simply fixed her bookkeeping page ^_^
All credit for fixing this goes to Stuiter -- she simply fixed her bookkeeping page ^_^
-

Dragonmaster352 - Storyteller
Ok thank you Stuiter.
Note to self: Past Dragonmaster352 is a liar.
Other note to self: Future Dragonmaster352 thinks making these notes to self is stupid and not very funny.
Note to self: Past Dragonmaster352 is a liar.
Other note to self: Future Dragonmaster352 thinks making these notes to self is stupid and not very funny.
8 posts (analysis)
• Page 1 of 1

