Jump to content




[Mc 1.6.2, Cc 1.56] Turtle Chests

turtle peripheral utility

5 replies to this topic

#1 gudenau

  • Members
  • 24 posts

Posted 27 June 2013 - 07:39 PM

First off:

Posted Image
(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

#2 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 28 June 2013 - 04:55 AM

Nice!

Isn't this pretty much exactly the Misc Peripherals turtle do though?

(Not that I care! just wondering what your USP is? I guess because of the range of different sizes?)

#3 gudenau

  • Members
  • 24 posts

Posted 28 June 2013 - 09:18 AM

View PostMikeemoo, on 28 June 2013 - 04:55 AM, said:

Nice!

Isn't this pretty much exactly the Misc Peripherals turtle do though?

(Not that I care! just wondering what your USP is? I guess because of the range of different sizes?)

I don't know how his chests work, I had this idea long ago and just now did it.

#4 MCGamer20000

  • Members
  • 49 posts

Posted 05 July 2013 - 02:38 AM

Nice! But...

View Postgudenau, on 27 June 2013 - 07:39 PM, said:

If the turtle breaks, you will lose everything in the pages, sorry!
Could you PLEASE fix that?

#5 gudenau

  • Members
  • 24 posts

Posted 05 July 2013 - 05:12 PM

I guess it could be a config option.

#6 gudenau

  • Members
  • 24 posts

Posted 04 August 2013 - 04:46 PM

Update:
- Updated to mc 1.6.2!
- No crashing when IronChests is not installed (Hopefully)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users