I have been reading about dict, lists, datat, LaTeX, etc. However, I still do not really know where to begin, as nothing I've read so far tells me which system of code I should use that would allow the player to rearrange as many times as they want to, and in any order they want to.
I assumed LaTeX won't work. I'm not printing this. This is dictionary/ lists.
This isn't a MMORPG, I don't have to worry about players. The one player will have 1 trolley. Trolley is its cart.
# these are the 3 main areas of storage. trolleyinv = Datat(["trolleydrawers", "trolleydorm", "trolleybkv"]) # trolleydrawers: 6 rows, each row contains 1 drawer that when opened, reveals a drawer with 2 slots || # trolleydorm: anything plopped into this bin would be organized between rooms using a different page. # trolleybkv = bookshelves: There are 4 bookshelves that pull out to reveal 6 shelves per bookshelf. # |_||_||_||_| # |_||_||_||_| # |_||_||_||_| # |_||_||_||_| # |_||_||_||_| # |_||_||_||_| # # The drawers # || # || # || # || # || # ||
Each bookshelf can hold an unlimited number of books lengthwise.
Each drawer can hold any number of items widthwise and depthwise. Thus, I could put items 10 across and 20 deep if I wanted to.
However, how would I program this? Which method would net me what I wanted? Dicts? Lists? Datat's module? And what should I keep in mind?
This post has been edited by tpgames: 21 March 2011 - 10:52 AM