-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,wear_updateslot].cs2
69 lines (69 loc) · 2.1 KB
/
[proc,wear_updateslot].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
// 546
[proc,wear_updateslot](component $component0, int $int1, boolean $boolean2)
if_clearops($component0);
def_obj $obj3 = inv_getobj(worn, $int1);
if ($obj3 = null) {
cc_sethide(true);
.cc_sethide(false);
if_setonop(null, $component0);
if_setonvartransmit(null, $component0);
return;
}
cc_sethide(false);
.cc_sethide(true);
cc_setobject($obj3, inv_getnum(worn, $int1));
if_setopbase("<col=ff9040><oc_name($obj3)></col>", $component0);
if_setop(1, "Remove", $component0);
def_string $string0 = "";
if ($boolean2 = true) {
if (map_members = ^true | oc_members($obj3) = ^false) {
$string0 = oc_param($obj3, param_451);
if (string_length($string0) > 0) {
if_setop(2, $string0, $component0);
}
$string0 = oc_param($obj3, param_452);
if (string_length($string0) > 0) {
if_setop(3, $string0, $component0);
}
$string0 = oc_param($obj3, param_453);
if (string_length($string0) > 0) {
if_setop(4, $string0, $component0);
}
$string0 = oc_param($obj3, param_454);
if (string_length($string0) > 0) {
if_setop(5, $string0, $component0);
}
$string0 = oc_param($obj3, param_455);
if (string_length($string0) > 0) {
if_setop(6, $string0, $component0);
}
$string0 = oc_param($obj3, param_456);
if (string_length($string0) > 0) {
if_setop(7, $string0, $component0);
}
$string0 = oc_param($obj3, param_457);
if (string_length($string0) > 0) {
if_setop(8, $string0, $component0);
}
$string0 = oc_param($obj3, param_458);
if (string_length($string0) > 0) {
if_setop(9, $string0, $component0);
}
if ($obj3 = camulet_6707) {
if (%varbit4525 = 1 | %varbit4526 = 1) {
if_setop(3, "Temple", $component0);
if_setop(4, "Surface", $component0);
}
if_setonvartransmit("wear_updateslot($component0, $int1, $boolean2, cc_getid, .cc_getid){var1190}", $component0);
} else {
if_setonvartransmit(null, $component0);
}
} else {
if_setonvartransmit(null, $component0);
}
} else {
if_setonvartransmit(null, $component0);
if_setop(2, "Bank", $component0);
}
if_setop(10, "Examine", $component0);
if_setonop("cc_settrans_temporarily($component0, cc_getid, 100, 0)", $component0);