Add basic-item-counter.lua
This commit is contained in:
commit
88bbe39672
1 changed files with 16 additions and 0 deletions
16
basic-item-counter.lua
Normal file
16
basic-item-counter.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
assembler = component.proxy("64AE131746F2CE198F0CDF89FE9597FA")
|
||||
count = 417
|
||||
print("Program Started")
|
||||
|
||||
while count < 1000 do
|
||||
if assembler.progress > 0.92 then
|
||||
count = count + 1
|
||||
print("Item Completed, count is at: " .. count)
|
||||
sleep(4)
|
||||
end
|
||||
|
||||
if count == 1000 then
|
||||
print("Complete!")
|
||||
assembler.standby = true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue