From 7442d5e653de931218307bcf1683176e38143f8c Mon Sep 17 00:00:00 2001 From: Edmond Mondor Date: Wed, 11 May 2022 09:35:19 -0700 Subject: [PATCH] First push for Yeesha Page 27 --- Scripts/Python/clftYeeshaPage08.py | 4 +++- Scripts/Python/psnlYeeshaPageChanges.py | 2 +- Scripts/Python/xLinkingBookDefs.py | 4 +++- Scripts/Python/xYeeshaPages.py | 8 +++++++- Scripts/dat/Personal.fni | 4 ++-- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Scripts/Python/clftYeeshaPage08.py b/Scripts/Python/clftYeeshaPage08.py index 4a056d2c64..81480c252c 100644 --- a/Scripts/Python/clftYeeshaPage08.py +++ b/Scripts/Python/clftYeeshaPage08.py @@ -93,6 +93,7 @@ kYeeshaPage24 = 224 kYeeshaPage25 = 225 kYeeshaPage26 = 226 +kYeeshaPage27 = 227 kYeeshaPageCancel = 299 isOpen = 0 @@ -233,7 +234,8 @@ def SetStdGUIVisibility(self, visible): ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage24)).hide() ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).hide() ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).hide() + ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).hide() ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage08)).show() - GUIDialogObject.value.draw.disable() \ No newline at end of file + GUIDialogObject.value.draw.disable() diff --git a/Scripts/Python/psnlYeeshaPageChanges.py b/Scripts/Python/psnlYeeshaPageChanges.py index 9ed102bd3c..e7c82adcab 100644 --- a/Scripts/Python/psnlYeeshaPageChanges.py +++ b/Scripts/Python/psnlYeeshaPageChanges.py @@ -53,6 +53,7 @@ from PlasmaVaultConstants import * from PlasmaNetConstants import * from xPsnlVaultSDL import * +import xLinkingBookDefs PageNumber = ptAttribInt(1, "Yeesha Page Number") stringShowStates = ptAttribString(2,"States in which shown") @@ -63,7 +64,6 @@ respDisable = ptAttribResponder(6, "Disabled resp (if necessary)") #globals -import xLinkingBookDefs TotalPossibleYeeshaPages = len(xLinkingBookDefs.xYeeshaPages) HideCleftPole = 0 diff --git a/Scripts/Python/xLinkingBookDefs.py b/Scripts/Python/xLinkingBookDefs.py index 6c1db57150..e5e02e672f 100644 --- a/Scripts/Python/xLinkingBookDefs.py +++ b/Scripts/Python/xLinkingBookDefs.py @@ -99,11 +99,13 @@ xYeeshaPage24 = ( "YeeshaPage24", '' ) xYeeshaPage25 = ( "YeeshaPage25", '' ) xYeeshaPage26 = ( "YeeshaPage26", '' ) +xYeeshaPage27 = ( "YeeshaPage27", '' ) xYeeshaPages = [ xYeeshaPage1, xYeeshaPage2, xYeeshaPage3, xYeeshaPage4, xYeeshaPage5, xYeeshaPage6, xYeeshaPage7,\ xYeeshaPage8, xYeeshaPage9, xYeeshaPage10, xYeeshaPage12, xYeeshaPage13, xYeeshaPage14, xYeeshaPage15,\ - xYeeshaPage16, xYeeshaPage17, xYeeshaPage18, xYeeshaPage19, xYeeshaPage20, xYeeshaPage21, xYeeshaPage22, xYeeshaPage23, xYeeshaPage24, xYeeshaPage25, xYeeshaPage26 ] + xYeeshaPage16, xYeeshaPage17, xYeeshaPage18, xYeeshaPage19, xYeeshaPage20, xYeeshaPage21, xYeeshaPage22,\ + xYeeshaPage23, xYeeshaPage24, xYeeshaPage25, xYeeshaPage26, xYeeshaPage27 ] diff --git a/Scripts/Python/xYeeshaPages.py b/Scripts/Python/xYeeshaPages.py index cc42b22c38..af1e0b0f04 100644 --- a/Scripts/Python/xYeeshaPages.py +++ b/Scripts/Python/xYeeshaPages.py @@ -97,13 +97,16 @@ kYeeshaPage24 = 224 kYeeshaPage25 = 225 kYeeshaPage26 = 226 +kYeeshaPage27 = 227 kYeeshaPageCancel = 299 YeeshaPageIDList = [ kYeeshaPage01, kYeeshaPage02, kYeeshaPage03, kYeeshaPage04,\ kYeeshaPage05, kYeeshaPage06, kYeeshaPage07, kYeeshaPage08,\ kYeeshaPage09, kYeeshaPage10, kYeeshaPage12, kYeeshaPage13,\ kYeeshaPage14, kYeeshaPage15, kYeeshaPage16, kYeeshaPage17,\ - kYeeshaPage18, kYeeshaPage19, kYeeshaPage20, kYeeshaPage21, kYeeshaPage22, kYeeshaPage23, kYeeshaPage24, kYeeshaPage25, kYeeshaPage26 ] + kYeeshaPage18, kYeeshaPage19, kYeeshaPage20, kYeeshaPage21, \ + kYeeshaPage22, kYeeshaPage23, kYeeshaPage24, kYeeshaPage25, \ + kYeeshaPage26, kYeeshaPage27 ] class xYeeshaPages(ptModifier): @@ -236,6 +239,7 @@ def IDrawLinkPanel(self): ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage24)).hide() ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).hide() ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).hide() + ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).hide() #now draw correct panel if (PageNumber.value) == 1: @@ -288,6 +292,8 @@ def IDrawLinkPanel(self): ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).show() elif (PageNumber.value) == 26: ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).show() + elif (PageNumber.value) == 27: + ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).show() else: diff --git a/Scripts/dat/Personal.fni b/Scripts/dat/Personal.fni index f02b44ec82..bd170062e1 100644 --- a/Scripts/dat/Personal.fni +++ b/Scripts/dat/Personal.fni @@ -1,4 +1,4 @@ Graphics.Renderer.Setyon 10000 -Graphics.Renderer.Fog.SetDefLinear 1 900 2 +Graphics.Renderer.Fog.SetDefLinear 1 1800 2 Graphics.Renderer.Fog.SetDefColor .4 .4 .5 -Graphics.Renderer.SetClearColor .4 .4 .5 \ No newline at end of file +Graphics.Renderer.SetClearColor .4 .4 .5