summaryrefslogtreecommitdiff
path: root/api.txt
blob: eff997e411fc31bb304ed62354ead7780cc91518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
== imachine{,_replay} api ==
label * -> function
jump_out -> seen_scenes & call
call -> call
seen_scene(scene) -> return label in seen_scenes
int attraction_*
path_end(chr, is_good)
iscene(name, is_h, is_end) -> promise
✓ act_op(movie) -> promise
imenu(choice) -> promise

== script api ==
chars: in ui_settings.rpy
  e.g. his(text) -> promise
with(transition, action) -> promise
play(stream, name, fade)
stream: sound,music,ambient

== prefs ==
h-scenes (tied to shrinkwrap)
fullscreen?
webp (default on chrome/opera, off on others or webpjs)
text speed
auto delay
music/sfx vol
skip unread
skip after choice

== context menu ==
show image, scrollback, skip, auto, options

== save/load ==
passive: seen_scenes
active: track attraction