Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local chest = require("chest")
- local accessor = require("accessor")
- accessor = accessor.new()
- --[[ Setting the number of chests ]]--
- print("Give number of chests: ")
- accessor.setChestCount(8)
- for i = 1, accessor.getChestCount() do
- accessor.addChest(chest.new(i-1, "", math.random(0,64)))
- end
- accessor:printChests()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement