-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.lua
63 lines (63 loc) · 1.29 KB
/
layout.lua
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
return {
{
type="background",
bg=0x8000,
text=0x1
},
{
type="Header",
text="{Shop-Name}",
background=0x4000,
},
{
type="Text",
text="{Description}",
align="center",
},
{
type="SellTable",
colors={
background={0x100,0x80},
text={1,1},
header=0x8,
},
columns={
{
name="Stock",
width=8,
align="left",
text="x{stock}"
},
{
name="Name",
width=20,
align="left",
text="{name}"
},
{
name="Alias",
width=10,
align="left",
text="{alias}"
},
{
name="Price",
width=8,
align="right",
text="{price} kst"
}
}
},
{
type="Text",
text="To buy something: /pay {Wallet-id} <price> itemname=<itemname>",
align="center",
align_h="bottom"
},
{
type="Text",
text="Shop powered by Kristed v{Version}",
align="right",
align_h="bottom"
}
}