def load_default(self): from clientmediavoice import voice import config self.default_sounds = {} self.default_txt = _read_txt() voice.item([4322, config.mods, "."]) # "loading" for path in res.get_sound_paths("ui"): self._load(path, self.default_sounds) while (res.alerts): voice.alert(res.alerts.pop(0))
def load_default(self): from clientmediavoice import voice import config self.default_sounds = {} self.default_txt = _read_txt() voice.item([4322, config.mods, "."]) # "loading" for path in res.get_sound_paths("ui"): self._load(path, self.default_sounds) while(res.alerts): voice.alert(res.alerts.pop(0))
def say(self): postfix = self.parent.square_postfix(self.parent.place) summary = self.parent.place_summary(self.parent.place, zoom=self) voice.item(self.title + postfix + summary)