forked from project-ethea/Invasion_from_the_Unknown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase-variables.cfg
More file actions
65 lines (56 loc) · 1.39 KB
/
Copy pathbase-variables.cfg
File metadata and controls
65 lines (56 loc) · 1.39 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#textdomain wesnoth-Invasion_from_the_Unknown
#define VARIABLE_FROM_STRLEN VAR_ID RVALUE
[set_variable]
name={VAR_ID}
string_length={RVALUE}
[/set_variable]
#enddef
#define VARIABLE_RANDOM VAR_ID RVALUE
[set_variable]
name={VAR_ID}
rand={RVALUE}
[/set_variable]
#enddef
#define VARIABLE_LEXICAL_EQUALS VAR_ID RVALUE
[variable]
name={VAR_ID}
equals={RVALUE}
[/variable]
#enddef
#define VARIABLE_LEXICAL_NOT_EQUALS VAR_ID RVALUE
[variable]
name={VAR_ID}
not_equals={RVALUE}
[/variable]
#enddef
#define VARIABLE_LEXICAL_CONTAINS VAR_ID RVALUE
[variable]
name={VAR_ID}
contains={RVALUE}
[/variable]
#enddef
#define VARIABLE_BOOLEAN_EQUALS VAR_ID RVALUE
[variable]
name={VAR_ID}
boolean_equals={RVALUE}
[/variable]
#enddef
#define VARIABLE_BOOLEAN_NOT_EQUALS VAR_ID RVALUE
[variable]
name={VAR_ID}
boolean_not_equals={RVALUE}
[/variable]
#enddef
#define VARIABLE_ARRAY_NOT_EMPTY VAR_ID
[variable]
name={VAR_ID}+".length"
numerical_not_equals=0
[/variable]
#enddef
#define BREAK VAR
# Macro to break out of a FOREACH loop.
# NOTE: the number used here is meant to be greater than or equa
# to game_config::max_loop!
{VARIABLE {VAR} 99999}
#enddef
# kate: indent-mode normal; encoding utf-8; space-indent on;