From c5ea9c9cb52756b7a9e6674fa1231b7aa2f39c62 Mon Sep 17 00:00:00 2001 From: Iggy Date: Thu, 22 Aug 2024 22:03:50 -0300 Subject: [PATCH] Move chapter related variables to new file --- game/chapter_variables.rpy | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 game/chapter_variables.rpy diff --git a/game/chapter_variables.rpy b/game/chapter_variables.rpy new file mode 100644 index 0000000..575db42 --- /dev/null +++ b/game/chapter_variables.rpy @@ -0,0 +1,27 @@ +# Store the general chapters inside an array for easy manipulation +default chapter_list = [ + "chapter_1", "chapter_2", "chapter_3", "chapter_4", "chapter_5", + "chapter_6", "chapter_7", "chapter_8", "chapter_9", "chapter_10", "chapter_11" +] + +define ending_routes = { + 4: ["chapter_11D", "chapter_12D", "chapter_12_5D", "chapter_13D", "chapter_14D"], + 3: ["chapter_11C", "chapter_12C", "chapter_12_5C", "chapter_13C", "chapter_14C"], + 2: ["chapter_11B", "chapter_12B", "chapter_13B", "chapter_14B"], + 1: ["chapter_11A", "chapter_12A", "chapter_12_5D", "chapter_13A", "chapter_14A"] +} + +# Anon/Fang +default anonscore = 0 +default fangscore = 0 +default wingStory = False +default lock_scores = False # Allows points to be increased + +# Chapter variables +default chapter_list_length = get_chapter_list_length() +default chapter_list_index = 0 # Index number for the current position of the chapter_list array +default current_chapter = chapter_list[chapter_list_index] # Store the name of the label as a string + +# Ending variables +default ending_route_number = None +default is_end_reached = False