Warning, /frameworks/syntax-highlighting/autotests/input/highlight.rpy is written in an unsupported language. File is not indexed.
0001 # Declare characters used by this game. 0002 define s = Character(None, kind=nvl, what_prefix="\"", what_suffix="\"", what_color="#c8ffc8") 0003 define m = Character(_("Me"), color="#c8c8ff") 0004 0005 define menu = nvl_menu 0006 default book = False 0007 0008 # The game starts here. 0009 label start: 0010 # Start by playing some music. 0011 play music "illurock.opus" 0012 0013 scene bg lecturehall 0014 with fade 0015 0016 window show 0017 0018 "bla bla\n" 0019 "bla {b}bla{/b}" 0020 0021 window hide 0022 nvl clear 0023 0024 scene bg uni 0025 with fade 0026 window show 0027 0028 show sylvie green normal 0029 with dissolve 0030 window show 0031 0032 menu: 0033 "To ask her later.": 0034 jump later 0035 0036 0037 label rightaway: 0038 nvl clear 0039 show sylvie green smile 0040 m """bla..." 0041 "bla bla bla.""" 0042 0043 label start: 0044 0045 python: 0046 player_health = max(player_health - damage, 0) 0047 f = lambda x: print(x) 0048 0049 label start: 0050 $ flag = True 0051 $ romance_points += 1 0052 $ f = lambda x: print(x) 0053 0054 init 1 python: 0055 # The bad ending is always unlocked. 0056 persistent.endings.add("bad_ending") 0057 0058 f = lambda x: print(x) 0059 0060 label start: