mob
proc
Dragonball_Scat()
for(var/obj/dragonball/O in world)
var/x = rand(17,707)
var/y = rand(16,205)
O.loc = locate(x,y,1)
world << "<b><font color = red>The Dragonballs scatter across the earth!<b>"
Ok im makin a dbz game and i wrote my own dragonball code where the dragonballs stack,each one has a weight of 1 and your max weight is 7, once you have 7 you drop them on the floor and wish and the dragonballscatter proc is called,but if any one has a dragonball in there inventory it takes it away without removing 1 weight so they can never pick up 7 balls again, i was wondering if any one knew how to make it so they dont get moved if there in your inventory or if it just creates new balls at the location instead of moving old ones there
Something like that should work. I couldn't think of way to do this without two loops.