Posted 27 June 2013 - 08:39 PM
First off:
(Arg rg and your mod replacing my wood chest!)
Now for the mod:
Turtle chests, a peripheral for turtles, it lets your turtles have more that 16 slots of inventory. The chests provide some 'pages', witch let you change your turtles' inventory around with code. To get the amount of pages in code you call getPages. To get the current page call getPage and to switch pages call switchPage with an integer that represents the page id. If the turtle breaks, you will lose everything in the pages, sorry!
Here are the sizes:
wood - 1
copper - 2
iron - 3
silver - 4
gold - 5
diamond - 6
crystal - 6
obsidian - 6
Api:
In the config file you can change the peripheral ids if you ever need to.
Changelog:
1.1:
- Updated to mc 1.6.2!
- No crashing when IronChests is not installed (Hopefully)
1.0:
+ First release!
+ All chest types from IronChests
Downloads:
1.1
Main
Mirror
1.0
Main
Mirror
(Arg rg and your mod replacing my wood chest!)
Now for the mod:
Turtle chests, a peripheral for turtles, it lets your turtles have more that 16 slots of inventory. The chests provide some 'pages', witch let you change your turtles' inventory around with code. To get the amount of pages in code you call getPages. To get the current page call getPage and to switch pages call switchPage with an integer that represents the page id. If the turtle breaks, you will lose everything in the pages, sorry!
Here are the sizes:
wood - 1
copper - 2
iron - 3
silver - 4
gold - 5
diamond - 6
crystal - 6
obsidian - 6
Api:
chest = peripheral.wrap('right')
chest.getPages() -- returns the amount of pages avalable
chest.getPage() -- returns the current page
chest.setPage() -- Switches the current page
In the config file you can change the peripheral ids if you ever need to.
Changelog:
1.1:
- Updated to mc 1.6.2!
- No crashing when IronChests is not installed (Hopefully)
1.0:
+ First release!
+ All chest types from IronChests
Downloads:
1.1
Main
Mirror
1.0
Main
Mirror