-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,wint_update].cs2
63 lines (63 loc) · 1.98 KB
/
[clientscript,wint_update].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
// 1421
[clientscript,wint_update](int $int0, int $int1, int $int2, int $int3, int $int4, int $int5, int $int6, int $int7, int $int8, int $int9)
if ($int1 = 0) {
if_setsize(0, 0, ^setsize_abs, ^setsize_minus, interface_396:19);
if_settext("Wintertodt's Energy: 0%", interface_396:21);
} else if ($int1 ! -1) {
if_setsize(interpolate(1, 16384, 0, 3500, $int1), 0, ^setsize_2, ^setsize_minus, interface_396:19);
if_settext("Wintertodt's Energy: <tostring(interpolate(1, 100, 0, 3500, $int1))>%", interface_396:21);
}
if_settext("Points<br><tostring($int0)>", interface_396:7);
if ($int0 < 500) {
if_setcolour(^red, interface_396:7);
} else {
if_setcolour(^white, interface_396:7);
}
if ($int2 = 1) {
if_setgraphic(null, interface_396:8);
} else {
if_setgraphic("wint_icons,3", interface_396:8);
}
if ($int3 = 1) {
if_setgraphic(null, interface_396:9);
} else {
if_setgraphic("wint_icons,3", interface_396:9);
}
if ($int4 = 1) {
if_setgraphic(null, interface_396:10);
} else {
if_setgraphic("wint_icons,3", interface_396:10);
}
if ($int5 = 1) {
if_setgraphic(null, interface_396:11);
} else {
if_setgraphic("wint_icons,3", interface_396:11);
}
if ($int6 = 0) {
if_setgraphic("wint_icons,0", interface_396:12);
} else if ($int6 = 1) {
if_setgraphic("wint_icons,1", interface_396:12);
} else if ($int6 = 2) {
if_setgraphic("wint_icons,2", interface_396:12);
}
if ($int7 = 0) {
if_setgraphic("wint_icons,0", interface_396:13);
} else if ($int7 = 1) {
if_setgraphic("wint_icons,1", interface_396:13);
} else if ($int7 = 2) {
if_setgraphic("wint_icons,2", interface_396:13);
}
if ($int8 = 0) {
if_setgraphic("wint_icons,0", interface_396:14);
} else if ($int8 = 1) {
if_setgraphic("wint_icons,1", interface_396:14);
} else if ($int8 = 2) {
if_setgraphic("wint_icons,2", interface_396:14);
}
if ($int9 = 0) {
if_setgraphic("wint_icons,0", interface_396:15);
} else if ($int9 = 1) {
if_setgraphic("wint_icons,1", interface_396:15);
} else if ($int9 = 2) {
if_setgraphic("wint_icons,2", interface_396:15);
}