ID:195159
 
//Title: Simple World Repopulation Snippet
//Credit to: Dan of Dantom
//Contributed by: Jtgibson


/*
This snippet simply takes advantage of BYOND's built-in Repop() proc and calls
it on a periodic timer, which -- for convenience -- is integrated directly into
the world's startup procedure (world.New()).

You will definitely want to read Dream Maker's help on the Repop() proc to fully
understand what this snippet does.
*/



world/New()
spawn
while(1)
sleep(600 * 5) //every 5 minutes
Repop()
return ..()