-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameoptions.inc.php
179 lines (159 loc) · 5.02 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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <gisabelli@boardgamearena.com> & Emmanuel Colin <ecolin@boardgamearena.com>
* Azul implementation : © <Your name here> <Your email address here>
*
* 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.
* -----
*
* gameoptions.inc.php
*
* Azul game options description
*
* In this file, you can define your game options (= game variants).
*
* Note: If your game has no variant, you don't have to modify this file.
*
* Note²: All options defined in this file should have a corresponding "game state labels"
* with the same ID (see "initGameStateLabels" in azul.game.php)
*
* !! It is not a good idea to modify this file when a game is running !!
*
*/
$game_options = [
// note: game variant ID should start at 100 (ie: 100, 101, 102, ...). The maximum is 199.
100 => [
'name' => totranslate('Variant option'),
'values' => [
1 => [
'name' => totranslate('Disabled'),
'description' => totranslate('Colored wall face'),
],
2 => [
'name' => totranslate('Enabled'),
'description' => totranslate('Grayed wall face'),
'tmdisplay' => totranslate('Variant option (gray wall)'),
'nobeginner' => true
]
],
'default' => 1,
],
110 => [
'name' => totranslate('Special Factories (Azul Master Chocolatier variant)'),
'values' => [
1 => [
'name' => totranslate('Disabled'),
],
2 => [
'name' => totranslate('Enabled'),
'description' => totranslate('Random special factories are placed in the game'),
'tmdisplay' => totranslate('Special Factories'),
'nobeginner' => true,
]
],
'default' => 1,
],
102 => [
'name' => totranslate('Fast scoring'),
'values' => [
1 => [
'name' => totranslate('Enabled'),
'tmdisplay' => totranslate('Fast scoring'),
],
2 => [
'name' => totranslate('Disabled'),
]
],
'default' => 2
],
];
$game_preferences = [
101 => [
'name' => totranslate('Allow Undo/confirm'),
'needReload' => false,
'values' => [
1 => [
'name' => totranslate('Enabled'),
],
2 => [
'name' => totranslate('Disabled'),
]
],
'default' => 1
],
210 => [
'name' => totranslate('Azul Master Chocolatier skin'),
'needReload' => false,
'values' => [
1 => [ 'name' => totranslate('Enabled')],
2 => [ 'name' => totranslate('Disabled')],
],
'default' => 2
],
201 => [
'name' => totranslate('Tile shimmer'),
'needReload' => false,
'values' => [
1 => [ 'name' => totranslate('Enabled')],
2 => [ 'name' => totranslate('Disabled')],
],
'default' => 1
],
202 => [
'name' => totranslate('Dark background'),
'needReload' => false,
'values' => [
1 => [ 'name' => totranslate('Disabled')],
2 => [ 'name' => totranslate('Enabled')],
],
'default' => 1
],
203 => [
'name' => totranslate('Add pattern for red tile (color-blind help)'),
'needReload' => false,
'values' => [
1 => [ 'name' => totranslate('Enabled')],
2 => [ 'name' => totranslate('Disabled')],
],
'default' => 2
],
204 => [
'name' => totranslate('Countdown timer for confirm button'),
'needReload' => false,
'values' => [
1 => ['name' => totranslate('Enabled')],
2 => ['name' => totranslate('Disabled')],
],
'default' => 1
],
205 => [
'name' => totranslate('Display tile count in factory center'),
'needReload' => false,
'values' => [
1 => ['name' => totranslate('Enabled')],
2 => ['name' => totranslate('Disabled')],
],
'default' => 1
],
206 => [
'name' => totranslate('Font style for player names'),
'needReload' => false,
'values' => [
1 => [ 'name' => totranslate( 'Default font' )],
2 => [ 'name' => totranslate( 'Azul font' )],
],
'default' => 2
],
// 210 chocolatier
299 => [
'name' => '',
'needReload' => false,
'values' => [
1 => ['name' => totranslate('Enabled')],
2 => ['name' => totranslate('Disabled')],
],
'default' => 1
],
];