-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameoptions.inc.php
189 lines (180 loc) · 6.98 KB
/
gameoptions.inc.php
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?php
/**
*------
* BGA framework: © Gregory Isabelli <gisabelli@boardgamearena.com> & Emmanuel Colin <ecolin@boardgamearena.com>
* Now Boarding implementation : © quietmint
*
* This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
* See http://en.boardgamearena.com/#!doc/Studio for more information.
* -----
*/
require_once 'modules/constants.inc.php';
$game_options = [
N_OPTION_TIMER => [
'name' => totranslate('Flight Phase Timer'),
'default' => 2,
'notdisplayedmessage' => totranslate('Off'),
'values' => [
1 => [
'name' => totranslate('On'),
'description' => totranslate("The flight phase lasts 30 - 45 seconds (depending on player count) and time is STRICTLY ENFORCED"),
'tmdisplay' => totranslate('Flight Phase Timer On'),
],
2 => [
'name' => totranslate('Doubled'),
'description' => totranslate("The flight phase lasts 60 - 90 seconds (depending on player count) and time is STRICTLY ENFORCED [unofficial, easier]"),
'tmdisplay' => totranslate('Flight Phase Timer Doubled'),
],
0 => [
'name' => totranslate('Off'),
'description' => totranslate("The flight phase has no specific time limit [unofficial, easier]"),
'tmdisplay' => totranslate('Flight Phase Timer Off'),
],
],
'displaycondition' => [
[
'type' => 'otheroption',
'id' => N_BGA_CLOCK,
'value' => N_REF_BGA_CLOCK_REALTIME,
],
],
],
N_OPTION_VIP => [
'name' => totranslate('VIP Variant'),
'default' => 0,
'values' => [
0 => [
'name' => totranslate('Off'),
],
N_VIP_FOWERS => [
'name' => totranslate('Normal VIPs'),
'description' => totranslate('Some passengers will have normal complications (like "must board first" or "must fly alone")'),
'tmdisplay' => totranslate('Normal VIPs'),
'nobeginner' => true,
],
N_VIP_BGA => [
'name' => totranslate('BGA Community VIPs'),
'description' => totranslate('Some passengers will have crowdsourced complications (suggested by the BGA player community) [unofficial, harder]'),
'tmdisplay' => totranslate('BGA Community VIPs'),
'nobeginner' => true,
],
N_VIP_ALL => [
'name' => totranslate('Normal + BGA Community VIPs'),
'description' => totranslate('Some passengers will have normal or crowdsourced complications [unofficial, harder]'),
'tmdisplay' => totranslate('Normal + BGA Community VIPs'),
'nobeginner' => true,
],
],
],
N_OPTION_VIP_COUNT => [
'level' => 'additional',
'name' => totranslate('VIP Count'),
'default' => 1,
'values' => [
1 => [
'name' => totranslate('Normal'),
'description' => totranslate('4/5/6/7 VIPs, depending on player count'),
],
N_VIP_INCREASE => [
'name' => totranslate('Increased'),
'description' => totranslate('6/7/8/9 VIPs, depending on player count [unofficial, harder]'),
'tmdisplay' => totranslate('VIP Count Increased'),
],
N_VIP_DOUBLE => [
'name' => totranslate('Doubled'),
'description' => totranslate('8/10/12/13 VIPs, depending on player count [unofficial, harder]'),
'tmdisplay' => totranslate('VIP Count Doubled'),
],
],
'displaycondition' => [
[
'type' => 'otheroptionisnot',
'id' => N_OPTION_VIP,
'value' => 0,
],
],
],
N_OPTION_MAP => [
'level' => 'additional',
'name' => totranslate('Map Size'),
'default' => 0,
'values' => [
0 => [
'name' => totranslate('Normal'),
],
N_MAP_JFK => [
'name' => totranslate('Add JFK (2 players)'),
'description' => totranslate('Play with additional airports intended for more players [unofficial, harder]'),
'tmdisplay' => totranslate('Add JFK (2 players)'),
'nobeginner' => true,
],
N_MAP_SEA => [
'name' => totranslate('Add JFK and SEA (2-3 players)'),
'description' => totranslate('Play with additional airports intended for more players [unofficial, harder]'),
'tmdisplay' => totranslate('Add JFK and SEA (2-3 players)'),
'nobeginner' => true,
],
],
'displaycondition' => [
[
'type' => 'maxplayers',
'value' => [2, 3],
],
],
],
N_OPTION_UPGRADE => [
'level' => 'additional',
'name' => totranslate('Starting Upgrade'),
'default' => 0,
'values' => [
0 => [
'name' => totranslate('Normal'),
],
N_UPGRADE_SEAT => [
'name' => totranslate('Seat'),
'description' => totranslate('Start with 2 seats, 3 speed'),
'tmdisplay' => totranslate('Start With Seat Upgrade'),
'nobeginner' => true,
],
N_UPGRADE_SPEED => [
'name' => totranslate('Speed'),
'description' => totranslate('Start with 1 seat, 4 speed'),
'tmdisplay' => totranslate('Start With Speed Upgrade'),
'nobeginner' => true,
],
N_UPGRADE_BOTH => [
'name' => totranslate('Both'),
'description' => totranslate('Start with 2 seats, 4 speed [unofficial, easier]'),
'tmdisplay' => totranslate('Start With Both Upgrades'),
'nobeginner' => true,
],
],
],
N_OPTION_ANGER => [
'level' => 'additional',
'name' => totranslate('Anger'),
'default' => 0,
'values' => [
0 => [
'name' => totranslate('Normal'),
],
1 => [
'name' => totranslate('Increased'),
'description' => totranslate('Passengers start with 1 anger [unofficial, harder]'),
'tmdisplay' => totranslate('Anger Increased'),
'nobeginner' => true,
],
],
]
];
$game_preferences = [
N_PREF_ANIMATION => [
'name' => totranslate('Animation'),
'needReload' => false,
'values' => [
0 => ['name' => totranslate('Enabled')],
1 => ['name' => totranslate('Enabled except airport pinging')],
2 => ['name' => totranslate('Disabled')],
],
],
];