comparison orpg/gametree/nodehandlers/voxchat.py @ 195:b633f4c64aae alpha

Traipse Alpha 'OpenRPG' {100219-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary (Patch-2) New Features: New Namespace method with two new syntaxes Fixes: Fix to Server GUI startup errors Fix to Server GUI Rooms tab updating Fix to Chat and Settings if non existant die roller is picked Fix to Dieroller and .open() used with .vs(). Successes are correctly calculated Fix to Alias Lib's Export to Tree, Open, Save features Fix to alias node, now works properly Fix to Splitter node, minor GUI cleanup
author sirebral
date Sat, 24 Apr 2010 08:37:20 -0500
parents bf799efe7a8a
children 24769389a7ba
comparison
equal deleted inserted replaced
182:4b2884f29a72 195:b633f4c64aae
19 # 19 #
20 # File: voxchat.py 20 # File: voxchat.py
21 # Author: Ted Berg 21 # Author: Ted Berg
22 # Maintainer: 22 # Maintainer:
23 # Version: 23 # Version:
24 # $Id: voxchat.py,v 1.37 2007/05/06 16:42:55 digitalxero Exp $ 24 # $Id: voxchat.py,v Traipse 'Ornery-Orc' prof.ebral Exp $
25 # 25 #
26 # Description: nodehandler for alias. 26 # Description: nodehandler for alias.
27 # 27 #
28 28
29 __version__ = "$Id: voxchat.py,v 1.37 2007/05/06 16:42:55 digitalxero Exp $" 29 __version__ = "$Id: voxchat.py,v Traipse 'Ornery-Orc' prof.ebral Exp $"
30 30
31 import re, os, string, core 31 import re, os, string, core
32 32
33 from orpg.orpg_windows import * 33 from orpg.orpg_windows import *
34 import core 34 import core
51 51
52 class voxchat_handler(core.node_handler): 52 class voxchat_handler(core.node_handler):
53 def __init__(self, xml_dom, tree_node): 53 def __init__(self, xml_dom, tree_node):
54 core.node_handler.__init__( self, xml_dom, tree_node) 54 core.node_handler.__init__( self, xml_dom, tree_node)
55 self.node = xml_dom 55 self.node = xml_dom
56 self.xml = component.get('xml') 56 #self.xml = component.get('xml')
57 57
58 def get_design_panel( self, parent ): 58 def get_design_panel( self, parent ):
59 aliasLib = component.get('alias') 59 aliasLib = component.get('alias')
60 aliasLib.ImportFromTree(self.node) 60 aliasLib.ImportFromTree(self.node)
61 return None 61 return None