def systemMessage(self, message): whisper = WhisperPopup(message, OTPGlobals.getInterfaceFont(), WTSystem) whisper.manage(base.marginManager) # play the system message sound effect base.playSfx(base.loader.loadSfx('phase_3/audio/sfx/clock03.ogg'))
def systemMessage(self, message): whisper = WhisperPopup(message, OTPGlobals.getInterfaceFont(), WTSystem) whisper.manage(base.marginManager) if self.systemMessageSfx is None: self.systemMessageSfx = base.loadSfx('phase_3/audio/sfx/clock03.ogg') base.playSfx(self.systemMessageSfx)
def systemMessage(self, message): whisper = WhisperPopup(message, OTPGlobals.getInterfaceFont(), WTSystem) whisper.manage(base.marginManager) if hasattr(base.cr, 'chatLog'): base.cr.chatLog.addToLog( '\x01orangeText\x01System Message: %s\x02' % message) base.playSfx(base.loader.loadSfx('phase_3/audio/sfx/clock03.ogg'))
def systemMessage(self, message): whisper = WhisperPopup(message, OTPGlobals.getInterfaceFont(), WTSystem) whisper.manage(base.marginManager) if hasattr(base.cr, 'chatHistory'): base.cr.chatHistory.addToHistory( 'System Message: {0}'.format(message)) if self.systemMessageSfx is None: self.systemMessageSfx = base.loader.loadSfx( 'phase_3/audio/sfx/clock03.ogg') base.playSfx(self.systemMessageSfx)
def messageParticipants(self, message): whisper = WhisperPopup(message, OTPGlobals.getInterfaceFont(), WTSystem) whisper.manage(base.marginManager)