-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameoptions.inc.php
95 lines (91 loc) · 3.55 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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <gisabelli@boardgamearena.com> & Emmanuel Colin <ecolin@boardgamearena.com>
* barenpark implementation : © Guillaume Benny bennygui@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
*
* barenpark game options description
*
*/
require_once('modules/php/BP/Globals.php');
$game_options = [
GAME_OPTION_ACHIEVEMENT_ID => [
'name' => totranslate('Use Achievements'),
'values' => [
GAME_OPTION_ACHIEVEMENT_VALUE_OFF => [
'name' => totranslate('Off'),
'tmdisplay' => totranslate('Do not use achievements'),
'description' => totranslate('Do not use achievements for a simpler game'),
],
GAME_OPTION_ACHIEVEMENT_VALUE_ON => [
'name' => totranslate('On'),
'tmdisplay' => totranslate('Use 3 random achievements'),
'description' => totranslate('Use 3 random achievements'),
'nobeginner' => true,
],
],
],
GAME_OPTION_SOUVENIRSHOP_ID => [
'name' => totranslate('Use Souvenir Shops Mini Expansion'),
'values' => [
GAME_OPTION_SOUVENIRSHOP_VALUE_OFF => [
'name' => totranslate('Off'),
'tmdisplay' => totranslate('Do not use souvenir shops'),
'description' => totranslate('Do not use souvenir shops mini expansion'),
],
GAME_OPTION_SOUVENIRSHOP_VALUE_ON => [
'name' => totranslate('On'),
'tmdisplay' => totranslate('Use souvenir shops'),
'description' => totranslate('Use souvenir shops'),
'nobeginner' => true,
],
],
],
GAME_OPTION_VARIANT_PIT_ID => [
'name' => totranslate('Pit Variant'),
'values' => [
GAME_OPTION_VARIANT_PIT_VALUE_OFF => [
'name' => totranslate('Off'),
'tmdisplay' => totranslate('Do not use the Pit Variant'),
'description' => totranslate('Do not use the Pit Variant'),
],
GAME_OPTION_VARIANT_PIT_VALUE_ON => [
'name' => totranslate('On'),
'tmdisplay' => totranslate('Use the Pit Variant for experts'),
'description' => totranslate('Use the Pit Variant for experts'),
'nobeginner' => true,
],
],
],
GAME_OPTION_HIDE_SCORE_ID => [
'name' => totranslate('Hide score'),
'values' => [
GAME_OPTION_HIDE_SCORE_VALUE_SHOW => [
'name' => totranslate('Show'),
'tmdisplay' => totranslate('Show score in game'),
'description' => totranslate('Show score in game'),
],
GAME_OPTION_HIDE_SCORE_VALUE_HIDE => [
'name' => totranslate('Hide'),
'tmdisplay' => totranslate('Hide score in game'),
'description' => totranslate('Hide score in game'),
],
],
],
];
$game_preferences = [
USER_PREF_MODE_WARNING_ID => [
'name' => totranslate('Warn for Try and Prepare Mode'),
'values' => [
USER_PREF_MODE_WARNING_VALUE_ENABLED => ['name' => totranslate('Enabled')],
USER_PREF_MODE_WARNING_VALUE_DISABLED => ['name' => totranslate('Disabled')],
],
'default' => USER_PREF_MODE_WARNING_VALUE_ENABLED,
],
];