Skip to content

Commit

Permalink
Update names
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-F committed Oct 1, 2021
1 parent 20b39e0 commit 58c2299
Show file tree
Hide file tree
Showing 96 changed files with 242 additions and 242 deletions.
106 changes: 53 additions & 53 deletions README.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions scripts/[clientscript,ca_bosses_reviewsize].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 4857
[clientscript,ca_bosses_reviewsize](int $height0, component $component1, component $component2, component $component3, component $component4, int $height5)
if (if_getheight($component1) ! $height5) {
~script4858($height0, $component1, $component2, $component3, $component4);
}
5 changes: 5 additions & 0 deletions scripts/[clientscript,ca_rewards_reviewsize].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 4859
[clientscript,ca_rewards_reviewsize](int $height0, component $component1, component $component2, component $component3, component $component4, int $height5)
if (if_getheight($component1) ! $height5) {
~script4860(0, $height0, $component1, $component2, $component3, $component4);
}
5 changes: 5 additions & 0 deletions scripts/[clientscript,ca_tasks_reviewsize].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 4861
[clientscript,ca_tasks_reviewsize](int $height0, component $component1, component $component2, component $component3, component $component4, int $height5)
if (if_getheight($component1) ! $height5) {
~script4862($height0, $component1, $component2, $component3, $component4);
}
10 changes: 5 additions & 5 deletions scripts/[clientscript,canoe_map_init].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ if ($int13 ! 1) {
}
switch_int (%varbit1846) {
case 3 :
~script3102($component4);
~canoe_location_you_are_here($component4);
case 2 :
~script3102($component3);
~canoe_location_you_are_here($component3);
case 4 :
~script3102($component5);
~canoe_location_you_are_here($component5);
case 1 :
~script3102($component2);
~canoe_location_you_are_here($component2);
case 5 :
~script3102($component7);
~canoe_location_you_are_here($component7);
}
3 changes: 3 additions & 0 deletions scripts/[clientscript,fishing_spot_indicator_invtransmit].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 4549
[clientscript,fishing_spot_indicator_invtransmit](newvar $newvar0, struct $struct1, npc_uid $npc_uid2, int $int3)
~fishing_spot_indicator_create($newvar0, $struct1, $npc_uid2, $int3);
3 changes: 3 additions & 0 deletions scripts/[clientscript,fishing_spot_indicator_mouseleave].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 4551
[clientscript,fishing_spot_indicator_mouseleave](newvar $newvar0, struct $struct1, npc_uid $npc_uid2, int $int3)
~fishing_spot_indicator_create($newvar0, $struct1, $npc_uid2, $int3);
3 changes: 3 additions & 0 deletions scripts/[clientscript,fishing_spot_indicator_mouseover].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 4552
[clientscript,fishing_spot_indicator_mouseover](newvar $newvar0, struct $struct1)
~script4554($newvar0, $struct1);
10 changes: 10 additions & 0 deletions scripts/[clientscript,fishing_spot_indicator_stattransmit].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// 4550
[clientscript,fishing_spot_indicator_stattransmit](newvar $newvar0, struct $struct1, int $lvl2, npc_uid $npc_uid3, int $int4)
def_int $lvl5 = stat(fishing);
if ($lvl5 = $lvl2) {
return;
}
~fishing_spot_indicator_create($newvar0, $struct1, $npc_uid3, $int4);
if (_203($newvar0) = 1) {
cc_setonstattransmit("fishing_spot_indicator_stattransmit($newvar0, $struct1, $lvl5, $npc_uid3, $int4){fishing, agility, strength}");
}
3 changes: 3 additions & 0 deletions scripts/[clientscript,fishing_spot_indicator_tile_setup].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 4559
[clientscript,fishing_spot_indicator_tile_setup]
~fishing_spot_indicator_tile_setup;
9 changes: 9 additions & 0 deletions scripts/[clientscript,fishing_spot_indicator_vartransmit].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// 4548
[clientscript,fishing_spot_indicator_vartransmit](newvar $newvar0, struct $struct1, int $int2, int $int3, int $int4, npc_uid $npc_uid5, int $int6)
if ($int2 = %varbit12349 & $int3 = %varbit12350 & $int4 = %varbit12351) {
return;
}
~fishing_spot_indicator_create($newvar0, $struct1, $npc_uid5, $int6);
if (_203($newvar0) = 1) {
cc_setonvartransmit("fishing_spot_indicator_vartransmit($newvar0, $struct1, %varbit12349, %varbit12350, %varbit12351, $npc_uid5, $int6){var2856, var3074}");
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 233
[clientscript,script233](component $component0, model $model1, int $int2, int $int3, int $int4, int $int5, int $int6, int $int7, seq $seq8)
[clientscript,motw_setmodel](component $component0, model $model1, int $int2, int $int3, int $int4, int $int5, int $int6, int $int7, seq $seq8)
if_setmodel($model1, $component0);
if_setmodelangle($int2, $int3, $int4, $int5, $int6, $int7, $component0);
if_setmodelanim($seq8, $component0);
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 5240
[clientscript,script5240]
[clientscript,quest_journal_reset]
def_int $int0 = enum_getoutputcount(enum_1968);
while ($int0 > 0) {
$int0 = calc($int0 - 1);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 3759
[clientscript,script3759](component $component0, int $comsubid1, int $clock2, seq $seq3)
[clientscript,recipe_for_disaster_animate](component $component0, int $comsubid1, int $clock2, seq $seq3)
if (clientclock >= $clock2 & cc_find($component0, $comsubid1) = ^true) {
cc_setontimer(null);
cc_setmodelanim($seq3);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 3762
[clientscript,script3762](component $component0, int $comsubid1, int $comsubid2)
[clientscript,recipe_for_disaster_op](component $component0, int $comsubid1, int $comsubid2)
if (cc_find($component0, $comsubid1) = ^true & .cc_find($component0, $comsubid2) = ^true) {
sound_synth(interface_select1, 1, 0);
cc_settrans(180);
Expand Down
16 changes: 8 additions & 8 deletions scripts/[clientscript,script3757].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ while ($count1 < $count0) {
def_int $int2 = calc(if_getwidth(interface_119:3) / 2);
def_int $int3 = calc($int2 - 5);
def_int $int4 = calc($int2 + 5);
$count1 = ~script3758(0, 0, 0, mountain_dwarf_3390, $int3, $count1, interface_119:3);
$count1 = ~script3758($int4, 0, 1, general_wartface_3391, $int3, $count1, interface_119:3);
$count1 = ~script3758(0, 50, 2, pirate_pete_3389, $int3, $count1, interface_119:3);
$count1 = ~script3758($int4, 50, 3, lumbridge_guide_3393, $int3, $count1, interface_119:3);
$count1 = ~script3758(0, 100, 4, evil_dave_3394, $int3, $count1, interface_119:3);
$count1 = ~script3758($int4, 100, 5, skrach_uglogwee_3398, $int3, $count1, interface_119:3);
$count1 = ~script3758(0, 150, 6, sir_amik_varze_3395, $int3, $count1, interface_119:3);
$count1 = ~script3758($int4, 150, 7, awowogei_3396, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button(0, 0, 0, mountain_dwarf_3390, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button($int4, 0, 1, general_wartface_3391, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button(0, 50, 2, pirate_pete_3389, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button($int4, 50, 3, lumbridge_guide_3393, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button(0, 100, 4, evil_dave_3394, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button($int4, 100, 5, skrach_uglogwee_3398, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button(0, 150, 6, sir_amik_varze_3395, $int3, $count1, interface_119:3);
$count1 = ~recipe_for_disaster_button($int4, 150, 7, awowogei_3396, $int3, $count1, interface_119:3);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4526].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4526
[clientscript,script4526]
~script4547(struct_2977, _6751, _6752);
~fishing_spot_indicator_setup(struct_2977, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4527].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4527
[clientscript,script4527]
~script4547(struct_2977, _6751, _6752);
~fishing_spot_indicator_setup(struct_2977, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4528].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4528
[clientscript,script4528]
~script4547(struct_2978, _6751, _6752);
~fishing_spot_indicator_setup(struct_2978, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4529].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4529
[clientscript,script4529]
~script4547(struct_2979, _6751, _6752);
~fishing_spot_indicator_setup(struct_2979, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4530].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4530
[clientscript,script4530]
~script4547(struct_2980, _6751, _6752);
~fishing_spot_indicator_setup(struct_2980, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4531].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4531
[clientscript,script4531]
~script4547(struct_2981, _6751, _6752);
~fishing_spot_indicator_setup(struct_2981, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4532].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4532
[clientscript,script4532]
~script4547(struct_2982, _6751, _6752);
~fishing_spot_indicator_setup(struct_2982, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4533].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4533
[clientscript,script4533]
~script4547(struct_2983, _6751, _6752);
~fishing_spot_indicator_setup(struct_2983, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4534].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4534
[clientscript,script4534]
~script4547(struct_2984, _6751, _6752);
~fishing_spot_indicator_setup(struct_2984, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4535].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4535
[clientscript,script4535]
~script4547(struct_2985, _6751, _6752);
~fishing_spot_indicator_setup(struct_2985, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4536].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4536
[clientscript,script4536]
~script4547(struct_2986, _6751, _6752);
~fishing_spot_indicator_setup(struct_2986, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4537].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4537
[clientscript,script4537]
~script4547(struct_2987, _6751, _6752);
~fishing_spot_indicator_setup(struct_2987, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4538].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4538
[clientscript,script4538]
~script4547(struct_2988, _6751, _6752);
~fishing_spot_indicator_setup(struct_2988, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4539].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4539
[clientscript,script4539]
~script4547(struct_2989, _6751, _6752);
~fishing_spot_indicator_setup(struct_2989, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4540].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4540
[clientscript,script4540]
~script4547(struct_2990, _6751, _6752);
~fishing_spot_indicator_setup(struct_2990, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4541].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4541
[clientscript,script4541]
~script4547(struct_2991, _6751, _6752);
~fishing_spot_indicator_setup(struct_2991, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4542].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4542
[clientscript,script4542]
~script4547(struct_2992, _6751, _6752);
~fishing_spot_indicator_setup(struct_2992, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4543].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4543
[clientscript,script4543]
~script4547(struct_2993, _6751, _6752);
~fishing_spot_indicator_setup(struct_2993, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4544].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4544
[clientscript,script4544]
~script4547(struct_2994, _6751, _6752);
~fishing_spot_indicator_setup(struct_2994, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4545].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4545
[clientscript,script4545]
~script4547(struct_2994, _6751, _6752);
~fishing_spot_indicator_setup(struct_2994, _6751, _6752);
2 changes: 1 addition & 1 deletion scripts/[clientscript,script4546].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4546
[clientscript,script4546]
~script4547(struct_2995, _6751, _6752);
~fishing_spot_indicator_setup(struct_2995, _6751, _6752);
9 changes: 0 additions & 9 deletions scripts/[clientscript,script4548].cs2

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/[clientscript,script4549].cs2

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/[clientscript,script4550].cs2

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/[clientscript,script4551].cs2

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/[clientscript,script4552].cs2

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/[clientscript,script4559].cs2

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/[clientscript,script4562].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (~on_enhanced = 0) {
return;
}
~script4743;
~script4560;
~fishing_spot_indicator_tile_setup;
~antidrag_toggle;
~script4687($int0);
~synch_always_on_top(%varbit12372);
Expand Down
5 changes: 0 additions & 5 deletions scripts/[clientscript,script4857].cs2

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/[clientscript,script4859].cs2

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/[clientscript,script4861].cs2

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 4720
[clientscript,script4720]
[clientscript,spec_regen_timer_off]
if (~on_enhanced = 0) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 3298
[clientscript,script3298](component $component0, component $component1, boolean $boolean2)
[clientscript,wiki_entity_lookup_target](component $component0, component $component1, boolean $boolean2)
def_graphic $graphic3 = "wiki_icon,1";
def_graphic $graphic4 = "wiki_icon,0";
if ($boolean2 = true) {
Expand Down
4 changes: 2 additions & 2 deletions scripts/[clientscript,wiki_icon_init].cs2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 3304
[clientscript,wiki_icon_init](component $component0, component $component1, component $component2, boolean $boolean3)
if_setnoclickthrough(true, $component1);
if_setontargetenter("script3298($component1, $component2, true)", $component1);
if_setontargetleave("script3298($component1, $component2, false)", $component1);
if_setontargetenter("wiki_entity_lookup_target($component1, $component2, true)", $component1);
if_setontargetleave("wiki_entity_lookup_target($component1, $component2, false)", $component1);
if_setonvartransmit("wiki_icon_update($component0, $component1, $component2, $boolean3){var1055, var1795}", $component0);
~wiki_icon_update($component0, $component1, $component2, $boolean3);
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 5235
[clientscript,script5235](component $component0)
[clientscript,wornitems_deadman_sigils_init](component $component0)
cc_deleteall($component0);
if (~deadman_mode ! 3) {
if_clearops($component0);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 3102
[proc,script3102](component $component0)
[proc,canoe_location_you_are_here](component $component0)
cc_create($component0, ^iftype_text, 0);
cc_setsize(94, 14, ^setsize_abs, ^setsize_abs);
cc_setposition(0, -7, ^setpos_abs_right, ^setpos_abs_centre);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 4553
[proc,script4553](newvar $newvar0, struct $struct1, npc_uid $npc_uid2, int $int3)
[proc,fishing_spot_indicator_create](newvar $newvar0, struct $struct1, npc_uid $npc_uid2, int $int3)
_104($newvar0);
if (_203($newvar0) = 1) {
cc_setonmouseleave(null);
Expand All @@ -11,8 +11,8 @@ if (%varbit12349 = 1) {
}
def_namedobj $namedobj4 = struct_param($struct1, param_1265);
def_namedobj $namedobj5 = struct_param($struct1, param_1268);
def_int $int6 = ~script4557($namedobj4);
def_int $int7 = ~script4557($namedobj5);
def_int $int6 = ~fishing_spot_indicator_tools_check($namedobj4);
def_int $int7 = ~fishing_spot_indicator_tools_check($namedobj5);
if (%varbit12350 = 0 & $int6 = 0 & $int7 = 0) {
highlight_npc_off($npc_uid2, $int3, 11);
return;
Expand Down Expand Up @@ -68,7 +68,7 @@ if ($namedobj12 = null) {
highlight_npc_off($npc_uid2, $int3, 11);
return;
}
_103($newvar0, 5, 0);
_103($newvar0, ^iftype_graphic, 0);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setobject_nonum($namedobj12, 1);
Expand All @@ -78,7 +78,7 @@ highlight_npc_on($npc_uid2, $int3, 11);
if (_203($newvar0) = 1) {
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
if (%varbit12351 = 0) {
cc_setonmouseleave("script4551($newvar0, $struct1, $npc_uid2, $int3)");
cc_setonmouseover("script4552($newvar0, $struct1)");
cc_setonmouseleave("fishing_spot_indicator_mouseleave($newvar0, $struct1, $npc_uid2, $int3)");
cc_setonmouseover("fishing_spot_indicator_mouseover($newvar0, $struct1)");
}
}
15 changes: 15 additions & 0 deletions scripts/[proc,fishing_spot_indicator_setup].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// 4547
[proc,fishing_spot_indicator_setup](struct $struct0, npc_uid $npc_uid1, int $int2)
if (~on_enhanced = 0) {
return;
}
if (map_members = ^false & struct_param($struct0, param_1264) = true & struct_param($struct0, param_1267) = true) {
return;
}
def_newvar $newvar3 = _7200(0, 1, 1, 1, 1);
if (_203($newvar3) = 1) {
cc_setonvartransmit("fishing_spot_indicator_vartransmit($newvar3, $struct0, %varbit12349, %varbit12350, %varbit12351, $npc_uid1, $int2){var2856, var3074}");
cc_setoninvtransmit("fishing_spot_indicator_invtransmit($newvar3, $struct0, $npc_uid1, $int2){inv, worn}");
cc_setonstattransmit("fishing_spot_indicator_stattransmit($newvar3, $struct0, stat(fishing), $npc_uid1, $int2){fishing, agility, strength}");
}
~fishing_spot_indicator_create($newvar3, $struct0, $npc_uid1, $int2);
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 4560
[proc,script4560]
[proc,fishing_spot_indicator_tile_setup]
if (%varbit12349 = 1) {
_7000(11, null, 0, 0, 0);
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 4557
[proc,script4557](namedobj $namedobj0)(int)
[proc,fishing_spot_indicator_tools_check](namedobj $namedobj0)(int)
def_int $int1 = 0;
def_int $bool2 = map_members;
switch_namedobj ($namedobj0) {
Expand Down
Loading

0 comments on commit 58c2299

Please sign in to comment.