-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.inc.php
100 lines (83 loc) · 2.51 KB
/
stats.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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* MyShelfie implementation : © Pietro Luigi Porcedda [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.
* -----
*/
$stats_type = array(
// Statistics global to table
"table" => array(
"turns_number" => [
"id"=> 10,
"name" => totranslate("Number of turns"),
"type" => "int"
],
"green_drawn" => [
"id"=> 11,
"name" => totranslate("Cats (green) tiles drawn"),
"type" => "int"
],
"white_drawn" => [
"id"=> 12,
"name" => totranslate("Books (white) tiles drawn"),
"type" => "int"
],
"orange_drawn" => [
"id"=> 13,
"name" => totranslate("Games (orange) tiles drawn"),
"type" => "int"
],
"blue_drawn" => [
"id"=> 14,
"name" => totranslate("Frames (blue) tiles drawn"),
"type" => "int"
],
"cyan_drawn" => [
"id"=> 15,
"name" => totranslate("Trophies (cyan) tiles drawn"),
"type" => "int"
],
"fuchsia_drawn" => [
"id"=> 16,
"name" => totranslate("Plants (fuchsia) tiles drawn"),
"type" => "int"
],
),
// Statistics existing for each player
"player" => array(
"points_common_goals" => [
"id"=> 20,
"name" => totranslate("Common goals points"),
"type" => "int"
],
"points_personal_goal" => [
"id"=> 21,
"name" => totranslate("Personal goal points"),
"type" => "int"
],
"points_tiles_groups" => [
"id"=> 22,
"name" => totranslate("Tile groups points"),
"type" => "int"
],
"favourite_color" => [
"id"=> 23,
"name" => totranslate("Favourite Item"),
"type" => "int"
],
),
"value_labels" => array(
23 => array(
0 => clienttranslate("Cats (green)"),
1 => clienttranslate("Books (white)"),
2 => clienttranslate("Games (orange)"),
3 => clienttranslate("Frames (blue)"),
4 => clienttranslate("Trophies (cyan)"),
5 => clienttranslate("Plants (fuchsia)")
),
)
);