mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +01:00
slightly better documentation for storyline.rpy
This commit is contained in:
parent
c8b5c68649
commit
e82064ef6b
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
init -1 python:
|
init python:
|
||||||
def ending_image():
|
def ending_image():
|
||||||
#0b0000, DCBA, flash the bits with |=, check with &
|
#0b0000, DCBA, flash the bits with |=, check with &
|
||||||
endings = 0b0000
|
endings = 0b0000
|
||||||
|
@ -10,8 +10,7 @@ init -1 python:
|
||||||
persistent.old_endings = persistent.endings
|
persistent.old_endings = persistent.endings
|
||||||
persistent.endings = endings
|
persistent.endings = endings
|
||||||
|
|
||||||
|
# Sequences through the chapter_list list with chapter_list_index as a pointer
|
||||||
init python:
|
|
||||||
def next_story_chapter():
|
def next_story_chapter():
|
||||||
global chapter_list_index, current_chapter, chapter_list, ending_route_number, chapter_list_length, ending_chapters_determined
|
global chapter_list_index, current_chapter, chapter_list, ending_route_number, chapter_list_length, ending_chapters_determined
|
||||||
|
|
||||||
|
@ -33,6 +32,7 @@ init python:
|
||||||
else:
|
else:
|
||||||
renpy.call("lending")
|
renpy.call("lending")
|
||||||
|
|
||||||
|
# Adds ending chapters to chapter_list and sets the ending number
|
||||||
def setup_ending(ending):
|
def setup_ending(ending):
|
||||||
global ending_route_number, chapter_list, chapter_list_length, ending_chapters_determined
|
global ending_route_number, chapter_list, chapter_list_length, ending_chapters_determined
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue