-
Notifications
You must be signed in to change notification settings - Fork 1
/
gameoptions.inc.php
124 lines (119 loc) · 3.57 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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* Homeworlds implementation : © Jonathan Baker <[email protected]>
*
* 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
*
* Homeworlds 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 homeworlds.game.php)
*
* !! It is not a good idea to modify this file when a game is running !!
*
*/
$game_options = array(
101 => array(
'name' => totranslate('Star names'),
'values' => array(
1 => array(
'name' => totranslate('Nonsense star names')
),
2 => array(
'name' => totranslate('Real-world star names')
),
3 => array(
'name' => totranslate('World names from popular fiction')
)
)
)
);
$game_preferences = array(
102 => array(
'name' => totranslate('Colorblind mode'),
// You wouldn't think so, but the cssPref class only gets applied on page load
'needReload' => true,
'values' => array(
0 => array(
'name' => totranslate('Off'),
'cssPref' => 'colorblind_off'
),
1 => array(
'name' => totranslate('On'),
'cssPref' => 'colorblind_on'
)
),
'default' => 0
),
105 => array(
'name' => totranslate('Background'),
// You wouldn't think so, but the cssPref class only gets applied on page load
'needReload' => true,
'values' => array(
1 => array(
'name' => totranslate('Stars'),
'cssPref' => 'hw_bg_stars'
),
0 => array(
'name' => totranslate('BGA default'),
'cssPref' => 'hw_bg_default'
),
),
'default' => 1
),
103 => array(
'name' => totranslate('Power selection method'),
// You wouldn't think so, but the cssPref class only gets applied on page load
'needReload' => true,
'values' => array(
1 => array(
'name' => totranslate('Buttons or pieces'),
'cssPref' => 'power_buttons_on'
),
0 => array(
'name' => totranslate('Pieces only'),
'cssPref' => 'power_buttons_off'
),
),
'default' => 1
),
106 => array(
'name' => totranslate('One-click captures'),
'needReload' => true,
'values' => array(
0 => array(
'name' => totranslate('Off'),
),
1 => array(
'name' => totranslate('On'),
),
),
'default' => 0
),
104 => array(
'name' => totranslate('Power reference labels'),
// You wouldn't think so, but the cssPref class only gets applied on page load
'needReload' => true,
'values' => array(
0 => array(
'name' => totranslate('Off'),
'cssPref' => 'legend_off'
),
1 => array(
'name' => totranslate('On'),
'cssPref' => 'legend_on'
),
),
'default' => 1
)
);