Remove lock_scores logic and point-increasing functions

This commit is contained in:
Iggy 2024-08-29 18:07:30 -03:00
parent 76e61ee78e
commit 908d8f62f7
10 changed files with 11 additions and 29 deletions

View file

@ -15,7 +15,6 @@ define ending_routes = {
default anonscore = 0 default anonscore = 0
default fangscore = 0 default fangscore = 0
default wingStory = False default wingStory = False
default lock_scores = False # Allows points to be increased
# Chapter variables # Chapter variables
default chapter_list_length = get_chapter_list_length() default chapter_list_length = get_chapter_list_length()

View file

@ -1688,7 +1688,7 @@ label chapter_3:
label GuitarQuestionSpeakUp: label GuitarQuestionSpeakUp:
$ increase_fang_points() $ fangscore += 1
"Fang does seem very passionate about playing guitar." "Fang does seem very passionate about playing guitar."

View file

@ -654,7 +654,7 @@ label chapter_4:
label lHeads: label lHeads:
$ increase_fang_points() $ fangscore += 1
"Guess thats that." "Guess thats that."

View file

@ -1193,7 +1193,7 @@ label chapter_5:
label lbeHonest: label lbeHonest:
$ increase_anon_points() $ anonscore += 1
"I guess honesty is the best policy." "I guess honesty is the best policy."
window hide window hide
@ -3584,8 +3584,8 @@ label chapter_5:
if _value != "Snot": if _value != "Snot":
renpy.jump(_value+chr(0x61+_tick)) renpy.jump(_value+chr(0x61+_tick))
$ increase_fang_points() $ fangscore += 1
$ increase_anon_points() $ anonscore += 1
$ wingStory = True $ wingStory = True
A "{cps=*.1}...{/cps}" A "{cps=*.1}...{/cps}"

View file

@ -1918,7 +1918,7 @@ label chapter_6:
label lAnonWaitsForFang: label lAnonWaitsForFang:
$ increase_anon_points() $ anonscore += 1
"{cps=*.1}...{/cps}No." "{cps=*.1}...{/cps}No."
@ -2308,7 +2308,7 @@ label chapter_6:
label lAskFang: label lAskFang:
$ increase_fang_points() $ fangscore += 1
A "Dont worry about it." A "Dont worry about it."
pause .5 pause .5

View file

@ -477,7 +477,7 @@ label chapter_7:
renpy.jump(renpy.display_menu(randomize_choices(choices))) renpy.jump(renpy.display_menu(randomize_choices(choices)))
label LeaveStageAsIs: label LeaveStageAsIs:
$ increase_anon_points() $ anonscore += 1
pause .5 pause .5
"Reed may not understand cable management,{w=.4} but then again neither did I." "Reed may not understand cable management,{w=.4} but then again neither did I."

View file

@ -630,7 +630,7 @@ label chapter_8:
label lLetFangPlayGuit: label lLetFangPlayGuit:
$ increase_fang_points() $ fangscore += 1
pause .5 pause .5

View file

@ -1297,7 +1297,7 @@ label chapter_9:
jump lGoHomeEarly jump lGoHomeEarly
label lWaitForTrishToExit: label lWaitForTrishToExit:
$ increase_anon_points() $ anonscore += 1
#play music 'audio/OST/fighter.ogg' fadein 1.0 #play music 'audio/OST/fighter.ogg' fadein 1.0
A "You worried about her, too?" A "You worried about her, too?"

View file

@ -51,13 +51,10 @@ init python:
def set_stats(): def set_stats():
global chapter_list_length, ending_route_number, is_end_reached, lock_scores global chapter_list_length, ending_route_number, is_end_reached
# chapter_list_length = get_chapter_list_length()
ending_route_number = get_ending() ending_route_number = get_ending()
lock_scores = True # Prevents scores from increasing when using the chapter selection tool
find_chapter_in_array() find_chapter_in_array()
if not is_end_reached: if not is_end_reached:

View file

@ -30,20 +30,6 @@ init python:
renpy.unwatch(item) renpy.unwatch(item)
def increase_anon_points():
global anonscore, lock_scores
if not lock_scores:
anonscore += 1
def increase_fang_points():
global fangscore, lock_scores
if not lock_scores:
fangscore += 1
def toggle_debug(): def toggle_debug():
if persistent.enable_debug_scores: if persistent.enable_debug_scores:
debug_story_variables(False) debug_story_variables(False)