tgameoptions.inc.php - hadarawgs - Hadara adaptation for boardgamearena.com
(HTM) git clone git://git.z3bra.org/hadarawgs.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
tgameoptions.inc.php (1810B)
---
1 <?php
2
3 /**
4 *------
5 * BGA framework: © Gregory Isabelli <gisabelli@boardgamearena.com> & Emmanuel Colin <ecolin@boardgamearena.com>
6 * hadarawgs implementation : © Willy Goiffon <dev@z3bra.org>
7 *
8 * This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
9 * See http://en.boardgamearena.com/#!doc/Studio for more information.
10 * -----
11 *
12 * gameoptions.inc.php
13 *
14 * hadarawgs game options description
15 *
16 * In this file, you can define your game options (= game variants).
17 *
18 * Note: If your game has no variant, you don't have to modify this file.
19 *
20 * Note²: All options defined in this file should have a corresponding "game state labels"
21 * with the same ID (see "initGameStateLabels" in hadarawgs.game.php)
22 *
23 * !! It is not a good idea to modify this file when a game is running !!
24 *
25 */
26
27 $game_options = array(
28 /*
29 // note: game variant ID should start at 100 (ie: 100, 101, 102, ...). The maximum is 199.
30 100 => array(
31 'name' => totranslate('my game option'),
32 'values' => array(
33 // A simple value for this option:
34 1 => array( 'name' => totranslate('option 1') )
35
36 // A simple value for this option.
37 // If this value is chosen, the value of "tmdisplay" is displayed in the game lobby
38 2 => array( 'name' => totranslate('option 2'), 'tmdisplay' => totranslate('option 2') ),
39
40 // Another value, with other options:
41 // description => this text will be displayed underneath the option when this value is selected to explain what it does
42 // beta=true => this option is in beta version right now.
43 // nobeginner=true => this option is not recommended for beginners
44 3 => array( 'name' => totranslate('option 3'), 'description' => totranslate('this option does X'), 'beta' => true, 'nobeginner' => true )
45 )
46 )
47 */
48 );