-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameoptions.inc.php
96 lines (85 loc) · 3.74 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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <gisabelli@boardgamearena.com> & Emmanuel Colin <ecolin@boardgamearena.com>
* Perikles implementation : © <David Edelstein> <david.edelstein@gmail.com>
*
* 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
*
* Perikles 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 perikles.game.php)
*
* !! It is not a good idea to modify this file when a game is running !!
*
*/
$game_options = array(
/*
// note: game variant ID should start at 100 (ie: 100, 101, 102, ...). The maximum is 199.
100 => array(
'name' => totranslate('my game option'),
'values' => array(
// A simple value for this option:
1 => array( 'name' => totranslate('option 1') )
// A simple value for this option.
// If this value is chosen, the value of "tmdisplay" is displayed in the game lobby
2 => array( 'name' => totranslate('option 2'), 'tmdisplay' => totranslate('option 2') ),
// Another value, with other options:
// description => this text will be displayed underneath the option when this value is selected to explain what it does
// beta=true => this option is in beta version right now (there will be a warning)
// alpha=true => this option is in alpha version right now (there will be a warning, and starting the game will be allowed only in training mode except for the developer)
// nobeginner=true => this option is not recommended for beginners
// firstgameonly=true => this option is recommended only for the first game (discovery option)
3 => array( 'name' => totranslate('option 3'), 'description' => totranslate('this option does X'), 'beta' => true, 'nobeginner' => true )
),
'default' => 1
),
*/
);
$game_preferences = array(
100 => array(
'name' => totranslate('Special Tile: Automatically pass'),
'needReload' => false,
'values' => array(
1 => array( 'name' => totranslate( "Yes" )),
0 => array( 'name' => totranslate( "No" )),
),
'default' => 0
),
101 => array(
'name' => totranslate('Game log: Font size'),
'needReload' => false,
'values' => array(
0 => array( 'name' => totranslate( "Normal" )),
1 => array( 'name' => totranslate( "Large" )),
),
'default' => 0
),
102 => array(
'name' => totranslate('Confirmation dialogs'),
'needReload' => false,
'values' => array(
0 => array( 'name' => totranslate('No')),
1 => array( 'name' => totranslate('Yes')),
),
'default' => 0
),
103 => array(
'name' => totranslate('Colorblind-friendly'),
'needReload' => true,
'values' => array(
0 => array( 'name' => totranslate('No'), 'tmdisplay' => totranslate('Default colors')),
1 => array( 'name' => totranslate('Yes'), 'tmdisplay' => totranslate('Colorblind-friendly colors')),
),
'default' => 0
)
);