From 9a604182c8e77ff0aca37206d2a0c25eda9f4573 Mon Sep 17 00:00:00 2001 From: smokexyz Date: Mon, 5 Jun 2017 22:09:35 +0800 Subject: [PATCH] Updated scripts to comply with HUSS. --- npc/custom/etc/quest_warper.txt | 2 +- npc/kafras/functions_kafras.txt | 2 +- npc/kafras/kafras.txt | 2 +- npc/other/CashShop_Functions.txt | 2 +- npc/quests/quests_13_1.txt | 6 +++--- npc/quests/quests_13_2.txt | 6 +++--- npc/re/cities/mora.txt | 2 +- npc/re/jobs/novice/academy.txt | 2 +- npc/re/other/dimensional_gap.txt | 2 +- npc/re/quests/eden/eden_service.txt | 2 +- npc/re/quests/quests_dicastes.txt | 2 +- npc/re/quests/quests_malangdo.txt | 2 +- npc/woe-fe/agit_main.txt | 2 +- npc/woe-se/agit_main_se.txt | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/npc/custom/etc/quest_warper.txt b/npc/custom/etc/quest_warper.txt index 35b863e9d8c..e4db7cedf39 100644 --- a/npc/custom/etc/quest_warper.txt +++ b/npc/custom/etc/quest_warper.txt @@ -474,7 +474,7 @@ L_Storage: } mes "Close this window and I will open your storage."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; L_StorageJBlow: diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index e1e54717472..fa257465144 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -284,7 +284,7 @@ function script F_KafStor { } callfunc("F_CheckKafCode"); //check your storage password, if set close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); cutin "", 255; end; } diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt index 29b1b02da16..d0d5aaf07ec 100644 --- a/npc/kafras/kafras.txt +++ b/npc/kafras/kafras.txt @@ -92,7 +92,7 @@ aldeba_in,96,181,4 script Kafra Service 4_F_KAFRA5,{ mes "Thank you for your patronage."; callfunc("F_CheckKafCode"); //check your storage password, if set close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); break; case 3: mes "[Kafra Leilah]"; diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index 92fe841e17c..d60af59efdc 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -46,7 +46,7 @@ function script F_CashStore { mes "Welcome to the Kafra Corporation."; mes "Here, let me open your Storage for you."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); cutin "",255; return; } diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 562609d3105..93a7726b560 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -7678,7 +7678,7 @@ function Catwarp; mes "Your storage will"; mes "be opened shortly."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { @@ -7725,7 +7725,7 @@ function Catwarp; mes "Your storage will"; mes "be opened shortly."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { @@ -7847,7 +7847,7 @@ function Catwarp; mes "Your storage will"; mes "be opened shortly."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 0dfd16d23a0..2684669c230 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -109,7 +109,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 4_M_BOSSCAT,{ mes "Thank you."; mes "Your storage will be opened shortly."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { @@ -156,7 +156,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 4_M_BOSSCAT,{ mes "Thank you."; mes "Your storage will be opened shortly."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { @@ -277,7 +277,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 4_M_BOSSCAT,{ mes "Thank you."; mes "Your storage will be opened shortly."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { diff --git a/npc/re/cities/mora.txt b/npc/re/cities/mora.txt index 1b231024c00..f3a499cae6c 100644 --- a/npc/re/cities/mora.txt +++ b/npc/re/cities/mora.txt @@ -1192,7 +1192,7 @@ mora,48,128,0 script Drawer#mora_warehouse HIDDEN_NPC,{ close; } Zeny -= 100; - openstorage; + openstorage(STORAGE_TYPE_MAIN); close; case 2: mes "- You gave up using the warehouse. -"; diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt index bee91f3828d..e7fcf7826f0 100644 --- a/npc/re/jobs/novice/academy.txt +++ b/npc/re/jobs/novice/academy.txt @@ -5393,7 +5393,7 @@ iz_ac01,95,46,5 script Kafra Guide Trainer#ac 4_F_KAFRA1,{ mes("Thanks for using~!"); close2(); cutin("", 255); - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } else { mes("[Kafra Guide Trainer]"); diff --git a/npc/re/other/dimensional_gap.txt b/npc/re/other/dimensional_gap.txt index b303f14b727..cf66afaa183 100644 --- a/npc/re/other/dimensional_gap.txt +++ b/npc/re/other/dimensional_gap.txt @@ -137,7 +137,7 @@ dali,112,95,4 script Logistics Manager 4_M_MERCAT2,{ mes("You need at least 200 zeny to use the Storage."); } else { Zeny -= 200; - openstorage(); + openstorage(STORAGE_TYPE_MAIN); } close(); } diff --git a/npc/re/quests/eden/eden_service.txt b/npc/re/quests/eden/eden_service.txt index ce6efaa67a6..e8bbbe95402 100644 --- a/npc/re/quests/eden/eden_service.txt +++ b/npc/re/quests/eden/eden_service.txt @@ -65,7 +65,7 @@ } Zeny -= 500; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } mes "I don't have enough zeny."; diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt index 0aa4ffa1a57..597082ca651 100644 --- a/npc/re/quests/quests_dicastes.txt +++ b/npc/re/quests/quests_dicastes.txt @@ -445,7 +445,7 @@ dic_in01,254,119,0 script Item Storage#01 CLEAR_NPC,{ } Zeny -= 500; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index 9a67c4af8dc..04603a95b4a 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -370,7 +370,7 @@ malangdo,184,139,4 script Storekeeper#mal 4_CAT_ADV2,{ mes "[Storekeeper]"; mes "Thank you."; close2; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; } diff --git a/npc/woe-fe/agit_main.txt b/npc/woe-fe/agit_main.txt index 5ac5b8e9af5..2d97ddf14ec 100644 --- a/npc/woe-fe/agit_main.txt +++ b/npc/woe-fe/agit_main.txt @@ -366,7 +366,7 @@ OnRecvCastle: mes "the Kafra Service."; close2; cutin "",255; - openstorage; + openstorage(STORAGE_TYPE_MAIN); end; case 2: mes "[Kafra Employee]"; diff --git a/npc/woe-se/agit_main_se.txt b/npc/woe-se/agit_main_se.txt index 5f291e6588e..472841e1cad 100644 --- a/npc/woe-se/agit_main_se.txt +++ b/npc/woe-se/agit_main_se.txt @@ -869,7 +869,7 @@ OnInit: mes "have at least Novice Skill"; mes "Lv.6 to use the Storage."; } - else openstorage; + else openstorage(STORAGE_TYPE_MAIN); break; case 2: mes "[Kafra Employee]";