Files
RedBear-OS/local/recipes/kde/kf6-syntaxhighlighting/source/autotests/folding/highlight.rpy.fold
T

61 lines
1.7 KiB
Plaintext

<indentfold># Declare characters used by this game.
define s = Character<beginfold id='1'>(</beginfold id='1'>None, kind=nvl, what_prefix="\"", what_suffix="\"", what_color="#c8ffc8"<endfold id='1'>)</endfold id='1'>
define m = Character<beginfold id='1'>(</beginfold id='1'>_<beginfold id='1'>(</beginfold id='1'>"Me"<endfold id='1'>)</endfold id='1'>, color="#c8c8ff"<endfold id='1'>)</endfold id='1'>
define menu = nvl_menu
default book = False
# The game starts here.
label start:
# Start by playing some music.
play music "illurock.opus"
scene bg lecturehall
with fade
window show
"bla bla\n"
"bla {b}bla{/b}"
window hide
nvl clear
scene bg uni
with fade
window show
show sylvie green normal
with dissolve
window show
menu:
"To ask her later.":
jump later
label rightaway:
nvl clear
show sylvie green smile
m <beginfold id='2'>"""</beginfold id='2'>bla..."
"bla bla bla.<endfold id='2'>"""</endfold id='2'>
label start:
python:
player_health = max<beginfold id='3'>(</beginfold id='3'>player_health - damage, 0<endfold id='3'>)</endfold id='3'>
f = lambda x: print<beginfold id='3'>(</beginfold id='3'>x<endfold id='3'>)</endfold id='3'>
label start:
$ flag = True
$ romance_points += 1
$ f = lambda x: print<beginfold id='3'>(</beginfold id='3'>x<endfold id='3'>)</endfold id='3'>
init 1 python:
# The bad ending is always unlocked.
persistent.endings.add<beginfold id='3'>(</beginfold id='3'>"bad_ending"<endfold id='3'>)</endfold id='3'>
f = lambda x: print<beginfold id='3'>(</beginfold id='3'>x<endfold id='3'>)</endfold id='3'>
label start: