forked from jpeterbaker/bga_homeworlds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameoptions.inc.php
63 lines (58 loc) · 1.79 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
<?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
)
);