You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
341 B
15 lines
341 B
--[[
|
|
Created by Fxz_y
|
|
]]
|
|
p = peripheral.find("oreDictionary") --Wrapping the peripheral
|
|
if p then
|
|
oreDict,data = os.pullEvent("oreDict") --Waiting for a player to right click the ore dictionary with an item
|
|
if oreDict then
|
|
for k,v in pairs(data) do
|
|
print(tostring(k)..": "..tostring(v))
|
|
end
|
|
else
|
|
sleep(0.5)
|
|
end
|
|
end
|