From 74b0ec71b9beb87cca1b3475bb22451538d1fff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= Date: Thu, 5 Sep 2019 12:36:53 -0300 Subject: [PATCH] quests, data: Remove test quests And strings for these quests in the catalog. https://phabricator.endlessm.com/T27707 --- data/quests_strings/tests.csv | 16 ----------- eosclubhouse/quests/hack2/testa1.py | 42 ----------------------------- eosclubhouse/quests/hack2/testa2.py | 19 ------------- eosclubhouse/quests/hack2/testa3.py | 20 -------------- eosclubhouse/quests/hack2/testb1.py | 20 -------------- eosclubhouse/quests/hack2/testb2.py | 19 ------------- 6 files changed, 136 deletions(-) delete mode 100644 data/quests_strings/tests.csv delete mode 100644 eosclubhouse/quests/hack2/testa1.py delete mode 100644 eosclubhouse/quests/hack2/testa2.py delete mode 100644 eosclubhouse/quests/hack2/testa3.py delete mode 100644 eosclubhouse/quests/hack2/testb1.py delete mode 100644 eosclubhouse/quests/hack2/testb2.py diff --git a/data/quests_strings/tests.csv b/data/quests_strings/tests.csv deleted file mode 100644 index bcd8e19cf..000000000 --- a/data/quests_strings/tests.csv +++ /dev/null @@ -1,16 +0,0 @@ -TESTA1_NARRATIVE_A,"This is a *narrative* quest",,"hurray",, -TESTA1_NARRATIVE_B,"Oh I like _story telling_!","riley",,, -TESTA1_NARRATIVE_C,"OK, let me tell you a story",,,, -TESTA1_NARRATIVE_START,"Do you know the the story of the `good pipe`?",,,, -TESTA1_NARRATIVE_YES,"I didn't said yes, I said: Do you know the the story of the `good pipe`?",,,, -TESTA1_NARRATIVE_NO,"I didn't said no, I said: Do you know the the story of the `good pipe`?",,,, -TESTA1_END,"OK, let me know when you are ready for a story!",,,, -TESTA2_BEGIN,"Hello again! Try hacking this Game",,,, -TESTA2_END,"Nice hack again!",,,, -TESTA3_BEGIN,"Hello, check this Game one more time!",,,, -TESTA3_END,"Nice hack more time!",,,, -TESTB1_QUESTION,"Hi, want a mission?","saniel",,, -TESTB1_BEGIN,"Here is a Web challenge",,,, -TESTB1_END,"You did it!",,,, -TESTB2_BEGIN,"Here is a Web challenge again!",,,, -TESTB2_END,"You did it again!",,,, diff --git a/eosclubhouse/quests/hack2/testa1.py b/eosclubhouse/quests/hack2/testa1.py deleted file mode 100644 index 46c97c59d..000000000 --- a/eosclubhouse/quests/hack2/testa1.py +++ /dev/null @@ -1,42 +0,0 @@ -from eosclubhouse.libquest import Quest -from eosclubhouse.system import Sound - - -class TestA1(Quest): - - __quest_name__ = 'Game Quest #1' - __tags__ = ['mission:ada', 'pathway:games', 'difficulty:normal'] - __mission_order__ = 100 - __pathway_order__ = 100 - __is_narrative__ = True - - def step_begin(self): - self.show_message('NARRATIVE_A', narrative=True) - self.pause(3) - self.show_message('NARRATIVE_B', narrative=True) - self.pause(3) - self.dismiss_message(narrative=True) - self.pause(1) - # @todo: Check why the button isn't displayed the first time, - # allocation issues. - # self.wait_confirm('NARRATIVE_C', narrative=True, confirm_label='Next') - return self.step_again(first_try=True) - - def step_again(self, first_try=False, said_yes=False): - if first_try: - message_id = 'NARRATIVE_START' - else: - message_id = 'NARRATIVE_YES' if said_yes else 'NARRATIVE_NO' - self.show_message(message_id, narrative=True, - choices=[ - ('Yes', self.step_again, False, True), - ('No', self.step_again, False, False), - ('Bye', self.step_end), - ]) - - def step_end(self): - self.dismiss_message(narrative=True) - self.complete = True - self.available = False - self.show_message('END', choices=[('Bye', self.stop)]) - Sound.play('quests/quest-complete') diff --git a/eosclubhouse/quests/hack2/testa2.py b/eosclubhouse/quests/hack2/testa2.py deleted file mode 100644 index a79c028f3..000000000 --- a/eosclubhouse/quests/hack2/testa2.py +++ /dev/null @@ -1,19 +0,0 @@ -from eosclubhouse.libquest import Quest -from eosclubhouse.system import Sound - - -class TestA2(Quest): - - __quest_name__ = 'Game Quest #2' - __tags__ = ['pathway:games', 'difficulty:hard'] - __pathway_order__ = 200 - - def step_begin(self): - self.wait_confirm('BEGIN') - return self.step_end - - def step_end(self): - self.complete = True - self.available = False - self.show_message('END', choices=[('Bye', self.stop)]) - Sound.play('quests/quest-complete') diff --git a/eosclubhouse/quests/hack2/testa3.py b/eosclubhouse/quests/hack2/testa3.py deleted file mode 100644 index b3601c0d9..000000000 --- a/eosclubhouse/quests/hack2/testa3.py +++ /dev/null @@ -1,20 +0,0 @@ -from eosclubhouse.libquest import Quest -from eosclubhouse.system import Sound - - -class TestA3(Quest): - - __quest_name__ = 'Game Quest #3' - __tags__ = ['mission:ada', 'pathway:games', 'difficulty:normal'] - __mission_order__ = 200 - __pathway_order__ = 300 - - def step_begin(self): - self.wait_confirm('BEGIN') - return self.step_end - - def step_end(self): - self.complete = True - self.available = False - self.show_message('END', choices=[('Bye', self.stop)]) - Sound.play('quests/quest-complete') diff --git a/eosclubhouse/quests/hack2/testb1.py b/eosclubhouse/quests/hack2/testb1.py deleted file mode 100644 index bd5eabf46..000000000 --- a/eosclubhouse/quests/hack2/testb1.py +++ /dev/null @@ -1,20 +0,0 @@ -from eosclubhouse.libquest import Quest -from eosclubhouse.system import Sound - - -class TestB1(Quest): - - __quest_name__ = 'Web Quest #1' - __tags__ = ['mission:saniel', 'pathway:web'] - __mission_order__ = 100 - __pathway_order__ = 100 - - def step_begin(self): - self.wait_confirm('BEGIN') - return self.step_end - - def step_end(self): - self.complete = True - self.available = False - self.show_message('END', choices=[('Bye', self.stop)]) - Sound.play('quests/quest-complete') diff --git a/eosclubhouse/quests/hack2/testb2.py b/eosclubhouse/quests/hack2/testb2.py deleted file mode 100644 index 6c72fc722..000000000 --- a/eosclubhouse/quests/hack2/testb2.py +++ /dev/null @@ -1,19 +0,0 @@ -from eosclubhouse.libquest import Quest -from eosclubhouse.system import Sound - - -class TestB2(Quest): - - __quest_name__ = 'Web Quest #2' - __tags__ = ['pathway:web'] - __pathway_order__ = 200 - - def step_begin(self): - self.wait_confirm('BEGIN') - return self.step_end - - def step_end(self): - self.complete = True - self.available = False - self.show_message('END', choices=[('Bye', self.stop)]) - Sound.play('quests/quest-complete')