-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,script1404].cs2
64 lines (64 loc) · 2.33 KB
/
[clientscript,script1404].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
// 1404
[clientscript,script1404](int $int0, obj $obj1, int $int2, string $string0, boolean $boolean3)
def_component $component4 = enum(int, component, enum_1461, $int0);
if ($component4 = null) {
return;
}
cc_deleteall($component4);
cc_create($component4, ^iftype_text, 0);
cc_sethide(true);
cc_settextfont(p11_full);
cc_settext("<~script47($int2)><~script47($int0)>");
cc_create($component4, ^iftype_text, 1);
cc_setsize(56, 32, ^setsize_abs, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_bottom);
cc_setcolour(0xff981f);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_top, 0);
cc_settext("Level <tostring($int2)>");
cc_create($component4, ^iftype_text, 2);
cc_setsize(56, 12, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_right, ^setpos_abs_top);
cc_setcolour(0xff981f);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_left, ^settextalign_top, 0);
def_string $text1 = "";
$text1, $string0 = ~script632($string0);
cc_settext($text1);
cc_create($component4, ^iftype_text, 3);
cc_setsize(56, 12, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_right, ^setpos_abs_bottom);
cc_setcolour(0xccccff);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_left, ^settextalign_top, 0);
cc_settext($string0);
cc_create($component4, ^iftype_graphic, 4);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setposition(10, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setobject_nonum($obj1, 1);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
if_setop(1, "Build", $component4);
if_setop(10, "Examine", $component4);
if_setopbase("<col=ff9040><oc_name($obj1)></col>", $component4);
if_setonop("script1405(event_op, $int0, $obj1, event_com, cc_getid)", $component4);
cc_create($component4, ^iftype_graphic, 5);
cc_setsize(16, 16, ^setsize_abs, ^setsize_abs);
cc_setposition(12, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphic("cross_interface,5");
if ($boolean3 = true) {
cc_sethide(true);
cc_create($component4, ^iftype_text, 6);
cc_setsize(56, 32, ^setsize_abs, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setcolour(0xccccff);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_left, ^settextalign_top, 0);
cc_settext("");
} else {
cc_sethide(false);
}