Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/highlight.rpy
- This file was added.
1 | # Declare characters used by this game. | ||||
---|---|---|---|---|---|
2 | define s = Character(None, kind=nvl, what_prefix="\"", what_suffix="\"", what_color="#c8ffc8") | ||||
3 | define m = Character(_("Me"), color="#c8c8ff") | ||||
4 | | ||||
5 | define menu = nvl_menu | ||||
6 | default book = False | ||||
7 | | ||||
8 | # The game starts here. | ||||
9 | label start: | ||||
10 | # Start by playing some music. | ||||
11 | play music "illurock.opus" | ||||
12 | | ||||
13 | scene bg lecturehall | ||||
14 | with fade | ||||
15 | | ||||
16 | window show | ||||
17 | | ||||
18 | "bla bla\n" | ||||
19 | "bla {b}bla{/b}" | ||||
20 | | ||||
21 | window hide | ||||
22 | nvl clear | ||||
23 | | ||||
24 | scene bg uni | ||||
25 | with fade | ||||
26 | window show | ||||
27 | | ||||
28 | show sylvie green normal | ||||
29 | with dissolve | ||||
30 | window show | ||||
31 | | ||||
32 | menu: | ||||
33 | "To ask her later.": | ||||
34 | jump later | ||||
35 | | ||||
36 | | ||||
37 | label rightaway: | ||||
38 | nvl clear | ||||
39 | show sylvie green smile | ||||
40 | m """bla..." | ||||
41 | "bla bla bla.""" | ||||
42 | | ||||
43 | label start: | ||||
44 | | ||||
45 | python: | ||||
46 | player_health = max(player_health - damage, 0) | ||||
47 | f = lambda x: print(x) | ||||
48 | | ||||
49 | label start: | ||||
50 | $ flag = True | ||||
51 | $ romance_points += 1 | ||||
52 | $ f = lambda x: print(x) | ||||
53 | | ||||
54 | init 1 python: | ||||
55 | # The bad ending is always unlocked. | ||||
56 | persistent.endings.add("bad_ending") | ||||
57 | | ||||
58 | f = lambda x: print(x) | ||||
59 | | ||||
60 | label start: |