Minor bug in IsStackable
Posted: Fri May 29, 2015 2:16 pm
Hi there,
I've not tested this directly in 099, but it is present in 098 and I don't see the "fixed" message in the 099 changelog. Hope that's enough.
If i use ReserveItem() on an item, then IsStackable() will always return false if that item is part of the arguments.
Example:
Example2:
I would expect IsStackable() to ignore "reserved" flag if it is set by the current script.
My 2c
I've not tested this directly in 099, but it is present in 098 and I don't see the "fixed" message in the 099 changelog. Hope that's enough.
If i use ReserveItem() on an item, then IsStackable() will always return false if that item is part of the arguments.
Example:
Code: Select all
var a := CreateItem(<create a stackable item>)
var b := CreateItem(<create a stackable item>)
ReserveItem(a);
IsStackable(a, b); // This is now false
Code: Select all
var a := CreateItem(<create a stackable item>)
var b := CreateItem(<create a stackable item>)
IsStackable(a, b); // This is now most probably true
My 2c