[0.14] inconsistancy
Posted: Sat Nov 26, 2016 1:16 pm
hi bob,
I am working on a mod where it is possible to get all the items/recipes etc out the game in a json, for vanilla it is all fine, but i noticed, when i added your mod that the hydrogen canister emtying has results, but its like this:
results = {
{
amount = 5,
name = "hydrogen",
type = "fluid"
} --[[table: 0x000000000e668400]],
{
"gas-canister",
1
} --[[table: 0x000000000e668460]]
} --[[table: 0x000000000e6683a0]],
It might probably still work(not playing with bobs atm) but for consistancy wouldnt it be better to have the second one also with the amout, name & type?
i can probably work around it, but I dont know if you did this on purpose, or that you have it good on other places as well?
if this is the case, just reply then ill build it so it can thanks
I am working on a mod where it is possible to get all the items/recipes etc out the game in a json, for vanilla it is all fine, but i noticed, when i added your mod that the hydrogen canister emtying has results, but its like this:
results = {
{
amount = 5,
name = "hydrogen",
type = "fluid"
} --[[table: 0x000000000e668400]],
{
"gas-canister",
1
} --[[table: 0x000000000e668460]]
} --[[table: 0x000000000e6683a0]],
It might probably still work(not playing with bobs atm) but for consistancy wouldnt it be better to have the second one also with the amout, name & type?
i can probably work around it, but I dont know if you did this on purpose, or that you have it good on other places as well?
if this is the case, just reply then ill build it so it can thanks