From: <lyn...@us...> - 2008-01-19 19:03:13
|
Revision: 4992 http://gemrb.svn.sourceforge.net/gemrb/?rev=4992&view=rev Author: lynxlupodian Date: 2008-01-19 11:03:18 -0800 (Sat, 19 Jan 2008) Log Message: ----------- fixed the class order in the kit description: imoen is a thief/mage, not a mage/thief Modified Paths: -------------- gemrb/trunk/gemrb/GUIScripts/tob/GUIREC.py Modified: gemrb/trunk/gemrb/GUIScripts/tob/GUIREC.py =================================================================== --- gemrb/trunk/gemrb/GUIScripts/tob/GUIREC.py 2008-01-19 17:26:21 UTC (rev 4991) +++ gemrb/trunk/gemrb/GUIScripts/tob/GUIREC.py 2008-01-19 19:03:18 UTC (rev 4992) @@ -712,20 +712,19 @@ KitTable = GemRB.LoadTable ("kitlist") KitIndex = GetKitIndex (pc) + if (Dual & ~MC_EXPORTABLE) > 0: + ClassIndex = GemRB.FindTableValue (ClassTable, 15, Dual & MC_WAS_ANY_CLASS) + text = GemRB.GetTableValue (ClassTable, ClassIndex, 1) + GemRB.SetText (KitInfoWindow, TextArea, text) + GemRB.TextAreaAppend (KitInfoWindow, TextArea, "\n\n") + if KitIndex: text = GemRB.GetTableValue (KitTable, KitIndex, 3) else: text = GemRB.GetTableValue (ClassTable, ClassRow, 1) - GemRB.SetText (KitInfoWindow, TextArea, text) + GemRB.TextAreaAppend (KitInfoWindow, TextArea, text) - if (Dual & ~MC_EXPORTABLE) > 0: - GemRB.TextAreaAppend (KitInfoWindow, TextArea, "\n\n") - - ClassIndex = GemRB.FindTableValue (ClassTable, 15, Dual & MC_WAS_ANY_CLASS) - text2 = GemRB.GetTableValue (ClassTable, ClassIndex, 1) - GemRB.TextAreaAppend (KitInfoWindow, TextArea, text2) - GemRB.ShowModal (KitInfoWindow, MODAL_SHADOW_GRAY) return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |