2024-09-01 22:12:31 +08:00
|
|
|
define bl = Character('凤梨', color="#fffec8")
|
2024-08-28 17:01:13 +08:00
|
|
|
define w = Character('我', color="#c8c8ff")
|
2024-09-01 22:12:31 +08:00
|
|
|
define zz = Character('竹笋', color="#c8ffc8")
|
2024-08-29 22:38:37 +08:00
|
|
|
define hr = Character('HR', color="#c8ffc8")
|
2024-08-28 17:01:13 +08:00
|
|
|
define rm2 = Character('舍友2', color="#ffc8c8")
|
|
|
|
define rm3 = Character('舍友3', color="#ffc8c8")
|
|
|
|
define rm4 = Character('舍友4', color="#ffc8c8")
|
|
|
|
define rm5 = Character('舍友5', color="#ffc8c8")
|
|
|
|
define rm6 = Character('舍友6', color="#ffc8c8")
|
|
|
|
|
2024-08-29 22:38:37 +08:00
|
|
|
default is_open_source_project = False
|
|
|
|
default open_source_switch_counter = 0
|
|
|
|
default bl_score = 0
|
2024-08-28 17:01:13 +08:00
|
|
|
|
2024-09-01 22:12:31 +08:00
|
|
|
init python:
|
|
|
|
def is_entering_branch_good() -> bool:
|
|
|
|
return bl_score >= 2
|
|
|
|
def is_entering_branch_normal() -> bool:
|
|
|
|
return bl_score > 0 and bl_score < 2
|
|
|
|
def is_entering_branch_bad() -> bool:
|
|
|
|
return bl_score < 0
|
|
|
|
|
2024-08-29 22:38:37 +08:00
|
|
|
label start:
|
|
|
|
call common_chapter_1 from ret_common_chapter_1
|
|
|
|
call common_chapter_2 from ret_common_chapter_2
|
2024-09-01 22:12:31 +08:00
|
|
|
call common_chapter_3 from ret_common_chapter_3
|
|
|
|
|
|
|
|
if is_entering_branch_bad():
|
|
|
|
call branch_bad_chapter_3 from ret_branch_bad_chapter_3
|
|
|
|
elif is_entering_branch_normal():
|
|
|
|
call branch_normal_chapter_3 from ret_branch_normal_chapter_3
|
|
|
|
else:
|
|
|
|
call branch_good_chapter_3 from ret_branch_good_chapter_3
|