Alcove and stackable items

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Leki
Posts: 550
Joined: Wed Sep 12, 2012 3:49 pm

Alcove and stackable items

Post by Leki »

Hi. I have a question.
How to count stackable items placed in alcoe?

"for item in alcove:containedItems() do"

returns "2 x rock" as a "rock"... :roll:
I'm the Gate I'm the Key.
Dawn of Lore
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Re: Alcove and stackable items

Post by Decayer »

item:getStackSize() is your friend!
User avatar
Leki
Posts: 550
Joined: Wed Sep 12, 2012 3:49 pm

Re: Alcove and stackable items

Post by Leki »

Decayer wrote:item:getStackSize() is your friend!
omg... , I used "item.name:getStackSize()" :oops:
I'm the Gate I'm the Key.
Dawn of Lore
Post Reply