diff --git a/resources/ecs/main.ecs b/resources/ecs/main.ecs index 2f65aac..e384e54 100644 --- a/resources/ecs/main.ecs +++ b/resources/ecs/main.ecs @@ -31,6 +31,7 @@ module PhilosophyModule module ContactModule module LifeModule + module TechnicalModule module CurrentModule variable Script variable ButtonStyle @@ -116,6 +117,8 @@ BuildPage: run Script with ShowdownModule as ContactModule rest get Script from `/resources/ecs/life.ecs` run Script with ShowdownModule as LifeModule + rest get Script from `/resources/ecs/technical.ecs` + run Script with ShowdownModule as TechnicalModule alias CurrentModule to HomeModule send to HomeModule @@ -217,7 +220,12 @@ BuildPage: set the text of TechnicalButton to `Technical Overview` on click TechnicalButton begin - location `/technical.html` +! location `/technical.html` + gosub to DeselectAllButtons + set style `background` of TechnicalButton to `darkgray` + send `pause` to CurrentModule + alias CurrentModule to TechnicalModule + send to ContactModule end create ButtonItem in ButtonList @@ -270,4 +278,5 @@ DeselectAllButtons: set style `background` of ExamplesButton to `` set style `background` of AboutButton to `` set style `background` of PhilosophyButton to `` + set style `background` of ContactButton to `` return \ No newline at end of file