CreateItemInBackpack()

Archive of the older Feature Request Forum Posts
Locked
innominabile
Adept Poster
Posts: 85
Joined: Wed Aug 30, 2006 5:24 pm

CreateItemInBackpack()

Post by innominabile »

Could be modified to no stack items created in backpack if color is different?
I think this thing should be modified also in pol96.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post by Pierce »

I don't know if i understood you right.
But i think you could simply use GetItemDescriptor(objtype); from polsys.em
innominabile
Adept Poster
Posts: 85
Joined: Wed Aug 30, 2006 5:24 pm

Post by innominabile »

I could use 3-4 commands to create an item, but it is better to use one.
CreateItemInBackpack() decide itself it create a new stack or ad an existing.
BUt it ha a bug that add to a previous stack also if colors are differentes.
I think the right solution is that 2 item with different color can't be in he same stack.
After one can use much workaround to solve the problem. But simplier solutions is better.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

That is odd since I don't think you can drag an item of a different colour onto a stack.
Locked