This repository was archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path[clientscript,script6177].cs2
35 lines (35 loc) · 1.68 KB
/
[clientscript,script6177].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
// 6177
[clientscript,script6177](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
~script6181($component1, $component2, $component3, $component4, $component5);
if_setonvartransmit("script6180($component1, $component2, $component3, $component4, event_com){var286}", $component5);
~script6186($component6);
if_setonvartransmit("script6185(event_com){var3465}", $component6);
~stonebutton_init("<col=ff0000>Decline</col>", $component7, p12_full, 0);
if_setonop("closebutton_click", $component7);
def_component $component9 = null;
def_int $int10 = 0;
def_int $int11 = inv_size(worn);
while ($int11 > 0) {
$int11 = calc($int11 - 1);
$component9 = enum(int, component, enum_4386, $int11);
if ($component9 ! null) {
cc_deleteall($component9);
$int10 = 0;
cc_create($component9, ^iftype_graphic, $int10);
$int10 = calc($int10 + 1);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setsize(36, 36, ^setsize_abs, ^setsize_abs);
cc_setgraphic("miscgraphics,0");
cc_create($component9, ^iftype_graphic, $int10);
$int10 = calc($int10 + 1);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
~script6179($component9, $int11);
cc_setoninvtransmit("script6178(event_com, event_comsubid, $int11){worn}");
cc_create($component9, ^iftype_graphic, $int10);
$int10 = calc($int10 + 1);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setsize(32, 32, ^setsize_abs, ^setsize_abs);
~script6192($int11, $component8);
cc_setonvartransmit("script6191(event_com, event_comsubid, $int11, $component8){var286}");
}
}