-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,inventory_op_override].cs2
45 lines (45 loc) · 1.18 KB
/
[proc,inventory_op_override].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
// 1786
[proc,inventory_op_override](obj $obj0, int $opindex1)(string)
def_string $op0 = oc_iop($obj0, $opindex1);
if (map_members = true | oc_members($obj0) = ^false) {
switch_obj ($obj0) {
case escape_crystal_22517 :
if ($opindex1 = 3) {
if (%varbit14838 = 1) {
$op0 = "Disable-autotele";
} else {
$op0 = "Enable-autotele";
}
}
case bankers_note_28767 :
if ($opindex1 = 1 & %var4034 ! null) {
$op0 = "all";
if (%varbit17306 = 0) {
if (%varbit17307 > 0 & %varbit17307 < 27) {
$op0 = tostring(%varbit17307);
}
$op0 = "Note-<$op0>";
} else {
if (%varbit9536 > 0 & %varbit9536 < 27) {
$op0 = tostring(%varbit9536);
}
$op0 = "Un-note-<$op0>";
}
}
case teleport_crystal_5_13102, teleport_crystal_4_6099, teleport_crystal_3_6100, teleport_crystal_2_6101, teleport_crystal_1_6102, eternal_teleport_crystal_23946 :
if (%varbit9666 = 0) {
if ($opindex1 = 1) {
$op0 = "Lletya";
} else if ($opindex1 = 2) {
$op0 = "Prifddinas";
}
} else if (%varbit9666 = 1) {
if ($opindex1 = 1) {
$op0 = "Prifddinas";
} else if ($opindex1 = 2) {
$op0 = "Lletya";
}
}
}
}
return($op0);