-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.lua
More file actions
108 lines (100 loc) · 1.99 KB
/
script.lua
File metadata and controls
108 lines (100 loc) · 1.99 KB
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
101
102
103
104
105
106
107
108
-- script.lua
--printMessage_const("You can call C++ functions from Lua!")
sumNumbers = function(a,b)
--printMessage_const("You can still call C++ functions from Lua functions!")
return a + b
end
--Obj = ObjectManager()
--P = Obj:GetTest("test_object")
--var = P:GetTest("test_player")
--printMessage_const(var)
print(temp.t_ob.pt)
temp.t_ob.pt = "to C"
print(temp.t_ob.pt)
table1 = {
value = 42,
name = "автостопом по галактике",
table_inside = {
author = "bla bla",
date = 1999,
},
}
var =
{
boards =
{
wordboard
},
decks =
{
gamecards =
{
{
{
back = "1",
face = "2",
props = {}
},
{
back = "1",
face = "2",
props = {}
},
{
back = "1",
face = "2",
props = {}
},
},
},
},
cardholders =
{
picholder,
numholder
},
fields =
{
gamefield =
{
num = 26
}
},
player =
{
chips =
{
gamefield
},
decks =
{
numdeck =
{
{
back = "1",
face = "2",
props =
{
num = 1
}
},
{
back = "1",
face = "2",
props =
{
num = 2
}
},
{
back = "1",
face = "2",
props =
{
num = 3
}
},
}
}
},
}