From: Laszlo T. <ave...@us...> - 2006-12-17 13:27:32
|
Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/iwd In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv8298/GUIScripts/iwd Modified Files: CharGen.py Log Message: HoW:set heights for weapon equipment in avatars.2da bg1/iwd/how:starting equipment (staff) Index: CharGen.py =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/iwd/CharGen.py,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** CharGen.py 29 Jan 2006 13:51:58 -0000 1.41 --- CharGen.py 17 Dec 2006 13:27:28 -0000 1.42 *************** *** 367,370 **** --- 367,374 ---- GemRB.FillPlayerInfo(MyChar, PortraitName+"L", PortraitName+"S") + #35 is a weapon slot + GemRB.CreateItem(MyChar, "staf01", 35, 1, 0, 0) + GemRB.SetEquippedQuickSlot(MyChar, 0) + GemRB.UnloadWindow (CharGenWindow) GemRB.SetNextScript("PartyFormation") *************** *** 2043,2048 **** AvatarRef = GemRB.GetTableValue (AppearanceAvatarTable, hex(AvatarID), "LEVEL1") ! GemRB.SetButtonPLT(AppearanceWindow, AppearanceAvatarButton, AvatarRef, ! 0, MinorColor, MajorColor, SkinColor, 0, 0, HairColor, 0) #GemRB.SetButtonBAM (AppearanceWindow, AppearanceAvatarButton, AvatarRef, 0, 0, 0) --- 2047,2052 ---- AvatarRef = GemRB.GetTableValue (AppearanceAvatarTable, hex(AvatarID), "LEVEL1") ! GemRB.SetButtonPLT(AppearanceWindow, AppearanceAvatarButton, AvatarRef, ! 0, MinorColor, MajorColor, SkinColor, 0, 0, HairColor, 0) #GemRB.SetButtonBAM (AppearanceWindow, AppearanceAvatarButton, AvatarRef, 0, 0, 0) *************** *** 2094,2098 **** def AppearanceColorSelected(): ! global HairColor, SkinColor, MajorColor, MinorColor global AppearanceWindow, AppearanceColorWindow global AppearanceHairButton, AppearanceSkinButton --- 2098,2102 ---- def AppearanceColorSelected(): ! global HairColor, SkinColor, MajorColor, MinorColor global AppearanceWindow, AppearanceColorWindow global AppearanceHairButton, AppearanceSkinButton |