Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pc = 0
- tc = 0
- ac = 0
- dc = 0
- fc = 0
- pn = 1
- tn = 1
- an = 1
- dn = 6
- fn = 1
- d = "libvulpes:productplate"
- f = "hbm:warhead_generic_small"
- p = "hbm:fuel_tank_small"
- t = "hbm:thruster_small"
- a = "hbm:circuit_targeting_tier1"
- while true do
- sleep(2)
- x = turtle.getItemDetail(1)
- y = turtle.getItemDetail(2)
- z = turtle.getItemDetail(3)
- v = turtle.getItemDetail(4)
- b = turtle.getItemDetail(5)
- if x ~= nil and z ~= nil and z ~= nil and v ~= nil and b ~= nil then
- if (x.name == p and turtle.getItemCount(1) == pn) or (y.name == p and turtle.getItemCount(2) == pn) or (z.name == p and turtle.getItemCount(3) == pn) or (v.name == p and turtle.getItemCount(4) == pn) or (b.name == p and turtle.getItemCount(5) == pn) then
- pc = 1
- end
- if (x.name == a and turtle.getItemCount(1) == an) or (y.name == a and turtle.getItemCount(2) == an) or (z.name == a and turtle.getItemCount(3) == an) or (v.name == a and turtle.getItemCount(4) == an) or (b.name == a and turtle.getItemCount(5) == an) then
- ac = 1
- end
- if (x.name == t and turtle.getItemCount(1) == tn) or (y.name == t and turtle.getItemCount(2) == tn) or (z.name == t and turtle.getItemCount(3) == tn) or (v.name == t and turtle.getItemCount(4) == tn) or (b.name == t and turtle.getItemCount(5) == tn) then
- tc = 1
- end
- if (x.name == f and turtle.getItemCount(1) == fn) or (y.name == f and turtle.getItemCount(2) == fn) or (z.name == f and turtle.getItemCount(3) == fn) or (v.name == f and turtle.getItemCount(4) == fn) or (b.name == f and turtle.getItemCount(5) == fn) then
- fc = 1
- end
- if (x.name == d and turtle.getItemCount(1) == dn) or (y.name == d and turtle.getItemCount(2) == dn) or (z.name == d and turtle.getItemCount(3) == dn) or (v.name == d and turtle.getItemCount(4) == dn) or (b.name == d and turtle.getItemCount(5) == dn) then
- dc = 1
- end
- if pc == 1 and tc == 1 and ac == 1 and dc == 1 and fc == 1 and rs.getInput("front") == false then
- pc = 0
- tc = 0
- ac = 0
- dc = 0
- fc = 0
- turtle.select(1)
- turtle.dropUp(64)
- turtle.select(2)
- turtle.dropUp(64)
- turtle.select(3)
- turtle.dropUp(64)
- turtle.select(4)
- turtle.dropUp(64)
- turtle.select(5)
- turtle.dropUp(64)
- sleep(3.5)
- end
- end
- end
Add Comment
Please, Sign In to add comment