Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Droper
- Version 1.0.1
- By Mr Trala
- Instructions;
- Just put the item id you want to throw away in Config > Drop.
- It will throw away that item if you have 2 or more of that item.
- ]]
- config = {
- Drop = {3031, 3035} -- Just put the item ids you want to throw away
- }
- function Drop()
- local p = Self.Position()
- for _, n in pairs(config.Drop) do
- if Self.ItemCount(n) >= 2 then
- Self.DropItem(p.x, p.y, p.z, n)
- end
- end
- end
- registerEventListener(TIMER_TICK, "Drop")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement