0 Members and 2 Guests are viewing this topic.
It's games like this that make me want to get a Nspire. Sadly I have to choose between a 3ds, a nspire and a prime. No easy choice!
When is the next update Do you think??This is AMAZING
function returnToMenu() toolpalette.register({})endfunction on.deactivate() returnToMenu()endfunction on.escapeKey() returnToMenu()endfunction enableAdvCraft(state) -- called with state=true when clicked on Crafting Table -- called with state=false when the player moved or destroyed the Crafting Table if state then toolpalette.register(advCraftMenu) else toolpalette.register(craftMenu) endendfunction resumeGame() -- is called after a new world was generated, a game was loaded or when clicked on "Resume Game" enableAdvCraft(false)endcraftMenu={ {"Structures", {"Torch", translateCraft}, {"Wooden Planks",translateCraft}, {"Sticks",translateCraft}, {"Crafting Table", translateCraft}, {"Wool", translateCraft} }}advCraftMenu={ {"Structures", {"Torch", translateCraft}, {"Wooden Planks",translateCraft}, {"Sticks",translateCraft}, {"Crafting Table", translateCraft}, {"Chest", translateCraft}, {"Furnace", translateCraft}, {"Bed", translateCraft}, {"Ladder", translateCraft}, {"Door", translateCraft}, {"Wood Stairs", translateCraft}, {"Stone Stairs", translateCraft}, {"Wool", translateCraft} }, {"Pickaxes and Shovels", {"Wooden Pickaxe", translateCraft}, {"Stone Pickaxe", translateCraft}, {"Iron Pickaxe", translateCraft}, {"Gold Pickaxe", translateCraft}, {"Diamond Pickaxe", translateCraft}, {"Wooden Shovel", translateCraft}, {"Stone Shovel", translateCraft}, {"Iron Shovel", translateCraft}, {"Gold Shovel", translateCraft}, {"Diamond Shovel", translateCraft}, }, {"Axes", {"Wooden Axe", translateCraft}, {"Stone Axe", translateCraft}, {"Iron Axe", translateCraft}, {"Gold Axe", translateCraft}, {"Diamond Axe", translateCraft}, }, {"Weapons", {"Wooden Sword", translateCraft}, {"Stone Sword", translateCraft}, {"Iron Sword", translateCraft}, {"Gold Sword", translateCraft}, {"Diamond Sword", translateCraft}, {"Bow", translateCraft}, {"Arrow", translateCraft}, {"Flint and Steel", translateCraft}, {"TNT", translateCraft} }, {"Farming", {"Bread", translateCraft}, {"Bone Meal", translateCraft}, {"Bucket", translateCraft}, {"Wooden Hoe", translateCraft}, {"Stone Hoe", translateCraft}, {"Iron Hoe", translateCraft}, {"Gold Hoe", translateCraft}, {"Diamond Hoe", translateCraft} }}function on.create() toolpalette.register({})end
Here is the simplyfied code of the menu, maybe someone else can find the problem: