View difference between Paste ID: MxECPdTn and 15rpUnA8
SHOW: | | - or go back to the newest paste.
1
itemin = "Stone"
2
outitem = "Blank Slate"
3
lifeamount = 1000
4
5
if altar.getInfo().amount > lifeamount then
6
  print(altar.getInfo().amount)
7
  --if getTotalItemCount(item) < 10 then
8
    chest.pushItem("UP",getSlotWithItem(itemin),1,1)   
9
    altar.pullItem("DOWN",1,1,1)
10
  while not(altar.getStackInSlot(1).display_name==outitem) do 
11
    sleep(.1) 
12
  end
13
    altar.pushItem("DOWN",1,1,1)
14
    chest.pullItem("UP",1,1)
15
end