Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local manaBp = 'camouflage backpack'
- local supplies = {'great mana potion', 'sudden death rune', 'ultimate mana potion', 'avalanche rune', 'great fireball rune','thunderstorm rune' }
- Module.New('move items', function()
- local mainBp = Container.GetFirst()
- for spot, item in mainBp:iItems() do
- if table.contains(supplies, Item.GetName(item.id)) then
- mainBp:MoveItemToContainer(spot, Container.New(manaBp):Index(), 0)
- break
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement