-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexternals.ink
49 lines (33 loc) · 1.01 KB
/
externals.ink
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Has Josh call the player
EXTERNAL call()
// True if the player answered the last call, or false if they declined/let it ring out
EXTERNAL call_return()
// Wait t seconds to continue
EXTERNAL delay(t)
// Josh hangs up the phone
// TODO: Implement game-side
EXTERNAL hangup()
// Enables the block feature
EXTERNAL enable_block()
// Starts the happy messages
EXTERNAL start_messages()
// Helps decide the next random topic
EXTERNAL decide_topic(wedding_stage, health_stage, tractor_stage, last_topic_index)
EXTERNAL get_message(from, message)
// Fallback functions (for when running outside of game)
== function call() ==
~ return
== function delay(t) ==
~ return
== function call_return() ==
~ return 0
== function hangup() ==
~ return
== function enable_block() ==
~ return
== function start_messages() ==
~ return
== function decide_topic(wedding_stage, health_stage, tractor_stage, last_topic_index) ==
~ return 0
== function get_message(from, message) ==
~ return