item.layer
Posted: Thu Jun 07, 2012 6:12 am
From memory from working on older cores, the item.layer method returned the items layer (iirc). Now I'm seeing that it only returns the items layer if it is equipped, otherwise it returns 0. I'm using tile_layer instead now, just thought this was weird.
I suppose it's a handy way to know if the item is equipped or not. I'm guessing this it the purpose of it, if so then the description ought to be changed from
I suppose it's a handy way to know if the item is equipped or not. I'm guessing this it the purpose of it, if so then the description ought to be changed from
to something likeequipment layer
save a bit of confusion on my partequipment layer if equipped