Well for your treasure chest script this is what I used
the call script above is what i used and it only shows me some items... I only did it this way to test it when I noticed it quit showing after the
and that would be all I would see even if there was more items T_T
the potion error happens in the test bed... just go to your testbed demo and use the potion item from the quick treasure chest...
I think it happens cause it thinks all useable items are stat increase items??? not sure...
Code:
t = {}
t['g'] = 5..30
t['i'] = { 1 => 3..5 , 2 => 1..3}
t['a'] = { 1 => 1..3 , 2 => 1..3 , 3 => 1..3 , 4 => 1..3}
t['w'] = { 1 => [75,1..3] , 2 => [50,1..3] , 3 => 1..3 , 4 => 1..3}
gain_treasure(t)
the call script above is what i used and it only shows me some items... I only did it this way to test it when I noticed it quit showing after the
Code:
items gained line
gold gained line
item 1
item 2
and that would be all I would see even if there was more items T_T
the potion error happens in the test bed... just go to your testbed demo and use the potion item from the quick treasure chest...
I think it happens cause it thinks all useable items are stat increase items??? not sure...