mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-25 03:14:51 +01:00
Move chapter related variables to new file
This commit is contained in:
parent
993824e152
commit
c5ea9c9cb5
1 changed files with 27 additions and 0 deletions
27
game/chapter_variables.rpy
Normal file
27
game/chapter_variables.rpy
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue