'Called when the script is started and also after server reloads.'

def at_start(self):

    for (coordinates, room) in self.db.rooms.items():
        room.ndb.wildernessscript = self
        room.ndb.active_coordinates = coordinates
    for item in self.db.itemcoordinates.keys():
        if (item is None):
            del self.db.itemcoordinates[item]
            continue
        item.ndb.wilderness = self
