Skip to content

Commit

Permalink
200.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-F committed Oct 6, 2021
1 parent 58c2299 commit e299caf
Show file tree
Hide file tree
Showing 126 changed files with 2,372 additions and 652 deletions.
69 changes: 69 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5241,3 +5241,72 @@
[**5238**](scripts/[proc,settings_store_button_mobile].cs2) `[proc,settings_store_button_mobile]`
[**5239**](scripts/[clientscript,script5239].cs2)
[**5240**](scripts/[clientscript,quest_journal_reset].cs2) `[clientscript,quest_journal_reset]`
[**5241**](scripts/[proc,script5241].cs2)
[**5242**](scripts/[proc,script5242].cs2)
[**5243**](scripts/[proc,script5243].cs2)
[**5244**](scripts/[clientscript,script5244].cs2)
[**5245**](scripts/[clientscript,script5245].cs2)
[**5246**](scripts/[clientscript,script5246].cs2)
[**5247**](scripts/[proc,script5247].cs2)
[**5248**](scripts/[clientscript,script5248].cs2)
[**5249**](scripts/[clientscript,script5249].cs2)
[**5250**](scripts/[clientscript,script5250].cs2)
[**5251**](scripts/[proc,script5251].cs2)
[**5252**](scripts/[proc,script5252].cs2)
[**5253**](scripts/[clientscript,script5253].cs2)
[**5254**](scripts/[proc,script5254].cs2)
[**5255**](scripts/[clientscript,script5255].cs2)
[**5256**](scripts/[clientscript,script5256].cs2)
[**5257**](scripts/[proc,script5257].cs2)
[**5258**](scripts/[proc,script5258].cs2)
[**5259**](scripts/[clientscript,script5259].cs2)
[**5260**](scripts/[clientscript,script5260].cs2)
[**5261**](scripts/[clientscript,script5261].cs2)
[**5262**](scripts/[proc,script5262].cs2)
[**5263**](scripts/[proc,script5263].cs2)
[**5264**](scripts/[clientscript,script5264].cs2)
[**5265**](scripts/[clientscript,script5265].cs2)
[**5266**](scripts/[clientscript,script5266].cs2)
[**5267**](scripts/[proc,script5267].cs2)
[**5268**](scripts/[clientscript,script5268].cs2)
[**5269**](scripts/[proc,script5269].cs2)
[**5270**](scripts/[proc,script5270].cs2)
[**5271**](scripts/[clientscript,script5271].cs2)
[**5272**](scripts/[proc,script5272].cs2)
[**5273**](scripts/[clientscript,script5273].cs2)
[**5274**](scripts/[clientscript,script5274].cs2)
[**5275**](scripts/[clientscript,script5275].cs2)
[**5276**](scripts/[proc,script5276].cs2)
[**5277**](scripts/[clientscript,script5277].cs2)
[**5278**](scripts/[clientscript,script5278].cs2)
[**5279**](scripts/[clientscript,script5279].cs2)
[**5280**](scripts/[proc,script5280].cs2)
[**5281**](scripts/[proc,script5281].cs2)
[**5282**](scripts/[clientscript,script5282].cs2)
[**5283**](scripts/[proc,script5283].cs2)
[**5284**](scripts/[clientscript,script5284].cs2)
[**5285**](scripts/[proc,script5285].cs2)
[**5286**](scripts/[clientscript,script5286].cs2)
[**5287**](scripts/[clientscript,script5287].cs2)
[**5288**](scripts/[proc,script5288].cs2)
[**5289**](scripts/[clientscript,script5289].cs2)
[**5290**](scripts/[clientscript,script5290].cs2)
[**5291**](scripts/[proc,script5291].cs2)
[**5292**](scripts/[clientscript,script5292].cs2)
[**5293**](scripts/[proc,script5293].cs2)
[**5294**](scripts/[clientscript,script5294].cs2)
[**5295**](scripts/[proc,script5295].cs2)
[**5296**](scripts/[proc,script5296].cs2)
[**5297**](scripts/[clientscript,script5297].cs2)
[**5298**](scripts/[clientscript,script5298].cs2)
[**5299**](scripts/[clientscript,script5299].cs2)
[**5300**](scripts/[proc,script5300].cs2)
[**5301**](scripts/[clientscript,script5301].cs2)
[**5302**](scripts/[clientscript,script5302].cs2)
[**5303**](scripts/[clientscript,script5303].cs2)
[**5304**](scripts/[clientscript,script5304].cs2)
[**5305**](scripts/[proc,script5305].cs2)
[**5306**](scripts/[clientscript,script5306].cs2)
[**5307**](scripts/[clientscript,script5307].cs2)
[**5308**](scripts/[proc,script5308].cs2)
[**5309**](scripts/[proc,script5309].cs2)
66 changes: 34 additions & 32 deletions scripts/[clientscript,bankmain_init].cs2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 274
[clientscript,bankmain_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)
[clientscript,bankmain_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)
~steelborder($component1, "", 0);
def_int $int33 = %varcint51;
def_int $int34 = %varcint51;
if (~bankmain_searching = 1) {
~meslayer_close(1, 1, 1);
} else if (%varcint5 <= 0) {
Expand All @@ -20,61 +20,61 @@ if_setonvartransmit("bankmain_itemnote($component13, $component14){var115}", $co
~bankmain_quantity_buttons($component22, $component23, $component24, $component25, $component26);
if_setonvartransmit("bankmain_quantity_buttons($component22, $component23, $component24, $component25, $component26){var1666, var304}", $component27);
cc_deleteall($component7);
def_int $int34 = 0;
def_int $int35 = 0;
while ($int35 < 816) {
cc_create($component7, ^iftype_graphic, $int34);
$int34 = calc($int34 + 1);
def_int $int36 = 0;
while ($int36 < 816) {
cc_create($component7, ^iftype_graphic, $int35);
$int35 = calc($int35 + 1);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
cc_setdragdeadzone(5);
cc_setdragdeadtime(5);
$int35 = calc($int35 + 1);
$int36 = calc($int36 + 1);
}
def_int $width36 = calc(if_getwidth($component7) - 51 - 35);
$int35 = 1;
while ($int35 <= 9) {
cc_create($component7, ^iftype_graphic, $int34);
$int34 = calc($int34 + 1);
cc_setsize($width36, 2, ^setsize_abs, ^setsize_abs);
def_int $width37 = calc(if_getwidth($component7) - 51 - 35);
$int36 = 1;
while ($int36 <= 9) {
cc_create($component7, ^iftype_graphic, $int35);
$int35 = calc($int35 + 1);
cc_setsize($width37, 2, ^setsize_abs, ^setsize_abs);
cc_setgraphic("tradebacking_dark");
cc_settiling(true);
$int35 = calc($int35 + 1);
$int36 = calc($int36 + 1);
}
$int35 = 1;
while ($int35 <= 9) {
cc_create($component7, ^iftype_text, $int34);
$int34 = calc($int34 + 1);
cc_setsize($width36, 15, ^setsize_abs, ^setsize_abs);
$int36 = 1;
while ($int36 <= 9) {
cc_create($component7, ^iftype_text, $int35);
$int35 = calc($int35 + 1);
cc_setsize($width37, 15, ^setsize_abs, ^setsize_abs);
cc_settextalign(^settextalign_left, ^settextalign_top, 0);
cc_settextfont(p11_full);
cc_setcolour(0xe4d8a2);
cc_setonmouserepeat("cc_colour_swapper(event_com, event_comsubid, ^white)");
cc_setonmouseleave("cc_colour_swapper(event_com, event_comsubid, 0xe4d8a2)");
cc_settextshadow(true);
cc_settext("Tab <tostring($int35)>");
cc_settext("Tab <tostring($int36)>");
cc_setop(1, "View tab");
cc_setopbase("<col=ff9040><tostring($int35)></col>");
cc_setonop("bankmain_switchtab($component0, $component2, $component7, $component8, $component9, $component16, $component17, $component15, $component18, $component19, $component20, $component21, event_opindex, $int35, $component28, $component29, $component30, $component31, $component32)");
$int35 = calc($int35 + 1);
cc_setopbase("<col=ff9040><tostring($int36)></col>");
cc_setonop("bankmain_switchtab($component0, $component2, $component7, $component8, $component9, $component16, $component17, $component15, $component18, $component19, $component20, $component21, event_opindex, $int36, $component28, $component29, $component30, $component31, $component32)");
$int36 = calc($int36 + 1);
}
$int35 = 0;
while ($int35 <= 9) {
cc_create($component7, ^iftype_rectangle, $int34);
$int34 = calc($int34 + 1);
$int36 = 0;
while ($int36 <= 9) {
cc_create($component7, ^iftype_rectangle, $int35);
$int35 = calc($int35 + 1);
cc_setsize(0, 32, ^setsize_abs, ^setsize_abs);
cc_setfill(true);
cc_settrans(255);
$int35 = calc($int35 + 1);
$int36 = calc($int36 + 1);
}
~bankmain_viewbuttons($component4, $component0, $component2, $component3, $component7, $component8, $component9, $component16, $component17, $component15, $component18, $component19, $component20, $component21, $component4, $component5, $component6, $component28, $component29, $component30, $component31, $component32);
if_setoninvtransmit("bankmain_build($component0, $component2, $component7, $component8, $component9, $component16, $component17, $component15, $component18, $component19, $component20, $component21, $component28, $component29, $component30, $component31, $component32){bank}", $component7);
if_setonvartransmit("bankmain_build($component0, $component2, $component7, $component8, $component9, $component16, $component17, $component15, $component18, $component19, $component20, $component21, $component28, $component29, $component30, $component31, $component32){var304, var115, var867, var1052, var1053, var1666, var1141}", $component7);
%varcint51 = $int33;
def_component $layer37 = if_getlayer($component0);
if ($layer37 ! null) {
~bankmain_size_check($component0, $layer37, ^min_32bit_int, ^min_32bit_int, $component8, $component7);
%varcint51 = $int34;
def_component $layer38 = if_getlayer($component0);
if ($layer38 ! null) {
~bankmain_size_check($component0, $layer38, ^min_32bit_int, ^min_32bit_int, $component8, $component7);
}
cc_deleteall($component19);
cc_create($component19, ^iftype_model, 0);
Expand All @@ -91,3 +91,5 @@ cc_setmodelangle(15, 300, 141, 220, 0, 3500);
.cc_sethide(true);
if_setonmouserepeat("script1312(true, $component19, $component21)", $component19);
if_setonmouseleave("script1312(false, $component19, $component21)", $component19);
~script5300($component33);
if_setonvartransmit("script5299(event_com){var499}", $component33);
4 changes: 2 additions & 2 deletions scripts/[clientscript,ca_tasks_draw_list].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4817
[clientscript,ca_tasks_draw_list](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, int $int13)
~ca_tasks_draw_list($int0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $int13);
[clientscript,ca_tasks_draw_list](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, int $int13, int $clock14)
if_setontimer("script5244($int0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $int13, clientclock)", $component1);
4 changes: 2 additions & 2 deletions scripts/[clientscript,ca_tasks_init].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ def_int $comsubid15 = ~steelborder($component1, "Combat Achievements - Tasks", 0
if_setscrollpos(0, 0, $component2);
cc_deleteall($component11);
~scrollbar_vertical($component11, $component2, "scrollbar_dragger_v2,3", "scrollbar_dragger_v2,0", "scrollbar_dragger_v2,1", "scrollbar_dragger_v2,2", "scrollbar_v2,0", "scrollbar_v2,1");
if_setonvartransmit("ca_tasks_draw_list(-1, $component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $comsubid15){var3131, var3132}", $component3);
~ca_tasks_draw_list(-1, $component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $comsubid15);
if_setontimer("script5244(-1, $component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $comsubid15, clientclock)", $component0);
if_setonvartransmit("ca_tasks_draw_list(-1, $component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $comsubid15, clientclock){var3131, var3132}", $component3);
2 changes: 1 addition & 1 deletion scripts/[clientscript,clan_create_member_invite].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 4446
[clientscript,clan_create_member_invite]
mes("Only the clan founder can do that.");
mes("Only the leader can do that.");
44 changes: 30 additions & 14 deletions scripts/[clientscript,clan_create_side_init].cs2
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
// 4445
[clientscript,clan_create_side_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, int $int8)
if_settext("<col=ff981f>Form a clan</col>", $component1);
[clientscript,clan_create_side_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, int $int8, string $string0)
def_int $int9 = 0;
if (%varbit13058 = 1 | %varbit13059 = 1) {
$int9 = 1;
if_settext("<col=ff981f>Create a <$string0></col>", $component1);
} else {
if_settext("<col=ff981f>Form a <$string0></col>", $component1);
}
cc_deleteall($component2);
cc_create($component2, ^iftype_text, 0);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
Expand All @@ -9,28 +15,38 @@ cc_setcolour(0xffb83f);
cc_settextfont(p11_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settextshadow(true);
cc_settext("Clan founders");
cc_settext("<$string0> members");
cc_deleteall($component0);
cc_create($component0, ^iftype_rectangle, enum(component, int, enum_3824, $component4));
cc_create($component0, ^iftype_rectangle, enum(component, int, enum_3824, $component5));
cc_create($component0, ^iftype_rectangle, enum(component, int, enum_3824, $component6));
cc_create($component0, ^iftype_rectangle, enum(component, int, enum_3824, $component7));
def_string $string0 = "<col=ff981f>Clan name</col>";
def_enum $enum10 = enum_3824;
def_int $int11 = 0;
if ($int9 = 1) {
$enum10 = enum_4053;
$int11 = 1;
}
cc_create($component0, ^iftype_rectangle, enum(component, int, $enum10, $component4));
cc_create($component0, ^iftype_rectangle, enum(component, int, $enum10, $component5));
cc_create($component0, ^iftype_rectangle, enum(component, int, $enum10, $component6));
cc_create($component0, ^iftype_rectangle, enum(component, int, $enum10, $component7));
def_string $string1 = "<col=ff981f><$string0> name</col>";
if (string_length(%varcstring458) > 0) {
$string0 = %varcstring458;
$string1 = %varcstring458;
}
if_setop(1, "Clan name", $component4);
if_setop(1, "<$string0> name", $component4);
if_setop(1, "Cancel", $component5);
if_setop(1, "Invite", $component6);
if_setop(1, "Confirm", $component7);
if (%varbit12171 = 1) {
~clan_stonebutton_init($string0, $component4, "p12_full");
if (%varbit13058 = 1 | %varbit12171 = 1) {
~clan_stonebutton_init($string1, $component4, "p12_full");
~clan_stonebutton_init("<col=ff0000>Cancel</col>", $component5, "p12_full");
~clan_stonebutton_target_init("<col=ff981f>Invite</col>", $component6, "p12_full");
~clan_stonebutton_init("<col=0dc10d>Confirm</col>", $component7, "p12_full");
} else {
if_setonop("clan_create_member_invite", $component6);
~clan_stonebutton_draw(false, "<col=808080>Clan name</col>", "p12_full", $component4);
if ($int11 = 0) {
if_setonop("clan_create_member_invite", $component6);
} else {
if_setonop("script5304", $component6);
}
~clan_stonebutton_draw(false, "<col=808080><$string0> name</col>", "p12_full", $component4);
~clan_stonebutton_init("<col=ff0000>Cancel</col>", $component5, "p12_full");
~clan_stonebutton_draw(false, "<col=808080>Invite</col>", "p12_full", $component6);
~clan_stonebutton_draw(false, "<col=808080>Confirm</col>", "p12_full", $component7);
Expand Down
3 changes: 3 additions & 0 deletions scripts/[clientscript,clan_create_targetmode].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
[clientscript,clan_create_targetmode](boolean $boolean0, component $component1, string $string0, graphic $graphic2)
if ($boolean0 = true) {
%varcint454 = 1;
sound_synth(interface_select1, 1, 0);
mes("You're now in Invite Target Mode. <~text_device("Left click", "Tap")> someone to invite them.");
} else {
%varcint454 = 0;
mes("You're no longer in Invite Target Mode.");
}
~clan_stonebutton_draw($boolean0, "Invite", "p12_full", $component1);
3 changes: 2 additions & 1 deletion scripts/[clientscript,ge_offers_init].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ while ($component16 ! null) {
$int15 = calc($int15 + 1);
$component16 = enum(int, component, enum_245, $int15);
}
~ge_offers_setup_init($component10, $component11, $component12);
~script819($component6, $component7, $component8);
if_setonvartransmit("script5306($component10, $component11, $component12, $component6, $component7, $component8){var499}", $component1);
~script816($component9);
~ge_offers_setup_init($component10, $component11, $component12);
~ge_offers_switchpanel($component1, $comsubid14, $component3, $component4, $component6, $component10, $component13);
if_setonvartransmit("ge_offers_switchpanel($component1, $comsubid14, $component3, $component4, $component6, $component10, $component13){var375}", $component0);
if_setonstocktransmit("ge_offers_switchpanel($component1, $comsubid14, $component3, $component4, $component6, $component10, $component13)", $component0);
Expand Down
Loading

0 comments on commit e299caf

Please sign in to comment.