Skip to content

Commit

Permalink
Update names
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-F committed Jul 7, 2022
1 parent fd0ec19 commit 5f701c7
Show file tree
Hide file tree
Showing 47 changed files with 172 additions and 172 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@
[**634**](scripts/[proc,displayname_draw].cs2) `[proc,displayname_draw]`
[**635**](scripts/[clientscript,displayname_lookup].cs2) `[clientscript,displayname_lookup]`
[**636**](scripts/[proc,script636].cs2)
[**637**](scripts/[clientscript,script637].cs2)
[**638**](scripts/[proc,script638].cs2)
[**637**](scripts/[proc,debug_mes_info].cs2) `[proc,debug_mes_info]`
[**638**](scripts/[proc,debug_mes_warn].cs2) `[proc,debug_mes_warn]`
[**639**](scripts/[clientscript,poh_menagerie_initlist].cs2) `[clientscript,poh_menagerie_initlist]`
[**640**](scripts/[clientscript,poh_menagerie_drawlist].cs2) `[clientscript,poh_menagerie_drawlist]`
[**641**](scripts/[proc,poh_menagerie_drawlist].cs2) `[proc,poh_menagerie_drawlist]`
Expand Down Expand Up @@ -2479,7 +2479,7 @@
[**2476**](scripts/[proc,on_enhanced_mobile].cs2) `[proc,on_enhanced_mobile]`
[**2477**](scripts/[clientscript,duel_stake_inv_cash].cs2) `[clientscript,duel_stake_inv_cash]`
[**2478**](scripts/[clientscript,duel_stake_inv_details].cs2) `[clientscript,duel_stake_inv_details]`
[**2479**](scripts/[clientscript,script2479].cs2)
[**2479**](scripts/[clientscript,load_stake_preset].cs2) `[clientscript,load_stake_preset]`
[**2480**](scripts/[clientscript,duel_stake_load_highlight].cs2) `[clientscript,duel_stake_load_highlight]`
[**2481**](scripts/[clientscript,duel_stake_load_mouseout].cs2) `[clientscript,duel_stake_load_mouseout]`
[**2482**](scripts/[clientscript,duel_switch_setup_buttons].cs2) `[clientscript,duel_switch_setup_buttons]`
Expand Down Expand Up @@ -3760,8 +3760,8 @@
[**3757**](scripts/[clientscript,script3757].cs2)
[**3758**](scripts/[proc,recipe_for_disaster_button].cs2) `[proc,recipe_for_disaster_button]`
[**3759**](scripts/[clientscript,recipe_for_disaster_animate].cs2) `[clientscript,recipe_for_disaster_animate]`
[**3760**](scripts/[clientscript,script3760].cs2)
[**3761**](scripts/[proc,script3761].cs2)
[**3760**](scripts/[clientscript,recipe_for_disaster_updatecolour].cs2) `[clientscript,recipe_for_disaster_updatecolour]`
[**3761**](scripts/[proc,recipe_for_disaster_getcolour].cs2) `[proc,recipe_for_disaster_getcolour]`
[**3762**](scripts/[clientscript,recipe_for_disaster_op].cs2) `[clientscript,recipe_for_disaster_op]`
[**3763**](scripts/[clientscript,friendschat_op].cs2) `[clientscript,friendschat_op]`
[**3764**](scripts/[proc,friendschat_sendkick].cs2) `[proc,friendschat_sendkick]`
Expand Down Expand Up @@ -6082,7 +6082,7 @@
[**6079**](scripts/[worldmapelementmouseleave,mapelement_860].cs2) `[worldmapelementmouseleave,mapelement_860]`
[**6080**](scripts/[worldmapelementmouserepeat,mapelement_863].cs2) `[worldmapelementmouserepeat,mapelement_863]`
[**6081**](scripts/[worldmapelementmouseleave,mapelement_863].cs2) `[worldmapelementmouseleave,mapelement_863]`
[**6082**](scripts/[clientscript,script6082].cs2)
[**6082**](scripts/[clientscript,reward_shop_init].cs2) `[clientscript,reward_shop_init]`
[**6083**](scripts/[clientscript,script6083].cs2)
[**6084**](scripts/[clientscript,script6084].cs2)
[**6085**](scripts/[clientscript,script6085].cs2)
Expand Down Expand Up @@ -6123,9 +6123,9 @@
[**6120**](scripts/[proc,script6120].cs2)
[**6121**](scripts/[proc,script6121].cs2)
[**6122**](scripts/[clientscript,script6122].cs2)
[**6123**](scripts/[clientscript,script6123].cs2)
[**6124**](scripts/[clientscript,script6124].cs2)
[**6125**](scripts/[clientscript,script6125].cs2)
[**6123**](scripts/[clientscript,smithing_close].cs2) `[clientscript,smithing_close]`
[**6124**](scripts/[clientscript,crafting_init].cs2) `[clientscript,crafting_init]`
[**6125**](scripts/[clientscript,crafting_close].cs2) `[clientscript,crafting_close]`
[**6126**](scripts/[clientscript,script6126].cs2)
[**6127**](scripts/[clientscript,script6127].cs2)
[**6128**](scripts/[proc,script6128].cs2)
Expand All @@ -6151,7 +6151,7 @@
[**6148**](scripts/[clientscript,script6148].cs2)
[**6149**](scripts/[clientscript,script6149].cs2)
[**6150**](scripts/[proc,script6150].cs2)
[**6151**](scripts/[clientscript,script6151].cs2)
[**6151**](scripts/[proc,debug_mes_error].cs2) `[proc,debug_mes_error]`
[**6152**](scripts/[proc,script6152].cs2)
[**6153**](scripts/[proc,quest_is_subquest].cs2) `[proc,quest_is_subquest]`
[**6154**](scripts/[proc,script6154].cs2)
Expand Down
3 changes: 3 additions & 0 deletions scripts/[clientscript,crafting_close].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 6125
[clientscript,crafting_close]
%varcint990 = 0;
3 changes: 3 additions & 0 deletions scripts/[clientscript,crafting_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 6124
[clientscript,crafting_init]
%varcint990 = 1;
18 changes: 9 additions & 9 deletions scripts/[clientscript,league_relic_expanded_view].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ def_struct $struct19 = enum(int, struct, enum_2670, %varbit10032);
if ($struct19 = null) {
return;
}
def_int $int20 = struct_param($struct19, param_1027);
def_string $string0 = ~script3739($int20, "u");
if_setcolour($int20, $component4);
if_setcolour($int20, $component5);
if_setcolour($int20, $component6);
if_setcolour($int20, $component14);
if_setcolour($int20, $component15);
if_setcolour($int20, $component11);
def_int $colour20 = struct_param($struct19, param_1027);
def_string $string0 = ~script3739($colour20, "u");
if_setcolour($colour20, $component4);
if_setcolour($colour20, $component5);
if_setcolour($colour20, $component6);
if_setcolour($colour20, $component14);
if_setcolour($colour20, $component15);
if_setcolour($colour20, $component11);
def_int $comsubid21 = -1;
def_string $op1 = "";
def_string $string2 = struct_param($struct17, param_880);
Expand Down Expand Up @@ -97,7 +97,7 @@ if (~on_mobile = false) {
if_setonop("league_relic_back($component0, $component1, $component2)", $component8);
def_int $comsubid26 = ~steelborder($component10, struct_param($struct17, param_879), 1);
if (cc_find($component10, $comsubid26) = ^true) {
cc_setcolour($int20);
cc_setcolour($colour20);
}
if_settext("Are you sure that you wish to unlock the <col=ffffff><struct_param($struct17, param_879)></col> Relic?<br><br>You can only unlock <col=ffffff>one</col> Relic from each tier, and you <col=ffffff>cannot</col> go back on this decision at any later point.", $component11);
$comsubid21 = ~v2_stone_button($component12);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2479
[clientscript,script2479](component $component0, component $component1)
[clientscript,load_stake_preset](component $component0, component $component1)
if_setonmouseover("duel_stake_load_highlight($component0)", $component0);
if_setonmouseleave("duel_stake_load_mouseout($component0, $component1)", $component0);
5 changes: 5 additions & 0 deletions scripts/[clientscript,recipe_for_disaster_updatecolour].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 3760
[clientscript,recipe_for_disaster_updatecolour](component $component0, int $comsubid1, int $int2)
if (cc_find($component0, $comsubid1) = ^true) {
cc_setcolour(~recipe_for_disaster_getcolour($int2));
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 6082
[clientscript,script6082]
[clientscript,reward_shop_init]
def_component $component0 = interface_753:0;
if_setontimer("script6110($component0, -1)", $component0);
if_setonresize("script6083(true)", $component0);
Expand Down
5 changes: 0 additions & 5 deletions scripts/[clientscript,script3760].cs2

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

3 changes: 3 additions & 0 deletions scripts/[clientscript,smithing_close].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 6123
[clientscript,smithing_close]
%varcint989 = 0;
2 changes: 1 addition & 1 deletion scripts/[clientscript,speedrunning_init].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[clientscript,speedrunning_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, component $component13, component $component14, component $component15, component $component16, component $component17, component $component18, component $component19, component $component20, component $component21, component $component22, component $component23, component $component24, component $component25, component $component26, component $component27, component $component28, component $component29, component $component30, component $component31, component $component32, component $component33, component $component34, component $component35)
~questlist_draw($component0, $component1, $component2, $component3, $component4, true);
if (%var3373 ! null) {
if (db_getfield(%var3373, quest:28, 0) = 2) {
if (db_getfield(%var3373, quest:speedrunning_mode, 0) = 2) {
if_settext("<~get_quest_name(%var3373)> (Beta)", $component9);
} else {
if_settext(~get_quest_name(%var3373), $component9);
Expand Down
4 changes: 2 additions & 2 deletions scripts/[clientscript,stat_boosts_hud_timertooltip].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ if (calc(clientclock % 10) ! 0) {
}
def_int $int2 = calc(%varcint468 - (clientclock - %varcint469) / 30);
def_int $int3 = calc(%varcint471 - (clientclock - %varcint472) / 30);
def_string $string0 = ~script3739(10688267, "col");
def_string $string1 = ~script3739(416541, "col");
def_string $string0 = ~script3739(0xa3170b, "col");
def_string $string1 = ~script3739(0x065b1d, "col");
def_string $string2 = "<$string0>Stats restoring</col>";
def_string $string3 = "<$string0><~time_convert($int2, 0)></col>";
if (%varcint551 = 1) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 6151
[clientscript,script6151](string $string0, string $string1)
[proc,debug_mes_error](string $string0, string $string1)
if (~rental_world = 0) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 637
[clientscript,script637](string $string0, string $string1)
[proc,debug_mes_info](string $string0, string $string1)
if (~rental_world = 0) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 638
[proc,script638](string $string0, string $string1)
[proc,debug_mes_warn](string $string0, string $string1)
if (~rental_world = 0) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/[proc,get_quest_name].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 3742
[proc,get_quest_name](dbrow $dbrow0)(string)
return(db_getfield($dbrow0, quest:2, 0));
return(db_getfield($dbrow0, quest:displayname, 0));
2 changes: 1 addition & 1 deletion scripts/[proc,quest_is_subquest].cs2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 6153
[proc,quest_is_subquest](dbrow $dbrow0)(int)
if (db_getfield($dbrow0, quest:18, 0) ! null) {
if (db_getfield($dbrow0, quest:mainquest, 0) ! null) {
return(1);
}
return(0);
14 changes: 7 additions & 7 deletions scripts/[proc,quest_requirement_check].cs2
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
// 5989
[proc,quest_requirement_check](dbrow $dbrow0)(int)
if (db_getfield($dbrow0, quest:5, 0) = true & map_members = ^false & %varcint103 = 0) {
if (db_getfield($dbrow0, quest:members, 0) = true & map_members = ^false & %varcint103 = 0) {
return(0);
}
def_int $int1 = db_getfieldcount($dbrow0, quest:22);
def_int $int1 = db_getfieldcount($dbrow0, quest:questreq);
def_int $int2 = 0;
while ($int2 < $int1) {
if (~script5991(db_getfield($dbrow0, quest:22, $int2)) = 0) {
if (~script5991(db_getfield($dbrow0, quest:questreq, $int2)) = 0) {
return(0);
}
$int2 = calc($int2 + 1);
}
def_stat $stat3 = null;
def_int $int4 = -1;
$int1 = db_getfieldcount($dbrow0, quest:20);
$int1 = db_getfieldcount($dbrow0, quest:statreq);
$int2 = 0;
while ($int2 < $int1) {
$stat3, $int4 = db_getfield($dbrow0, quest:20, $int2);
$stat3, $int4 = db_getfield($dbrow0, quest:statreq, $int2);
if (~script5992($stat3, $int4) = 0) {
return(0);
}
$int2 = calc($int2 + 1);
}
if (%var101 < db_getfield($dbrow0, quest:23, 0)) {
if (%var101 < db_getfield($dbrow0, quest:pointsreq, 0)) {
return(0);
}
if (%varcint52 < db_getfield($dbrow0, quest:24, 0)) {
if (%varcint52 < db_getfield($dbrow0, quest:comlevelreq, 0)) {
return(0);
}
if (~script5993($dbrow0) = 0) {
Expand Down
6 changes: 3 additions & 3 deletions scripts/[proc,quest_status_get].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
if (~script6152($dbrow0) = 0) {
return(1);
}
if (db_getfield($dbrow0, quest:3, 0) = true) {
if (db_getfield($dbrow0, quest:autodisable, 0) = true) {
return(1);
}
def_int $int1 = db_getfield($dbrow0, quest:15, 0);
def_int $int2 = db_getfield($dbrow0, quest:16, 0);
def_int $int1 = db_getfield($dbrow0, quest:statusprogress, 0);
def_int $int2 = db_getfield($dbrow0, quest:statuscomplete, 0);
def_int $int3 = ~quest_progress_get($dbrow0);
if ($int1 = -1 | $int2 = -1 | $int3 = -1 | $int2 <= $int1) {
return(1);
Expand Down
2 changes: 1 addition & 1 deletion scripts/[proc,questlist_draw].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ while ($int16 < $int7) {
$string1 = $string2;
}
if (cc_find($component4, $int17) = ^true) {
if (db_getfield($dbrow13, quest:18, 0) ! null) {
if (db_getfield($dbrow13, quest:mainquest, 0) ! null) {
cc_sethide(true);
} else {
cc_sethide(false);
Expand Down
4 changes: 2 additions & 2 deletions scripts/[proc,questlist_hide_quest].cs2
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// 3238
[proc,questlist_hide_quest](dbrow $dbrow0, int $int1, int $int2, int $int3, int $int4)(int)
if (db_getfield($dbrow0, quest:4, 0) = 1 & ~questlist_hide_miniquests = 1) {
if (db_getfield($dbrow0, quest:type, 0) = 1 & ~questlist_hide_miniquests = 1) {
return(1);
}
if (db_getfield($dbrow0, quest:4, 0) = 0 & %varbit13774 = 1) {
if (db_getfield($dbrow0, quest:type, 0) = 0 & %varbit13774 = 1) {
return(1);
}
if ($int4 = 1 & %varbit13890 = 1) {
Expand Down
4 changes: 2 additions & 2 deletions scripts/[proc,quicksort_questlist].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ def_string $string3 = "";
while ($int6 < $int2) {
$dbrow8 = ~script6154($intarray0($int6));
$string0 = tostring(~script3236($dbrow8));
$string2 = db_getfield($dbrow8, quest:1, 0);
$string2 = db_getfield($dbrow8, quest:sortname, 0);
$dbrow9 = ~script6154($int4);
$string1 = tostring(~script3236($dbrow9));
$string3 = db_getfield($dbrow9, quest:1, 0);
$string3 = db_getfield($dbrow9, quest:sortname, 0);
if (compare("<$string0><$string2>", "<$string1><$string3>") <= 0) {
$int7 = $intarray0($int6);
$intarray0($int6) = $intarray0($int5);
Expand Down
Loading

0 comments on commit 5f701c7

Please sign in to comment.