Mercurial > traipse_dev
diff orpg/gametree/nodehandlers/dnd3e.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 | 3bbfd84619c0 |
line wrap: on
line diff
--- a/orpg/gametree/nodehandlers/dnd3e.py Fri Jan 15 22:45:51 2010 -0600 +++ b/orpg/gametree/nodehandlers/dnd3e.py Sat Apr 24 08:37:20 2010 -0500 @@ -21,7 +21,7 @@ # Author: Chris Davis & Digitalxero # Maintainer: leadb # Version: -# $Id: dnd3e.py,v 1.33 2006/11/04 21:24:21 digitalxero Exp $ +# $Id: dnd3e.py,v Traipse 'Ornery-Orc' prof.ebral Exp $ # # Description: The file contains code for the dnd3e nodehanlers # @@ -261,7 +261,6 @@ n_list = self.xml.getchildren() html_str = "<table width=100% border=1 ><tr BGCOLOR=#E9E9E9 ><th>General Information</th></tr><tr><td>" for n in n_list: - debug(n) html_str += "<B>"+n.tag.capitalize() +":</B> " html_str += n.text + ", " html_str = html_str[:len(html_str)-2] + "</td></tr></table>" @@ -377,12 +376,10 @@ value = self.lang.GetValue() for node in self.n_list: if node.tag == nodeName: - debug(node) node.text = value def saveMoney(self, row, col): value = self.grid.GetCellValue(row, col) - debug(self.n_list[row]) self.n_list[row].text = value def on_cell_change(self, evt): @@ -2271,12 +2268,10 @@ self.xml.remove(self.n_list[i]) def on_add(self,evt): - debug() if not self.temp_dom: tree = parse(dir_struct["dnd3e"]+"dnd3espells.xml") xml_dom = tree.getroot() self.temp_dom = xml_dom - debug(self.temp_dom) f_list = self.temp_dom.findall('spell') opts = [] #lvl = int(dnd3e_char_child.get_char_lvl('level')) @@ -2667,12 +2662,10 @@ self.xml.remove(self.n_list[i]) def on_add(self,evt): - debug() if not self.temp_dom: tree = parse(dir_struct["dnd3e"]+"dnd3epowers.xml") xml_dom = tree.getroot() self.temp_dom = xml_dom - debug(self.temp) f_list = self.temp_dom.findall('power') opts = [] for f in f_list: