[Done] Windowing refactoring
#2
I support this change.
So, doublechest would be like two single-chest-like areas, right?

I would also like to have two simple functions in the lua API: "TakeItemsFrom" and "GiveItemsTo" - appliable to chests, furnaces, inventories. "TakeFrom" should take items, return false if there wasn't any items of specified ammount and integer value for taken ammount otherwise (for example, we take 30 apples, but there are just 2 of them in the chest, so function will return 2).
Is it possible to make them work this way? (I don't remember cInventory class capabilities)

Or am I missing something, and window is not equivalent to generic "item container"? (Because it basically is the same thing)
Reply
Thanks given by:


Messages In This Thread
[Done] Windowing refactoring - by xoft - 09-10-2012, 06:19 AM
RE: Windowing refactoring - by Taugeshtu - 09-10-2012, 06:40 AM
RE: Windowing refactoring - by xoft - 09-10-2012, 06:45 AM
RE: Windowing refactoring - by FakeTruth - 09-10-2012, 06:41 AM
RE: Windowing refactoring - by Taugeshtu - 09-10-2012, 06:57 AM
RE: Windowing refactoring - by xoft - 09-14-2012, 04:14 AM
RE: Windowing refactoring - by NiLSPACE - 09-17-2012, 04:49 AM
RE: Windowing refactoring - by xoft - 09-17-2012, 04:52 AM
RE: Windowing refactoring - by NiLSPACE - 09-17-2012, 05:00 AM
RE: Windowing refactoring - by xoft - 09-17-2012, 05:14 AM
RE: Windowing refactoring - by xoft - 09-20-2012, 10:21 PM
RE: Windowing refactoring - by xoft - 09-21-2012, 06:03 AM
RE: Windowing refactoring - by xoft - 09-22-2012, 06:57 AM
RE: [Done] Windowing refactoring - by NiLSPACE - 09-22-2012, 07:07 AM
RE: [Done] Windowing refactoring - by xoft - 09-22-2012, 07:11 AM
RE: [Done] Windowing refactoring - by NiLSPACE - 09-22-2012, 07:19 AM
RE: [Done] Windowing refactoring - by xoft - 09-22-2012, 07:35 AM



Users browsing this thread: 1 Guest(s)