-
Notifications
You must be signed in to change notification settings - Fork 11
/
[clientscript,gravestone_retrieval_init].cs2
30 lines (30 loc) · 1.87 KB
/
[clientscript,gravestone_retrieval_init].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
// 1985
[clientscript,gravestone_retrieval_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9)
def_int $comsubid10 = ~steelborder($component1, "", 0);
~gravestone_retrieval_unlockstatus($component1, $comsubid10, $component4, $component5, $component8, $component9);
if_setonvartransmit("gravestone_retrieval_unlockstatus($component1, $comsubid10, $component4, $component5, $component8, $component9){var261, var262}", $component0);
if_setgraphic("miscgraphics,0", $component6);
if_setop(1, "Discard-All", $component6);
if_setontimer(null, $component6);
if_setonmouserepeat("gravestone_retrieval_buttonhover(true, $component7, null, null)", $component6);
if_setonmouseleave("gravestone_retrieval_buttonhover(false, $component7, null, null)", $component6);
if_setonop("gravestone_retrieval_buttonop(event_opindex, $component6, $component7, null, null)", $component6);
def_int $int11 = calc(36 + 10);
def_int $int12 = calc(32 + 8);
cc_deleteall($component2);
def_int $int13 = 0;
while ($int13 < 120) {
cc_create($component2, ^iftype_graphic, $int13);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setposition(calc(1 + $int13 % 8 * $int11), calc(3 + $int13 / 8 * $int12), ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
cc_setop(2, "Take-All");
cc_setop(9, "Value");
cc_setop(10, "Examine");
cc_sethide(true);
$int13 = calc($int13 + 1);
}
~scrollbar_vertical($component3, $component2, "scrollbar_dragger_v2,3", "scrollbar_dragger_v2,0", "scrollbar_dragger_v2,1", "scrollbar_dragger_v2,2", "scrollbar_v2,0", "scrollbar_v2,1");
~gravestone_retrieval_items($component2, $component3);
if_setoninvtransmit("gravestone_retrieval_items($component2, $component3){inv_525}", $component0);