-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,ge_offers_index_initslot].cs2
138 lines (138 loc) · 6.51 KB
/
[proc,ge_offers_index_initslot].cs2
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
// 794
[proc,ge_offers_index_initslot](component $component0, int $comsubid1, component $component2, component $component3, component $component4, component $component5, component $component6, int $int7, component $component8)
def_int $width9 = if_getwidth($component6);
def_int $height10 = if_getheight($component6);
cc_deleteall($component6);
def_int $int11 = 0;
def_int $int12 = calc(25 + ($height10 - 73) / 2);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid13 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(46, 45, ^setsize_abs, ^setsize_abs);
cc_setposition(7, calc($int12 + 1), ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x5a5245);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid14 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(46, 45, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($width9 - 53 + 1), calc($int12 + 1), ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x5a5245);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid15 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^white);
cc_settrans(255);
cc_setonop("script805(event_opindex, $int7, -1, $component0, $comsubid1, $component2, $component3, $component4, $component5, $component8)");
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid16 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(46, 45, ^setsize_abs, ^setsize_abs);
cc_setposition(6, $int12, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x383023);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid17 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(46, 45, ^setsize_abs, ^setsize_abs);
cc_setposition(7, $int12, ^setpos_abs_right, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x383023);
$int11 = ~stonepanel(25, $component6, $int11);
cc_create($component6, ^iftype_text, $int11);
def_int $comsubid18 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(0, 25, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(0xff981f);
cc_settextfont(b12_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_create($component6, ^iftype_graphic, $int11);
def_int $comsubid19 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(40, 36, ^setsize_abs, ^setsize_abs);
cc_setposition(4, 32, ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphic("graphic_1120");
cc_create($component6, ^iftype_graphic, $int11);
def_int $comsubid20 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setposition(6, 34, ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
cc_create($component6, ^iftype_text, $int11);
def_int $comsubid21 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(50, 32, ^setsize_minus, ^setsize_abs);
cc_setposition(4, 34, ^setpos_abs_right, ^setpos_abs_top);
cc_setcolour(0xffb83f);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_left, ^settextalign_top, 0);
def_int $int22 = calc($width9 - 10);
def_int $int23 = 75;
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid24 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(calc($int22 + 2), 15, ^setsize_abs, ^setsize_abs);
cc_setposition(4, calc($int23 - 1), ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(^black);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid25 = $int11;
$int11 = calc($int11 + 1);
cc_setsize($int22, 13, ^setsize_abs, ^setsize_abs);
cc_setposition(5, $int23, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^black);
cc_settrans(200);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid26 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(0, 13, ^setsize_abs, ^setsize_abs);
cc_setposition(5, $int23, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid27 = $int11;
$int11 = calc($int11 + 1);
cc_setsize($int22, 3, ^setsize_abs, ^setsize_abs);
cc_setposition(5, $int23, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^black);
cc_settrans(200);
cc_create($component6, ^iftype_rectangle, $int11);
def_int $comsubid28 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(3, 10, ^setsize_abs, ^setsize_abs);
cc_setposition(5, calc($int23 + 3), ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^black);
cc_settrans(200);
cc_create($component6, ^iftype_text, $int11);
def_int $comsubid29 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(6, calc($int23 + 13 + 1 + 3), ^setsize_minus, ^setsize_minus);
cc_setposition(0, 3, ^setpos_abs_centre, ^setpos_abs_bottom);
cc_setcolour(0xff981f);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_create($component6, ^iftype_graphic, $int11);
def_int $comsubid30 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(35, 35, ^setsize_abs, ^setsize_abs);
cc_setposition(13, calc($int12 + 5), ^setpos_abs_left, ^setpos_abs_top);
cc_create($component6, ^iftype_graphic, $int11);
def_int $comsubid31 = $int11;
$int11 = calc($int11 + 1);
cc_setsize(35, 35, ^setsize_abs, ^setsize_abs);
cc_setposition(14, calc($int12 + 5), ^setpos_abs_right, ^setpos_abs_top);
def_inv $inv32 = enum(int, inv, enum_150, $int7);
~ge_offers_index_drawslot($inv32, $int22, $component0, $comsubid1, $component2, $component3, $component4, $component5, $component6, $int7, $comsubid13, $comsubid14, $comsubid15, $comsubid16, $comsubid17, $comsubid18, $comsubid19, $comsubid20, $comsubid21, $comsubid29, $comsubid24, $comsubid25, $comsubid26, $comsubid27, $comsubid28, $comsubid30, $comsubid31, $component8);
if_setoninvtransmit("ge_offers_index_drawslot($inv32, $int22, $component0, $comsubid1, $component2, $component3, $component4, $component5, $component6, $int7, $comsubid13, $comsubid14, $comsubid15, $comsubid16, $comsubid17, $comsubid18, $comsubid19, $comsubid20, $comsubid21, $comsubid29, $comsubid24, $comsubid25, $comsubid26, $comsubid27, $comsubid28, $comsubid30, $comsubid31, $component8){$inv32}", $component6);
if_setonstocktransmit("ge_offers_index_drawslot($inv32, $int22, $component0, $comsubid1, $component2, $component3, $component4, $component5, $component6, $int7, $comsubid13, $comsubid14, $comsubid15, $comsubid16, $comsubid17, $comsubid18, $comsubid19, $comsubid20, $comsubid21, $comsubid29, $comsubid24, $comsubid25, $comsubid26, $comsubid27, $comsubid28, $comsubid30, $comsubid31, $component8)", $component6);