Jump to content




Extremely Simple 3x3 ladder+tower builder


  • You cannot reply to this topic
3 replies to this topic

#1 Vliekkie

  • New Members
  • 17 posts
  • Location6 feet under.. the void ^^

Posted 30 March 2012 - 05:35 PM

I got a sugestion from Wolvan to create a program that builds a 3x3 thingy that has a ladder in the middle like this
And as a bonus the layout of the slots looks exactly the same.. gewd 4 sempl mynds :o/>

AXA A=Anything.. even air if u want to save blocks or keep it simple
ALA L=Ladder
SAA S=Startpoint.. it faces north according to this program X= Any block that a ladder can hold on to..

Here's the code

Spoiler


ENJOY!!!

Plz gimme props if you use this.. AND if you think this could be easier.. plz .. critisism is DEMANDED.. lol jk.. it would still be nice though..

heres a pic

Spoiler


#2 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 30 March 2012 - 06:22 PM

Didn't I suggest that?

#3 TheDeathOfRandom

  • New Members
  • 18 posts

Posted 31 March 2012 - 04:45 AM

other than some simple functions this count get any simpler :o/> i like it

heres an example of a function btw

function useItem()
turtle.forward()
if turtle.getItemCount(x)>0 then
turtle.select(x)
turtle.placeDown()
end
end

ex script

repeat
local x = 1
useItem()
until turtle.getItemCount(x) == 0

repeat
local x = 2
useItem()
until turtle.getItemCount(x) == 0


Could get even simpler but this is just an example

#4 Vliekkie

  • New Members
  • 17 posts
  • Location6 feet under.. the void ^^

Posted 31 March 2012 - 05:32 PM

oh yah.. functions.. forgot that
BUT.. how to get it to not place something if u leave a slot open?
bum bum bum buuuuum





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users