From bf68ccefa3c15b99a2de6e6d7f9b673eb03cb195 Mon Sep 17 00:00:00 2001 From: Euphy Date: Tue, 27 Aug 2013 03:28:41 -0400 Subject: [PATCH] * Script style standardization. - Standardized cases on constants (Zeny, Sex, BaseLevel, etc.). - Replaced numerics with constants. - Standardized parts of script headers. - Changed some script styles to K&R. - Added some official script file names as comments. - Replaced most 'misceffect' commands with 'specialeffect'. Signed-off-by: Euphy --- npc/airports/airships.txt | 8 +- npc/battleground/bg_common.txt | 2 +- npc/battleground/flavius/flavius_enter.txt | 8 +- npc/battleground/kvm/kvm01.txt | 4 +- npc/battleground/kvm/kvm02.txt | 4 +- npc/battleground/kvm/kvm03.txt | 4 +- npc/battleground/kvm/kvm_item_pay.txt | 2 +- npc/battleground/tierra/tierra_enter.txt | 8 +- npc/cities/aldebaran.txt | 12 +- npc/cities/amatsu.txt | 4 +- npc/cities/ayothaya.txt | 6 +- npc/cities/comodo.txt | 4 +- npc/cities/einbech.txt | 6 +- npc/cities/einbroch.txt | 14 +- npc/cities/geffen.txt | 42 +- npc/cities/gonryun.txt | 4 +- npc/cities/hugel.txt | 12 +- npc/cities/izlude.txt | 10 +- npc/cities/jawaii.txt | 90 +- npc/cities/lighthalzen.txt | 20 +- npc/cities/louyang.txt | 18 +- npc/cities/lutie.txt | 174 +- npc/cities/morocc.txt | 8 +- npc/cities/moscovia.txt | 10 +- npc/cities/niflheim.txt | 6 +- npc/cities/payon.txt | 10 +- npc/cities/prontera.txt | 2 +- npc/cities/rachel.txt | 4 +- npc/cities/splendide.txt | 6 +- npc/cities/umbala.txt | 34 +- npc/cities/yuno.txt | 10 +- npc/custom/battleground/bg_common.txt | 2 +- npc/custom/battleground/bg_flavius_01.txt | 4 +- npc/custom/battleground/bg_flavius_02.txt | 4 +- npc/custom/battleground/bg_kvm01.txt | 6 +- npc/custom/battleground/bg_kvm02.txt | 6 +- npc/custom/battleground/bg_kvm03.txt | 6 +- npc/custom/battleground/bg_tierra_01.txt | 6 +- npc/custom/battleground/bg_tierra_02.txt | 6 +- npc/custom/card_remover.txt | 2 +- npc/custom/etc/airplane.txt | 8 +- npc/custom/etc/bank_kafra.txt | 4 +- npc/custom/etc/lottery.txt | 8 +- npc/custom/etc/marriage.txt | 20 +- npc/custom/etc/monster_arena.txt | 6 +- npc/custom/etc/morroc_raceway.txt | 2 +- npc/custom/etc/penal_servitude.txt | 6 +- npc/custom/etc/quest_warper.txt | 6 +- npc/custom/etc/rpsroulette.txt | 32 +- npc/custom/etc/shifty_assassin.txt | 4 +- npc/custom/etc/stock_market.txt | 68 +- npc/custom/events/cluckers.txt | 16 +- npc/custom/events/disguise.txt | 2 +- npc/custom/events/uneasy_cemetery.txt | 2 +- npc/custom/events/valentinesdayexp.txt | 8 +- npc/custom/events/xmas_rings_event.txt | 29 +- npc/custom/quests/bandit_beard.txt | 16 +- npc/custom/quests/may_hats.txt | 2 +- npc/custom/quests/thq/THQS_GuildNPC.txt | 4 +- npc/custom/quests/thq/THQS_QuestNPC.txt | 12 +- npc/custom/quests/thq/THQS_TTShop.txt | 6 +- npc/custom/woe_controller.txt | 2 +- npc/events/MemorialDay_2008.txt | 64 +- npc/events/StPatrick_2008.txt | 2 +- npc/events/children_week.txt | 22 +- npc/events/christmas_2005.txt | 25 +- npc/events/christmas_2008.txt | 74 +- npc/events/easter_2008.txt | 4 +- npc/events/gdevent_aru.txt | 2 +- npc/events/gdevent_sch.txt | 2 +- npc/events/halloween_2006.txt | 12 +- npc/events/halloween_2008.txt | 116 +- npc/events/valentinesday_2009.txt | 22 +- npc/guild/agit_controller.txt | 12 +- npc/instances/EndlessTower.txt | 8 +- npc/instances/SealedShrine.txt | 2 +- npc/jobs/1-1e/gunslinger.txt | 52 +- npc/jobs/1-1e/ninja.txt | 26 +- npc/jobs/2-1/assassin.txt | 32 +- npc/jobs/2-1/blacksmith.txt | 36 +- npc/jobs/2-1/hunter.txt | 14 +- npc/jobs/2-1/knight.txt | 11 +- npc/jobs/2-1/priest.txt | 32 +- npc/jobs/2-1/wizard.txt | 8 +- npc/jobs/2-1a/AssassinCross.txt | 4 +- npc/jobs/2-1a/HighPriest.txt | 4 +- npc/jobs/2-1a/HighWizard.txt | 4 +- npc/jobs/2-1a/LordKnight.txt | 4 +- npc/jobs/2-1a/Sniper.txt | 4 +- npc/jobs/2-1a/WhiteSmith.txt | 4 +- npc/jobs/2-1e/StarGladiator.txt | 2 +- npc/jobs/2-2/alchemist.txt | 26 +- npc/jobs/2-2/bard.txt | 7 +- npc/jobs/2-2/crusader.txt | 11 +- npc/jobs/2-2/dancer.txt | 30 +- npc/jobs/2-2/monk.txt | 8 +- npc/jobs/2-2/rogue.txt | 21 +- npc/jobs/2-2/sage.txt | 12 +- npc/jobs/2-2a/Champion.txt | 4 +- npc/jobs/2-2a/Clown.txt | 6 +- npc/jobs/2-2a/Creator.txt | 4 +- npc/jobs/2-2a/Gypsy.txt | 4 +- npc/jobs/2-2a/Paladin.txt | 4 +- npc/jobs/2-2a/Professor.txt | 4 +- npc/jobs/2-2a/Stalker.txt | 4 +- npc/jobs/novice/supernovice.txt | 6 +- npc/jobs/valkyrie.txt | 16 +- npc/kafras/cool_event_corp.txt | 2 +- npc/kafras/dts_warper.txt | 46 +- npc/kafras/functions_kafras.txt | 20 +- npc/kafras/kafras.txt | 4 +- npc/merchants/advanced_refiner.txt | 6 +- npc/merchants/alchemist.txt | 4 +- npc/merchants/ammo_boxes.txt | 8 +- npc/merchants/ammo_dealer.txt | 4 +- npc/merchants/cashheadgear_dye.txt | 2 +- npc/merchants/coin_exchange.txt | 2 +- npc/merchants/dye_maker.txt | 3 +- npc/merchants/enchan_arm.txt | 2 +- npc/merchants/gemstone.txt | 6 +- npc/merchants/hair_dyer.txt | 8 +- npc/merchants/hair_style.txt | 8 +- npc/merchants/inn.txt | 2 +- npc/merchants/kunai_maker.txt | 6 +- npc/merchants/milk_trader.txt | 6 +- npc/merchants/novice_exchange.txt | 19 +- npc/merchants/old_pharmacist.txt | 386 +- npc/merchants/quivers.txt | 6 +- npc/merchants/refine.txt | 116 +- npc/merchants/renters.txt | 12 +- npc/merchants/shops.txt | 16 +- npc/merchants/socket_enchant.txt | 4 +- npc/merchants/wander_pet_food.txt | 2 +- npc/other/CashShop_Functions.txt | 2 +- npc/other/Global_Functions.txt | 2 +- npc/other/auction.txt | 2 +- npc/other/card_trader.txt | 10 +- npc/other/divorce.txt | 14 +- npc/other/fortune.txt | 4 +- npc/other/marriage.txt | 28 +- npc/other/monster_race.txt | 18 +- npc/other/poring_war.txt | 102 +- npc/other/turbo_track.txt | 2 +- npc/pre-re/guides/guides_comodo.txt | 7 +- npc/pre-re/guides/guides_geffen.txt | 4 +- npc/pre-re/guides/guides_niflheim.txt | 4 +- npc/pre-re/jobs/1-1/acolyte.txt | 4 +- npc/pre-re/jobs/1-1/archer.txt | 4 +- npc/pre-re/jobs/1-1/mage.txt | 6 +- npc/pre-re/jobs/1-1/merchant.txt | 12 +- npc/pre-re/jobs/1-1/swordman.txt | 4 +- npc/pre-re/jobs/1-1/thief.txt | 10 +- npc/pre-re/jobs/novice/novice.txt | 2 +- npc/pre-re/mobs/dungeons/gefenia.txt | 2 +- npc/pre-re/mobs/dungeons/juperos.txt | 2 +- npc/pre-re/mobs/dungeons/lhz_dun.txt | 20 +- npc/pre-re/mobs/fields/einbroch.txt | 4 +- npc/pre-re/mobs/fields/hugel.txt | 4 +- npc/pre-re/mobs/fields/lighthalzen.txt | 4 +- npc/pre-re/mobs/fields/yuno.txt | 6 +- .../collection/quest_disguiseloliruri.txt | 4 +- npc/pre-re/quests/collection/quest_mantis.txt | 2 +- .../quests/collection/quest_zhupolong.txt | 2 +- npc/quests/bard_quest.txt | 16 +- npc/quests/cooking_quest.txt | 28 +- npc/quests/counteragent_mixture.txt | 4 +- npc/quests/doomed_swords.txt | 2 +- npc/quests/eye_of_hellion.txt | 4 +- npc/quests/juice_maker.txt | 12 +- npc/quests/kiel_hyre_quest.txt | 166 +- npc/quests/lvl4_weapon_quest.txt | 5 +- npc/quests/mage_solution.txt | 6 +- npc/quests/newgears/2004_headgears.txt | 34 +- npc/quests/newgears/2005_headgears.txt | 2 +- npc/quests/newgears/2006_headgears.txt | 31 +- npc/quests/newgears/2008_headgears.txt | 2 +- npc/quests/obb_quest.txt | 3 +- npc/quests/partyrelay.txt | 20 +- npc/quests/quests_13_1.txt | 67 +- npc/quests/quests_13_2.txt | 22 +- npc/quests/quests_airship.txt | 979 ++-- npc/quests/quests_alberta.txt | 691 ++- npc/quests/quests_aldebaran.txt | 32 +- npc/quests/quests_amatsu.txt | 25 +- npc/quests/quests_ayothaya.txt | 450 +- npc/quests/quests_comodo.txt | 2 +- npc/quests/quests_ein.txt | 31 +- npc/quests/quests_gonryun.txt | 1586 +++---- npc/quests/quests_hugel.txt | 4039 +++++++---------- npc/quests/quests_izlude.txt | 8 +- npc/quests/quests_juperos.txt | 2764 ++++++----- npc/quests/quests_lighthalzen.txt | 66 +- npc/quests/quests_louyang.txt | 420 +- npc/quests/quests_lutie.txt | 26 +- npc/quests/quests_morocc.txt | 38 +- npc/quests/quests_moscovia.txt | 104 +- npc/quests/quests_nameless.txt | 36 +- npc/quests/quests_niflheim.txt | 12 +- npc/quests/quests_payon.txt | 40 +- npc/quests/quests_prontera.txt | 74 +- npc/quests/quests_rachel.txt | 206 +- npc/quests/quests_umbala.txt | 8 +- npc/quests/quests_veins.txt | 31 +- npc/quests/quests_yuno.txt | 26 +- npc/quests/skills/acolyte_skills.txt | 4 +- npc/quests/skills/archer_skills.txt | 14 +- npc/quests/skills/assassin_skills.txt | 12 +- npc/quests/skills/bard_skills.txt | 61 +- npc/quests/skills/blacksmith_skills.txt | 13 +- npc/quests/skills/crusader_skills.txt | 2 +- npc/quests/skills/dancer_skills.txt | 32 +- npc/quests/skills/hunter_skills.txt | 22 +- npc/quests/skills/mage_skills.txt | 4 +- npc/quests/skills/merchant_skills.txt | 8 +- npc/quests/skills/swordman_skills.txt | 4 +- npc/quests/skills/thief_skills.txt | 12 +- npc/quests/the_sign_quest.txt | 22 +- npc/re/cities/brasilis.txt | 4 +- npc/re/cities/eclage.txt | 2 +- npc/re/instances/OldGlastHeim.txt | 8 +- npc/re/jobs/1-1/thief.txt | 4 +- npc/re/jobs/3-2/wanderer.txt | 2 +- npc/re/merchants/diamond.txt | 12 +- npc/re/merchants/enchan_mora.txt | 2 +- npc/re/merchants/inn.txt | 2 +- npc/re/mobs/dungeons/gefenia.txt | 2 +- npc/re/mobs/dungeons/juperos.txt | 2 +- npc/re/mobs/dungeons/lhz_dun.txt | 16 +- npc/re/mobs/fields/einbroch.txt | 8 +- npc/re/mobs/fields/hugel.txt | 4 +- npc/re/mobs/fields/lighthalzen.txt | 4 +- npc/re/mobs/fields/yuno.txt | 6 +- npc/re/quests/cupet.txt | 2 +- npc/re/quests/eden/56-70.txt | 2 +- npc/re/quests/magic_books.txt | 2 +- npc/re/quests/pile_bunker.txt | 2 +- npc/re/quests/quests_brasilis.txt | 2 +- npc/re/quests/quests_dewata.txt | 6 +- npc/re/quests/quests_malaya.txt | 12 +- npc/re/quests/quests_mora.txt | 12 +- npc/warps/cities/amatsu.txt | 2 +- npc/warps/cities/comodo.txt | 2 +- npc/warps/dungeons/juperos.txt | 2 +- npc/warps/dungeons/kh_dun.txt | 2 +- npc/warps/dungeons/lhz_dun.txt | 9 +- npc/warps/dungeons/odin.txt | 4 +- npc/warps/dungeons/ra_san.txt | 10 +- npc/warps/guildcastles.txt | 4 +- 248 files changed, 6771 insertions(+), 8323 deletions(-) diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index 626d2dbfe0..c78ac42c88 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -23,13 +23,13 @@ airplane,243,73,0 script #AirshipWarp-1 45,1,1,{ OnInit: OnHide: - misceffect 16; + specialeffect EF_BASH; disablenpc strnpcinfo(0); end; OnUnhide: enablenpc strnpcinfo(0); - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnTouch: @@ -669,13 +669,13 @@ OnTouch: OnInit: OnHide: - misceffect 16; + specialeffect EF_BASH; disablenpc strnpcinfo(0); end; OnUnhide: enablenpc strnpcinfo(0); - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; } diff --git a/npc/battleground/bg_common.txt b/npc/battleground/bg_common.txt index 1c485f51ed..ec4729eeeb 100644 --- a/npc/battleground/bg_common.txt +++ b/npc/battleground/bg_common.txt @@ -507,7 +507,7 @@ bat_room,160,150,3 script Erundek 109,{ mes "[Erundek]"; mes "We have many items, so please take a look and purchase deliberately."; close2; - ReadBook 11010,1; + readbook 11010,1; end; } set .@menu$,""; diff --git a/npc/battleground/flavius/flavius_enter.txt b/npc/battleground/flavius/flavius_enter.txt index 3fb41b284c..60cdfbd3f6 100644 --- a/npc/battleground/flavius/flavius_enter.txt +++ b/npc/battleground/flavius/flavius_enter.txt @@ -29,7 +29,7 @@ bat_room,133,178,5 script Flavius Officer#01a 418,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Guillaume Army Officer]"; mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } @@ -96,7 +96,7 @@ bat_room,133,121,1 script Flavius Officer#01b 414,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Croix Army Officer]"; mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } @@ -253,7 +253,7 @@ bat_room,148,178,5 script Flavius Officer#02a 418,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Guillaume Army Officer]"; mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } @@ -320,7 +320,7 @@ bat_room,148,121,1 script Flavius Officer#02b 414,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Croix Army Officer]"; mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } diff --git a/npc/battleground/kvm/kvm01.txt b/npc/battleground/kvm/kvm01.txt index f4bd4dd8da..5ad36260e8 100644 --- a/npc/battleground/kvm/kvm01.txt +++ b/npc/battleground/kvm/kvm01.txt @@ -55,11 +55,11 @@ bat_room,169,211,0 warp #kvm802 2,2,bat_room,154,150 end; OnKvM01One: - misceffect EF_CHANGECOLD; + specialeffect EF_CHANGECOLD; end; OnKvM01Two: - misceffect EF_CHANGEPOISON; + specialeffect EF_CHANGEPOISON; end; } diff --git a/npc/battleground/kvm/kvm02.txt b/npc/battleground/kvm/kvm02.txt index b38db7f088..5504f51558 100644 --- a/npc/battleground/kvm/kvm02.txt +++ b/npc/battleground/kvm/kvm02.txt @@ -57,11 +57,11 @@ bat_room,197,211,0 warp #kvm602 2,2,bat_room,154,150 end; OnKvM02One: - misceffect EF_CHANGECOLD; + specialeffect EF_CHANGECOLD; end; OnKvM02Two: - misceffect EF_CHANGEPOISON; + specialeffect EF_CHANGEPOISON; end; } diff --git a/npc/battleground/kvm/kvm03.txt b/npc/battleground/kvm/kvm03.txt index c2f6b9967d..2c63f8900f 100644 --- a/npc/battleground/kvm/kvm03.txt +++ b/npc/battleground/kvm/kvm03.txt @@ -56,11 +56,11 @@ bat_room,225,211,0 warp #kvm702 2,2,bat_room,154,150 end; OnKvM03One: - misceffect EF_CHANGECOLD; + specialeffect EF_CHANGECOLD; end; OnKvM03Two: - misceffect EF_CHANGEPOISON; + specialeffect EF_CHANGEPOISON; end; } diff --git a/npc/battleground/kvm/kvm_item_pay.txt b/npc/battleground/kvm/kvm_item_pay.txt index c8d529cf84..aea377c733 100644 --- a/npc/battleground/kvm/kvm_item_pay.txt +++ b/npc/battleground/kvm/kvm_item_pay.txt @@ -57,7 +57,7 @@ bat_room,151,144,3 script KVM Logistic Officer#a 734,{ mes "points. So, be carefull when"; mes "selecting a reward."; close2; - ReadBook 11017,1; + readbook 11017,1; end; case 2: mes "[Logistics]"; diff --git a/npc/battleground/tierra/tierra_enter.txt b/npc/battleground/tierra/tierra_enter.txt index 3083068bea..6caea91c95 100644 --- a/npc/battleground/tierra/tierra_enter.txt +++ b/npc/battleground/tierra/tierra_enter.txt @@ -30,7 +30,7 @@ bat_room,124,178,5 script Tierra Gorge Officer#01a 418,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Guillaume Army Officer]"; mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } @@ -97,7 +97,7 @@ bat_room,140,178,5 script Tierra Gorge Officer#02a 418,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Guillaume Army Officer]"; mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } @@ -262,7 +262,7 @@ bat_room,125,121,1 script Tierra Gorge Officer#01b 414,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Croix Army Officer]"; mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } @@ -329,7 +329,7 @@ bat_room,140,121,1 script Tierra Gorge Officer#02b 414,{ next; switch(select("I want to join your army!:End Conversation")) { case 1: - if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) { + if ((Class == Job_Novice) || (BaseClass == Job_Supernovice)) { mes "[Croix Army Officer]"; mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield."; } diff --git a/npc/cities/aldebaran.txt b/npc/cities/aldebaran.txt index 911e2e1740..c3e4062d6a 100644 --- a/npc/cities/aldebaran.txt +++ b/npc/cities/aldebaran.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Al De Baran Town //===== By: ================================================== -//= rAthena dev team; L0ne_W0lf +//= rAthena Dev Team; L0ne_W0lf //===== Current Version: ===================================== //= 2.3 //===== Compatible With: ===================================== @@ -10,8 +10,8 @@ //= [Official Conversion] //= Al De Baran Town NPCs //===== Additional Comments: ================================= -//= v1.1 Added RS125 NPC. Added another Kafra Reserve points agent. -//= The 2nd reserve points agent is not complete yet. +//= 1.1 Added RS125 NPC. Added another Kafra Reserve points agent. +//= The 2nd reserve points agent is not complete yet. //= 1.2 Lottery input number fix [Lupus], 1.2a - label typo fixed //= 1.3 Gatekeeper's bug fixed (wrong check and wrong item ID //= for underground), fixed some typos [Lupus] @@ -23,8 +23,8 @@ //= 1.7 Fixed exploits [Lupus] 1.8 Removed Duplicates [Silent] //= 1.9 Fixed a bunch of typos with information from Crono/Hollengrhen [Evera] //= 1.9a Now Pavianne doesn't sell Kafra Passes. She refunds them [Lupus] -//= 2.0 Re-made all the dialog-only NPCs with official dialogs. -//= Kafra and Clock Tower NPCs pending remake. [DZeroX] +//= 2.0 Re-made all the dialog-only NPCs with official dialogs. +//= Kafra and Clock Tower NPCs pending remake. [DZeroX] //= 2.01 removed all .GATs [Lupus] //= 2.1 Rescripted most NPCs to Aegis 10.3 standards. [L0ne_W0lf] //= 2.2 Corrected NPC names to fall within proper resctrictions. [L0ne_W0lf] @@ -687,7 +687,7 @@ aldeba_in,156,179,4 script Master#alde 61,{ mes "Who's your"; mes "favorite Kafra girl?"; next; - if (sex == 0) { + if (Sex == 0) { mes "[Master]"; mes "Oh, and don't worry. I know that girls have some kind of opinion about how pretty other girls are."; next; diff --git a/npc/cities/amatsu.txt b/npc/cities/amatsu.txt index 805e29b4df..0ca370d9dd 100644 --- a/npc/cities/amatsu.txt +++ b/npc/cities/amatsu.txt @@ -11,7 +11,7 @@ //= Amatsu Town Script //===== Additional Comments: ================================= //= 1.3 Rescripted to Aegis 10.3 Standards. [L0ne_W0lf] -//= Moved elemental stone trader to 'elemental_trader.txt' +//= Moved elemental stone trader to 'elemental_trader.txt' //= 1.4 Moved Alberta NPC to pre-re/re paths. [Euphy] //============================================================ @@ -98,7 +98,7 @@ mes "[Walter Moers]"; mes "Alright, I will start the engine!"; close2; - set zeny,zeny-10000; + set Zeny, Zeny-10000; warp "amatsu",197,83; end; } diff --git a/npc/cities/ayothaya.txt b/npc/cities/ayothaya.txt index 9d101a1f1e..cbe9cc6169 100644 --- a/npc/cities/ayothaya.txt +++ b/npc/cities/ayothaya.txt @@ -58,7 +58,7 @@ mes "Let us be off! Back to my"; mes "beautiful Ayotaya!"; close2; - set zeny,zeny-10000; + set Zeny, Zeny-10000; warp "ayothaya",149,71; end; } @@ -304,8 +304,8 @@ ayothaya,241,264,5 script Young Man#5ayothaya2 843,{ //= 0.1 Added a Sailor NPC to get back to Alberta [ZoDIaC] //= 0.2 fixed coords, dialogues //= 0.3 Fixed Warp name, ayotaya doesn't exist, even though iRO -//= decided to call it Ayotaya, it really is Ayothaya, like -//= that Yuno/Juno thing +//= decided to call it Ayotaya, it really is Ayothaya, like +//= that Yuno/Juno thing //= 0.4 Added the official warp npc for Ayothaya. [MasterOfMuppets] //= 1.0 Added most of the official npcs. The following quests were added: [MasterOfMuppets] //= Tom Yum Goong quest, Holy Threads quest and Holier threads quest. diff --git a/npc/cities/comodo.txt b/npc/cities/comodo.txt index 38d7731ba1..1cc129857f 100644 --- a/npc/cities/comodo.txt +++ b/npc/cities/comodo.txt @@ -351,12 +351,12 @@ cmd_fild07,299,83,4 script Zain#cmd 100,{ switch(select("Alberta - 600 Zeny:Izlude - 800 Zeny:Cancel")) { case 1: if (Zeny < 600) break; - set zeny,zeny-600; + set Zeny, Zeny-600; warp "alberta",192,169; end; case 2: if (Zeny < 800) break; - set zeny,zeny-800; + set Zeny, Zeny-800; if(checkre(0)) warp "izlude",195,212; else diff --git a/npc/cities/einbech.txt b/npc/cities/einbech.txt index 3e39655e37..db195f1059 100644 --- a/npc/cities/einbech.txt +++ b/npc/cities/einbech.txt @@ -18,7 +18,7 @@ //= 1.0 Added the last of the town npcs, [MasterOfMuppets] //= all credits to muad_dib for scripting them. //= 1.1 Made some changes according to the Shinokas quest, [MasterOfMuppets] -//= thanks to Dj-Yhn for scripting them. +//= thanks to Dj-Yhn for scripting them. //= 1.2 Removed Duplicates [Silent] //= 1.3 Implemented the Lover's quest. [MasterOfMuppets] //= 1.4 Moved quests to quests/quests_ein.txt [Evera] @@ -214,7 +214,7 @@ einbech,39,215,5 script Train Station Staff#ein3 852,{ mes "we hope you enjoy"; mes "the ride. All aboard!"; close2; - set zeny,zeny-200; + set Zeny, Zeny-200; warp "einbroch",226,276; end; } @@ -989,7 +989,7 @@ einbech,148,246,5 script Franz#ein 851,{ mes "Now those aggressive teddy"; mes "bears are scattered all over"; mes "the place and the government"; - mes " has classified them as monsters. Kill with extreme prejudice!"; + mes "has classified them as monsters. Kill with extreme prejudice!"; next; mes "[Franz]"; mes "According to adventurers"; diff --git a/npc/cities/einbroch.txt b/npc/cities/einbroch.txt index 710c577401..1a9cfdc1b0 100644 --- a/npc/cities/einbroch.txt +++ b/npc/cities/einbroch.txt @@ -15,14 +15,14 @@ //= 0.4a Added exp bonus for the factory quest, borrowed from a Korean fansite. //= 0.4b Added missing close [Komurka] //= 0.5 Added Temporal Locations of Gunslinger Job Change map. -//= Info provided by RockmanEXE [erKURITA] +//= Info provided by RockmanEXE [erKURITA] //= 0.6 Implemented a crap quest [MasterOfMuppets] //= 0.7 Implemented an inn NPC [MasterOfMuppets] //= 0.8 Implemented the Shinokas quest, thanks to [MasterOfMuppets] -//= Dj-Yhn for scripting it. +//= Dj-Yhn for scripting it. //= 0.9 Removed Duplicates [Silent] //= 1.0 Implemented the Lover's quest. [MasterOfMuppets] -//= 1.1 Split quests into quests/cities_einbroch.txt [Evera] +//= 1.1 Split quests into quests/cities_einbroch.txt [Evera] //= 1.2 Split more quests into above file [Evera] //= 1.3 Added (finally) the Garrison quest npc [erKURITA] //= 1.4 Implemented the polution script. [MasterOfMuppets] @@ -130,7 +130,7 @@ function script EinTower { mes "using our services."; mes "Let me guide you to"; mes "the tower right away."; - set zeny,zeny-10; + set Zeny, Zeny-10; close2; warp "einbroch",181,196; end; @@ -157,7 +157,7 @@ function script EinTower { mes "using our services."; mes "Let me guide you to"; mes "the tower right away."; - set zeny,zeny-20; + set Zeny, Zeny-20; getitem 512,1; //Apple close2; warp "einbroch",174,204; @@ -205,7 +205,7 @@ einbroch,232,272,3 script Train Station Staff#ein1::EinbrochTrain 852,{ mes "Have a safe trip."; mes "^333333*Ahem*^000000 All aboard!"; close2; - set zeny,zeny-200; + set Zeny, Zeny-200; warp "einbech",43,215; end; } @@ -836,7 +836,7 @@ ein_in01,206,224,3 script Hotel Employee#ein 855,{ mes "Please enjoy"; mes "your rest~"; close2; - set zeny,zeny-5000; + set Zeny, Zeny-5000; percentheal 100,100; warp "ein_in01",272,167; end; diff --git a/npc/cities/geffen.txt b/npc/cities/geffen.txt index 7cbc53d8d8..bfc053f15c 100644 --- a/npc/cities/geffen.txt +++ b/npc/cities/geffen.txt @@ -102,7 +102,7 @@ geffen,147,26,0 script Ralphie 97,{ mes "With that, anyone could be as strong as Hercules... Even a weakling like me! Hahahahahah,"; mes "I must have it!"; next; - Emotion e_gasp; + emotion e_gasp; mes "[Ralphie]"; mes "...Good Heavens!"; mes "Since when were"; @@ -131,7 +131,7 @@ geffen,111,48,0 script Stacey 101,{ mes "Is that an Orc Helm you're wearing?! That's so cool! Wow..."; next; mes "[Stacey]"; - if (sex) { + if (Sex) { mes "You look so..."; mes "Rugged and manly~"; } @@ -152,11 +152,11 @@ geffen,111,48,0 script Stacey 101,{ mes "of Orc Hero!"; next; mes "[Stacey]"; - if (sex) { + if (Sex) { mes "It's..."; mes "It's like you're surrounded by this incredibly masculine aura! Oooh~! You must be irresistable to all the girls!"; next; - Emotion e_lv; + emotion e_lv; mes "[Stacey]"; mes "And I'm no exception."; } @@ -226,7 +226,7 @@ OnTouch: mes "You wanna get your hands on some great stuff? Come on over!^000000"; next; mes "[Suspicious Guy]"; - if (sex) + if (Sex) mes "Hey there tough guy. You look smart enough to recognize a bargain when it's right in front of your eyes."; else mes "Well, well, well. Aren't you a pretty girl. Today just happens to be your lucky day!"; @@ -261,7 +261,7 @@ OnTouch: input .@input; if (.@input == 0) { mes "[Suspicious Guy]"; - if (sex) + if (Sex) mes "Ah duuuuuude~ You're breakin' my heart! I mean, at these prices, I'm practically performing charity!"; else mes "W-waaaait! You didn't let me tell you the part about how Red Potions help you lose and gain weight in all the right places! Waaaaait!"; @@ -288,12 +288,12 @@ OnTouch: mes "^333333Now I gotta find some other sucker to dump this junk on!^000000 *Ahem* I mean, come again!"; close; } - set zeny,zeny-.@Red_potion_hap; + set Zeny, Zeny-.@Red_potion_hap; getitem 501,.@input; //Red_Potion break; case 2: mes "[Suspicious Guy]"; - if (sex) { + if (Sex) { mes "What would a strong guy like you want a knife for? Those will just break under the force of your incredibly powerful swings!"; next; mes "[Suspicious Guy]"; @@ -353,12 +353,12 @@ OnTouch: mes "When the greatest deal in your life is right before your eyes?! Tragic, truly tragic..."; close; } - set zeny,zeny-.@Main_gauche_hap; + set Zeny, Zeny-.@Main_gauche_hap; getitem 1207,.@input; //Main_Gauche break; case 3: mes "[Suspicious Guy]"; - if (sex) + if (Sex) mes "A Manteau? That's old news! You know what's the latest in protective armors?"; else mes "Now why would such a beautiful woman wear something out of style? You know what would make you look even better?"; @@ -399,13 +399,13 @@ OnTouch: break; } set .@Hood__hap,.@input * 930; - if (zeny < .@Hood__hap) { + if (Zeny < .@Hood__hap) { mes "[Suspicious Guy]"; mes "Oh nuts..."; mes "Short on zeny, eh?"; close; } - set zeny,zeny-.@Hood__hap; + set Zeny, Zeny-.@Hood__hap; getitem 2501,.@input; //Hood break; case 4: @@ -460,7 +460,7 @@ geffen_in,22,125,1 script Crumpler 52,{ mes "[Crumpler]"; mes "Ooooooooh"; mes "crraaaap!"; - Emotion e_gasp; + emotion e_gasp; next; mes "[Crumpler]"; mes "Help meeeee!"; @@ -498,7 +498,7 @@ geffen_in,22,125,1 script Crumpler 52,{ mes "[Crumpler]"; mes "A..."; mes "Sage?"; - Emotion e_What; + emotion e_what; next; mes "[Crumpler]"; mes "I don't know what that is. But I guess it can't be half as bad as a Mage."; @@ -612,7 +612,7 @@ geffen_in,27,134,5 script Waitress#elen 91,{ mes "I hear there's this person somewhere in Rune-Midgard..."; next; mes "[Elenore]"; - if (sex) + if (Sex) mes "Tell me, have you ever heard of "+strcharinfo(0)+"? He's supposed to be the suavest hero around!"; else mes "Have you ever heard of "+strcharinfo(0)+"? People say she's one of the prettiest girls in all of Rune-Midgard!"; @@ -652,7 +652,7 @@ geffen_in,27,134,5 script Waitress#elen 91,{ mes "^990000Hey you sex crazed bastard!! Stop looking at my daughter like that before I rip out your eyes, and eat them with pasta!^000000"; next; mes "["+strcharinfo(0)+"]"; - if (sex) { + if (Sex) { mes "Huh...?"; mes "C-come again?"; next; @@ -768,7 +768,7 @@ geffen_in,70,67,3 script Waitress#elise 90,{ mes "^990000Stay away from my daughter, or I'll beat your brains out, punk! Elisa's gonna marry a doctor! Or a lawyer!^000000"; next; mes "["+strcharinfo(0)+"]"; - if (sex) { + if (Sex) { mes "Y-y-y-yes, sir!"; next; mes "^3355FFThat was scary...!"; @@ -1039,7 +1039,7 @@ geffen_in,39,127,2 script Psychic Advisor 704,{ break; case 3: mes "Um..."; - if (sex) + if (Sex) mes "The girl that you"; else mes "The boy that you"; @@ -1056,8 +1056,8 @@ geffen_in,39,127,2 script Psychic Advisor 704,{ mes "[Psychic Advisor]"; mes "You didn't let me finish my sentence. What I meant to say was..."; next; - mes "[Psychic Advisor]" ; - if (sex) + mes "[Psychic Advisor]"; + if (Sex) mes "The girl that you"; else mes "The boy that you"; @@ -1076,7 +1076,7 @@ geffen_in,39,127,2 script Psychic Advisor 704,{ mes "Sometimes, I get the future and the present mixed up. You know, since I'm always looking into the future...?"; next; mes "[Psychic Advisor]"; - if (sex) { + if (Sex) { mes "What I meant to say was"; mes "^3355FFyou and the perfect woman will soon fall in love^000000. Yes, that's what I meant!"; } diff --git a/npc/cities/gonryun.txt b/npc/cities/gonryun.txt index 50a2e369c8..a3969df517 100644 --- a/npc/cities/gonryun.txt +++ b/npc/cities/gonryun.txt @@ -11,7 +11,7 @@ //= Kunlun Town Script //===== Additional Comments: ================================= //= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Moved Lost Knife mini-quest to quest file. +//= Moved Lost Knife mini-quest to quest file. //= 1.6 Moved Alberta NPC to pre-re/re paths. [Euphy] //============================================================ @@ -102,7 +102,7 @@ mes "[Wa Bai Hu]"; mes "Thank you, let me guide you there immediately."; close2; - set zeny,zeny-10000; + set Zeny, Zeny-10000; warp "gon_fild01",258,82; end; } diff --git a/npc/cities/hugel.txt b/npc/cities/hugel.txt index aba6f39970..554e763679 100644 --- a/npc/cities/hugel.txt +++ b/npc/cities/hugel.txt @@ -14,13 +14,13 @@ //= Plus no one knows what the NPCs are talking right now :/ [Poki#3] //= Note: Not all the sprites were correct :P [erKURITA] //= 1.0 Added the first shop, firecrackers. Thanks RockmanEXE for the info [erKURITA] -//= Added more missing npc, but again, only locations and temp names =/ [erKURITA] -//= Started the basis of Poring Track. [erKURITA] -//= Moved the old lady to npc\guides\guides_hu.txt, since it's Hugel's guard [erKURITA] -//= Special thanks to RockmanEXE who provided all necesary info =3 -//= Abducted/Moved Yan and Yalmire(temp names) to npc\events\custom\p_track. [erKURITA] +//= Added more missing npc, but again, only locations and temp names =/ [erKURITA] +//= Started the basis of Poring Track. [erKURITA] +//= Moved the old lady to npc\guides\guides_hu.txt, since it's Hugel's guard [erKURITA] +//= Special thanks to RockmanEXE who provided all necesary info =3 +//= Abducted/Moved Yan and Yalmire(temp names) to npc\events\custom\p_track. [erKURITA] //= 1.1 Commented out the whole list of dummy npcs. They're there for nothing anyway, -//= just using up memory. [erKURITA] +//= just using up memory. [erKURITA] //= 1.2 Added a few NPCs scripted by Munin and fixed up format a little [Playtester] //= 1.3 Moved some quests-related NPCs to proper file. [SinSloth] //= 1.4 Optimized the Party Supplies Shop [DZeroX] diff --git a/npc/cities/izlude.txt b/npc/cities/izlude.txt index 36159705c9..6cddc03949 100644 --- a/npc/cities/izlude.txt +++ b/npc/cities/izlude.txt @@ -16,19 +16,19 @@ //= 1.2 Fixed a lot of typos [Nexon] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Added a Jawaii related npc. 1.4a Fixed a small bug to -//= the Jawaii warper, thanks to reddozen and Silent [MasterOfMuppets] +//= the Jawaii warper, thanks to reddozen and Silent [MasterOfMuppets] //= 1.5 Replaced iz_move_alberta with MISC_QUEST & 16 [Lupus] //= 1.6 Removed Duplicates [Silent] //= 1.7 Split quest to quests/quests_izlude.txt [Evera] //= 1.71 Optimized. Also thanks to CAHTEXHuK [Lupus] //= 1.72 Small bugfix [Paradox924X] //= 1.8 Rescripted to Aegis 10.3 standard. [L0ne_W0lf] -//= Removed Honeymoon Helper, as she is a Jawaii NPC. -//= Moved Signs to the msg_boards file. +//= Removed Honeymoon Helper, as she is a Jawaii NPC. +//= Moved Signs to the msg_boards file. //= 1.8a Made Red/Cebalis as a single NPC + duplicate [Lupus] //= 1.9 Fixed a small problem with Dega. (Ne default case) [L0ne_W0lf] -//= Re-added NPC dialog for Cebalis. The dialog differs -//= (even if slightly,) after the five or so lines. +//= Re-added NPC dialog for Cebalis. The dialog differs +//= (even if slightly,) after the five or so lines. //= 1.9a A part of Kylick's dialogue is Pre-Renewal only. [Euphy] //============================================================ diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt index 1f661be513..99e0acc36e 100644 --- a/npc/cities/jawaii.txt +++ b/npc/cities/jawaii.txt @@ -27,9 +27,9 @@ //= 2.02 Fixed Classic Suite NPC warping directly above a warp [Evera] //= 3.0 Rescripted to Aegis 10.3 standard. Contains all Jawaii-related NPCs. [L0ne_W0lf] //= 3.1 Fixed bugs with getpartnerid() (it never returns 1), fixed some conditons, -//= replaced getpartnerid() with ispartneron() at some tri-forks [Lupus] +//= replaced getpartnerid() with ispartneron() at some tri-forks [Lupus] //= 3.2 Reverted ispartneron() BACK to getpartnerid(). [L0ne_W0lf] -//= None of the NPCs need the player's partner to be online. +//= None of the NPCs need the player's partner to be online. //= 3.3 Just a small fix up on the Bartender. [L0ne_W0lf] //= 3.3a Just a little typo error. [Samuray22] //= 3.4 Added missing checkweights. [L0ne_W0lf] @@ -241,13 +241,13 @@ jawaii,141,200,3 script Employee#sroom 798,{ next; if (select("Use.:Cancel.") == 1) { mes "[Alowa]"; - if (zeny > 999) { + if (Zeny > 999) { mes "T-Thank you ssso much!"; mes "L-Let open the room door"; mes "ffffor you. Thank y-you."; mes "Ha-have a good time."; close2; - set zeny,zeny-1000; + set Zeny, Zeny-1000; warp "jawaii_in",116,64; end; } @@ -260,7 +260,7 @@ jawaii,141,200,3 script Employee#sroom 798,{ mes "[Alowa]"; mes "^666666*Sniff*^000000"; mes "B-but I promise th-that this room is the nicest and cl-cleanest room! P-Please! C-come back!"; - Emotion e_sob; + emotion e_sob; close; } @@ -288,7 +288,7 @@ jawaii,108,199,5 script Employee#antroom 74,{ next; if (select("Use.:Cancel.") == 1) { mes "[Pine Oran]"; - if (zeny > 999) { + if (Zeny > 999) { mes "Thank you"; mes "for using"; mes "our services."; @@ -296,7 +296,7 @@ jawaii,108,199,5 script Employee#antroom 74,{ mes "Make yourself"; mes "comfortable."; close2; - set zeny,zeny-1000; + set Zeny, Zeny-1000; warp "jawaii_in",129,110; end; } @@ -323,11 +323,11 @@ jawaii,107,189,5 script Employee#horoom 93,{ next; if (select("Use.:Cancel.") == 1) { mes "[Sharkie Rania]"; - if (zeny > 999) { + if (Zeny > 999) { mes "Eh, alright."; mes "Let's get going."; close2; - set zeny,zeny-1000; + set Zeny, Zeny-1000; warp "jawaii_in",86,117; end; } @@ -366,11 +366,11 @@ jawaii,112,173,7 script Employee#villroom 93,{ next; if (select("Use.:Cancel.") == 1) { mes "[Larks Rania]"; - if (zeny > 999) { + if (Zeny > 999) { mes "Thank you~"; mes "Enjoy your stay."; close2; - set zeny,zeny-1000; + set Zeny, Zeny-1000; warp "jawaii_in",87,75; end; } @@ -414,8 +414,8 @@ jawaii,214,168,5 script Honeymoon Helper#Jawaii 71,{ next; if (select("I shall buy it.:No, thanks.") == 1) { mes "[Helper]"; - if (zeny > 49999) { - set zeny,zeny-50000; + if (Zeny > 49999) { + set Zeny, Zeny-50000; getitem 681,1; //Memory_Of_Wedding mes "Thank you very much~!"; mes "Please remember, you"; @@ -457,10 +457,10 @@ jawaii_in,25,94,0 script Employee#jaw1 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -487,10 +487,10 @@ jawaii_in,25,96,0 script Employee#jaw2 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -503,7 +503,7 @@ jawaii_in,25,98,0 script Employee#jaw3 724,{ mes "Oh~"; mes "Look at you..."; mes "You look perfect"; - if (sex) + if (Sex) mes "for your wife~"; else mes "with your husband~"; @@ -517,7 +517,7 @@ jawaii_in,25,98,0 script Employee#jaw3 724,{ mes "Hmm...?"; mes "You don't look like"; mes "you're married, are you?"; - if (sex) { + if (Sex) { next; mes "[Employee Buffy]"; mes "I'm pretty good"; @@ -531,10 +531,10 @@ jawaii_in,25,98,0 script Employee#jaw3 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -570,10 +570,10 @@ jawaii_in,25,100,0 script Employee#jaw4 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -603,10 +603,10 @@ jawaii_in,30,94,4 script Employee#jaw5 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -628,10 +628,10 @@ jawaii_in,30,96,4 script Employee#jaw6 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -662,10 +662,10 @@ jawaii_in,30,98,4 script Employee#jaw7 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -686,10 +686,10 @@ jawaii_in,30,100,4 script Employee#jaw8 724,{ close; OnWelcome: - Emotion e_kis; + emotion e_kis; end; OnSolo: - Emotion e_omg; + emotion e_omg; end; } @@ -727,7 +727,7 @@ jawaii_in,15,104,0 script Waitress#jawaii 80,{ mes "[Waitress]"; mes "Hello,"; mes "how can I help you?"; - Emotion e_kis; + emotion e_kis; next; switch(select("Give me food.:Bring me drink.:Where's the bar?")) { case 1: @@ -738,8 +738,8 @@ jawaii_in,15,104,0 script Waitress#jawaii 80,{ next; if (select("Yes.:Wha--! It's too expensive!") == 1) { mes "[Waitress]"; - if (zeny > 999) { - set zeny,zeny-1000; + if (Zeny > 999) { + set Zeny, Zeny-1000; getitem 517,1; //Meat mes "There you go~"; mes "Enjoy your meal~!"; @@ -764,8 +764,8 @@ jawaii_in,15,104,0 script Waitress#jawaii 80,{ next; if (select("Yes.:Wha--! It's too expensive!") == 1) { mes "[Waitress]"; - if (zeny > 999) { - set zeny,zeny-1000; + if (Zeny > 999) { + set Zeny, Zeny-1000; getitem 503,1; //Yelow_Potion mes "There you go~"; mes "Enjoy your meal~!"; @@ -789,7 +789,7 @@ jawaii_in,15,104,0 script Waitress#jawaii 80,{ close; } } - Emotion e_omg; + emotion e_omg; mes "[Waitress]"; mes "Hey, hey...!"; mes "I have no idea"; @@ -838,7 +838,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ mes "What would you"; mes "like to drink?"; next; - if (zeny < 99) { + if (Zeny < 99) { set .@r_jaw,rand(1,100); mes "[Bartender]"; if (.@r_jaw > 29) { @@ -897,7 +897,7 @@ jawaii_in,28,124,0 script Bartender#jaw 46,{ percentheal -100,0; end; } - if (zeny > 99) set zeny,zeny-100; + if (Zeny > 99) set Zeny, Zeny-100; switch(rand(4)) { case 1: mes "[Bartender]"; @@ -1107,7 +1107,7 @@ S_KillChar: percentheal -100,0; end; } - if (zeny > 99) set zeny,zeny-100; + if (Zeny > 99) set Zeny, Zeny-100; set .@roof_jaw,.@roof_jaw+getarg(0); mes "[Bartender]"; mes "There you go."; @@ -1118,7 +1118,7 @@ S_KillChar: jawaii_in,43,115,0 script Customer#jaw_1 97,{ if (!getpartnerid()) { - if (zeny > 99) { + if (Zeny > 99) { mes "[Buchi]"; mes "Grrrr..."; mes "Damn! I don't"; @@ -1176,7 +1176,7 @@ jawaii_in,41,106,3 script Customer#Cage 98,{ mes "After all, everyone knows marriage is a sham for desperate, lonely people!"; next; mes "[Cage]"; - if (sex) { + if (Sex) { mes "I don't trust anybody!"; mes "You're a fool for chaining"; mes "yourself to some gorgeous"; @@ -1359,7 +1359,7 @@ prt_in,173,13,4 script Customer#SoloHan 86,{ mes "...Wha!?"; mes "Oh man!"; mes "Get outta my face!"; - if (sex) { + if (Sex) { mes "You smell like,"; mes "whupped boyfriend"; mes "or something!"; @@ -1432,8 +1432,8 @@ prt_in,170,14,0 script Customer#Bachewcca 89,{ mes "Unfortunately, singles are not allowed on the island. Why don't you go forget your loneliness in the Prontera pub?"; close; } - else if (zeny > 99999) { - set zeny,zeny-100000; + else if (Zeny > 99999) { + set Zeny, Zeny-100000; mes "Bon Voyage...!!"; mes "Let me guide"; mes "you to 'Jawaii!'"; diff --git a/npc/cities/lighthalzen.txt b/npc/cities/lighthalzen.txt index 9ba02bca3f..219e378db8 100644 --- a/npc/cities/lighthalzen.txt +++ b/npc/cities/lighthalzen.txt @@ -22,19 +22,19 @@ //= 1.0a added constants to emotions, minor optimization [Lupus] //= 1.0b npcid fix [KarLaeda] //= 1.1 Added new NPC by $ephiroth and merged other NPCs -//= from npc\other\lighthalzen_???.txt [Lupus] +//= from npc\other\lighthalzen_???.txt [Lupus] //= 1.2 Moved some NPCs to Lighthalzen quests. [SinSloth] -//= 1.3 Moved some other NPCs for quests purposes. [SinSloth] +//= 1.3 Moved some other NPCs for quests purposes. [SinSloth] //= 1.4 Corrected NPC names to fall within proper resctrictions. [L0ne_W0lf] //= 1.5 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf] //= 1.6 Massive NPC clean up, includes corrected dialogs and [L0ne_W0lf] -//= added missing dialogs, fixed indentation, corrected some NPC -//= facing positions, NPC names are more unique now. Removed -//= whitespace (empty lines after header and before end curly) -//= reduced usage of the command "goto", grammatical corrections. -//= Added additional missing NPCs. +//= added missing dialogs, fixed indentation, corrected some NPC +//= facing positions, NPC names are more unique now. Removed +//= whitespace (empty lines after header and before end curly) +//= reduced usage of the command "goto", grammatical corrections. +//= Added additional missing NPCs. //= 1.7 Removed Auciton Staff as the offical auction file has been added. [L0ne_W0lf] -//= Corrected Lucius so he checks the donation variable. (bugreport:1103) [L0ne_W0lf] +//= Corrected Lucius so he checks the donation variable. (bugreport:1103) [L0ne_W0lf] //= 1.7a Another fix to Lucius. (bugreport:1118) [L0ne_W0lf] //= 1.7b Another fix to Lucius (trivial). (bugreport:1125) //= 1.8 Replaced effect numerics with constants. [L0ne_W0lf] @@ -595,7 +595,7 @@ lighthalzen,182,102,3 script Lucius#zen5 866,{ mes "as much as you possibly can..."; close; } - set zeny,zeny-.@input; + set Zeny, Zeny-.@input; set $donatedzeny,$donatedzeny + .@input; mes "[Lucius]"; mes "So far, I've received"; @@ -1052,7 +1052,7 @@ OnTouch: mes "[" + strcharinfo(0) + "]"; mes "Here you go,"; mes "take this."; - set zeny,zeny-50; + set Zeny, Zeny-50; next; mes "[Beggar]"; mes "Thank you so much."; diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt index 9432bdabce..b51a9530ed 100644 --- a/npc/cities/louyang.txt +++ b/npc/cities/louyang.txt @@ -72,7 +72,7 @@ mes "Ready!"; mes "Have fun!"; close2; - set zeny,zeny-10000; + set Zeny, Zeny-10000; warp "lou_fild01",190,101; end; } @@ -294,7 +294,7 @@ lou_in01,25,23,5 script Friendly Looking Lady#lo 817,{ mes "We are trying to provide you with the best of service. Please"; mes "come again."; next; - set zeny,zeny-500; + set Zeny, Zeny-500; warp "lou_in01",17,19; end; case 3: @@ -329,18 +329,18 @@ louyang,84,254,0 script Exit#lou 111,{ // Old changelog //============================================================ //= Originally made for Vidar -//= 1.2 - Added official warp NPC's -//= 1.3 - Fixed gramatical errors. (Like wtf's with the weird -// texts celest? xD) -//= 2.0 - Completely rewrote the current scripts based on iRO. -// Added the 'Shouting Quest' and the 'Medicine Quest' +//= 1.2 Added official warp NPC's +//= 1.3 Fixed gramatical errors. (Like wtf's with the weird +//= texts celest? xD) +//= 2.0 Completely rewrote the current scripts based on iRO. +//= Added the 'Shouting Quest' and the 'Medicine Quest' //= 2.1 Optimized, made quest vars unique [Lupus] //= 2.1a minor fix, 2.1b Fixed Typos [Nexon] //= 2.2 Fixed exploits [Lupus] //= 2.2a Updated the color codes a little and fixed the shouting quest -//= to broadcast green text. +//= to broadcast green text. //= 2.2b A small fix to the shout quest npc in louyang field not warping you -//= back up to the tower if you died or teleported out of there. [MasterOfMuppets] +//= back up to the tower if you died or teleported out of there. [MasterOfMuppets] //= 2.3 A small fix, the code is so messy I can't believe I scripted it >.< [MasterOfMuppets] //= 2.4 Implemented a few more npcs, thanks to Prometheus for them. [MasterOfMuppets] //= 2.5 Implemented the Poison King quest, beware of potential bugs. [MasterOfMuppets] diff --git a/npc/cities/lutie.txt b/npc/cities/lutie.txt index 2596e0a4f5..aafef4d03a 100644 --- a/npc/cities/lutie.txt +++ b/npc/cities/lutie.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Lutie Town //===== By: ================================================== -//= rAthena dev team +//= rAthena Dev Team //===== Current Version: ===================================== //= 1.7 //===== Compatible With: ===================================== @@ -10,7 +10,7 @@ //= Lutie - City NPCs //===== Additional Comments: ================================= //= 1.1 Edited some text and updated/enabled some triggers -//= for the quest.[kobra_k88] +//= for the quest.[kobra_k88] //= 1.2 Fixed exploit. Checked for Bard Job Quest compatibility [Lupus] //= 1.3 Fixed typos [Nexon] //= 1.4 Fixed exploit [Lupus] @@ -29,42 +29,42 @@ aldebaran,223,222,4 script Mr. Claus 718,{ mes "and Christmas cheer!"; next; switch(select("Info about Lutie:Move to 'Lutie':Cancel")) { - case 1: - mes "[Mr. Claus]"; - mes "^3355FFLutie^000000, the fantastic Christmas Town! Always filled with the spirit of giving, Lutie is filled with appetizing cakes, tiny toy soldiers, and all sorts of wonderful things~!"; - next; - mes "[Mr. Claus]"; - mes "Ho Ho Ho~"; - mes "It's an amazing land blessed with the beauty of winter, and a year round atmosphere of festivity!"; - next; - mes "[Mr. Claus]"; - mes "I'm a Santa that will guide people to Lutie, the Christmas Town. Ask me at any time, and I'll magically send you there~"; - close; - case 2: - mes "[Mr. Claus]"; - mes "Ho Ho Ho~"; - mes "The only way to get to Lutie is here in Al de Baran!"; - next; - mes "[Mr. Claus]"; - mes "I keep this place and personally transport people who want to visit Lutie. Please ask Santa Claus over there if you want to leave town. He will let you know the way out of Lutie."; - next; - mes "[Mr. Claus]"; - mes "Ho Ho Ho~"; - mes "Well, are you ready?"; - mes "Have a nice trip!"; - mes "Meeeeerry Christmas!"; - close2; - warp "xmas_fild01",78,68; - end; - case 3: - mes "[Mr. Claus]"; - mes "Ho Ho Ho~"; - mes "Whenever you want to visit Lutie, be my guest. Just let me know when you want to leave."; - next; - mes "[Mr. Claus]"; - mes "Ho ho hooooo!!"; - mes "Haaaaappy Holidays!"; - close; + case 1: + mes "[Mr. Claus]"; + mes "^3355FFLutie^000000, the fantastic Christmas Town! Always filled with the spirit of giving, Lutie is filled with appetizing cakes, tiny toy soldiers, and all sorts of wonderful things~!"; + next; + mes "[Mr. Claus]"; + mes "Ho Ho Ho~"; + mes "It's an amazing land blessed with the beauty of winter, and a year round atmosphere of festivity!"; + next; + mes "[Mr. Claus]"; + mes "I'm a Santa that will guide people to Lutie, the Christmas Town. Ask me at any time, and I'll magically send you there~"; + close; + case 2: + mes "[Mr. Claus]"; + mes "Ho Ho Ho~"; + mes "The only way to get to Lutie is here in Al de Baran!"; + next; + mes "[Mr. Claus]"; + mes "I keep this place and personally transport people who want to visit Lutie. Please ask Santa Claus over there if you want to leave town. He will let you know the way out of Lutie."; + next; + mes "[Mr. Claus]"; + mes "Ho Ho Ho~"; + mes "Well, are you ready?"; + mes "Have a nice trip!"; + mes "Meeeeerry Christmas!"; + close2; + warp "xmas_fild01",78,68; + end; + case 3: + mes "[Mr. Claus]"; + mes "Ho Ho Ho~"; + mes "Whenever you want to visit Lutie, be my guest. Just let me know when you want to leave."; + next; + mes "[Mr. Claus]"; + mes "Ho ho hooooo!!"; + mes "Haaaaappy Holidays!"; + close; } } @@ -92,7 +92,7 @@ xmas_in,100,96,4 script Santa Claus 718,{ } xmas_in,167,173,4 script Duffle 711,{ - if(xmas_npc == 1) { + if (xmas_npc == 1) { mes "[Duffle]"; mes "Merry Christmas!"; mes "Welcome to Lutie!"; @@ -152,7 +152,7 @@ xmas_in,167,173,4 script Duffle 711,{ } xmas_in,27,103,4 script Lenient Aunt 701,{ -switch (xmas_npc) { + switch (xmas_npc) { case 5: mes "[Thachentze]"; mes "Hmm? The Hairy guy"; @@ -277,7 +277,7 @@ switch (xmas_npc) { // Lutie //============================================================ xmas,117,304,4 script Poze 713,{ - if(xmas_npc == 3 || xmas_npc == 4) { + if (xmas_npc == 3 || xmas_npc == 4) { mes "[Poze]"; mes "You've gone to"; mes "^3355FFSnowysnow^000000 and he"; @@ -300,7 +300,7 @@ xmas,117,304,4 script Poze 713,{ mes "But that's pretty much all I know. For the actual details, you should ask ^3355FFUncle Hairy Cantata^000000."; set xmas_npc,4; close; - }else{ + } else { mes "[Poze]"; mes "Welcome to Lutie,"; mes "the town which blesses"; @@ -321,13 +321,13 @@ xmas,117,304,4 script Poze 713,{ } xmas,176,236,4 script Uncle Hairy 712,{ - if(xmas_npc == 4) { - if(countitem(1024) > 0 && countitem(938) > 0) { + if (xmas_npc == 4) { + if (countitem(1024) > 0 && countitem(938) > 0) { mes "[Cantata]"; mes "Oh? Y-y-you've got the stuff? Goooooooood. It's been so long since I've been able to have some of this... G-give it to me!"; next; - delitem 1024,1; // Chinese_Ink - delitem 938,1; // Sticky_Mucus + delitem 1024,1; // Chinese_Ink + delitem 938,1; // Sticky_Mucus mes "^3355FFYou quickly handed him the Squid Ink and Sticky Mucus and watched with a little disgust as he relished the flavor.^000000"; next; mes "[Cantata]"; @@ -385,7 +385,7 @@ xmas,176,236,4 script Uncle Hairy 712,{ mes "^3355FFThachentze^000000, that lovely pickle maker, knows more about it. So if you're curious, you should go talk to her. Alrighty then, Merry Christmas!"; set xmas_npc,5; close; - }else{ + } else { mes "[Cantata]"; mes "Oh yeah? Heard about me from Poze, did you? Haw haw haw! Yeah, I know a little bit about Snowysnow. In fact, I may even be his weak point, since..."; next; @@ -461,7 +461,9 @@ xmas,134,112,4 script Snowman 710,{ mes "- too many items with you. -"; mes "- Please try again -"; mes "- after you loose some weight. -"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; } cutin "rutie_snownow03.bmp",2; mes "[Snowysnow]"; @@ -507,8 +509,10 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "So will you be my friend? If you do, I'll be your friend too~"; - close2; cutin "",255; end; - }else{ + close2; + cutin "",255; + end; + } else { switch(xmas_npc) { case 2: cutin "rutie_snownow01.bmp",2; @@ -537,7 +541,9 @@ xmas,134,112,4 script Snowman 710,{ mes "^3355FFSnowysnow is immersed in his deep thoughts, and seems^000000"; mes "^3355FFfixated on Poze's memento.^000000"; set xmas_npc,3; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 3: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -545,7 +551,9 @@ xmas,134,112,4 script Snowman 710,{ next; mes "^3355FFSnowysnow is immersed in his deep thoughts, and seems^000000"; mes "^3355FFfixated on Poze's memento.^000000"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 4: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -565,7 +573,9 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "But I know that's because she likes him a whole whole lot! Hee hee hee!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 5: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -579,7 +589,9 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "Of course, he still enjoys drinking strange things. They say it's a miracle that he doesn't have a tummyache. Hee hee~! Oh, I love that guy!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 6: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -595,14 +607,18 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "I like her cooking because it's soooo delicious! Sometimes, she gives me grape syrup on snow flakes. Anyway, please deliver that salt for me, buddy~!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 7: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; mes "'^3355FFThe roughest"; mes "salt in the world^000000...'"; mes "Wow. Now, that's rough! Aunt Tachentze is always making pickles, so she sure could use it soon!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 8: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -610,7 +626,9 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "He's always trying his best to make those two orphans laugh and forget their troubles..."; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 9: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -620,7 +638,9 @@ xmas,134,112,4 script Snowman 710,{ mes "[Snowysnow]"; mes "I'm sure of it!"; mes "Hee hee hee~!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 10: cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; @@ -642,7 +662,7 @@ xmas,134,112,4 script Snowman 710,{ switch(.@snownow) { case 1: set xmas_npc,11; - getitem 529,5; // Candy + getitem 529,5; // Candy cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Wow~!"; @@ -651,7 +671,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 2: set xmas_npc,11; - getitem 529,10; // Candy + getitem 529,10; // Candy cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Ooh~!"; @@ -659,7 +679,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 3: set xmas_npc,11; - getitem 530,5; // Candy_Striper + getitem 530,5; // Candy_Striper cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Hoooraaaay~!"; @@ -667,7 +687,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 4: set xmas_npc,11; - getitem 530,10; // Candy_Striper + getitem 530,10; // Candy_Striper cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Wow, that's so great!"; @@ -675,7 +695,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 5: set xmas_npc,11; - getitem 539,1; // Piece_Of_Cake + getitem 539,1; // Piece_Of_Cake cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Aren't you lucky!"; @@ -683,7 +703,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 6: set xmas_npc,11; - getitem 539,2; // Piece_Of_Cake + getitem 539,2; // Piece_Of_Cake cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Now, isn't that nice?"; @@ -691,7 +711,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 7: set xmas_npc,11; - getitem 538,5; // Well_Baked_Cookie + getitem 538,5; // Well_Baked_Cookie cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "Oh woooooow~!"; @@ -699,7 +719,7 @@ xmas,134,112,4 script Snowman 710,{ break; case 8: set xmas_npc,11; - getitem 538,10; // Well_Baked_Cookie + getitem 538,10; // Well_Baked_Cookie cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; mes "*Gasp!* Ooh~"; @@ -709,7 +729,9 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "My dear friend, please visit me from time to time, so that we can chitchat, okay? See you soon! And Merry Christmas!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 11: cutin "rutie_snownow02.bmp",2; mes "[Snowysnow]"; @@ -717,7 +739,9 @@ xmas,134,112,4 script Snowman 710,{ next; mes "[Snowysnow]"; mes "You're always welcome in Lutie, especially by me, Snowysnow! Happy Kwanza, Happy Hannukah and Merry Christmas~!"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; } } case 2: @@ -731,14 +755,18 @@ xmas,134,112,4 script Snowman 710,{ cutin "rutie_snownow01.bmp",2; mes "[Snowysnow]"; mes "Isn't that soooo exciting?! *Sigh* Even if it is a dungeon, I would like to go inside just to look. If only I was a real boy, or even had legs..."; - close2; cutin "",255; end; + close2; + cutin "",255; + end; case 3: cutin "rutie_snownow03.bmp",2; mes "[Snowysnow]"; mes "Bye bye, friend~!"; mes "Thank you for listening me~"; mes "I'll see you again, someday! You'll always be in my heart~"; - close2; cutin "",255; end; + close2; + cutin "",255; + end; } } @@ -787,7 +815,7 @@ xmas,146,136,4 script Hashokii 715,{ mes "Why don't you go meet those 2 children? They might tell you the story we've never got the chance to hear. Okay then, good luck~! Bye bye!"; set xmas_npc,9; close; - }else{ + } else { mes "[Hashokii]"; mes "Ah... ^3355FFSnowysnow^000000?"; mes "Of course I know him! Anyone who doesn't know Snowysnow is a total stranger around here! Sometimes, he and I share a nice chat..."; @@ -827,7 +855,7 @@ xmas,206,168,4 script Little Boy 706,{ mes "He's a nice snowman!"; mes "You want to know more about Snowysnow? Ummm, I'm not that smart! Ask Marcell!"; close; - }else{ + } else { mes "[Charu Charu]"; mes "Merry Merry Christmas!"; mes "Heheheheheh~!"; @@ -898,7 +926,7 @@ xmas,208,168,4 script Little Girl 703,{ mes "More than anybody else, you know the most about Snowysnow! Please talk to Mr.Snowysnow, he'll be happy to know you care about him. Merry Christmas!"; close; } - }else{ + } else { mes "[Marcell]"; mes "Merry Christmas~!"; next; diff --git a/npc/cities/morocc.txt b/npc/cities/morocc.txt index a533b0fd6e..8829acdea4 100644 --- a/npc/cities/morocc.txt +++ b/npc/cities/morocc.txt @@ -723,8 +723,8 @@ morocc_in,166,76,3 script Bartender#02 46,{ next; switch(select("Tropical Sograt:Vemillion the Beach:Nothing.")) { case 1: - if (zeny >= 1000 ) { - set zeny,zeny-1000; + if (Zeny >= 1000 ) { + set Zeny, Zeny-1000; getitem 12112,1; mes "[Bartender]"; mes "Here you go."; @@ -734,8 +734,8 @@ morocc_in,166,76,3 script Bartender#02 46,{ } break; case 2: - if (zeny >= 1000 ) { - set zeny,zeny-1000; + if (Zeny >= 1000 ) { + set Zeny, Zeny-1000; getitem 12113,1; mes "[Bartender]"; mes "Here you go."; diff --git a/npc/cities/moscovia.txt b/npc/cities/moscovia.txt index 967370438e..3db532d521 100644 --- a/npc/cities/moscovia.txt +++ b/npc/cities/moscovia.txt @@ -14,7 +14,7 @@ //= 1.2 Moved Alberta NPC to pre-re/re paths. [Euphy] //============================================================ -// Moscovia Transportation +// Moscovia Transportation :: mosk_trans //============================================================ - script ::PR_Officer_moscovia -1,{ mes "[Moscovia P.R. Officer]"; @@ -75,7 +75,7 @@ mes "to go to Moscovia"; mes "Thank you."; close; - }else{ + } else { mes "[Moscovia P.R. Officer]"; mes "Ok then, we're leaving now."; close2; @@ -116,7 +116,8 @@ moscovia,166,53,4 script Moscovia P.R. Officer#2 960,{ end; } -// Generic Moscovia NPCs + +// Moscovia Palace :: mos_swan //============================================================ moscovia,253,166,4 script Soldier#mosk1 966,{ mes "[Soldier]"; @@ -126,14 +127,11 @@ moscovia,253,166,4 script Soldier#mosk1 966,{ close; } -// Moscovia Palace -//============================================================ - script Soldier#mosk::MoscSoldier 966,{ mes "[Soldier]"; mes "Please be silent or the Csar will be angry."; close; } - mosk_in,118,66,5 duplicate(MoscSoldier) Soldier#mosk02 966 mosk_in,133,110,3 duplicate(MoscSoldier) Soldier#mosk03 966 mosk_in,133,73,3 duplicate(MoscSoldier) Soldier#mosk04 966 diff --git a/npc/cities/niflheim.txt b/npc/cities/niflheim.txt index b368984445..82a18895bf 100644 --- a/npc/cities/niflheim.txt +++ b/npc/cities/niflheim.txt @@ -11,10 +11,10 @@ //===== Description: ========================================= //= Official NPC's for Niflheim //= 1.01 Splitted file(guides, shops). Fixed rand() bugs, -//= missing labels bugs, optimization [Lupus] +//= missing labels bugs, optimization [Lupus] //= 1.03 fixed end; -> close; //= 1.04-1.05 fixed several bugs with missing CLOSE button, wrong var name -//= in Piano Keys quest +//= in Piano Keys quest //= fixed zeny/item, exploit in Sairin, some optimizations [Lupus] //= 1.06 some typos in some variables fixed (thx 2 Dr.Evil) [Lupus] //= 1.07 Fixed typos [Nexon] @@ -24,7 +24,7 @@ //= 1.2 Removed Duplicates [Silent] //= 1.3 Moved Book of Devil and Piano quest to quests/quests_niflheim.txt [Evera] //= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Removed Cursed Spirits as they were custom. +//= Removed Cursed Spirits as they were custom. //= 1.5 Added dummy "OnMyMobDead" event to Cursed Spirit. [L0ne_W0lf] //============================================================ diff --git a/npc/cities/payon.txt b/npc/cities/payon.txt index d1651ce091..28fcf38794 100644 --- a/npc/cities/payon.txt +++ b/npc/cities/payon.txt @@ -142,7 +142,7 @@ payon,249,156,1 script Woman#payon 66,{ mes " To be honest, things are getting tough because of all those monsters. ^666666*Sigh...*^000000"; next; mes "[Woman]"; - if (sex == 1) + if (Sex == 1) mes "Whoa~! I just noticed those arms of yours look pretty solid. You look pretty strong, guy. Just how many monsters have you killed?!"; else mes "Oooh! I didn't notice before, but you look pretty strong beneath all of that feminine charm."; @@ -191,7 +191,7 @@ payon,246,158,5 script Woman#2payon 66,0,0,{ mes "of the people living in Payon by her behavior. She's the only loudmouth. I guess she's just too excited about what the fortune teller told her."; next; mes "[Jim's Mother]"; - if (sex == 1) { + if (Sex == 1) { mes "Ooh...!"; mes "You've got"; mes "such broad shoulders!"; @@ -387,8 +387,8 @@ payon_in01,180,7,2 script Waitress#payon 90,{ mes "And lonely..."; next; mes "[Pub Lady]"; - if (sex == 1) - mes "Where I can find the right person, a hot and sexy hunk who can take me away from here? Um, hey mister, are you listening?"; + if (Sex == 1) + mes "Where I can find the right person, a hot and Sexy hunk who can take me away from here? Um, hey mister, are you listening?"; else { mes "Where I can find the right person, a cute, yet hard-bodied hunk who can take me away from here?"; mes "Um, hey lady, are"; @@ -979,7 +979,7 @@ payon_in03,102,185,5 script Guard#payon 708,{ mes "Go back outside!"; close; } - if (Baselevel > 30) { + if (BaseLevel > 30) { mes "[Guard]"; mes "I'm sorry,"; mes "but you're"; diff --git a/npc/cities/prontera.txt b/npc/cities/prontera.txt index a97e178b93..6f9ac6a4ea 100644 --- a/npc/cities/prontera.txt +++ b/npc/cities/prontera.txt @@ -475,7 +475,7 @@ prt_in,177,18,2 script Marvin#pront 80,{ mes "Whether it's schmoozing with a member of the opposite sex, or battling monsters, I gotta say, it's all about ^333399skills^000000."; next; mes "[Marvin]"; - if (sex) + if (Sex) mes "I can't help you much when it comes to the subject of talking to attractive women such as myself, but I can tell you a little more about skills that help in battle."; else mes "I don't really have any advice for skills when it comes to talking to a cute guy, but I can let you in on what I know about skills that help in battle."; diff --git a/npc/cities/rachel.txt b/npc/cities/rachel.txt index 02f20eaea8..5c03580f9d 100644 --- a/npc/cities/rachel.txt +++ b/npc/cities/rachel.txt @@ -276,7 +276,7 @@ rachel,206,30,3 script Freya's Priest#play 920,{ mes "[Freya's Priest]"; mes "You!"; mes "Entertain me!"; - Emotion e_ag; + emotion e_ag; next; if (select("What? You can't tell me what to do!:You got it.") == 1) { mes "[Freya's Priest]"; @@ -342,7 +342,7 @@ rachel,197,137,3 script Bard#aru 51,{ mes "........."; mes "........."; mes "........."; - Emotion e_sob; + emotion e_sob; close; } diff --git a/npc/cities/splendide.txt b/npc/cities/splendide.txt index f8c12a3d63..d5e09be569 100644 --- a/npc/cities/splendide.txt +++ b/npc/cities/splendide.txt @@ -460,7 +460,7 @@ OnTouch: // ep13_spl_extra spl_in01,172,225,3 script Wandering Poet#ep13 51,{ cutin "god_nelluad02",2; - mes "[Poet Nell]" ; + mes "[Poet Nell]"; mes "Hi~~ do you hear the beautiful music comeing from afar~?"; next; select("Who are you?"); @@ -540,7 +540,7 @@ spl_in01,172,225,3 script Wandering Poet#ep13 51,{ next; mes "^4d4dff Alberich swears with the last of his breath, that his treasured ring will curse it's wearer till death."; next; - mes "^4d4dff Forever will the bearer be, cursed with Rocky's jealousy." ; + mes "^4d4dff Forever will the bearer be, cursed with Rocky's jealousy."; break; } break; @@ -559,7 +559,7 @@ spl_in01,172,225,3 script Wandering Poet#ep13 51,{ next; mes "[Poet Nell]"; mes "Yes, I look quite common..."; - mes "But I doubt we've ever met before." ; + mes "But I doubt we've ever met before."; next; cutin "god_nelluad01",255; mes "- Nell seems embarrassed, then starts playing very complicated music -"; diff --git a/npc/cities/umbala.txt b/npc/cities/umbala.txt index ac3c6faecf..7ab6cd182e 100644 --- a/npc/cities/umbala.txt +++ b/npc/cities/umbala.txt @@ -10,18 +10,18 @@ //- [Official Conversion] //= Umbala Town Npcs //===== Additional Comments: ================================= -//= 1.0 - Done By jAthena (dunno Who) -//= 1.1 - Translated by Fusion Dev Team -//= 1.2 - Fixed Something by Muad Dib -//= 1.3 - Fixed up For eA by Darkchild -//= 1.4 - Fixed some wrong item names [Lupus] -//= 1.5 - Spell Checked [massdriller] -//= 1.6 - Fixed item names, added a chance to get to Niflheim via Jumping Bungy Area [Lupus] -//= 1.7 - Fixed bugs and exploits [Lupus] -//= 1.8 - Warps you to Niff with 1HP [Lance] -//= 1.9 - Moved Umbala Event, Create Essence/Dismantle Stone, and Skeletal Gate to npc/quests/quests_umbala.txt [Evera] -//= 2.0 - Removed duplicates, max NPC name length is 23, so Utan Tribe Young Adult#1, the 1 is skipped [Toms] -//= 2.1 - Updated to Aegis 10.3 standards. [L0ne_W0lf] +//= 1.0 Done By jAthena (dunno Who) +//= 1.1 Translated by Fusion Dev Team +//= 1.2 Fixed Something by Muad Dib +//= 1.3 Fixed up For eA by Darkchild +//= 1.4 Fixed some wrong item names [Lupus] +//= 1.5 Spell Checked [massdriller] +//= 1.6 Fixed item names, added a chance to get to Niflheim via Jumping Bungy Area [Lupus] +//= 1.7 Fixed bugs and exploits [Lupus] +//= 1.8 Warps you to Niff with 1HP [Lance] +//= 1.9 Moved Umbala Event, Create Essence/Dismantle Stone, and Skeletal Gate to npc/quests/quests_umbala.txt [Evera] +//= 2.0 Removed duplicates, max NPC name length is 23, so Utan Tribe Young Adult#1, the 1 is skipped [Toms] +//= 2.1 Updated to Aegis 10.3 standards. [L0ne_W0lf] //============================================================ comodo,170,137,7 script La Ed#um 84,{ @@ -78,7 +78,7 @@ comodo,171,137,1 script Haith#um 92,{ next; if (select("Pay 1,000 zeny:Refuse to pay") == 1) { if (Zeny > 999) { - set zeny,zeny-1000; + set Zeny, Zeny-1000; mes "[Haith]"; mes "Hahahaha! You the man!"; next; @@ -274,8 +274,8 @@ umbala,70,106,3 script Utan Kid#um 781,{ mes "Whoaaaa!!"; mes "You the man~!"; mes "Thank you so much, yay~!"; - if (zeny > 1000) { - set zeny,zeny-1000; + if (Zeny > 1000) { + set Zeny, Zeny-1000; if (checkweight(517,1)) { getitem 517,1; //Meat } @@ -335,8 +335,8 @@ umbala,70,106,3 script Utan Kid#um 781,{ mes "Umbaumbah!!"; mes "Um~bahumbah~ Um~baumbah~"; mes "Um~baumbah~ um~baumbah~"; - if (zeny > 1000) { - set zeny,zeny-1000; + if (Zeny > 1000) { + set Zeny, Zeny-1000; if (checkweight(517,1)) { getitem 517,1; //Meat } diff --git a/npc/cities/yuno.txt b/npc/cities/yuno.txt index 128bf68efb..89787b67f1 100644 --- a/npc/cities/yuno.txt +++ b/npc/cities/yuno.txt @@ -18,7 +18,7 @@ //= 1.3.2 Started updating Juno NPCs based on iRO. 30% complete. //= 1.3.3 Removed Noyee NPC (it's implemented in sleipnir_seal.txt) //= 1.4 Updated to Aegis 10.3 standards. [L0ne_W0lf] -//= Added Juno Airship Representative. +//= Added Juno Airship Representative. //= 1.4a Corrected a Typo error (bugreport:716) [Samuray22] //= 1.5 Added Renewal coordinates for Payon and Izlude. [Euphy] //= Split Soldier NPCs into Pre-RE/RE (sprite change). @@ -78,7 +78,7 @@ yuno,337,227,4 script Juno Granny#juno 103,{ mes "[Granny]"; mes "*Giggle*"; mes "There you go~"; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 529,1; //Candy next; mes "[Granny]"; @@ -169,7 +169,7 @@ yuno,165,111,4 script Juno Sage#juno 123,,{ if (select("Choose ^FF3355Red Herb^000000:Choose ^3355FFBlue Herb^000000.") == 1) { mes "[Le Morpheus]"; mes "As you have chosen, you will forget everything, and remain in this virtual reality."; - set zeny,zeny-5000; + set Zeny, Zeny-5000; getitem 507,1; //Red_Herb close2; warp "prontera",182,206; @@ -177,7 +177,7 @@ yuno,165,111,4 script Juno Sage#juno 123,,{ } mes "[Le Morpheus]"; mes "You will see the truth."; - set zeny,zeny-5000; + set Zeny, Zeny-5000; getitem 510,1; //Blue_Herb close2; warp "pay_dun03",200,222; @@ -380,7 +380,7 @@ yuno,142,183,5 script Airship Representative 100,{ S_Warp: if (Zeny >= 1800) { - set zeny,zeny-1800; + set Zeny, Zeny-1800; warp getarg(0),getarg(1),getarg(2); end; } diff --git a/npc/custom/battleground/bg_common.txt b/npc/custom/battleground/bg_common.txt index 49e48c293e..0a0acf1e39 100644 --- a/npc/custom/battleground/bg_common.txt +++ b/npc/custom/battleground/bg_common.txt @@ -1237,7 +1237,7 @@ bat_room,160,150,3 script Erundek 109,{ mes "[Erundek]"; mes "We have many items, so please take a look and purchase deliberately."; close2; - Readbook 11010,1; + readbook 11010,1; end; case 5: mes "[Erundek]"; diff --git a/npc/custom/battleground/bg_flavius_01.txt b/npc/custom/battleground/bg_flavius_01.txt index 4bb6fa7bed..51413ad509 100644 --- a/npc/custom/battleground/bg_flavius_01.txt +++ b/npc/custom/battleground/bg_flavius_01.txt @@ -364,7 +364,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: @@ -386,7 +386,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: diff --git a/npc/custom/battleground/bg_flavius_02.txt b/npc/custom/battleground/bg_flavius_02.txt index 4dc180d141..dd4949be27 100644 --- a/npc/custom/battleground/bg_flavius_02.txt +++ b/npc/custom/battleground/bg_flavius_02.txt @@ -364,7 +364,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: @@ -386,7 +386,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: diff --git a/npc/custom/battleground/bg_kvm01.txt b/npc/custom/battleground/bg_kvm01.txt index 36c758f373..991e3c53b2 100644 --- a/npc/custom/battleground/bg_kvm01.txt +++ b/npc/custom/battleground/bg_kvm01.txt @@ -35,9 +35,9 @@ OnEnterBG: bat_c01,54,123,0 script #bat_c01a 111,{ end; -OnKvM01LightA: misceffect 54; end; -OnKvM01LightB: misceffect 55; end; -OnKvM01LightC: misceffect 56; end; +OnKvM01LightA: specialeffect EF_BEGINSPELL2; end; +OnKvM01LightB: specialeffect EF_BEGINSPELL3; end; +OnKvM01LightC: specialeffect EF_BEGINSPELL4; end; } bat_c01,56,125,0 duplicate(#bat_c01a) #bat_c01b 111 diff --git a/npc/custom/battleground/bg_kvm02.txt b/npc/custom/battleground/bg_kvm02.txt index 5bfbba3288..0487bb0aaf 100644 --- a/npc/custom/battleground/bg_kvm02.txt +++ b/npc/custom/battleground/bg_kvm02.txt @@ -35,9 +35,9 @@ OnEnterBG: bat_c02,54,123,0 script #bat_c02a 111,{ end; -OnKvM02LightA: misceffect 54; end; -OnKvM02LightB: misceffect 55; end; -OnKvM02LightC: misceffect 56; end; +OnKvM02LightA: specialeffect EF_BEGINSPELL2; end; +OnKvM02LightB: specialeffect EF_BEGINSPELL3; end; +OnKvM02LightC: specialeffect EF_BEGINSPELL4; end; } bat_c02,56,125,0 duplicate(#bat_c02a) #bat_c02b 111 diff --git a/npc/custom/battleground/bg_kvm03.txt b/npc/custom/battleground/bg_kvm03.txt index 6efa99e4c3..551413b382 100644 --- a/npc/custom/battleground/bg_kvm03.txt +++ b/npc/custom/battleground/bg_kvm03.txt @@ -35,9 +35,9 @@ OnEnterBG: bat_c03,54,123,0 script #bat_c03a 111,{ end; -OnKvM03LightA: misceffect 54; end; -OnKvM03LightB: misceffect 55; end; -OnKvM03LightC: misceffect 56; end; +OnKvM03LightA: specialeffect EF_BEGINSPELL2; end; +OnKvM03LightB: specialeffect EF_BEGINSPELL3; end; +OnKvM03LightC: specialeffect EF_BEGINSPELL4; end; } bat_c03,56,125,0 duplicate(#bat_c03a) #bat_c03b 111 diff --git a/npc/custom/battleground/bg_tierra_01.txt b/npc/custom/battleground/bg_tierra_01.txt index 4c65d0462d..7836fc0950 100644 --- a/npc/custom/battleground/bg_tierra_01.txt +++ b/npc/custom/battleground/bg_tierra_01.txt @@ -420,7 +420,7 @@ OnBGStop: end; OnTimer19000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer20000: @@ -442,7 +442,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: @@ -464,7 +464,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: diff --git a/npc/custom/battleground/bg_tierra_02.txt b/npc/custom/battleground/bg_tierra_02.txt index 7f72cdb3d3..ff423fccf9 100644 --- a/npc/custom/battleground/bg_tierra_02.txt +++ b/npc/custom/battleground/bg_tierra_02.txt @@ -420,7 +420,7 @@ OnBGStop: end; OnTimer19000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer20000: @@ -442,7 +442,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: @@ -464,7 +464,7 @@ OnBGStop: end; OnTimer24000: - misceffect 83; + misceffect EF_SANCTUARY; end; OnTimer25000: diff --git a/npc/custom/card_remover.txt b/npc/custom/card_remover.txt index 5283928dcc..7de3b1774c 100644 --- a/npc/custom/card_remover.txt +++ b/npc/custom/card_remover.txt @@ -90,7 +90,7 @@ prt_in,28,73,4 script Wise Old Woman#eAcustom 78,{ } mes "[Wise Old Woman]"; mes "Very well. I shall begin."; - set zeny,zeny - (.zenycost+(.@cardcount * .percardcost)); + set Zeny, Zeny - (.zenycost+(.@cardcount * .percardcost)); delitem 1000,1; delitem 715,1; diff --git a/npc/custom/etc/airplane.txt b/npc/custom/etc/airplane.txt index 2469b6a247..b93af960d8 100644 --- a/npc/custom/etc/airplane.txt +++ b/npc/custom/etc/airplane.txt @@ -254,8 +254,8 @@ L_Nope: Notime: mes "^FF0000[Porter]^000000"; - if(sex==0) mes "Sorry, ma'am, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary."; - if(sex==1) mes "Sorry, sir, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary."; + if(Sex==0) mes "Sorry, ma'am, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary."; + if(Sex==1) mes "Sorry, sir, but the plane currently isn't ported. However, you can view the airplane's hourly itinerary."; next; menu "Yes, please.",Itin,"No thanks.",L_Nope; close; @@ -365,8 +365,8 @@ Lnope: Notime: mes "^FF0000[Airplane Attendant]^000000"; - if(sex==0) mes "Sorry, ma'am, but the plane currently isn't docked. Please wait."; - if(sex==1) mes "Sorry, sir, but the plane currently isn't docked. Please wait."; + if(Sex==0) mes "Sorry, ma'am, but the plane currently isn't docked. Please wait."; + if(Sex==1) mes "Sorry, sir, but the plane currently isn't docked. Please wait."; close; Nowhere: diff --git a/npc/custom/etc/bank_kafra.txt b/npc/custom/etc/bank_kafra.txt index 734c129d59..27e4e21117 100644 --- a/npc/custom/etc/bank_kafra.txt +++ b/npc/custom/etc/bank_kafra.txt @@ -50,7 +50,7 @@ L_NoIncomeToday: if(@kafrabank<1000) goto L_LESS_1000; if(@kafrabank>zeny) goto L_NOT_ENOUGH; - set zeny,zeny-@kafrabank; + set Zeny, Zeny-@kafrabank; set #kafrabank,#kafrabank+@kafrabank; mes"[Maniss]"; mes "You've made a deposit of ^135445" + @kafrabank + "z^000000."; @@ -69,7 +69,7 @@ M_WITHDRAW: if(@kafrabank<1) goto B_EXIT2; if(@kafrabank>#kafrabank) goto L_NOT_ENOUGH; set #kafrabank,#kafrabank-@kafrabank; - set zeny,zeny+@kafrabank; + set Zeny, Zeny+@kafrabank; mes"[Maniss]"; mes "Here is your ^135445" + @kafrabank + "z^000000, put your sign here..."; //we log these zeny operations into the log db diff --git a/npc/custom/etc/lottery.txt b/npc/custom/etc/lottery.txt index 7cc9a53f19..6963c14660 100644 --- a/npc/custom/etc/lottery.txt +++ b/npc/custom/etc/lottery.txt @@ -108,8 +108,8 @@ L_Buy: mes "The Jackpot is ^FF0000" + $L_Prize_Money + "z^000000."; next; menu "Buy Ticket",-,"Cancel",L_Cancel; - if (zeny < $L_TicketPrice) goto L_NoZeny; - set zeny,zeny-$L_TicketPrice; + if (Zeny < $L_TicketPrice) goto L_NoZeny; + set Zeny, Zeny-$L_TicketPrice; mes "[Lottery]"; mes "Would you like your numbers hand picked or computer generated?"; next; @@ -294,7 +294,7 @@ LWinBig: mes "You have matched all six numbers!"; mes "Jackpot!"; mes "You've won ^0000FF" + $L_Prize_Money + "z^000000."; - set zeny,zeny+$L_Prize_Money; + set Zeny, Zeny+$L_Prize_Money; Announce "Lottery: " + strcharinfo(0) + " has won the JACKPOT of " + $L_Prize_Money + "z!",8; set #LID,0; close; @@ -304,7 +304,7 @@ LWinSmall: mes "[Lottery]"; mes "You have matched at least 4 numbers!"; mes "You've won ^0000FF" + $L_Prize_Money_Small + "z^000000."; - set zeny,zeny+$L_Prize_Money_Small; + set Zeny, Zeny+$L_Prize_Money_Small; Announce "Lottery: " + strcharinfo(0) + " has won a prize of " + $L_Prize_Money_Small + "z!",8; set #LID,0; close; diff --git a/npc/custom/etc/marriage.txt b/npc/custom/etc/marriage.txt index 0f21c46e77..eb2036477b 100644 --- a/npc/custom/etc/marriage.txt +++ b/npc/custom/etc/marriage.txt @@ -394,19 +394,19 @@ OnTimer55000: //Subfunction: Checks that the groom/bride is still wearing their stuff. function SF_equip_check { - if (sex && getequipid(2) != 7170) { + if (Sex && getequipid(2) != 7170) { mes "["+@name$+"]"; mes "Child, what did you do with your "+getitemname(7170)+"?"; emotion e_dots; return 0; } - if (sex == 0 && getequipid(2) != 2338) { + if (Sex == 0 && getequipid(2) != 2338) { mes "["+@name$+"]"; mes "Child, you are supposed to wear a "+getitemname(2338)+" at all times during the ceremony..."; emotion e_dots; return 0; } - if (sex == 0 && $@wed_veil && getequipid(1) != 2206) { + if (Sex == 0 && $@wed_veil && getequipid(1) != 2206) { mes "["+@name$+"]"; mes "Child, you can't take off your "+getitemname(2206)+" yet...."; emotion e_dots; @@ -489,7 +489,7 @@ function SF_Register { mes "Very well, whom would you like to register as?"; next; set @submenu, select("Groom","Bride","Cancel"); - } else if (sex) { //Groom + } else if (Sex) { //Groom mes "["+@name$+"]"; mes "Very well, will you register as the Groom?"; next; @@ -549,7 +549,7 @@ function SF_WedProgress { mes "Tell your groom to register, what is taking so long? Time is running out."; close; } - if (($wed_groom_progress == 0) && (sex == 1 || $@wed_allow == 1)) { + if (($wed_groom_progress == 0) && (Sex == 1 || $@wed_allow == 1)) { mes "["+@name$+"]"; mes $wed_bride$+" is waiting for the groom to register. Are you the one who came to register as groom?"; next; @@ -571,7 +571,7 @@ function SF_WedProgress { } } - if (($wed_bride_progress == 0) && (sex == 0 || $@wed_allow == 1)) { + if (($wed_bride_progress == 0) && (Sex == 0 || $@wed_allow == 1)) { mes "["+@name$+"]"; mes $wed_groom$+" is waiting for the bride to register. Are you the one who came to register as the bride?"; next; @@ -687,7 +687,7 @@ function SF_TryRegister { emotion e_gasp; close; } - if (sex) + if (Sex) set @item, 7170; else set @item, 2338; @@ -697,7 +697,7 @@ function SF_TryRegister { mes "You should be wearing a "+getitemname(@item)+" if you want to get married."; close; } - if (sex == 0 && $@wed_veil && getequipid(1) != 2206) { + if (Sex == 0 && $@wed_veil && getequipid(1) != 2206) { mes "["+@name$+"]"; mes "Where is your "+getitemname(2206)+"? It's a necessary complement to your dress."; close; @@ -723,13 +723,13 @@ function SF_TryRegister { if (@bride) { set $wed_bride_progress,1; set $wed_bride$,strcharinfo(0); - set $wed_bride_sex, sex; + set $wed_bride_sex, Sex; if ($@wedding_effect == 1) //Store account id for effect. set $wedding_effect_id, getcharid(3); } else { set $wed_groom_progress,1; set $wed_groom$,strcharinfo(0); - set $wed_groom_sex, sex; + set $wed_groom_sex, Sex; if ($@wedding_effect == 2) //Store account id for effect. set $wedding_effect_id, getcharid(3); } diff --git a/npc/custom/etc/monster_arena.txt b/npc/custom/etc/monster_arena.txt index 0b6b1cc96b..1fbe6cb64f 100644 --- a/npc/custom/etc/monster_arena.txt +++ b/npc/custom/etc/monster_arena.txt @@ -290,8 +290,8 @@ gon_test,52,103,6 script Monster Trainer 87,{ next; menu "Yes",-,"No",L_Exit; - if (zeny < 1000) goto L_NoZeny; - set zeny,zeny-1000; + if (Zeny < 1000) goto L_NoZeny; + set Zeny, Zeny-1000; set #monster,10; mes "[Monster Trainer]"; mes "Congratulations!"; @@ -329,7 +329,7 @@ L_Sell: if (@sellexp > #monpoints) goto L_NoExp; set #monpoints,#monpoints-@sellexp; set @sellearn,100*@sellexp; // Price of exp - set zeny,zeny+@sellearn; + set Zeny, Zeny+@sellearn; mes "[Monster Trainer]"; mes "You earned ^0000FF" + @sellearn + "^000000z."; close; diff --git a/npc/custom/etc/morroc_raceway.txt b/npc/custom/etc/morroc_raceway.txt index 7680841733..ba1dc50f99 100644 --- a/npc/custom/etc/morroc_raceway.txt +++ b/npc/custom/etc/morroc_raceway.txt @@ -88,7 +88,7 @@ OnCount3000: announce "[1]",1; end; OnCount4000: - emotion 27; + emotion e_go; specialeffect EF_CHIMTO; announce "[GO!]",1; set $@race,1; diff --git a/npc/custom/etc/penal_servitude.txt b/npc/custom/etc/penal_servitude.txt index bfbd39c634..25cae1e207 100644 --- a/npc/custom/etc/penal_servitude.txt +++ b/npc/custom/etc/penal_servitude.txt @@ -18,8 +18,8 @@ sec_pri,36,58,1 script Chief Warder 105,{ mes "[Saddeus]"; - emotion 1; - if(sex) { + emotion e_what; + if (Sex) { mes "Mr. Prisoner #"+BaseLevel+JobLevel+","; } else { mes "Ms. Prisoner #"+BaseLevel+JobLevel+","; @@ -125,7 +125,7 @@ M_NO_THANKS: mes "[Saddeus]"; if (rand(2)) mes "Is today X-Mas time, huh?"; mes "Now shut up and back off!"; - if (rand(2)) emotion 23; + if (rand(2)) emotion e_omg; close; } diff --git a/npc/custom/etc/quest_warper.txt b/npc/custom/etc/quest_warper.txt index 2c2d310830..988aec6fa0 100644 --- a/npc/custom/etc/quest_warper.txt +++ b/npc/custom/etc/quest_warper.txt @@ -546,8 +546,10 @@ stampcard: mes "Let me check what Towns you have."; callfunc "QWS_TownStamps"; mes "You collected^00FF00 "+@Tstamp+" of "+@MaxTstamp+" ^000000Towns."; - if (@Tstamp == 15) mes "They say there is an island you can only get to when married..."; - if (@Tstamp == 15) emotion 18; + if (@Tstamp == 15) { + mes "They say there is an island you can only get to when married..."; + emotion e_heh; + } next; mes "Let me check what dungeons you have."; callfunc "QWS_DungeonStamps"; diff --git a/npc/custom/etc/rpsroulette.txt b/npc/custom/etc/rpsroulette.txt index 8e3d04a3e3..2dc8c73f5c 100644 --- a/npc/custom/etc/rpsroulette.txt +++ b/npc/custom/etc/rpsroulette.txt @@ -26,12 +26,12 @@ cmd_in02,182,126,2 script Crazy Boris 85,{ WIN: mes "Damnit, You Win!"; - emotion 19; + emotion e_swt2; next; goto OPPPULL; LOSE: - emotion 18; + emotion e_heh; mes "Boorah! You Lose!"; next; goto YOUPULL; @@ -43,9 +43,9 @@ PLAY: ROCK: if (@lastchoice == 1) set @opp,rand (1,3); - if (@opp == 1) emotion 11; - if (@opp == 2) emotion 10; - if (@opp == 3) emotion 12; + if (@opp == 1) emotion e_rock; + if (@opp == 2) emotion e_scissors; + if (@opp == 3) emotion paper; set @lastchoice,1; if (@opp == 1) goto SAME; if (@opp == 2) goto WIN; @@ -53,9 +53,9 @@ ROCK: SCISSORS: if (@lastchoice == 2) set @opp,rand (1,2); - if (@opp == 1) emotion 11; - if (@opp == 2) emotion 10; - if (@opp == 3) emotion 12; + if (@opp == 1) emotion e_rock; + if (@opp == 2) emotion e_scissors; + if (@opp == 3) emotion paper; set @lastchoice,2; if (@opp == 1) goto LOSE; if (@opp == 2) goto SAME; @@ -63,9 +63,9 @@ SCISSORS: PAPER: if (@lastchoice == 3) set @opp,rand (2,3); - if (@opp == 1) emotion 11; - if (@opp == 2) emotion 10; - if (@opp == 3) emotion 12; + if (@opp == 1) emotion e_rock; + if (@opp == 2) emotion e_scissors; + if (@opp == 3) emotion paper; set @lastchoice,3; if (@opp == 1) goto WIN; if (@opp == 2) goto LOSE; @@ -185,21 +185,21 @@ SIXa: if (@pull != 1) goto SAFE; SAFE: - emotion 32; + emotion e_pif; mes "*^0000FFClick^000000* whew..."; goto PLAY; DIE: - specialeffect2 183; - emotion 29; + specialeffect2 EF_SUI_EXPLOSION; + emotion e_gg; percentheal -100,-100; mes "*^0000FFClick^000000* *^FF0000BANG^000000*"; mes "You're dead!"; close; KILL: - specialeffect 183; - emotion 23; + specialeffect EF_SUI_EXPLOSION; + emotion e_omg; mes "*^0000FFClick^000000* *^FF0000BANG^000000*"; mes "OWWW @#$%^!! THAT HURT LIKE HELL!!"; next; diff --git a/npc/custom/etc/shifty_assassin.txt b/npc/custom/etc/shifty_assassin.txt index 46d3aab077..f93cb3258a 100644 --- a/npc/custom/etc/shifty_assassin.txt +++ b/npc/custom/etc/shifty_assassin.txt @@ -50,14 +50,14 @@ M_Buy: if ($ninja_avail < 1) goto NoNinjas; if ($ninja_avail < @buy) goto NotEnoughNinjas; set @price,@buy*$ninja_price; - if (zeny < @price ) goto NoZeny; + if (Zeny < @price) goto NoZeny; mes "[Shifty Assassin]"; mes "That will cost you ^0000FF" + @price + " zeny^000000."; next; menu "Continue",-,"Cancel",M_Exit; - set zeny,zeny-@price; + set Zeny, Zeny-@price; set #ninjas,#ninjas+@buy; set $ninja_avail,$ninja_avail-@buy; diff --git a/npc/custom/etc/stock_market.txt b/npc/custom/etc/stock_market.txt index 6f90bcaef0..d034b42c3f 100644 --- a/npc/custom/etc/stock_market.txt +++ b/npc/custom/etc/stock_market.txt @@ -279,15 +279,15 @@ S_Sell: set @sellamount,0; input @sellamount; if (@sellamount < 1) goto S_SellInv; - if (zeny < $S_Trans) goto S_NoZeny; - set zeny,zeny-$S_Trans; + if (Zeny < $S_Trans) goto S_NoZeny; + set Zeny, Zeny-$S_Trans; SELLS1: if (@sellname$ != $S1N$) goto SELLS2; if (@sellamount > #S1) goto S_SellTooHigh; set @price,@sellamount*$S1; set #S1,#S1-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S1N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -299,7 +299,7 @@ SELLS2: if (@sellamount > #S2) goto S_SellTooHigh; set @price,@sellamount*$S2; set #S2,#S2-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S2N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -311,7 +311,7 @@ SELLS3: if (@sellamount > #S3) goto S_SellTooHigh; set @price,@sellamount*$S3; set #S3,#S3-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S3N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -323,7 +323,7 @@ SELLS4: if (@sellamount > #S4) goto S_SellTooHigh; set @price,@sellamount*$S4; set #S4,#S4-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S4N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -335,7 +335,7 @@ SELLS5: if (@sellamount > #S5) goto S_SellTooHigh; set @price,@sellamount*$S5; set #S5,#S5-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S5N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -347,7 +347,7 @@ SELLS6: if (@sellamount > #S6) goto S_SellTooHigh; set @price,@sellamount*$S6; set #S6,#S6-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S6N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -359,7 +359,7 @@ SELLS7: if (@sellamount > #S7) goto S_SellTooHigh; set @price,@sellamount*$S7; set #S7,#S7-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S7N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -371,7 +371,7 @@ SELLS8: if (@sellamount > #S8) goto S_SellTooHigh; set @price,@sellamount*$S8; set #S8,#S8-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S8N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -383,7 +383,7 @@ SELLS9: if (@sellamount > #S9) goto S_SellTooHigh; set @price,@sellamount*$S9; set #S9,#S9-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S9N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -395,7 +395,7 @@ SELLS10: if (@sellamount > #S10) goto S_SellTooHigh; set @price,@sellamount*$S10; set #S10,#S10-@sellamount; - set zeny,zeny+@price; + set Zeny, Zeny+@price; next; mes "Sold " + @sellamount + " " + $S10N$ + " shares."; mes "Earned ^0000FF"+@price+"z^000000."; @@ -444,18 +444,18 @@ S_Buy: // Checks valid number // if (@buyamount < $S_BuyMin) goto S_TooLow; if (@buyamount > $S_BuyMax) goto S_TooHigh; - if (zeny < $S_Trans) goto S_NoZeny; - set zeny,zeny-$S_Trans; + if (Zeny < $S_Trans) goto S_NoZeny; + set Zeny, Zeny-$S_Trans; // Purchases the shares // PURS1: if (@buyname$ != $S1N$) goto PURS2; set @price,@buyamount*$S1; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S1,#S1+@buyamount; set @price,@buyamount*$S1; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S1N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -464,9 +464,9 @@ PURS1: PURS2: if (@buyname$ != $S2N$) goto PURS3; set @price,@buyamount*$S2; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S2,#S2+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S2N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -475,9 +475,9 @@ PURS2: PURS3: if (@buyname$ != $S3N$) goto PURS4; set @price,@buyamount*$S3; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S3,#S3+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S3N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -486,9 +486,9 @@ PURS3: PURS4: if (@buyname$ != $S4N$) goto PURS5; set @price,@buyamount*$S4; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S4,#S4+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S4N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -497,9 +497,9 @@ PURS4: PURS5: if (@buyname$ != $S5N$) goto PURS6; set @price,@buyamount*$S5; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S5,#S5+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S5N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -508,9 +508,9 @@ PURS5: PURS6: if (@buyname$ != $S6N$) goto PURS7; set @price,@buyamount*$S6; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S6,#S6+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S6N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -519,9 +519,9 @@ PURS6: PURS7: if (@buyname$ != $S7N$) goto PURS8; set @price,@buyamount*$S7; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S7,#S7+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S7N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -530,9 +530,9 @@ PURS7: PURS8: if (@buyname$ != $S8N$) goto PURS9; set @price,@buyamount*$S8; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S8,#S8+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S8N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -541,9 +541,9 @@ PURS8: PURS9: if (@buyname$ != $S9N$) goto PURS10; set @price,@buyamount*$S9; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S9,#S9+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S9N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; @@ -552,9 +552,9 @@ PURS9: PURS10: if (@buyname$ != $S10N$) goto PURS11; set @price,@buyamount*$S10; - if (zeny < @price) goto S_NoZeny; + if (Zeny < @price) goto S_NoZeny; set #S10,#S10+@buyamount; - set zeny,zeny-@price; + set Zeny, Zeny-@price; mes "Bought " + @buyamount + " " + $S10N$ + " shares."; mes "Lost ^0000FF"+@price+"z^000000."; next; diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt index 582b4972d6..6ad1d55610 100644 --- a/npc/custom/events/cluckers.txt +++ b/npc/custom/events/cluckers.txt @@ -25,17 +25,17 @@ prontera,156,219,4 script Cluckers 800,{ if (.startcluck) { specialeffect2 2; switch(rand(15)) { - case 0: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break; + case 0: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion e_omg; break; case 1: npctalk "Cluuuuuck!~"; break; case 2: unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; break; case 3: sc_start SC_Freeze,10000,0; break; - case 4: npctalk "CLUUUUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break; + case 4: npctalk "CLUUUUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion e_omg; break; case 5: sc_start SC_Sleep,10000,0; break; - case 6: sc_start SC_Stone,10000,0; emotion 29; break; - case 7: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break; - case 8: npctalk "Cluck! CLUUUCK!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break; + case 6: sc_start SC_Stone,10000,0; emotion e_gg; break; + case 7: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion e_omg; break; + case 8: npctalk "Cluck! CLUUUCK!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion e_omg; break; case 9: sc_start SC_Stun,10000,0; break; - case 10: sc_start SC_Sleep,10000,0; emotion 29; break; + case 10: sc_start SC_Sleep,10000,0; emotion e_gg; break; case 11: npctalk "Cluck! Cluck!"; break; case 12: sc_start SC_Stun,10000,0; break; case 13: unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; break; @@ -63,7 +63,7 @@ prontera,156,219,4 script Cluckers 800,{ case 1: mes "[Cluckers]"; mes "CLUCK! ^FF0000~Sure thing!~^000000"; - emotion 33; + emotion e_ok; close2; announce "[Cluck! Cluck! Boom!] is about to start in Prontera!",bc_blue; initnpctimer; @@ -84,7 +84,7 @@ prontera,156,219,4 script Cluckers 800,{ next; mes "[Cluckers]"; mes "Cluck cluck..? Cluck. ^FF0000~So, the prize is^000000 ^008000"+ $cluck_item_amount +" "+ getitemname($cluck_item_id) +"^000000? ^FF0000Great.~^000000"; - emotion 33; + emotion e_ok; next; break; case 4: diff --git a/npc/custom/events/disguise.txt b/npc/custom/events/disguise.txt index a3113a2885..31fbadbfd4 100644 --- a/npc/custom/events/disguise.txt +++ b/npc/custom/events/disguise.txt @@ -175,7 +175,7 @@ OnTimer30000: set .Change,0; setnpcdisplay "Disguise Event",795; npctalk "You took too long to guess what I was. Please wait 10 seconds while I disguise again."; - specialeffect 725; + specialeffect EF_DETECT2; set $MonsterName$,""; deletepset 1; stopnpctimer; diff --git a/npc/custom/events/uneasy_cemetery.txt b/npc/custom/events/uneasy_cemetery.txt index 60d5694838..b64f52f79b 100644 --- a/npc/custom/events/uneasy_cemetery.txt +++ b/npc/custom/events/uneasy_cemetery.txt @@ -72,7 +72,7 @@ prontera,257,313,5 script Mother Mathana 79,{ mes "I'm afraid there's something wrong with our old cemetery..."; if ($UNEASY_H$==strcharinfo(0)) mes "But thanks to you, "+$UNEASY_H$+", we'll be able to sleep " + $UNEASY_DL + " nights!"; if ($UNEASY_H$!=strcharinfo(0)) mes "But thanks to "+$UNEASY_H$+"'s support, we've got " + $UNEASY_DL + " easy nights!"; - emotion 0; + emotion e_gasp; close; L_Undead_Walk: diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt index 509b25f71d..a0f860a885 100644 --- a/npc/custom/events/valentinesdayexp.txt +++ b/npc/custom/events/valentinesdayexp.txt @@ -20,14 +20,14 @@ prontera,156,172,4 script Tine 58,{ // Debug info for item effects and tricky conditions 8) // mes "@dsv: "+@dsv; // mes "ispartneron()=="+ispartneron(); -// mes "sex == "+sex; +// mes "Sex == "+Sex; // if(@dsv == gettime(3)+1) mes "@dsv == gettime(3)+1"; mes "[Tine]"; mes "The legend says that on 14th February... on the Day of Saint Valentine..."; mes "Only in Run-Midgard kingdom..."; next; - specialeffect 417; + specialeffect EF_HITBODY; mes "[Tine]"; mes "Some married chocolate lovers almost double their experience at trainings!"; mes "But everything isn't so simply..."; @@ -62,9 +62,9 @@ M_INFO: OnInit: //559,Hand-made_Chocolate - setitemscript 559,"{ itemheal 50,50; if(sex==0 || @dsv == gettime(3)+1 || ispartneron()==0)end; set @dsv,gettime(3)+1; misceffect 113; }"; + setitemscript 559,"{ itemheal 50,50; if(Sex==0 || @dsv == gettime(3)+1 || ispartneron()==0)end; set @dsv,gettime(3)+1; misceffect 113; }"; //560,Hand-made_White_Chocolate - setitemscript 560,"{ itemheal 50,50; if(sex || @dsv == gettime(3)+1 || ispartneron()==0)end; set @dsv,gettime(3)+1; misceffect 113; }"; + setitemscript 560,"{ itemheal 50,50; if(Sex || @dsv == gettime(3)+1 || ispartneron()==0)end; set @dsv,gettime(3)+1; misceffect 113; }"; //2634,Wedding_Ring_M,Wedding Ring,5,,10,0,,0,,0,127918079,7,1,136,,0,0,0,{ skill 334,1; skill 335,1; skill 336,1; } setitemscript 2634,"{ skill 334,1; skill 335,1; skill 336,1; if(@dsv == gettime(3)+1 && ispartneron()){ bonus2 bExpAddRace,5,50; bonus2 bExpAddRace,6,50; bonus2 bExpAddRace,7,50; bonus2 bExpAddRace,8,50; bonus2 bExpAddRace,1,50; } }"; diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt index 1a52fd43aa..940a8ba090 100644 --- a/npc/custom/events/xmas_rings_event.txt +++ b/npc/custom/events/xmas_rings_event.txt @@ -16,9 +16,9 @@ prontera,156,174,4 script Snower 713,{ mes "[Snower]"; - if(Q_XMSRINGS==2){ - mes "Oh.. is it true? You've helped my sis Sneewy? Thank you."; - }else if(Q_XMSRINGS==3){ + if (Q_XMSRINGS == 2) { + mes "Oh... is it true? You've helped my sis Sneewy? Thank you."; + } else if (Q_XMSRINGS == 3) { mes "Snoowy's sent me a bird with a message. She told me about your help..."; mes "I'll tell you a secret of the magic rings."; emotion e_no1; @@ -33,7 +33,7 @@ prontera,156,174,4 script Snower 713,{ mes "If you put on both rings their power would be doubled."; mes "Have a nice day!"; close; - }else{ + } else { mes "Hi! Two my sisters and I are preparing gifts for the whole 3 holidays!"; } emotion e_sob; @@ -67,7 +67,7 @@ M_WRAP: menu "Wrap them, please!",-, "No, thanks.",M_QUEST; set @prizes, countitem(664)+countitem(665)+countitem(666)+countitem(667); - if( @prizes == 0){ + if (@prizes == 0) { mes "[Snower]"; mes "I don't see any gifts in fancy boxes on you..."; if(countitem(644))mes "You've got only gray boxes."; @@ -86,7 +86,7 @@ M_WRAP: M_QUEST: mes "[Snower]"; mes "I wish you find my sisters ASAP... They need help."; - if(Q_XMSRINGS==0) set Q_XMSRINGS,1; + if (Q_XMSRINGS == 0) set Q_XMSRINGS,1; close; OnInit: @@ -101,12 +101,12 @@ OnInit: louyang,224,249,4 script Sneewy 717,{ mes "[Sneewy]"; - if(Q_XMSRINGS==0){ + if (Q_XMSRINGS == 0) { mes "Hi! I'm waithing for my sister's birdy with mail..."; emotion e_sob; close; } - if(Q_XMSRINGS==1){ + if (Q_XMSRINGS == 1) { mes "I wish I had 4 more gray Gift Boxes for native children..."; emotion e_sob; next; @@ -116,7 +116,7 @@ louyang,224,249,4 script Sneewy 717,{ menu "Here are your 4 Gift Boxes",-, "I don't know any Snowhatevers...",M_END; mes "[Sneewy]"; - if(countitem(644)<4){ + if (countitem(644) < 4) { mes "Gimme 4 gifts for poor kids... Wait, you haven't got 4 of them!"; emotion e_sry; close; @@ -144,12 +144,12 @@ M_END: izlu2dun,133,160,2 script Snoowy 714,{ mes "[Snoowy]"; - if(Q_XMSRINGS==0){ + if (Q_XMSRINGS == 0) { mes "Helloooou! Do you know my bro and sis? How so? My brother Snower's well known in Prontera!! Just ask any child there."; emotion e_hmm; close; } - if(Q_XMSRINGS==1){ + if (Q_XMSRINGS == 1) { mes "Darn... How could poor children be more important than the marine folks.. Am I wrong?"; next; mes "[Snoowy]"; @@ -159,7 +159,7 @@ izlu2dun,133,160,2 script Snoowy 714,{ mes "Look, it's something like 'yang' in the very end... Hmm... She must be misspelled 'Al Doo Boryang'..."; close; } - if(Q_XMSRINGS==2){ + if (Q_XMSRINGS == 2) { mes "You've helped my sis? It's just great!"; next; mes "[Snoowy]"; @@ -168,7 +168,7 @@ izlu2dun,133,160,2 script Snoowy 714,{ menu "Have these gifts!",-, "I need a li'l something in return",M_END; mes "[Snoowy]"; - if(countitem(644)<3){ + if (countitem(644) < 3) { mes "Oops!! You haven't got 3 gray gift boxes on you."; emotion e_sry; close; @@ -182,7 +182,8 @@ izlu2dun,133,160,2 script Snoowy 714,{ } emotion e_thx; mes "Oh... the whole marine folk send you their thanks! They love presents so much!!!"; - if(rand(2))mes "Didn't you know that Santa's Hat reveals the real power of the rings?"; + if (rand(2)) + mes "Didn't you know that Santa's Hat reveals the real power of the rings?"; close; M_END: diff --git a/npc/custom/quests/bandit_beard.txt b/npc/custom/quests/bandit_beard.txt index 0fba60f2f8..80c83cf7dd 100644 --- a/npc/custom/quests/bandit_beard.txt +++ b/npc/custom/quests/bandit_beard.txt @@ -30,7 +30,7 @@ umbala,126,129,4 script Bearded Man#bandit 120,{ mes "[Bearded Man]"; mes "HoHo~ So you want some whiskers."; - emotion 18; + emotion e_heh; mes "Well I would give you my beards but there not cheap."; mes "Matter of fact I have only one left..."; mes "but I'm not selling it."; @@ -59,14 +59,14 @@ L_LIST: M_NO: mes "[Bearded Man]"; mes "Fine, be that way!"; - emotion 7; + emotion e_ag; close; L_DONE: mes "[Bearded Man]"; mes "Sorry, I can only make one per person."; mes "We don't want too many beards now. Right?"; - emotion 29; + emotion e_gg; close; L_MAKE: @@ -90,14 +90,14 @@ L_MAKE: set BEARD_QUEST, 5; mes "[Bearded Man]"; mes "Have a nice day!"; - emotion 29; + emotion e_gg; close; L_NOITEMS: mes "[Bearded Man]"; mes "What the hell! I can't make a beard without the items!"; mes "Here is the list again:"; - emotion 23; + emotion e_omg; goto L_LIST; } @@ -174,7 +174,7 @@ alberta,65,123,6 script Man#bandit 85,{ if($@beardmob > 0) mes "Kill! Kill them already!!!"; if($@beardmob > 0) close; mes "Are you here to help me?"; - emotion 1; + emotion e_what; next; menu "Yes",-,"No",M_NO; @@ -184,7 +184,7 @@ alberta,65,123,6 script Man#bandit 85,{ next; mes "[Thread Merchant]"; mes "Oh NO! Here they come!!"; - emotion 19; + emotion e_swt2; donpcevent "BRDQ_MOBS::OnStart"; close; @@ -199,7 +199,7 @@ L_KILLED: L_DONE: mes "[Thread Merchant]"; mes "Thank you again!"; - emotion 15; + emotion e_thx; close; M_NO: diff --git a/npc/custom/quests/may_hats.txt b/npc/custom/quests/may_hats.txt index 10319ae6ad..c96d3ac352 100644 --- a/npc/custom/quests/may_hats.txt +++ b/npc/custom/quests/may_hats.txt @@ -19,7 +19,7 @@ gonryun,187,140,4 script Yakima 850,{ mes callfunc("F_Hi"); mes "I can make some items for you."; mes "They are quite rare novadays..."; - specialeffect 417; + specialeffect EF_HITBODY; next; menu "Bird Nest",-,"Lion Mask",M_2,"Skeleton Manteau",M_3,"Fashion Hip Sack",M_4,"Sales Banner",M_5,"Leave",M_EXIT; diff --git a/npc/custom/quests/thq/THQS_GuildNPC.txt b/npc/custom/quests/thq/THQS_GuildNPC.txt index b5bbf5d28c..1383149cc7 100644 --- a/npc/custom/quests/thq/THQS_GuildNPC.txt +++ b/npc/custom/quests/thq/THQS_GuildNPC.txt @@ -27,14 +27,14 @@ yuno_in01,124,164,6 script Guild Leader 108,{ mes "Umm... Well that is all you need to do. Hahaha."; next; menu "Pay ^FF000025,000z^000000.",-,"Thats way to high!!",N_HighPrice; - if (zeny < 25000) goto N_NoZeny; + if (Zeny < 25000) goto N_NoZeny; set Zeny,Zeny-25000; //getitem 7950, 1; //getitem 7951, 1; set Event_THQS,1; mes "[Keegan]"; mes "Congratulations!"; - emotion 46; + emotion e_grat; next; mes "[Keegan]"; mes "Welcome to the Guild of Treasure Hunters."; diff --git a/npc/custom/quests/thq/THQS_QuestNPC.txt b/npc/custom/quests/thq/THQS_QuestNPC.txt index 6a3b33699c..91c9e0fe23 100644 --- a/npc/custom/quests/thq/THQS_QuestNPC.txt +++ b/npc/custom/quests/thq/THQS_QuestNPC.txt @@ -32,7 +32,7 @@ yuno_in01,112,151,6 script Quest Manager 62,{ mes "Good well get back out there."; close; N_PayZeny: - if (zeny < 2500) goto N_ZenyFail; + if (Zeny < 2500) goto N_ZenyFail; set one_qset, 0; set two_qset, 0; set three_qset, 0; @@ -50,7 +50,7 @@ N_PayZeny: mes "[Guy]"; mes "Its sad to see someone give a quest up..."; mes "Shame on you."; - emotion 7; + emotion e_ag; close; N_ZenyFail: @@ -74,7 +74,7 @@ N_NewQuest: mes "The quest names in ^FF0000This Colour^000000 mean that they are more challanging then the rest, but have better rewards."; next; set #THQ_DELAY,(GetTime(7)*12*31*24+GetTime(6)*31*24+GetTime(5)*24+GetTime(3) + 1); //you can get another quest after 1 hour [Lupus] - emotion 21; + emotion e_no1; if(@treasure_job==0) set @treasure_job,rand(1,10); //doesn't allow cheaters to pick any quest they want if(@treasure_job==2) goto N_JobList2; if(@treasure_job==3) goto N_JobList3; @@ -90,20 +90,20 @@ N_NewQuest: N_NoTime: mes "[Guy]"; mes "Alright maybe next time "+strcharinfo(0)+"."; - emotion 20; + emotion e_hmm; close; N_Signup: mes "[Guy]"; mes "I'm afraid you must sign up for the guild before you can go on a quest!"; - emotion 17; + emotion e_sry; close; L_NoQuestsForYet: mes "[Guy]"; mes "I'm afraid there aren't any Quests for you yet."; mes "Call in "+ (#THQ_DELAY - (GetTime(7)*12*31*24+GetTime(6)*31*24+GetTime(5)*24+GetTime(3)) )+" hours later."; - emotion 17; + emotion e_sry; close; L_QuestGiven: diff --git a/npc/custom/quests/thq/THQS_TTShop.txt b/npc/custom/quests/thq/THQS_TTShop.txt index 7752a0960b..b0197540b9 100644 --- a/npc/custom/quests/thq/THQS_TTShop.txt +++ b/npc/custom/quests/thq/THQS_TTShop.txt @@ -53,7 +53,7 @@ N_Shop: close; N_GetZeny1k: set #Treasure_Token,#Treasure_Token-1; - set zeny,zeny+1000; + set Zeny, Zeny+1000; close; N_10T: if (#Treasure_Token > 9) goto N_GetZeny10k; @@ -61,7 +61,7 @@ N_10T: close; N_GetZeny10k: set #Treasure_Token,#Treasure_Token-10; - set zeny,zeny+10000; + set Zeny, Zeny+10000; close; N_100T: if (#Treasure_Token > 99) goto N_GetZeny100k; @@ -69,7 +69,7 @@ N_100T: close; N_GetZeny100k: set #Treasure_Token,#Treasure_Token-100; - set zeny,zeny+100000; + set Zeny, Zeny+100000; close; N_BuyWeps: diff --git a/npc/custom/woe_controller.txt b/npc/custom/woe_controller.txt index fe88b0934a..d66c25ae65 100644 --- a/npc/custom/woe_controller.txt +++ b/npc/custom/woe_controller.txt @@ -24,7 +24,7 @@ prontera,149,193,4 script WOE Information 835,{ end; OnAgitStart: while(agitcheck()) { - misceffect EF_BEGINSPELL6; + specialeffect EF_BEGINSPELL6; sleep 425; } end; diff --git a/npc/events/MemorialDay_2008.txt b/npc/events/MemorialDay_2008.txt index 4073092f39..0fad5ddfce 100644 --- a/npc/events/MemorialDay_2008.txt +++ b/npc/events/MemorialDay_2008.txt @@ -17,7 +17,7 @@ // Lauds //============================================================ prontera,182,214,4 script Lauds#Memorial 58,{ - if(Memorial08 < 1) { + if (Memorial08 < 1) { mes "[Mad Sago Lauds]"; mes "Hey, yo!"; mes "What are you doing there!?"; @@ -29,7 +29,7 @@ prontera,182,214,4 script Lauds#Memorial 58,{ next; mes "[Mad Sago Lauds]"; mes "What is this!?"; - emotion 0; + emotion e_gasp; next; mes "[Mad Sago Lauds]"; mes "Where is your towel!?"; @@ -69,14 +69,14 @@ prontera,182,214,4 script Lauds#Memorial 58,{ close; } - else if(Memorial08 == 1) { + else if (Memorial08 == 1) { if (countitem(1059) < 30 || countitem(914) < 20) { mes "[Mad Sago Lauds]"; mes "What are these? They aren't enough?!"; mes "*Sigh* Do I really have to tell you again?!"; mes "Bring me ^FF000030 Fabric and 20 Fluffs^000000."; close; - }else{ + } else { mes "***Mad Sago Lauds appears to be muttering to himself***"; next; mes "[Mad Sago Lauds]"; @@ -98,7 +98,7 @@ prontera,182,214,4 script Lauds#Memorial 58,{ } } - else if(Memorial08 == 2) { + else if (Memorial08 == 2) { mes "[Mad Sago Lauds]"; mes "Ah, you have fluffy new towel now I even put your name on it"; next; @@ -120,20 +120,20 @@ prontera,182,214,4 script Lauds#Memorial 58,{ close; } - else if(Memorial08 == 3) { + else if (Memorial08 == 3) { mes "[Mad Sago Lauds]"; mes "What are you still doing here?"; mes "I told you to go speak to Grast in Prontera!"; close; } - else if(Memorial08 == 4 || Memorial08 == 5 || Memorial08 == 6) { + else if (Memorial08 == 4 || Memorial08 == 5 || Memorial08 == 6) { mes "[Mad Sago Lauds]"; mes "Go help Grast, and then come back."; close; } - else if(Memorial08 == 7) { + else if (Memorial08 == 7) { mes "[Mad Sago Lauds]"; mes "Oh, you've brought them all."; mes "Hahaha!"; @@ -155,38 +155,38 @@ prontera,182,214,4 script Lauds#Memorial 58,{ close; } - else if(Memorial08 == 8) { + else if (Memorial08 == 8) { mes "[Mad Sago Lauds]"; mes "Stop trying to give me your garbage!"; mes "Go to the plaque at 12 o'clock direction in Prontera for your journey!"; close; } - else if(Memorial08 >= 9) { + else if (Memorial08 >= 9) { set .@RandomMsg, rand(1,5); - if(.@RandomMsg == 1) { + if (.@RandomMsg == 1) { mes "[Mad Sago Lauds]"; mes "Don't panic!"; - emotion 0; + emotion e_gasp; close; } - else if(.@RandomMsg == 2) { + else if (.@RandomMsg == 2) { mes "[Mad Sago Lauds]"; mes "Life... is like a grapefruit."; mes "It's orange and squishy, and has a few pips in it, and some folks have half a one for breakfast."; close; } - else if(.@RandomMsg == 3) { + else if (.@RandomMsg == 3) { mes "[Mad Sago Lauds]"; mes "There was a point to this story, but it has temporarily escaped the chronicler's mind."; close; } - else if(.@RandomMsg == 4) { + else if (.@RandomMsg == 4) { mes "[Mad Sago Lauds]"; mes "42!"; close; } - else if(.@RandomMsg == 5) { + else if (.@RandomMsg == 5) { mes "[Mad Sago Lauds]"; mes "It is a mistake to think you can solve any major problems just with potatoes."; close; @@ -197,13 +197,13 @@ prontera,182,214,4 script Lauds#Memorial 58,{ // Memorial Plaque //============================================================ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ - if(Memorial08 < 8) { + if (Memorial08 < 8) { mes "[" + strcharinfo(0) + "]"; mes "- It's a dusty old plaque.-"; close; } - else if(Memorial08 == 8) { + else if (Memorial08 == 8) { mes "[" + strcharinfo(0) + "]"; mes "- It's a dusty old plaque.-"; mes "'This must be what Lauds was talking about.'"; @@ -214,7 +214,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ goto L_CleanPlaque; } - else if(Memorial08 >= 9) { + else if (Memorial08 >= 9) { goto L_CleanPlaque; } @@ -225,7 +225,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ mes "-nor engraved stone bear record of their deeds,-"; mes "-yet will their remembrance be as lasting as the land they honored.-"; mes "-Daniel Webster-"; - if(Memorial08 == 9) { + if (Memorial08 == 9) { getexp 93750,43750; } next; @@ -234,7 +234,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ mes "-I may not have gone where I intended to go,-"; mes "-but I think I have ended up where I needed to be.-"; mes "- Douglas Adams.-"; - if(Memorial08 == 9) { + if (Memorial08 == 9) { getexp 93750,43750; } next; @@ -244,7 +244,7 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ mes "-It is not the urge to surpass all others at whatever cost,-"; mes "- but the urge to serve others at whatever cost. -"; mes "- Arthur Ashe -"; - if(Memorial08 == 9) { + if (Memorial08 == 9) { getexp 93750,43750; set Memorial08,10; } @@ -254,14 +254,14 @@ prontera,153,286,4 script Memorial Plaque#Memorial 857,{ // Grast //============================================================ prontera,150,270,4 script Grast#Memorial 900,{ - if(Memorial08 < 3) { + if (Memorial08 < 3) { mes "[Grast]"; mes "Memorial Day is a sad and yet glorious day."; mes "I wonder how many people remember them..."; close; } - else if(Memorial08 == 3) { + else if (Memorial08 == 3) { mes "[Grast]"; mes "Oh, isn't that a Towel of Memory?"; mes "I'm so glad to meet someone who understands the meaning of Memorial Day."; @@ -279,7 +279,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ close; } - else if(Memorial08 == 4) { + else if (Memorial08 == 4) { if (countitem(501) < 1 || countitem(506) < 1 || countitem(656) < 1 || countitem(602) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; @@ -295,7 +295,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ goto L_GiveUp; } goto L_Continue; - }else{ + } else { mes "[Grast]"; mes "Oh, you've brought the materials I asked."; next; @@ -310,7 +310,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ } } - else if(Memorial08 == 5) { + else if (Memorial08 == 5) { if (countitem(1065) < 1 || countitem(610) < 1 || countitem(717) < 1 || countitem(747) < 1 || countitem(517) < 1 || countitem(515) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; @@ -325,7 +325,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ goto L_GiveUp; } goto L_Continue; - }else{ + } else { mes "[Grast]"; mes "Oh, you've brought everything I asked."; mes "Hmm, I think you need just a little bit more."; @@ -337,7 +337,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ } } - else if(Memorial08 == 6) { + else if (Memorial08 == 6) { if (countitem(643) < 1 || countitem(12018) < 1 || countitem(741) < 1 || countitem(745) < 1) { mes "[Grast]"; mes "Oops, you haven't brought all materials."; @@ -356,7 +356,7 @@ prontera,150,270,4 script Grast#Memorial 900,{ goto L_GiveUp; } goto L_Continue; - }else{ + } else { mes "[Grast]"; mes "Have you brought the materials I asked?"; mes "Ah, thank you for your hard work you've brought all of them."; @@ -392,14 +392,14 @@ prontera,150,270,4 script Grast#Memorial 900,{ } } - else if(Memorial08 == 7) { + else if (Memorial08 == 7) { mes "[Grast]"; mes "Have you met Lauds?"; mes "I hope you'll remember your freedom and happiness are built on thousands of lives sacrificed in war."; close; } - else if(Memorial08 >= 8) { + else if (Memorial08 >= 8) { mes "[Grast]"; mes "A towel is about the most massively useful thing an adventurer can have."; close; diff --git a/npc/events/StPatrick_2008.txt b/npc/events/StPatrick_2008.txt index 3e85c8a049..67324cdba6 100644 --- a/npc/events/StPatrick_2008.txt +++ b/npc/events/StPatrick_2008.txt @@ -26,7 +26,7 @@ //= 1.0 First version. [Kisuka] //= 1.1 Fixed checkitems for ale, fixed ale prize(gives the correct one now). [Kisuka] //= 1.2 Optimized. Uses only one variable now. [L0ne_W0lf] -//= Corrected EXP rewards, and some typos. +//= Corrected EXP rewards, and some typos. //= 1.3 Corrected random in item function. [L0ne_W0lf] //= 1.4 Replaced effect numerics with constants. [Samuray22] //= 1.5 Revamped the script. [Kisuka] diff --git a/npc/events/children_week.txt b/npc/events/children_week.txt index 93cdf427d2..784f45b780 100644 --- a/npc/events/children_week.txt +++ b/npc/events/children_week.txt @@ -14,20 +14,20 @@ //============================================================ prontera,146,91,5 script Pandit chacha#child07 61,{ - if(BaseLevel > 50) { + if (BaseLevel > 50) { mes "[Pandit chacha]"; mes "Hahaha~"; mes "It is special day, comes only one time in a year."; mes "If you see little adventurers around you send to me~"; mes "I will give the special gift."; close; - } else if(BaseLevel < 20) { + } else if (BaseLevel < 20) { mes "[Pandit chacha]"; mes "Hahaha~"; mes "You are a baby adventurer not little adventurer."; mes "When you more grow up, come back again. hahaha."; close; - } else if(oversea_event9 < 1) { + } else if (oversea_event9 < 1) { mes "[Pandit chacha]"; mes "Hahaha~"; mes "Welcome, little adventurers!"; @@ -35,7 +35,7 @@ prontera,146,91,5 script Pandit chacha#child07 61,{ mes "I would like to give the small gift to little adventurer..."; mes "What about you? Do you want to take it?"; next; - if(select("No. I will take it later.","Sure, i want.") == 1) { + if(select("No. I will take it later.:Sure, I want.") == 1) { mes "[Pandit chacha]"; mes "That's too bad.... hum..."; mes "I gathered some stuffs from far a way world to make it...."; @@ -43,21 +43,21 @@ prontera,146,91,5 script Pandit chacha#child07 61,{ close; } set oversea_event9,1; - getitem 11705,10; //Children's Potion + getitem 11705,10; //Special_White_Potion mes "[Pandit chacha]"; mes "Look. This is a child Potion."; mes "The weight is just 1 but recover much HP."; mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose."; close; - } else if(oversea_event9 == 1) { - if(countitem(745) > 0 && countitem(748) > 0) { + } else if (oversea_event9 == 1) { + if (countitem(745) > 0 && countitem(748) > 0) { mes "[Pandit chacha]"; mes "Ahha!!"; mes "You have remembered my beautiful composition."; mes "You did good work."; mes "Could you give me 1 Wedding Bouquet and 1 Witherless Rose? "; next; - if(select("Not yet.","Sure, take it.") == 1) { + if(select("Not yet.:Sure, take it.") == 1) { mes "[Pandit chacha]"; mes "If you are not prepared yet, call me when you ready."; close; @@ -68,10 +68,10 @@ prontera,146,91,5 script Pandit chacha#child07 61,{ mes "Here, I will exchange to the 50 child potion."; mes "Once you get this 50 child potion, I won't give any more."; close2; - delitem 745,1; //Wedding Bouquet - delitem 748,1; //Witherless Rose + delitem 745,1; //Wedding_Bouquet + delitem 748,1; //Witherless_Rose set oversea_event9,2; - getitem 11705,50; //Children's Potion + getitem 11705,50; //Special_White_Potion end; } mes "[Pandit chacha]"; diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt index 2d5b1ad540..54d0604bc4 100644 --- a/npc/events/christmas_2005.txt +++ b/npc/events/christmas_2005.txt @@ -53,7 +53,7 @@ xmas_in,89,92,5 script Louise Kim#designer 714,{ mes ""; emotion e_lv; next; - if(countitem(2236) > 0) { + if (countitem(2236) > 0) { if (select("Here.:It's ok.") == 1) { mes "[Designer Louise Kim]"; mes "Nice choice!!"; @@ -296,7 +296,7 @@ prontera,155,285,3 script Enjoy#enjoy 753,{ end; } } - else if((christ_solo05 > 0) && (christ_solo05 < 5)){ + else if ((christ_solo05 > 0) && (christ_solo05 < 5)){ mes "[Enjoy]"; mes "Each should have one person's phone number."; mes "We must keep it secret before we put in action."; @@ -397,7 +397,7 @@ prontera,155,285,3 script Enjoy#enjoy 753,{ donpcevent "Christ#christ02::OnCommandEmotion"; donpcevent "Mas#mas02::OnCommandEmotion"; donpcevent "Event#event02::OnCommandEmotion"; - misceffect 376; //_HITLINE2 + misceffect EF_HITLINE2; delitem 604,5; //Branch_of_Dead_Tree set christ_solo05,6; donpcevent "Happymerry#happymerry02::OnCommandOff"; @@ -721,7 +721,7 @@ prontera,62,339,3 script Christ#christ 875,{ set christ_solo05,3; close; } - else if(christ_solo05 > 2) { + else if (christ_solo05 > 2) { mes "[Christ]"; mes "Than,see you there!!"; mes "I'll go meet Enjoy!"; @@ -757,7 +757,7 @@ prontera,62,339,3 script Christ#christ 875,{ } prontera,163,66,7 script Mas#mas 748,{ - if(christ_solo05 == 3) { + if (christ_solo05 == 3) { mes "[Mas]"; mes "Herds!!!!!How long does it take!"; mes "Somebody know the regenerating time of Herb?!!"; @@ -812,7 +812,7 @@ prontera,163,66,7 script Mas#mas 748,{ set christ_solo05,4; close; } - else if(christ_solo05 > 3) { + else if (christ_solo05 > 3) { mes "[Mas]"; mes "If you excuse me, I'll go ahead and meat Enjoy."; mes "And don't forget to tell ^0000FFEvent^000000 about this."; @@ -839,7 +839,7 @@ prontera,163,66,7 script Mas#mas 748,{ } prontera,35,209,5 script Event#event 881,{ - if(christ_solo05 == 4) { + if (christ_solo05 == 4) { mes "[Event]"; mes "........................"; next; @@ -893,7 +893,7 @@ prontera,35,209,5 script Event#event 881,{ set christ_solo05,5; close; } - else if(christ_solo05 > 4) { + else if (christ_solo05 > 4) { mes "[Event]"; mes "Wait for me miss Kafra~~~"; mes "Don't be so lonely~."; @@ -1106,7 +1106,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 79,{ close; } } - else if(christ_carol05 == 1) { + else if (christ_carol05 == 1) { mes "[Oholy]"; mes "He should not be able to escape"; mes "from the town. Please find the"; @@ -1115,8 +1115,8 @@ prontera,156,242,0 script Oholy#pron::OholyDup 79,{ mes "Punish the wicked devil who is ruining Christmas!!!"; close; } - else if(christ_carol05 == 2) { - if(!checkweight(1201,1)) { + else if (christ_carol05 == 2) { + if (!checkweight(1201,1)) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -1125,8 +1125,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 79,{ mes "to store some of your items.^000000"; close; } - set .@now_weight,MaxWeight-Weight; - if(.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt index 7bd104f4f5..ac0ee9ccf2 100644 --- a/npc/events/christmas_2008.txt +++ b/npc/events/christmas_2008.txt @@ -31,7 +31,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Merry Christmas!"; mes "Hey! You! What comes to mind when you think about Christmas?"; next; - }else{ + } else { mes "[Caroller]"; mes "Jingle Bells! Jingle Bells! Jingle all the way!"; next; @@ -43,7 +43,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Merry Christmas!"; if (Sex) { mes "Hey, boy! What comes to mind when"; - }else{ + } else { mes "Hey, girl! What comes to mind when"; } mes "you think about Christmas?"; @@ -69,7 +69,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you win over Santa, you can get a gift. Would you go for it?"; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "Isn't that big news?"; @@ -87,7 +87,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "Furthermore, he has put bad magic on the gifts so that they become monsters!"; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "Isn't it amazing?"; @@ -115,7 +115,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; close; - }else{ + } else { mes "[Caroller]"; mes "Wow, you have them."; next; @@ -133,13 +133,13 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; next; - emotion 18; + emotion e_heh; delitem 6092,6; getnameditem 12354,"+strcharinfo(0)+"; mes "[Caroller]"; mes "Let's care about others around you on this Christmas season!"; close; - }else{ + } else { mes "[Caroller]"; mes "Oh!"; mes "Shyness!"; @@ -154,7 +154,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "If you can get ^0000FFSinging Crystal Pieces^000000, give them to me please?"; next; - emotion 18; + emotion e_heh; delitem 6092,6; getitem 12354,1; mes "[Caroller]"; @@ -232,7 +232,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Please, for our children's hope!!!?"; mes "Please bring me 6 Singing Crystal Pieces from ^0000FFViolent Gift Boxes^000000!"; next; - emotion 33; + emotion e_ok; mes "[Caroller]"; mes "They're definitely as harsh as their name."; mes "Go on please!"; @@ -254,7 +254,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Are there some spcial abilities within them?"; mes "There's still the designer in the Christmas village... How about asking her to make that costume?"; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "It's hot, huh?"; @@ -272,7 +272,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "And he isn't alone anymore... is what I heard..."; next; - emotion 18; + emotion e_heh; mes "[Caroller]"; mes "Caroller's hot news! Ha!"; mes "Hotness, right?"; @@ -295,13 +295,13 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "For all of the children of this world!!!"; mes "Please bring me ^0000FFSinging Crystal Pieces^000000 from ^0000FFViolent Gift Boxes^000000!"; next; - emotion 33; + emotion e_ok; mes "[Caroller]"; mes "Be careful!"; mes "They're definitely as harsh as their name."; mes "Take care!!!"; close; - }else{ + } else { specialeffect EF_GLORIA; mes "[Caroller]"; mes "Don't cry, don't cry!"; @@ -337,7 +337,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "^0000FF10 Trunk, 1 Hammer Of Blacksmith, 1 Jubilee, 10 Sticky Mucus, 3carat Diamond^000000!"; next; delitem 6092,6; - emotion 33; + emotion e_ok; set iROxmas08carol,2; mes "[Caroller]"; mes "Those are all needed."; @@ -356,12 +356,12 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "So, we need more of some materials."; mes "^0000FF10 Trunk, 1 Hammer Of Blacksmith, 1 Jubilee, 10 Sticky Mucus, 3carat Diamond^000000!"; next; - emotion 33; + emotion e_ok; mes "[Caroller]"; mes "That's all we need."; mes "Isn't that easy?"; close; - }else{ + } else { specialeffect EF_GLORIA; mes "[Caroller]"; mes "Jingle bells, jingle bells,"; @@ -416,7 +416,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Caroller]"; mes "Don't worry, it tastes good."; next; - emotion 33; + emotion e_ok; getitem 2784,1; getnameditem 12354,"+strcharinfo(0)+"; delitem 1019,10; @@ -456,7 +456,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Santa Claus]"; if (Sex) { mes "Ho ho ho! What a good boy!"; - }else{ + } else { mes "Ho ho ho! What a good girl!"; } next; @@ -528,7 +528,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "Let's get started!"; next; while(.@SantaCardTurn != 5) { - emotion 56; + emotion e_loud; mes "[Santa Claus]"; mes "First let me shuffle up these cards... Ok!!!"; next; @@ -595,16 +595,16 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ set .@SantaCardTurn,.@SantaCardTurn+1; if (.@SantaCardP == .@SantaCardNpc) { set .@SantaCardWins,.@SantaCardWins+1; - emotion 0; - emotion 5,1; + emotion e_gasp; + emotion e_ic,1; cutin "",255; mes "[Santa Claus]"; mes "You're lucky."; mes "Can you guess the right card the next time around?"; next; - }else{ - emotion 0; - emotion 23,1; + } else { + emotion e_gasp; + emotion e_omg,1; cutin "",255; mes "[Santa Claus]"; mes "Aww maybe next time..."; @@ -619,7 +619,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "[Santa Claus]"; mes "Whenever you want."; close; - }else{ + } else { mes "[Santa Claus]"; mes "You're so good!"; next; @@ -689,7 +689,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "........................"; if (Sex) { mes "Oh! Poor boy..."; - }else{ + } else { mes "Oh! Poor girl..."; } next; @@ -697,7 +697,7 @@ prontera,226,306,4 script Caroller#iROxmas08 79,{ mes "........................"; if (Sex) { mes "Oh! Poor boy..."; - }else{ + } else { mes "Oh! Poor girl..."; } mes "..."; @@ -730,7 +730,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "The reason catching up to him is so hard, is that his clothes have been given strong power!"; mes "I blessed them with good luck!"; next; - emotion 3; + emotion e_lv; mes "[Louise Kim]"; mes "Preta Porter!!"; mes "Which is quite luxurious but sold at good price ~"; @@ -747,7 +747,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "Ah!"; mes "You're silly! You lost your big chance!"; next; - emotion 18; + emotion e_heh; mes "[Louise Kim]"; mes "Come to me later if you want to get the mission."; mes "I, Louise Kim, am generous enough to accept you next time."; @@ -765,7 +765,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "Anyway, can you bring me some stuff?"; next; if (select("Why not? What do you need?:Sorry, no time.") == 2) { - emotion 18; + emotion e_heh; mes "[Louise Kim]"; mes "What?"; mes "You will definitely regret it."; @@ -783,13 +783,13 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "[Louise Kim]"; mes "If you were to bring me all the stuff, I would make you a wonderful costume, for free..."; next; - emotion 3; + emotion e_lv; mes "[Louise Kim]"; mes "Please see me again if you are interested."; close; - }else{ + } else { select("Here you are."); - emotion 33; + emotion e_ok; mes "[Louise Kim]"; mes "Oh! Good!"; mes "Let's not delay."; @@ -801,7 +801,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "-and many blessings she sings.-"; next; specialeffect EF_BLESSING; - emotion 2; + emotion e_ho; mes "[Louise Kim]"; mes "By artist, Louise Kim!"; mes "All over the world will be blessed tonight!"; @@ -815,7 +815,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "-Count your blessings and sing!-"; next; specialeffect EF_GLORIA; - emotion 2; + emotion e_ho; mes "[Louise Kim]"; mes "By artist, Louise Kim!"; mes "All over the world will be blessed tonight!"; @@ -827,7 +827,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "-cheer and goodwill!-"; next; specialeffect EF_BENEDICTIO; - emotion 3; + emotion e_lv; mes "[Louise Kim]"; mes "This is miraculous!"; mes "I am a genius of the world."; @@ -839,7 +839,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 714,{ mes "My fashion is radiant."; mes "I ain't envious of Designer Pierre."; next; - emotion 18; + emotion e_heh; mes "[Louise Kim]"; mes "I am supposed to get paid well, however I will just let it be free, since this is Christmas!"; next; diff --git a/npc/events/easter_2008.txt b/npc/events/easter_2008.txt index 026d2a3d2d..4c6c3082f9 100644 --- a/npc/events/easter_2008.txt +++ b/npc/events/easter_2008.txt @@ -93,7 +93,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ } else { set .@egg_zeny,.@input*500; - if (zeny < .@egg_zeny) { + if (Zeny < .@egg_zeny) { mes "[Egg Salesman]"; mes "You don't have enough Zeny."; next; @@ -120,7 +120,7 @@ prontera,111,99,5 script Egg Salesman#prt::EggVendor 98,{ mes "them, but I don't know anything"; mes "about that. Well, have a good"; mes "time, and I'll see you again!"; - set zeny,zeny-.@egg_zeny; + set Zeny, Zeny-.@egg_zeny; getitem 7605,.@input; //Chicken_Egg close; } diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt index 3b3d4886f6..18f668f465 100644 --- a/npc/events/gdevent_aru.txt +++ b/npc/events/gdevent_aru.txt @@ -905,7 +905,7 @@ arug_que01,100,81,3 script Pierrot Pier#aru_gd 715,{ mes "When is that person coming? I am very bored~!"; close; } - emotion 18; + emotion e_heh; mes "[Pierrot Pier]"; mes "^3131FF^000000. Beep beep."; next; diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt index bd2eff23eb..e5b2d382b9 100644 --- a/npc/events/gdevent_sch.txt +++ b/npc/events/gdevent_sch.txt @@ -904,7 +904,7 @@ schg_que01,100,81,3 script Pierrot Pier#sch_gd 715,{ mes "When is that person coming? I am very bored~!"; close; } - emotion 18; + emotion e_heh; mes "[Pierrot Pier]"; mes "^3131FF^000000. Beep beep."; next; diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt index 7e891a1256..b364603f18 100644 --- a/npc/events/halloween_2006.txt +++ b/npc/events/halloween_2006.txt @@ -42,8 +42,7 @@ OnEffect2: } prontera,164,69,3 script Cool Devi#06_hw 738,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -239,8 +238,7 @@ prontera,164,69,3 script Cool Devi#06_hw 738,{ geffen,145,132,3 script Hoirin#06_hw 729,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -395,8 +393,7 @@ OnTouch: } nif_in,19,32,3 script Deviruchi#06_hw 738,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; @@ -488,8 +485,7 @@ nif_in,19,32,3 script Deviruchi#06_hw 738,{ // Creation of Pumpkin Pie (Event 2) //============================================================ nif_fild01,165,115,3 script Chicken Masta#06_hw 794,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "^3355FFWait a second!"; mes "Right now, you're carrying"; mes "too many things with you."; diff --git a/npc/events/halloween_2008.txt b/npc/events/halloween_2008.txt index c14dd16562..bc4e2facdd 100644 --- a/npc/events/halloween_2008.txt +++ b/npc/events/halloween_2008.txt @@ -18,8 +18,7 @@ //============================================================ payon,162,176,4 script Halloween Magician#iRO08 704,{ - - if(Hallow08 < 1) { + if (Hallow08 < 1) { mes "[Halloween Magician]"; mes "Kkkkkkkkk!"; mes "I have a special event this Halloween that tests your luck and agility."; @@ -32,7 +31,6 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ next; goto MainMenu; } - if (Hallow08Kill == 1) { mes "[Halloween Magician]"; mes "You a 'fraidy cat or something?!"; @@ -45,7 +43,6 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ } goto Participate; } - if (Hallow08Kill == 2) { mes "[Halloween Magician]"; mes "Oh, well done! You are alright!"; @@ -61,14 +58,13 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "You can get Halloween tickets for cool items."; close; } - - if(Hallow08 > 0) { + if (Hallow08 > 0) { mes "[Halloween Magician]"; mes "Well, do you want to hear the rules again or, just get back to it..."; next; goto MainMenu2; } - + Rules: mes "[Halloween Magician]"; mes "This village is like a virtual Payon."; @@ -98,10 +94,10 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "Hey..."; mes "Come back once you're ready."; close; - }else{ + } else { goto MainMenu; } - + Participate: mes "[Halloween Magician]"; mes "Ok, you are ready."; @@ -116,7 +112,7 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "You think I wouldn't notice that your weight is above '0'?"; mes "You're overweight..."; close; - }else{ + } else { mes "[Halloween Magician]"; mes "You seem good to go, and your weight is just right."; next; @@ -140,7 +136,7 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ warp "evt_zombie",155,246; end; } - + TicketExchange: mes "[Halloween Magician]"; mes "You want to exchange tickets for prizes?"; @@ -160,52 +156,52 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ mes "What would you like to exchange for?"; next; switch(select("Pumpkin Pie:Pumpkin-Head:Old Blue Box:Old Purple Box:Old Card Album")) { - case 1: - if(countitem(7941) < 5) { - goto NotEnough; - }else{ - delitem 7941,5; - getitem 12192,1; - goto Enough; - } - break; - case 2: - if(countitem(7941) < 20) { - goto NotEnough; - }else{ - delitem 7941,20; - getitem 5134,1; - goto Enough; - } - break; - case 3: - if(countitem(7941) < 50) { - goto NotEnough; - }else{ - delitem 7941,50; - getitem 603,1; - goto Enough; - } - break; - case 4: - if(countitem(7941) < 70) { - goto NotEnough; - }else{ - delitem 7941,70; - getitem 617,1; - goto Enough; - } - break; - case 5: - if(countitem(7941) < 200) { - goto NotEnough; - }else{ - delitem 7941,200; - getitem 616,1; - goto Enough; - } + case 1: + if (countitem(7941) < 5) { + goto NotEnough; + } else { + delitem 7941,5; + getitem 12192,1; + goto Enough; + } + break; + case 2: + if (countitem(7941) < 20) { + goto NotEnough; + } else { + delitem 7941,20; + getitem 5134,1; + goto Enough; + } + break; + case 3: + if (countitem(7941) < 50) { + goto NotEnough; + } else { + delitem 7941,50; + getitem 603,1; + goto Enough; + } + break; + case 4: + if (countitem(7941) < 70) { + goto NotEnough; + } else { + delitem 7941,70; + getitem 617,1; + goto Enough; + } + break; + case 5: + if (countitem(7941) < 200) { + goto NotEnough; + } else { + delitem 7941,200; + getitem 616,1; + goto Enough; + } } - + NextTime: mes "[Halloween Magician]"; mes "Ok, see you then."; @@ -233,7 +229,7 @@ payon,162,176,4 script Halloween Magician#iRO08 704,{ next; if (Hallow08 == 1) { goto MainMenu2; - }else{ + } else { goto MainMenu; } } @@ -242,7 +238,7 @@ evt_zombie,16,142,1 script zombiewarp001 45,2,2,{ OnTouch: if (@Hallow08Warp == 1) { set Hallow08Kill,2; - specialeffect 16; + specialeffect EF_BASH; warp "payon",28,142; } end; @@ -252,7 +248,7 @@ evt_zombie,122,27,1 script zombiewarp002 45,2,2,{ OnTouch: if (@Hallow08Warp == 2) { set Hallow08Kill,2; - specialeffect 16; + specialeffect EF_BASH; warp "payon",121,40; } end; @@ -262,7 +258,7 @@ evt_zombie,267,89,1 script zombiewarp003 45,2,2,{ OnTouch: if (@Hallow08Warp == 3) { set Hallow08Kill,2; - specialeffect 16; + specialeffect EF_BASH; warp "payon",253,95; } end; diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt index 6ded292423..40b6852542 100644 --- a/npc/events/valentinesday_2009.txt +++ b/npc/events/valentinesday_2009.txt @@ -84,7 +84,7 @@ prontera,164,174,4 script Trader#Val09 58,{ mes "Maybe you should borrow some zeny from a friend."; mes "Cuz, I'm not gonna be here everyday."; close; - }else{ + } else { mes "[Marco Bassinio]"; mes "Good for you!"; mes "It's also perfect as a gift!"; @@ -105,7 +105,7 @@ prontera,164,174,4 script Trader#Val09 58,{ mes "You also need to pay 500 zeny to carve your name on the box."; mes "Are you all prepared...?"; next; - if(countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 500) { + if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 500) { mes "[Marco Bassinio]"; mes "Hmm.. Looks like you don't have enough materials to decorate the gift box.."; mes "You can't just put your gift into some plain looking box.."; @@ -116,7 +116,7 @@ prontera,164,174,4 script Trader#Val09 58,{ mes "Oh, also bring 500 zeny, and don't forget to bring your true loving heart with you!!"; close; } - if(countitem(558) < 1) { + if (countitem(558) < 1) { mes "[Marco Bassinio]"; mes "Hey, look, adventurer!"; mes "I can't create something right away!"; @@ -204,7 +204,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ mes "Please check your wallet."; next; break; - }else{ + } else { mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; @@ -245,7 +245,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ mes "Please check your wallet."; next; break; - }else{ + } else { mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; @@ -286,7 +286,7 @@ prontera,147,171,5 script Packs Trader#Val09 58,{ mes "Please check your wallet."; next; break; - }else{ + } else { mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; @@ -365,7 +365,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 721,{ mes "Just follow your heart!"; close; } - if(countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 1000) { + if (countitem(7175) < 1 || countitem(7174) < 1 || countitem(7948) < 1 || Zeny < 1000) { mes "[Event Ring Maker]"; mes "Well, you don't have enough materials to make a gift box."; mes "Check what you have, and come back later with all the materials."; @@ -382,7 +382,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 721,{ set iROval09ring,1; if (Sex) { getnameditem 12742,strcharinfo(0); - }else{ + } else { getnameditem 12743,strcharinfo(0); } mes "[Event Ring Maker]"; @@ -466,7 +466,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 113,{ } next; break; - }else{ + } else { if (countitem(7946) > .@input) { mes "[Valentine Vote Manager]"; mes "Seems like the value you entered is too small."; @@ -554,7 +554,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 47,{ mes "Please.. I feel like my soul is lost.."; close; } - if(countitem(558) < 3) { + if (countitem(558) < 3) { mes "[Charles Orleans]"; mes "Ahhh, Mademoiselle."; mes "I'm not an alchemist, or a magician."; @@ -592,7 +592,7 @@ prt_castle,42,35,3 script Dessert Manager#Val09 47,{ mes "Adios, Mademoiselle....."; mes "I'll be waiting for you."; close; - }else{ + } else { if (!checkweight(559,1)) { mes "[Charles Orleans]"; mes "You're carrying too many items."; diff --git a/npc/guild/agit_controller.txt b/npc/guild/agit_controller.txt index 6867133072..3609c8d6d4 100644 --- a/npc/guild/agit_controller.txt +++ b/npc/guild/agit_controller.txt @@ -11,11 +11,11 @@ //= Auto-start for War of Emperium FE. //= For instructions, see doc/woe_time_explanation.txt. //===== Additional Comments: ================================= -//= v1.1a changed OnInit to OnAgitInit.[kobra_k88] -//= v1.2 added gettime checks. removed $AgitStarted var.[kobra_k88] -//= v1.3 Moved treasure spawn time here.[kobra_k88] -//= v1.3a Implemented Shadowlady's idea to allow for different -//= start/stop times on different days.[kobra_k88] +//= 1.1a changed OnInit to OnAgitInit.[kobra_k88] +//= 1.2 added gettime checks. removed $AgitStarted var.[kobra_k88] +//= 1.3 Moved treasure spawn time here.[kobra_k88] +//= 1.3a Implemented Shadowlady's idea to allow for different +//= start/stop times on different days.[kobra_k88] //= 1.4 Fixed treasure chests spawn! We had to unroll some loops //= Now they appear in castles from 00:01 to 00:24. [Lupus] //= 1.5 Fixed WOE end messages on non-WOE days, by Avaj @@ -26,7 +26,7 @@ //= 1.8a Will now report unoccupied castles at start/end. [L0ne_W0lf] //= 1.8b Whoops. Fixed a mistake :D [L0ne_W0lf] //= 1.9 Rearranged the time-checks so they no longer use goto. [L0ne_W0lf] -//= Removed treasure spawning function calls. (No longer needed) +//= Removed treasure spawning function calls. (No longer needed) //= 2.0 Added WoE Battle Log support for broadcasts. [L0ne_W0lf] //============================================================ diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt index afa107619c..ace43e6540 100644 --- a/npc/instances/EndlessTower.txt +++ b/npc/instances/EndlessTower.txt @@ -146,7 +146,7 @@ alberta,214,77,6 script Captain Janssen 709,{ mes "Sure, no problem. I'll be waiting for your return."; close; case 2: - if (zeny < 10000) { + if (Zeny < 10000) { mes "[Captain Janssen]"; mes "I'm sorry, but you don't have enough money. I need at least 10,000 Zeny to restock our supplies..."; close; @@ -154,7 +154,7 @@ alberta,214,77,6 script Captain Janssen 709,{ else { mes "[Captain Janssen]"; mes "Excellent! Now we're good to go. Let's pull up the anchor again!"; - set zeny,zeny-10000; + set Zeny, Zeny-10000; close2; warp "e_tower",70,114; end; @@ -182,7 +182,7 @@ alberta,214,77,6 script Captain Janssen 709,{ mes "[Captain Janssen]"; mes "Huh? Are you sure that you don't mind giving me that much money? Wow, thank you so much!"; next; - if (zeny < 10000) { + if (Zeny < 10000) { mes "[Captain Janssen]"; mes "...I'm sorry, but I don't think you have 10,000 Zeny. Thank you for your kindness, but I need more than that."; close; @@ -194,7 +194,7 @@ alberta,214,77,6 script Captain Janssen 709,{ next; mes "[Captain Janssen]"; mes "Thank you so much! Now I can stock up on food and materials for my ship. You're kind, very kind!"; - set zeny,zeny-10000; + set Zeny, Zeny-10000; set in_102tower,1; close; } diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt index 7c6506b300..034188b64c 100644 --- a/npc/instances/SealedShrine.txt +++ b/npc/instances/SealedShrine.txt @@ -280,7 +280,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 826,{ delitem 2256,1; //Magestic_Goat delitem 7799,30; //Dark_Crystal delitem 7798,50; //Dark_Debris - set zeny,zeny-990000; + set Zeny, Zeny-990000; completequest 3043; getitem 5374,1; //L_Magestic_Goat mes "[Rust Blackhand]"; diff --git a/npc/jobs/1-1e/gunslinger.txt b/npc/jobs/1-1e/gunslinger.txt index 4b768a58a7..ad24224825 100644 --- a/npc/jobs/1-1e/gunslinger.txt +++ b/npc/jobs/1-1e/gunslinger.txt @@ -11,16 +11,16 @@ //===== Additional Comments: ================================= //= 1.0 Made the NPC [erKURITA] //= 1.5 Couple fixes to the npc, aswell as adding the missing -//= 3 green herbs. [erKURITA] +//= 3 green herbs. [erKURITA] //= 1.6 job number->const, commonized variable name, -//= optimized [Lupus] +//= optimized [Lupus] //= 1.7 Now uses only ONE variable GUNS_Q [Lupus] //= 1.7a Grammar fixes, few spelling fixes, etc [CBMaster] //= 1.7b Parenthesis fixes [KarLaeda] //= 1.8 Fixed the reward you can get [Playtester] //= 1.9 Removed some 'clever' script constructs [ultramage] //= 2.0 Updated to official version - Thanks to Omega for -//= his first try [SinSloth] 1.10b - removed .GATs [Lupus] +//= his first try [SinSloth] 1.10b - removed .GATs [Lupus] //= 2.1 Wise Bull Horn now deletes all items. Thanks to yyCC. [L0ne_W0lf] //= 2.1a Corrected a Typo error ";;". [Samuray22] //= 2.1b Corrected some typos errors. (bugreport:1549) [Samuray22] @@ -92,7 +92,7 @@ que_ng,152,167,3 script Master Miller 901,{ setquest 6020; close; } - else if(GUNS_Q == 1) { + else if (GUNS_Q == 1) { mes "[Master Miller]"; mes "Take that letter of"; mes "introduction I've written"; @@ -102,7 +102,7 @@ que_ng,152,167,3 script Master Miller 901,{ mes "Gunslinger material."; close; } - else if(GUNS_Q == 2) { + else if (GUNS_Q == 2) { mes "[Master Miller]"; mes "Hmm... Wise Bull Horn"; mes "asked you to collect the"; @@ -111,7 +111,7 @@ que_ng,152,167,3 script Master Miller 901,{ mes "part of his qualification test."; close; } - else if(GUNS_Q == 3) { + else if (GUNS_Q == 3) { mes "[Master Miller]"; mes "Wise Bull Horn asked"; mes "you to bring him some"; @@ -120,7 +120,7 @@ que_ng,152,167,3 script Master Miller 901,{ mes "for favors. Good luck, friend."; close; } - else if(GUNS_Q == 4) { + else if (GUNS_Q == 4) { mes "[Master Miller]"; mes "I expect to hear good"; mes "news from you soon. You"; @@ -128,8 +128,8 @@ que_ng,152,167,3 script Master Miller 901,{ mes "you'll become a Gunslinger."; close; } - else if(GUNS_Q == 5) { - if (Skillpoint != 0) { + else if (GUNS_Q == 5) { + if (SkillPoint != 0) { mes "[Master Miller]"; mes "Hey, you have leftover"; mes "Skill Points. You better"; @@ -184,13 +184,13 @@ que_ng,152,167,3 script Master Miller 901,{ set GUNS_Q,6; completequest 6024; if (rand(1,2) == 1) { - getitem 13100,1; // Six_Shooter - }else{ - getitem 13150,1; // Branch + getitem 13100,1; // Six_Shooter + } else { + getitem 13150,1; // Branch } close; } - }else{ + } else { if (Class == Job_Gunslinger) { mes "[Master Miller]"; mes "Oh! Long time, no see,"; @@ -200,7 +200,7 @@ que_ng,152,167,3 script Master Miller 901,{ mes "Take care of it, and it'll take"; mes "care of you. Remember it."; close; - }else{ + } else { mes "[Master Miller]"; mes "If you don't have"; mes "any business with me,"; @@ -266,7 +266,7 @@ payon,184,65,3 script Wise Bull Horn 866,{ changequest 6020,6021; close; } - else if(GUNS_Q == 2) { + else if (GUNS_Q == 2) { if (countitem(912) < 3 || countitem(914) < 3 || countitem(1019) < 1 || countitem(935) < 10 || countitem(511) < 3 || countitem(1013) < 3) { mes "[Wise Bull Horn]"; mes "I can make a voucher that"; @@ -293,12 +293,12 @@ payon,184,65,3 script Wise Bull Horn 866,{ mes "a Gunslinger."; close; } - delitem 912,3; // Zargon - delitem 914,3; // Fluff - delitem 1019,1; // Wooden_Block - delitem 935,10; // Shell - delitem 511,3; // Green_Herb - delitem 1013,3; // Colorful_Shell + delitem 912,3; // Zargon + delitem 914,3; // Fluff + delitem 1019,1; // Wooden_Block + delitem 935,10; // Shell + delitem 511,3; // Green_Herb + delitem 1013,3; // Colorful_Shell set GUNS_Q,3; changequest 6021,6022; mes "[Wise Bull Horn]"; @@ -310,7 +310,7 @@ payon,184,65,3 script Wise Bull Horn 866,{ mes "I should be finished with it."; close; } - else if(GUNS_Q == 3) { + else if (GUNS_Q == 3) { mes "[Wise Bull Horn]"; mes "Oh, you've arrived just"; mes "in time. It's been a while"; @@ -350,7 +350,7 @@ payon,184,65,3 script Wise Bull Horn 866,{ changequest 6022,6023; close; } - else if(GUNS_Q == 4) { + else if (GUNS_Q == 4) { if (countitem(519) < 1) { mes "[Wise Bull Horn]"; mes "I'm an old man that will"; @@ -360,7 +360,7 @@ payon,184,65,3 script Wise Bull Horn 866,{ mes "a cold glass of Milk, please?"; close; } - delitem 519,1; // Milk + delitem 519,1; // Milk set GUNS_Q,5; changequest 6023,6024; mes "[Wise Bull Horn]"; @@ -390,7 +390,7 @@ payon,184,65,3 script Wise Bull Horn 866,{ mes "Yippee Yippee Yai Yocaiyay~"; close; } - else if(GUNS_Q == 5) { + else if (GUNS_Q == 5) { mes "[Wise Bull Horn]"; mes "Please take this voucher"; mes "to Miller, the Black Fox, with"; @@ -406,7 +406,7 @@ payon,184,65,3 script Wise Bull Horn 866,{ mes "Yippee Yippee Yai Yocaiyay~"; close; } - else if(GUNS_Q == 6) { + else if (GUNS_Q == 6) { mes "[Wise Bull Horn]"; mes "AAh, long time no see."; mes "I hope that you become"; diff --git a/npc/jobs/1-1e/ninja.txt b/npc/jobs/1-1e/ninja.txt index dcd9a851a8..c45297b773 100644 --- a/npc/jobs/1-1e/ninja.txt +++ b/npc/jobs/1-1e/ninja.txt @@ -53,7 +53,7 @@ alberta,30,65,3 script Akagi 730,{ warp "amatsu",178,176; end; } - }else{ + } else { mes "[Akagi]"; mes "Hm? I cannot be"; mes "of any service to"; @@ -61,7 +61,7 @@ alberta,30,65,3 script Akagi 730,{ mes "a little stronger..."; close; } - }else{ + } else { mes "[Akagi]"; mes "Hmm..."; mes "You and I..."; @@ -192,7 +192,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ setquest 6015; close; } - else if(NINJ_Q == 1) { + else if (NINJ_Q == 1) { mes "[Cougar]"; mes "Even if this task"; mes "isn't that urgent,"; @@ -201,7 +201,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ mes "my letter to Wildcat Joe."; close; } - else if(NINJ_Q == 2) { + else if (NINJ_Q == 2) { mes "[Cougar]"; mes "Did you deliver that"; mes "letter to Wildcat Joe?"; @@ -211,7 +211,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ mes "if you can needle him for it."; close; } - else if(NINJ_Q == 3) { + else if (NINJ_Q == 3) { mes "[Cougar]"; mes "Ah, you've returned."; mes "So did Wildcat Joe send"; @@ -259,7 +259,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ changequest 6017,6018; close; } - else if(NINJ_Q == 4) { + else if (NINJ_Q == 4) { if (countitem(7053) < 5 || countitem(1010) < 1) { mes "[Cougar]"; mes "Hurry and bring"; @@ -270,7 +270,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ mes "against Wildcat Joe!"; close; } - if (Skillpoint != 0) { + if (SkillPoint != 0) { mes "[Cougar]"; mes "Whoa, whoa..."; mes "You still have some"; @@ -350,7 +350,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ mes "the respect of any Ninja~"; close; } - }else{ + } else { if (Class == Job_Ninja) { mes "[Cougar]"; mes "How have you been?"; @@ -360,7 +360,7 @@ que_ng,30,65,3 script Cougar#nq 730,{ mes "can do that, you'll get"; mes "the respect of any Ninja~"; close; - }else{ + } else { mes "[Cougar]"; mes "What...?"; mes "How were you able"; @@ -436,7 +436,7 @@ einbroch,184,194,3 script Suspicious Man#nq 881,{ changequest 6015,6016; close; } - else if(NINJ_Q == 2) { + else if (NINJ_Q == 2) { if (countitem(7053) < 5 || countitem(1010) < 1) { mes "[Suspicious Man]"; mes "Please bring"; @@ -532,7 +532,7 @@ einbroch,184,194,3 script Suspicious Man#nq 881,{ warp "amatsu",113,127; end; } - else if(NINJ_Q == 3) { + else if (NINJ_Q == 3) { mes "[Red Leopard Joe]"; mes "Eh? I'm not sure what"; mes "happened, but it seems"; @@ -555,7 +555,7 @@ einbroch,184,194,3 script Suspicious Man#nq 881,{ warp "amatsu",113,127; end; } - else if(NINJ_Q == 4) { + else if (NINJ_Q == 4) { mes "[Red Leopard Joe]"; mes "Cougar asked you to"; mes "gather some materials"; @@ -565,7 +565,7 @@ einbroch,184,194,3 script Suspicious Man#nq 881,{ mes "to beat him in a fair fight~"; close; } - else if(NINJ_Q == 5 && Class == Job_Ninja) { + else if (NINJ_Q == 5 && Class == Job_Ninja) { mes "[Red Leopard Joe]"; mes "Oh, you're a Ninja~"; mes "I hope you continue to"; diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt index d57b2a056f..e33b579f59 100644 --- a/npc/jobs/2-1/assassin.txt +++ b/npc/jobs/2-1/assassin.txt @@ -11,25 +11,25 @@ //= Job Change quest for Assassin class. //===== Additional Comments: ================================= //= 1.0 Used some dialogue from the aegis Assassin script translated By: Pgro Team (OwNaGe) -//= Also converted the booby traps from the aegis script.[kobra_k88] +//= Also converted the booby traps from the aegis script.[kobra_k88] //= 1.1 Made adjustments to ontouch npcs to work with the new "ontouch" functionality. -//= Fixed some duplicate npc names. Added missing waitingroom triggers. -//= Fixed warp in "TimerSin", was supposed to be an areawarp. -//= For some reason sometimes the "Nameless One" would have message windows -//= without controls. Changed the doevent that triggers him to an -//= addtimer and that seemed make the prob. go away[kobra_k88] +//= Fixed some duplicate npc names. Added missing waitingroom triggers. +//= Fixed warp in "TimerSin", was supposed to be an areawarp. +//= For some reason sometimes the "Nameless One" would have message windows +//= without controls. Changed the doevent that triggers him to an +//= addtimer and that seemed make the prob. go away[kobra_k88] //= 1.2 Fixed WRONG skillpoint check! [Lupus] //= 1.2b Fixed missing commands and typos [Lupus] //= 1.3 Baby class Support added [Lupus] //= 1.5 Fixed possible EXP abuse [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Removed Duplicates [Silent] //= 2.2 Merged back JFunc. Fixed missing dialogue [Lupus] //= 2.3 Fixed typo and change Nameless addtimer to 100 (with 700ms I -//= was still able to bypass it) [Toms] +//= was still able to bypass it) [Toms] //= 2.4 Fixed skipping of Nameless NPC [Lupus] //= 2.5 Fixed a Rogue exploit [Lupus] //= 2.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] @@ -256,9 +256,9 @@ in_moc_16,19,33,1 script Guildsman#asn 55,{ mes "you to the office."; close2; set ASSIN_Q,0; - if(checkquest(8000) != -1) { + if (checkquest(8000) != -1) { changequest 8000,8001; - }else{ + } else { setquest 8001; } warp "in_moc_16",19,76; @@ -295,7 +295,7 @@ in_moc_16,19,33,1 script Guildsman#asn 55,{ in_moc_16,25,90,1 script Guildsman#ASN2 730,2,2,{ mes "[Assassin 'Khai']"; mes "Umm?!"; - Emotion e_gasp; + emotion e_gasp; next; mes "[Assassin 'Khai']"; mes "Come closer. I prefer to talk to people face to face. It really irritates me if I have to raise my voice, just so you can hear me."; @@ -383,7 +383,7 @@ OnTouch: close; case 2: mes "[Assassin 'Khai']"; - if (sex) { + if (Sex) { mes "Huh. You must have a lot of self confidence to be a Thief nowadays."; next; mes "[Assassin 'Khai']"; @@ -1108,12 +1108,10 @@ OnInit: OnStartArena: warpwaitingpc "in_moc_16", 66, 151; attachrid($@warpwaitingpc[0]); - if(ASSIN_Q2<5) - { + if (ASSIN_Q2 < 5) { warpchar "in_moc_16",20,145,getcharid(0); end; } - donpcevent "Beholder#ASNTEST::OnEnable"; donpcevent "Keeper of the Door#ASN::OnDisable"; set getvariableofnpc(.DisableTraps,"Beholder#ASNTEST"),0; @@ -1885,7 +1883,7 @@ OnTouch: mes "Haha, the needs of the body are sometimes hard to ignore. It's best to accept that part of human nature."; next; mes "[Guildmaster]"; - if (sex ) + if (Sex) mes "But you must never reveal to her the Assassin side of your life. No matter what it takes."; else mes "But you must never reveal to him the Assassin side of your life, no matter what it takes."; diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt index 9d6361412c..a6d8c54b28 100644 --- a/npc/jobs/2-1/blacksmith.txt +++ b/npc/jobs/2-1/blacksmith.txt @@ -16,13 +16,13 @@ //===== Additional Comments: ================================= //= Changed some npc names to the iRO names. Changed some variable //= names and labels. Edited some text.[kobra_k88] -//= Removed "if(JobLevel > 48) goto higher". It was a left over line. +//= Removed "if (JobLevel > 48) goto higher". It was a left over line. //= Thx to "Decker".[kobra_k88] //= Fixed some typos, thanks to Riotblade [celest] //= 1.3-1.5 Added Baby Class support [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 1.7 item quantity/ids typos fix //= 1.8 Moved the Quest to Einbroch [Poki#3] //= 2.0 Changed numbers to constants. [Vicious] @@ -74,7 +74,7 @@ ein_in01,18,28,4 script Guildsman#BLS 731,{ mes "and tools is truly a form of art!"; next; if (BaseClass == Job_Novice) { - if (sex == 0) { + if (Sex == 0) { mes "[Altiregen]"; mes "Oh~"; mes "what a very"; @@ -250,7 +250,7 @@ ein_in01,18,28,4 script Guildsman#BLS 731,{ else if (BSMITH_Q == 17 && countitem(1005) > 0 && JobLevel > 39) { mes "[Altiregen]"; mes "Excellent, I can tell by the twinkle in your eye that you were successful. I can now bestow upon you the gift of the smithing, the art of the Blacksmith."; - if(checkquest(2015) != -1) { + if (checkquest(2015) != -1) { changequest 2015,2016; } next; @@ -485,9 +485,9 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ mes "Let's see...your score is..." + .@black_q + " points."; if (.@black_q == 100) { set BSMITH_Q,3; - if(checkquest(2001) != -1) { + if (checkquest(2001) != -1) { changequest 2001,2002; - }else{ + } else { changequest 2000,2002; } mes "Oh ho ho~"; @@ -502,7 +502,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ close; } set BSMITH_Q,2; - if(checkquest(2001) == -1) { + if (checkquest(2001) == -1) { changequest 2000,2001; } mes "............."; @@ -655,7 +655,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ case 9: mes "Okay, now take this to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt."; getitem 1610,1; //Arc_Wand - if(checkquest(2003) != -1) { + if (checkquest(2003) != -1) { changequest 2003,2008; } next; @@ -680,7 +680,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ case 10: mes "Okay, now take this to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt."; getitem 1219,1; //Gladius - if(checkquest(2004) != -1) { + if (checkquest(2004) != -1) { changequest 2004,2009; } next; @@ -705,7 +705,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ case 11: mes "Okay, now take this to ^8E6B23Krongast^000000 in Lighthalzen. Simply deliver it and bring me the receipt."; getitem 1119,1; //Tsurugi - if(checkquest(2005) != -1) { + if (checkquest(2005) != -1) { changequest 2005,2010; } next; @@ -731,7 +731,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ case 12: mes "Okay, now take this to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kingdom. Simply deliver this and bring me the receipt."; getitem 1713,1; //Arbalest - if(checkquest(2006) != -1) { + if (checkquest(2006) != -1) { changequest 2006,2011; } next; @@ -755,7 +755,7 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ case 13: mes "Okay, now take this to ^8E6B23Bismarc^000000 in Hugel. Simply deliver this and bring back the receipt."; getitem 1122,1; //Ring_Pommel_Saber - if(checkquest(2007) != -1) { + if (checkquest(2007) != -1) { changequest 2007,2012; } next; @@ -852,16 +852,16 @@ ein_in01,201,27,3 script Guildsman#alberta 63,{ if (countitem(1073) > 0) { set BSMITH_Q,15; delitem 1073,1; //Merchant_Voucher_1 - if(checkquest(2008) != -1) { + if (checkquest(2008) != -1) { changequest 2008,2013; } - else if(checkquest(2009) != -1) { + else if (checkquest(2009) != -1) { changequest 2009,2013; } - else if(checkquest(2010) != -1) { + else if (checkquest(2010) != -1) { changequest 2010,2013; } - else if(checkquest(2011) != -1) { + else if (checkquest(2011) != -1) { changequest 2011,2013; } else { @@ -1618,7 +1618,7 @@ geffen_in,109,170,3 script Blacksmith Guildsman#gef 726,{ mes "Excuse me, but you do not have enough money."; close; } - set zeny,zeny-600; + set Zeny, Zeny-600; warp "izlude",94,103; end; case 3: diff --git a/npc/jobs/2-1/hunter.txt b/npc/jobs/2-1/hunter.txt index 9e9577aae6..32e772569b 100644 --- a/npc/jobs/2-1/hunter.txt +++ b/npc/jobs/2-1/hunter.txt @@ -22,8 +22,8 @@ //= 1.3 Added Baby Class support [Lupus] //= 1.5 Fixed possible EXP abuse [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 1.6a Infinite Arrows exploit fix (thanx to Lorky, that //= reported the bug) [Lupus] //= 1.7 Moved the Job QUest to Hugel [Poki#3] @@ -46,10 +46,10 @@ //= 3.0a Corrected a Typo error ";;". [Samuray22] //= 3.1 Now uses enable and disable waitingroomevent. [L0ne_W0lf] //= 3.2 Fixes a bug where the timer was stopped causing the [L0ne_W0lf] -//= test to freeze. (bugreport:1099) +//= test to freeze. (bugreport:1099) //= 3.3 Added missing next. [L0ne_W0lf] //= 3.4 Corrected some Issues with the Waiting Room. (bugreport:1890) [Samuray22] -//= -Deleted a Unnecesary Next; on Hunter Guildsman#hnt. (bugreports:1665,2239,2179) +//= Deleted a Unnecesary Next; on Hunter Guildsman#hnt. (bugreports:1665,2239,2179) //= 3.5 Added Quest Log commands. [Kisuka] //= 3.6 Removed the need for use of 'goto.' [L0ne_W0lf] //= 3.7 Modified the quest to renewal. [Vali] (Thanks to Muad_Dib for the necessary info). @@ -125,7 +125,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 727,{ mes "Oh, a person who serves God! Nice to meet you. There aren't many people like you that visit this place~ Hehe."; close; } - else if (Baseclass == Job_Merchant) { + else if (BaseClass == Job_Merchant) { mes "[Hunter Guildsman]"; mes "Oh..."; mes "How's your business coming along?"; @@ -182,7 +182,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 727,{ mes "[Hunter Sherin]"; mes "Tada~ Congratulations!"; mes "You look great as a Hunter!!"; - set .@joblvl,joblevel; + set .@joblvl, JobLevel; completequest 4013; callfunc "Job_Change",Job_Hunter; callfunc "F_ClearJobVar"; // clears all job variables for the current player @@ -438,7 +438,7 @@ hu_in01,386,373,4 script Hunter Guildsman#hnt 727,{ mes "Just give the item to the Demon Hunter, the guy who's all the way to the left in this area~"; next; mes "[Hunter Sherin]"; - if (sex) + if (Sex) mes "If you decide to become a Hunter, promise to come visit me. I want to see you as a Hunter. You would look great!!"; else mes "If you decide to become a Hunter, come and visit me, okay? You're pretty, but... You'd be even prettier as a Hunter. Hehe~"; diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt index f3b31c0a04..37c97956ec 100644 --- a/npc/jobs/2-1/knight.txt +++ b/npc/jobs/2-1/knight.txt @@ -30,7 +30,7 @@ //= 2.3 Several bugfixes with the help of Barron-Monster. [L0ne_W0lf] //= 2.4 Minor fixes to timer#knt. [L0ne_W0lf] //= 2.5 Fixes a small bug with making claymores. [L0ne_W0lf] -//= Corrected usages of killmonster and killmonsterall. +//= Corrected usages of killmonster and killmonsterall. //= 2.6 Corrected an improper areawarp destination. [L0ne_W0lf] //= 2.7 Deleted unused variables. [Samuray22] //= 2.7a Corrected a Typo error ";;". [Samuray22] @@ -373,7 +373,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 56,{ mes "to Amy's opinion."; next; mes "[Lady Amy]"; - if (sex) { + if (Sex) { mes "Mmm~ He's so polite!"; mes "He'll grow to be a wonderful Knight. And he's got such cute widdle cheeeeks~ Hee hee!"; } @@ -392,7 +392,7 @@ prt_in,88,101,4 script Chivalry Captain#knt 56,{ mes "your mind."; next; mes "[Sir Edmond]"; - if (sex) { + if (Sex) { mes "He seems a little rough, but something bright shines within him. With polish and refinement, his true value will shine forth"; mes "as the sun."; } @@ -694,7 +694,7 @@ prt_in,71,91,0 script Sir Siracuse#knt 65,{ mes "If you catch any of the new guys acting in a way unbecoming of a Knight, scold them for me please?"; close; } - else if (Baseclass == Job_Novice) { + else if (BaseClass == Job_Novice) { mes "Oh?"; mes "What is a Novice"; mes "doing here?"; @@ -2028,8 +2028,7 @@ prt_in,87,92,4 script Sir Gray#knt 119,{ mes "1 ^3355FFSteel^000000 because of the Claymore's characteristics. If you like, I can create one for you. For the honor of the Prontera Chivalry!"; close; case 2: - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 1800) { + if (MaxWeight - Weight < 1800) { mes "[Sir Gray]"; mes "Oh no..."; mes "It seems that you are carrying too many things. You don't have enough space for a heavy Claymore in your inventory."; diff --git a/npc/jobs/2-1/priest.txt b/npc/jobs/2-1/priest.txt index f210c0dfa6..2dbb05ffc7 100644 --- a/npc/jobs/2-1/priest.txt +++ b/npc/jobs/2-1/priest.txt @@ -17,8 +17,8 @@ //= 1.3 Added Baby Class support, fixed 3 wrong constants bugs [Lupus] //= 1.5 Fixed possible EXP abuse [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Merged JFunc [Lupus] //= 2.1a Fixed typo [KarLaeda] @@ -49,7 +49,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ if (BaseJob == Job_Priest) { mes "[Bishop Paul]"; mes "Ah..."; - if (sex) + if (Sex) mes "It is good to see you again, Brother " + strcharinfo(0) + ". Once again, God's grace has caused our paths to cross."; else mes "It is good to see you once again, Sister " + strcharinfo(0) + ". The grace of God has brought you once more before me."; @@ -116,7 +116,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ else if (BaseClass == Job_Novice) { mes "[Bishop Paul]"; mes "May God be"; - if (sex) + if (Sex) mes "with you, brother."; else mes "with you, sister."; @@ -149,7 +149,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ else { mes "[Bishop Paul]"; mes "May God be"; - if (sex) + if (Sex) mes "with you, brother."; else mes "with you, sister."; @@ -204,7 +204,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ if (PRIEST_Q == 0) { mes "[Bishop Paul]"; mes "May God bless"; - if (sex) + if (Sex) mes "you, Brother."; else mes "you, Sister."; @@ -244,7 +244,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ set PRIEST_Q,1; setquest 8009; mes "[Bishop Paul]"; - if (sex) + if (Sex) mes "Now I will explain the Three Trials of Priesthood. These tribulations will bring you much suffering, but I hope you can complete them, Brother " + strcharinfo(0) + "."; else mes "Now I will explain the Three Trials of Priesthood. These tribulations will bring you much suffering, but I hope you can complete them, Sister " + strcharinfo(0) + "."; @@ -329,7 +329,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ mes "Thank you for asking."; next; mes "[Bishop Paul]"; - if (sex) + if (Sex) mes "I hope you will continue to go on your mission as God's servant, brother."; else mes "I hope you will continue to go on your mission as God's servant, sister."; @@ -501,7 +501,7 @@ prt_church,16,41,4 script High Bishop#prst 60,{ mes "[Bishop Paul]"; mes "God, grant your power to your servant standing before you."; changequest 8015,8016; - if (sex) + if (Sex) mes "Let him send your message throughout the ends of the earth."; else mes "Let her send your message throughout the ends of the earth."; @@ -577,7 +577,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{ close; } if (PRIEST_Q == 0) { - if (sex) + if (Sex) mes "May God bless you, brother."; else mes "May God bless you, sister."; @@ -658,7 +658,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{ mes "Welcome. You demonstrated great effort to accomplish your first trial. Now, speak to Bishop Paul so that you can begin your next trial on your path to Priesthood."; next; mes "[Sister Cecilia]"; - if (sex) + if (Sex) mes "Brother "+ strcharinfo(0) +"..."; else mes "Sister "+ strcharinfo(0) +"..."; @@ -704,14 +704,14 @@ prt_church,27,24,1 script Sister Cecilia 79,{ } next; mes "[Sister Cecilia]"; - if (sex) + if (Sex) mes "Brother "+ strcharinfo(0) +"..."; else mes "Sister "+ strcharinfo(0) +"..."; mes "We will now begin your formal oath for the Priesthood. Make yourself comfortable, and just answer with your heart."; next; mes "[Sister Cecilia]"; - if (sex) + if (Sex) mes "Brother "+ strcharinfo(0) +","; else mes "Sister "+ strcharinfo(0) +","; @@ -802,7 +802,7 @@ prt_church,27,24,1 script Sister Cecilia 79,{ close; } mes "[Sister Cecilia]"; - if (sex) + if (Sex) mes "Brother "+ strcharinfo(0) +"..."; else mes "Sister "+ strcharinfo(0) +"..."; @@ -848,7 +848,7 @@ job_prist,24,187,4 script Peter S. Alberto 110,{ mes "[Father Peter]"; if (BaseJob == Job_Priest) { mes "Welcome!"; - if (sex) + if (Sex) mes "Brother "+ strcharinfo(0) +"!"; else mes "Sister "+ strcharinfo(0) +"!"; @@ -1036,7 +1036,7 @@ job_prist,23,187,1 script Peter S. Alberto#2 110,{ mes "[Father Peter]"; if (BaseJob == Job_Priest) { mes "Welcome!"; - if (sex) + if (Sex) mes "Brother "+ strcharinfo(0) +"!"; else mes "Sister "+ strcharinfo(0) +"!"; diff --git a/npc/jobs/2-1/wizard.txt b/npc/jobs/2-1/wizard.txt index 6598a0cc25..26f77cea92 100644 --- a/npc/jobs/2-1/wizard.txt +++ b/npc/jobs/2-1/wizard.txt @@ -18,7 +18,7 @@ //= 2.5c Bug fixes. Cleaned up some NPCs slightly. [L0ne_W0lf] //= 2.6 Fixed Water Room not warping on time-up. [L0ne_W0lf] //= 2.7 Now uses enable and disable waitingroomevent. [L0ne_W0lf] -//= Other minor fixes to various NPCs. +//= Other minor fixes to various NPCs. //= 2.7a Added end; :D (bugreport:2038) [Yommy] //= 2.8 Fixed donpcevent to doevent. (bugreport:2311) [SoulBlaker] //= 2.9 Reverted the change of donpcevent to doevent. [L0ne_W0lf] @@ -47,7 +47,7 @@ gef_tower,111,37,4 script Wizard Guildsman 70,{ mes "Now, excuse me."; next; mes "[Catherine]"; - if (sex) + if (Sex) mes "Well, If you intended to ask me on a date... I appreciate it...hohoho."; else mes "Well, if you fix me up with a cute guy... I'd appreciate it...hohoho!."; @@ -375,7 +375,7 @@ gef_tower,111,37,4 script Wizard Guildsman 70,{ mes "You...*sigh*...I didn't think you would do such a dishonorable thing."; next; mes "[Catherine]"; - if (sex) { + if (Sex) { mes "Granted you're a mage, but how could a guy be so weak?!"; mes "Well, at least your alive still. Go back and try harder this time. ~tehehehe"; } @@ -457,7 +457,7 @@ gef_tower,102,24,2 script Gloomy Wizard 735,{ next; mes "[Raulel]"; mes "Don't live dishonestly, or impolitely, or else one day you'll be caught in a spell you can't control, and BOOM, your dead!"; - if (sex == 1) { + if (Sex) { mes "If you don't want that to happen, then learn how to use spells properly!"; next; mes "[Raulel]"; diff --git a/npc/jobs/2-1a/AssassinCross.txt b/npc/jobs/2-1a/AssassinCross.txt index 0776825fb4..36fbb1d6a1 100644 --- a/npc/jobs/2-1a/AssassinCross.txt +++ b/npc/jobs/2-1a/AssassinCross.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-1a/HighPriest.txt b/npc/jobs/2-1a/HighPriest.txt index ae96a122e8..f943a994cd 100644 --- a/npc/jobs/2-1a/HighPriest.txt +++ b/npc/jobs/2-1a/HighPriest.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-1a/HighWizard.txt b/npc/jobs/2-1a/HighWizard.txt index 58f1bfce89..249d4e8286 100644 --- a/npc/jobs/2-1a/HighWizard.txt +++ b/npc/jobs/2-1a/HighWizard.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-1a/LordKnight.txt b/npc/jobs/2-1a/LordKnight.txt index ba998483e2..bede7e1173 100644 --- a/npc/jobs/2-1a/LordKnight.txt +++ b/npc/jobs/2-1a/LordKnight.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-1a/Sniper.txt b/npc/jobs/2-1a/Sniper.txt index cf5f4881e5..19f8eb2634 100644 --- a/npc/jobs/2-1a/Sniper.txt +++ b/npc/jobs/2-1a/Sniper.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-1a/WhiteSmith.txt b/npc/jobs/2-1a/WhiteSmith.txt index 42ac6164b4..87ba609b6a 100644 --- a/npc/jobs/2-1a/WhiteSmith.txt +++ b/npc/jobs/2-1a/WhiteSmith.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-1e/StarGladiator.txt b/npc/jobs/2-1e/StarGladiator.txt index 778aa09c9c..4db33e7dbb 100644 --- a/npc/jobs/2-1e/StarGladiator.txt +++ b/npc/jobs/2-1e/StarGladiator.txt @@ -15,7 +15,7 @@ //= 1.1b Corrected NPC name length warning. [L0ne_W0lf] //= 1.1c Changed item names to item IDs. [Samuray22] //= 1.2 Another round of updates to the script. [L0ne_W0lf] -//= Removes the use of labels, and correcets other errors. +//= Removes the use of labels, and correcets other errors. //= 1.3 Added Quest Log commands. [Kisuka] //============================================================ diff --git a/npc/jobs/2-2/alchemist.txt b/npc/jobs/2-2/alchemist.txt index 6d06a8a914..c84038c041 100644 --- a/npc/jobs/2-2/alchemist.txt +++ b/npc/jobs/2-2/alchemist.txt @@ -11,7 +11,7 @@ //= Job quest for Alchemist classes //===== Additional Comments: ================================= //= 2.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_BlockHigh" +//= No longer uses function "F_BlockHigh" //= 2.6 Corrected a bug in advanced class checking. [L0ne_W0lf] //= 2.7 Added missing checkweights. [L0ne_W0lf] //= 2.8 Fixed minor typo in test section. [L0ne_W0lf] @@ -177,7 +177,7 @@ alde_alche,27,185,5 script Alchemist Guildsman#am 744,{ mes "Come back to me when you have 50,000 Zeny, otherwise we can't process your application."; close; } - set zeny,zeny-50000; + set Zeny, Zeny-50000; mes "[Parmy Gianino]"; mes "Let's see."; mes "" + strcharinfo(0); @@ -442,7 +442,7 @@ alde_alche,175,107,3 script Fastidious Alchemist#am 749,{ mes "Wait..."; mes "Maybe I've"; mes "misjudged you."; - if (sex == 1) { + if (Sex) { mes "You might be a pretty boy,"; mes "but I can tell you're smart"; mes "from your eyes."; @@ -1890,8 +1890,7 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ } } else if (ALCH_Q == 22) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 1370) { + if (MaxWeight - Weight < 1370) { mes "[Nicholas Flamel]"; mes "Whoa..."; mes "You're carrying too much stuff! First, put some of your things in Kafra Storage."; @@ -1983,20 +1982,21 @@ alde_alche,145,19,1 script Chief Researcher#am 57,{ //============================================================ // Old changelog //============================================================ -//= v1.0 Working. -//= npc/quests/counteragent_mixture.txt Also Needed -//= npc/quests/quests_yuno.txt Also Needed [Darkchild] -//= v1.1 Fixed some minor bugs. Optimized some lines. Re-organized the script a bit. -//= Giving Parmry NPC, Hammer and Old Book now waves the 50000 fee. (based of mRO website) -//= Having a joblvl of 50 allows you to skip Rasputin's test. (based of mRO website) [kobra_k88] +//= 1.0 Working. +//= npc/quests/counteragent_mixture.txt Also Needed +//= npc/quests/quests_yuno.txt Also Needed [Darkchild] +//= 1.1 Fixed some minor bugs. Optimized some lines. Re-organized the script a bit. +//= Giving Parmry NPC, Hammer and Old Book now waves the 50000 fee. (based of mRO website) +//= Having a joblvl of 50 allows you to skip Rasputin's test. (based of mRO website) [kobra_k88] //= 1.2 fixed a few typos (have to hunt more) [Lupus] //= 1.3 Added Baby Class Support [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 1.6a fixed some wrong answers, thanks to zlider for info [Lupus] //= 2.0 Changed numbers to constants. [Vicious] //= 2.2 Got rid of 'al_morgen' var. Now uses (MISC_QUEST & 4) [Lupus] //= 2.3 Optimized, changed job numbers to constants. Fixed some spelling [Lupus] //= 2.4 Added alternative prizes according to JobLevel [Lupus] //= 2.4a Fixed 2 wrong answers in Rasputin's test [Lupus] +//============================================================ diff --git a/npc/jobs/2-2/bard.txt b/npc/jobs/2-2/bard.txt index 06ffee93c3..8f41d7fa1b 100644 --- a/npc/jobs/2-2/bard.txt +++ b/npc/jobs/2-2/bard.txt @@ -82,7 +82,7 @@ comodo,226,123,5 script Wandering Bard 741,{ mes "Always full of happy moments~"; next; mes "[Lalo]"; - if (sex) { + if (Sex) { mes "Forget about your worries~"; mes "And enjoy everything~"; } @@ -96,7 +96,7 @@ comodo,226,123,5 script Wandering Bard 741,{ else if(BARD_Q == 0) { cutin "job_bard_aiolo01",2; mes "[Lalo]"; - if (sex) mes "Hi! Delightful Archer."; + if (Sex) mes "Hi! Delightful Archer."; else mes "Hello! Beautiful Archer Lady."; mes "How can a wanderer like me help you?"; next; @@ -948,5 +948,6 @@ S_ChangeJob: //= 1.2 Fixed wrong item ID, added missing commands [Lupus] //= 1.3 Updated flower sub-quest according to official [Lupus] //= 1.4 Changed priority for the gifts. Now you can win the 1st -//= prize, too. Added Izidor flower [Lupus] +//= prize, too. Added Izidor flower [Lupus] //= 2.0 Changed numbers to constants. [Vicious] +//============================================================ diff --git a/npc/jobs/2-2/crusader.txt b/npc/jobs/2-2/crusader.txt index 48e950b217..3b0c39d8c1 100644 --- a/npc/jobs/2-2/crusader.txt +++ b/npc/jobs/2-2/crusader.txt @@ -127,7 +127,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "Train yourself more as a Swordsman and wait for your calling. I understand your intent, but as of now, you cannot join us."; close; } - if (Skillpoint) { + if (SkillPoint) { mes "[Michael Halig]"; mes "You haven't finished learning everything as a Swordsman. Use all of your remaining skill points, and then return to me."; close; @@ -207,7 +207,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ close; } mes "[Michael Halig]"; - if (sex) mes "If you, too, are a man of the sword, constantly train and prepare yourself. No one knows when the Holy War may begin."; + if (Sex) mes "If you, too, are a man of the sword, constantly train and prepare yourself. No one knows when the Holy War may begin."; else mes "As a woman of the sword, you must train diligently and constantly. Prepare yourself, for no one knows when the Holy War may be coming."; close; } @@ -295,7 +295,7 @@ prt_castle,45,169,5 script Senior Crusader 752,{ mes "[Michael Halig]"; mes "Now you are"; mes "one of us!"; - if (sex) mes "...Brother."; + if (Sex) mes "...Brother."; else mes "...Comrade."; next; if(.@JobLevel != 50) getitem 504, 6; @@ -346,7 +346,7 @@ prt_castle,164,32,1 script Man in Anguish 733,{ else if(CRUS_Q == 4) { mes "What is it...?"; mes "Do you have business"; - if (sex) mes "with me, man of the sword?"; + if (Sex) mes "with me, man of the sword?"; else mes "with me, woman of the sword?"; next; if (select("I'd like to take the Crusader test.:Nothing.") == 1) { @@ -1478,4 +1478,5 @@ OnStop: //= Hand of God allow to skip item gathering [DracoRPG] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Fixed endless loop, wrong condition check [Lupus] -//= also changed all job numbers to constants, fixed logic +//= also changed all job numbers to constants, fixed logic +//============================================================ diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt index ab1a75c02d..46e4cbd196 100644 --- a/npc/jobs/2-2/dancer.txt +++ b/npc/jobs/2-2/dancer.txt @@ -12,7 +12,7 @@ //= Job quest for Dancer classes //===== Additional Comments: ================================= //= 3.2 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_BlockHigh" +//= No longer uses function "F_BlockHigh" //= 3.2a Deleted unused variables. [Samuray22] //= 3.3 Updated waiting room. (Removes global var) [L0ne_W0lf] //= 3.4 Fixed bad variables, bugreport:1685 [Brainstorm] @@ -133,7 +133,7 @@ job_duncer,43,93,4 script Aile#da 724,{ cutin "",255; end; } - if (DANC_Q == 0 && sex == 0 && BaseJob == Job_Archer) { + if (DANC_Q == 0 && Sex == 0 && BaseJob == Job_Archer) { cutin "job_dancer_eir01",2; mes "[Aile]"; mes "Welcome~!"; @@ -209,7 +209,7 @@ job_duncer,43,93,4 script Aile#da 724,{ cutin "",255; end; } - else if (sex == 1) { + else if (Sex == 1) { cutin "job_dancer_eir03",2; mes "[Aile]"; mes "Welco--Mmm?"; @@ -318,7 +318,7 @@ job_duncer,43,93,4 script Aile#da 724,{ mes "tuition fee."; next; cutin "job_dancer_eir01",2; - set zeny,zeny-10000; + set Zeny, Zeny-10000; mes "[Aile]"; mes "Next, go to ^CD6889Bijou^000000, who is in charge of the interviewing process. She will have a couple of things she'll need to ask you."; set DANC_Q,5; @@ -1328,14 +1328,14 @@ job_duncer,63,110,4 script Backdancer#1 724,{ end; OnSmile: - Emotion e_no1; + emotion e_no1; donpcevent "Backdancer#2::OnSmile"; donpcevent "Backdancer#3::OnSmile"; donpcevent "Backdancer#4::OnSmile"; end; OnOmg: - Emotion e_omg; + emotion e_omg; donpcevent "Backdancer#2::OnOmg"; donpcevent "Backdancer#3::OnOmg"; donpcevent "Backdancer#4::OnOmg"; @@ -1346,11 +1346,11 @@ job_duncer,66,113,4 script Backdancer#2 724,{ end; OnSmile: - Emotion e_no1; + emotion e_no1; end; OnOmg: - Emotion e_omg; + emotion e_omg; end; } @@ -1358,11 +1358,11 @@ job_duncer,72,113,4 script Backdancer#3 724,{ end; OnSmile: - Emotion e_no1; + emotion e_no1; end; OnOmg: - Emotion e_omg; + emotion e_omg; end; } @@ -1370,11 +1370,11 @@ job_duncer,75,110,4 script Backdancer#4 724,{ end; OnSmile: - Emotion e_no1; + emotion e_no1; end; OnOmg: - Emotion e_omg; + emotion e_omg; end; } @@ -1390,15 +1390,15 @@ OnOmg: //= along with some optimization. [Fredzilla] //= 1.5 Added Baby Class Support [Fredzilla] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Script check #1. [Lance] //= 2.2 Fixed unpassable part, thx2 Alis [Lupus] //= 2.3 Updated initnpctimer to attach player to jobDq script [Skotlex] //= 2.4 Attached chrid to be able obtain player's SP on mobs death, optimized a bit [Lupus] //= 2.5 Final fix of chrid issues, changed 'Improved -//= Concentration' to 'Attention Concentrate' [Lupus] +//= Concentration' to 'Attention Concentrate' [Lupus] //= 3.0 Some optimization, typos, added missing dialogues (4Kb lighter) [Lupus] //= 3.1 Implemented JOBLVL as in other quests [Lupus] //============================================================ diff --git a/npc/jobs/2-2/monk.txt b/npc/jobs/2-2/monk.txt index 125c010346..61e51c1491 100644 --- a/npc/jobs/2-2/monk.txt +++ b/npc/jobs/2-2/monk.txt @@ -11,7 +11,7 @@ //= Job quest for Monk classes //===== Additional Comments: ================================= //= 2.2 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_BlockHigh" +//= No longer uses function "F_BlockHigh" //= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 2.3a Deleted unused variables. [Samuray22] //= 2.4 Added Quest Log commands. [Kisuka] @@ -2615,10 +2615,12 @@ job_monk,0,0,0,0 monster Thief Bug Larva 1051,20,0,0,0 //= 1.3 Added Baby Class Support [Lupus] //= 1.5 Fixed possible EXP abuse [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] 1.7 Fixed warps19/20 [Yor] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] +//= 1.7 Fixed warps19/20 [Yor] //= 1.8 Fixed bugs. Fixed Green Potion exploit. Getting rid of Jfunc mess [Lupus] //= 1.9 Added a missing check in Fuhai and fixed a LOT of Engrish. [Zephiris] //= 1.9b Fixed another bug in Fuhai. [Zephiris] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Removed Duplicates [Silent] +//============================================================ diff --git a/npc/jobs/2-2/rogue.txt b/npc/jobs/2-2/rogue.txt index e8ce1904f7..ba64a659da 100644 --- a/npc/jobs/2-2/rogue.txt +++ b/npc/jobs/2-2/rogue.txt @@ -11,10 +11,10 @@ //= Job quest for Rogue classes //===== Additional Comments: ================================= //= 2.4 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_BlockHigh" +//= No longer uses function "F_BlockHigh" //= 2.4a Deleted unused variables. [Samuray22] //= 2.4b Changed a Problem with JobLevel what made -//= impossible get a Gladius [3]. (bugreport:481) [Samuray22] +//= impossible get a Gladius [3]. (bugreport:481) [Samuray22] //= 2.4c Corrected a Typo error ";;" and a typo error with "rouge". (bugreport:909) [Samuray22] //= 2.5 Added dummy "OnMyMobDead" labels. (bugreport:1100) [L0ne_W0lf] //= 2.6 Fixed a few bugs in the Rogue Guildsman. [L0ne_W0lf] @@ -84,7 +84,7 @@ in_rogue,363,122,4 script Rogue Guildsman#rg 747,{ mes "[Rogue Guildsman]"; mes "So what's a kid"; mes "like you doin' here?"; - if (sex == 1) { + if (Sex) { mes "Oh, I get it now..."; mes "The widdle boy wants"; } @@ -656,14 +656,14 @@ in_rogue,376,23,1 script Mr. Smith#rg 57,{ else if (ROGUE_Q == 4) callsub S_CheckItems,511,10,910,10,926,10,964,10; else if (ROGUE_Q == 5) callsub S_CheckItems,508,10,948,10,935,10,940,10; else if (ROGUE_Q == 6) { - if (zeny > 9999 && countitem(915) > 4 && countitem(713) > 4 && countitem(1002) > 4 && + if (Zeny > 9999 && countitem(915) > 4 && countitem(713) > 4 && countitem(1002) > 4 && countitem(953) > 4 && countitem(507) > 4 && countitem(919) > 4 && countitem(715) > 4 && countitem(913) > 4 && countitem(904) > 4 && countitem(942) > 4 && countitem(528) > 4 && countitem(914) > 4 && countitem(705) > 4 && countitem(916) > 4 && countitem(917) > 4 && countitem(908) > 4 && countitem(945) > 4) { mes "[Mr. Smith]"; mes "Ummm...let's see..."; - set zeny,zeny-10000; + set Zeny, Zeny-10000; delitem 915,5; //Chrysalis delitem 713,5; //Empty_Bottle delitem 1002,5; //Iron_Ore @@ -976,7 +976,7 @@ S_CheckItems: if (Zeny > 9999 && countitem(getarg(0)) >= getarg(1) && countitem(getarg(2)) >= getarg(3) && countitem(getarg(4)) >= getarg(5) && countitem(getarg(6)) >= getarg(7)) { mes "[Mr. Smith]"; mes "Okay, we've got the application fee, ^FF000010,000 zeny^000000, "+getarg(1)+" "+getitemname(getarg(0))+", "+getarg(3)+" "+getitemname(getarg(2))+", "+getarg(5)+" "+getitemname(getarg(4))+" and "+getarg(7)+" "+getitemname(getarg(6))+"..."; - set zeny,zeny-10000; + set Zeny, Zeny-10000; delitem getarg(0),getarg(1); delitem getarg(2),getarg(3); delitem getarg(4),getarg(5); @@ -2019,12 +2019,13 @@ in_rogue,399,286,1 script switch#rogreset 88,{ //= 1.3 Baby Class Support + 40/50 JobLevel Item fix [Lupus] //= 1.5 Fixed possible EXP abuse [Lupus] //= 1.6 Added a func which prevent advanced classes passing -//= 2nd Job Quests again. It also guides adv classes where -//= to go. [Lupus] +//= 2nd Job Quests again. It also guides adv classes where +//= to go. [Lupus] //= 2.0 Changed numbers to constants. [Vicious] //= 2.1 Removed Duplicates [Silent] //= 2.2 Merged JFunc [Lupus] //= 2.3 Added a possibility for players doing Meginjyard quest -//= to enter Rogue guild as there's a NPC inside [SinSloth] +//= to enter Rogue guild as there's a NPC inside [SinSloth] //= 2.3a fixed test4 person interaction, let BABY thieves pass -//= the test, too [Lupus] +//= the test, too [Lupus] +//============================================================ diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt index 7501c478a1..0483cffb43 100644 --- a/npc/jobs/2-2/sage.txt +++ b/npc/jobs/2-2/sage.txt @@ -13,7 +13,7 @@ //= Job quest for Sage classes //===== Additional Comments: ================================= //= 2.1 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_BlockHigh" +//= No longer uses function "F_BlockHigh" //= 2.2 Small bug fix (== -> !=) thanks to Saithis. [L0ne_W0lf] //= 2.2b ANotehr smaLL bugfix, pointed out by Cara. [L0ne_W0lf] //= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] @@ -21,8 +21,8 @@ //= 2.4a Deleted unused variables. [Samuray22] //= 2.5 Updated waiting room. (Removes global var) [L0ne_W0lf] //= 2.5a Corrected some "mes"s without the getitemname. (bugreport:1564) [Samuray22] -// -Changed an incorrect "!=" to "==". (bugreport:1572) -// -And Small Typo Error +//= -Changed an incorrect "!=" to "==". (bugreport:1572) +//= -And Small Typo Error //= 2.6 Fixed Kayron Grik cutin not being removed as reported by jc1991, bugreport:1825 [Brainstorm] //= 2.6a Fixed a Little Bug with Whispers Summoned in the Last Test. (bugreport:2253) [Samuray22] //= 2.7 Added Quest Log commands. [Kisuka] @@ -345,7 +345,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 742,{ next; if (select("Pay 70,000 zeny.:Give him Old Magicbook and Necklace of Wisdom.") == 1) { if (Zeny > 69999) { - set zeny,zeny-70000; + set Zeny, Zeny-70000; mes "[Metheus Sylphe]"; mes "Thank you, your application has been accepted."; mes "Next, you will take an entrance test."; @@ -517,7 +517,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 742,{ next; } else if (Zeny > 69999) { - set zeny,zeny-70000; + set Zeny, Zeny-70000; mes "[Metheus Sylphe]"; mes "Well done. Let me proceed with your application request."; set SAGE_Q,4; @@ -547,7 +547,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 742,{ if (Zeny > 29999) { for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; - set zeny,zeny-30000; + set Zeny, Zeny-30000; mes "[Metheus Sylphe]"; mes "Well done. Let me proceed with your application request."; set .@SAGE_Q_T,SAGE_Q; diff --git a/npc/jobs/2-2a/Champion.txt b/npc/jobs/2-2a/Champion.txt index 28cd5a9e0d..ca15114b17 100644 --- a/npc/jobs/2-2a/Champion.txt +++ b/npc/jobs/2-2a/Champion.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-2a/Clown.txt b/npc/jobs/2-2a/Clown.txt index 6565576477..b110739948 100644 --- a/npc/jobs/2-2a/Clown.txt +++ b/npc/jobs/2-2a/Clown.txt @@ -10,11 +10,11 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //= 1.3a Corrected a Little Typo error. [Samuray22] -// -Thanks to Myllena. +//= Thanks to Myllena. //============================================================ valkyrie,53,54,3 script Minstrel#Valkyrie 741,{ diff --git a/npc/jobs/2-2a/Creator.txt b/npc/jobs/2-2a/Creator.txt index 3b85907e9d..73547cecd3 100644 --- a/npc/jobs/2-2a/Creator.txt +++ b/npc/jobs/2-2a/Creator.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-2a/Gypsy.txt b/npc/jobs/2-2a/Gypsy.txt index 95503a1ba0..db205694b9 100644 --- a/npc/jobs/2-2a/Gypsy.txt +++ b/npc/jobs/2-2a/Gypsy.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-2a/Paladin.txt b/npc/jobs/2-2a/Paladin.txt index 7589ff3f6b..17df5685a4 100644 --- a/npc/jobs/2-2a/Paladin.txt +++ b/npc/jobs/2-2a/Paladin.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-2a/Professor.txt b/npc/jobs/2-2a/Professor.txt index b6b38afdc3..68b3aea152 100644 --- a/npc/jobs/2-2a/Professor.txt +++ b/npc/jobs/2-2a/Professor.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/2-2a/Stalker.txt b/npc/jobs/2-2a/Stalker.txt index a2a26e1354..372db30fea 100644 --- a/npc/jobs/2-2a/Stalker.txt +++ b/npc/jobs/2-2a/Stalker.txt @@ -10,8 +10,8 @@ //===== Description: ========================================= //= Advance Class jobchanger after kRO Normals. //===== Additional Comments: ================================= -//= v1.1 Made all into functions, additional checks, etc. [Lupus] -//= v1.2 Made numbers into constants. [Vicious] +//= 1.1 Made all into functions, additional checks, etc. [Lupus] +//= 1.2 Made numbers into constants. [Vicious] //= 1.3 Now saves/restores all the quest skills [Lupus] //============================================================ diff --git a/npc/jobs/novice/supernovice.txt b/npc/jobs/novice/supernovice.txt index febcf0a344..3c05dee104 100644 --- a/npc/jobs/novice/supernovice.txt +++ b/npc/jobs/novice/supernovice.txt @@ -433,7 +433,7 @@ aldebaran,54,238,5 script Kafra Employee#sn 117,{ } if (Zeny >= 1899) { set RESRVPTS, RESRVPTS + 190; - set zeny,zeny-1900; + set Zeny, Zeny-1900; if (getskilllv("MC_PUSHCART") > 0) setcart; mes "[Kafra Employee]"; mes "Thank you for using my service."; @@ -474,9 +474,9 @@ aldebaran,54,238,5 script Kafra Employee#sn 117,{ //============================================================ //= Dialogs From Some Other Scripts (Most Of It) //= 1.3-1.5 Added Baby class support (and to the Kafta SN Cart -//= renter, too) [Lupus] +//= renter, too) [Lupus] //= 1.6 Added a fix which prevent High Novices passing -//= this Job Quests again. [Lupus] +//= this Job Quests again. [Lupus] //= 1.7 Fixed Baby Class Support. [Lupus] //= 1.8 Now a Baby can become a Super Baby [Lupus] //============================================================ diff --git a/npc/jobs/valkyrie.txt b/npc/jobs/valkyrie.txt index d219477567..627bb35ce1 100644 --- a/npc/jobs/valkyrie.txt +++ b/npc/jobs/valkyrie.txt @@ -28,10 +28,10 @@ //= 2.5 Fixed a stuck bug [Lupus] //= 2.6a Adding proper dialogues [Lupus] //= 2.7 Rescripted to Aegis 10.3 standards. [L0ne_W0;f] -//= Removed all functions as they are no longer required. -//= Correct job level requirements for 1-1 -> 2-x. +//= Removed all functions as they are no longer required. +//= Correct job level requirements for 1-1 -> 2-x. //= 2.7a Added Function "F_BlockHigh" back in until rewriteing of the 2-x [L0ne_W0lf] -//= scripts are comepleted. +//= scripts are comepleted. //= 2.7b Removed function "F_BlockHigh" as it's no longer used. [L0ne_W0lf] //= 2.8 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 2.9 Corrected Valkyrie case spicifying where to warp after rebirthing. [L0ne_W0lf] @@ -54,7 +54,7 @@ valkyrie,48,86,4 script Valkyrie# 811,{ mes "Honor to the warriors!"; close; } - else if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { + else if (BaseLevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { mes "[Valkyrie]"; mes "Welcome"; mes "to Valhalla,"; @@ -213,7 +213,7 @@ valkyrie,48,86,4 script Valkyrie# 811,{ } yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{ - if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { + if (BaseLevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { if (valkyrie_Q == 0) { mes "[Metheus Sylphe]"; mes "Welcome to the Library of the Schweicherbil Magic Academy."; @@ -233,7 +233,7 @@ yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{ next; if (select("Donate.:Cancel.") == 1) { if (Zeny >= 1285000) { - set zeny,zeny-1285000; + set Zeny, Zeny-1285000; set valkyrie_Q,1; mes "[Metheus Sylphe]"; mes "Thank you, your donation will be used for a good cause. You may"; @@ -278,7 +278,7 @@ yuno_in02,93,207,1 script Book of Ymir 111,{ warp "valkyrie",48,8; end; } - else if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { + else if (BaseLevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { if (valkyrie_Q != 0) { mes "[The Book of Ymir]"; mes "...Therefore, ancient heroes were"; @@ -346,7 +346,7 @@ yuno_in02,93,207,1 script Book of Ymir 111,{ } yuno_in05,49,43,1 script Heart of Ymir 111,{ - if (Baselevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { + if (BaseLevel > 98 && JobLevel > 49 && Class >= Job_Knight && Class <= Job_Crusader2) { if (valkyrie_Q == 2) warp "valkyrie",48,8; } end; diff --git a/npc/kafras/cool_event_corp.txt b/npc/kafras/cool_event_corp.txt index 853d15cbcd..53e49b2aba 100644 --- a/npc/kafras/cool_event_corp.txt +++ b/npc/kafras/cool_event_corp.txt @@ -15,7 +15,7 @@ //= 1.1a Redo back. It wasn't a bug [Lupus] //= 1.2 Added Rachel Cool Event Corp. Staff [Playtester] //= 1.3 Added cutins, closed Kafra Password exploit -//= until we got a client/packet based password support [Lupus] +//= until we got a client/packet based password support [Lupus] //= 1.4 Added Veins Cool Event Corp. Staff. [L0ne_W0lf] //= 1.5 Cool Event Corp staff is now more iRO like. [L0ne_W0lf] //============================================================ diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt index b3a2efdb5d..7eb212bc93 100644 --- a/npc/kafras/dts_warper.txt +++ b/npc/kafras/dts_warper.txt @@ -26,26 +26,26 @@ // the "Vote Globalvar Girl#yuno" NPC at the end of the file. // Character Variable in use: lhz_vote (how many times player has voted, keeps htem from re-voting.) //===== Additional Comments: ================================= -//= 1.0 Initial release [Evera] -//= 1.1 SVN release, removed from major town (found true info after research), -//= put more arg(2) parameters, fixed a few bugs [Evera] +//= 1.0 Initial release [Evera] +//= 1.1 SVN release, removed from major town (found true info after research), +//= put more arg(2) parameters, fixed a few bugs [Evera] //= 1.2 Mushed some variables together, optimized a bit [Evera] //= 1.3 Removed selfconfig [Evera] //= 1.4 Changed global variables to read from 3 global variables, updated names, -//= fixed array bug [Evera] +//= fixed array bug [Evera] //= 1.5 Mushed voting varialbes into 1 variable. [Evera] //= 1.6 Removed Duplicates [Silent] -//= 1.7 Fixed bug of DTS_Admin not running by itself [Evera] -//= 1.8 Changed requirement to lvl 60 [Evera] +//= 1.7 Fixed bug of DTS_Admin not running by itself [Evera] +//= 1.8 Changed requirement to lvl 60 [Evera] //= 1.9 Removed global eligibility option [Evera] //= 2.0 Fixed zeny bug [Evera] //= 2.1 Fixed headers with and updated with newer information [Evera] //= 2.2 Changed dtseligible 2 to MISC_QUEST|128, to clean up variable usage. [Evera] -//= Also added F_ClearGarbage function to the scripts. [Evera] -//= 2.3 Changed dtseligible to be $dtsday when MISC_QUEST|128 -//= Added $dtsday for vote session counter -//= Fixed bug that involved having both warpers enabled at the same time. [Evera] -//= New $dtsday system and bug fix[Evera] +//= Also added F_ClearGarbage function to the scripts. [Evera] +//= 2.3 Changed dtseligible to be $dtsday when MISC_QUEST|128 +//= Added $dtsday for vote session counter +//= Fixed bug that involved having both warpers enabled at the same time. [Evera] +//= New $dtsday system and bug fix[Evera] //= 2.3a fixed 2 bugs with comparision [Lupus] //= 2.3b corrected Glast warp coords [Lupus] 2.3c Bailand -> Bayalan //= 2.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] @@ -536,7 +536,7 @@ function script F_VoteKafra { case 1: if (Zeny >= 4000) { cutin "",255; - set zeny,zeny-4000; + set Zeny, Zeny-4000; warp "xmas_dun02",130,123; end; } @@ -560,7 +560,7 @@ function script F_VoteKafra { switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "kafra_09",255; warp "xmas_dun02",130,123; end; @@ -576,7 +576,7 @@ function script F_VoteKafra { break; case 2: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "kafra_09",255; warp "alde_dun03",265,22; end; @@ -601,7 +601,7 @@ function script F_VoteKafra { switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Lava Dungeon, Level 2 -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "kafra_09",255; warp "xmas_dun02",130,123; end; @@ -617,7 +617,7 @@ function script F_VoteKafra { break; case 2: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "kafra_09",255; warp "alde_dun03",265,22; end; @@ -633,7 +633,7 @@ function script F_VoteKafra { break; case 3: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "kafra_09",255; warp "mag_dun02",47,40; end; @@ -935,7 +935,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 861,{ switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "zonda_01",255; warp "iz_dun02",234,206; end; @@ -963,7 +963,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 861,{ switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "zonda_01",255; warp "iz_dun02",234,206; end; @@ -978,7 +978,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 861,{ break; case 2: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "zonda_01",255; warp "c_tower3",64,143; end; @@ -1013,7 +1013,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 861,{ switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Glast Heim Entrance -> 4,000 z:Cancel")) { case 1: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "zonda_01",255; warp "iz_dun02",234,206; end; @@ -1028,7 +1028,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 861,{ break; case 2: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "zonda_01",255; warp "c_tower3",64,143; end; @@ -1043,7 +1043,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 861,{ break; case 3: if (Zeny >= 4000) { - set zeny,zeny-4000; + set Zeny, Zeny-4000; cutin "zonda_01",255; warp "glast_01",368,303; end; diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index 7feb483eec..f378fa36e2 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -16,8 +16,8 @@ //= may become obsolete, as most kafras have a slightly differing //= Welcome message. //===== Additional Comments: ================================= -//= v1.1 Now using functions v2.1 Added Cart Rent for Classes: Whitesmith, Professor. -//= Replaced checkoption(x) into checkcart(0) [Lupus] v2.1b Added Fix Kafra Pass Func [Kobra_k88] +//= 1.1 Now using functions v2.1 Added Cart Rent for Classes: Whitesmith, Professor. +//= Replaced checkoption(x) into checkcart(0) [Lupus] v2.1b Added Fix Kafra Pass Func [Kobra_k88] //= 2.2 Final fix of the Kafra Pass Exploit! [Lupus] a -Izlude[4] fix //= 2.2a Minor changes to function calls. Using agruments. Added Guild options. [kobra_k88] //= 2.2b This version uses arrays for the teleport option. Rearranged next statements to make menu transitions smoother. [kobra_k88] @@ -32,29 +32,29 @@ //= 3.1 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 3.2 Fixed an exploit [Lupus] //= 4.0 Added Kafra storage password protection. [Lupus] -//= to block Kafra Password, read comments at 350 line +//= to block Kafra Password, read comments at 350 line //= 5.0 Fixed the close2;....close; end; lines. Who let them slip away? =/ [erKURITA] -//= Also, the kafra upon warp was giving back the zeny. Removed. [erKURITA] +//= Also, the kafra upon warp was giving back the zeny. Removed. [erKURITA] //= 5.1 Optimized a little, added no tele/save arg's [Evera] //= 5.1a Temporary? Added F_ClearGarbage to clear unused/outdated variables [Lupus] //= 5.2 By default commented out custom Guilds Kafra's "Guild Storage". [Lupus] //= 5.3 uncommented Guild Storage. Confirmed kRO feature. [Lupus] //= 5.4 added -Guide option (Kafra shows you nearest Guide) Work in progress. -//= Need all coords for all guides.. and somehow pass their coords to kafra. -//= Removed universal Kafra Pass, added 3 new Kafra Tickets [Lupus] +//= Need all coords for all guides.. and somehow pass their coords to kafra. +//= Removed universal Kafra Pass, added 3 new Kafra Tickets [Lupus] //= 5.4b temporary moved "-Guide" from the 1st menu punct [Lupus] //= 5.5 Added proper Niflheim welcome message. [L0ne_W0lf] -//= Cleaned up the menus a bit. Got rid of the proceeding "-" prefix. +//= Cleaned up the menus a bit. Got rid of the proceeding "-" prefix. //= 5.5b Missed a preceeding hyphen, which was screwing up teleporting. [L0ne_W0lf] //= 5.6 Further dialog updates, added dynamic costs for cart and storage use. [L0ne_W0lf] -//= Updated some functions to handle Guild Kafras the way they should. +//= Updated some functions to handle Guild Kafras the way they should. //= 5.6a Corrected a few wrong names in the teleport function. [L0ne_W0lf] //= 5.7 Correced end message no longer displaying, and the duplicate names [L0ne_W0lf] -//= Thanks to Barron-Monster for pointing out the issues. +//= Thanks to Barron-Monster for pointing out the issues. //= 5.8 Fixed another double name being shown when "saving" [L0ne_W0lf] //= 5.9 Fixed the Kafra Welcome message for guilds. Thanks Barron-Monster. [L0ne_W0lf] //= 6.0 Closed Kafra Password exploit in Cool Event Corp. Storages until we got a client/packet based password support. -//= Added 2 args into F_SetKafCode to fit it in Cool Evnt Co. NPC [Lupus] +//= Added 2 args into F_SetKafCode to fit it in Cool Evnt Co. NPC [Lupus] //= 6.1 Added menu for Turbo Track Kafra Staff. [L0ne_W0lf] //= 6.2 Updated/Fixed warp cords. [Kisuka] //= 6.3 #kafra_code is now stored as is. [brianluau] diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt index 5d9d153611..a278999299 100644 --- a/npc/kafras/kafras.txt +++ b/npc/kafras/kafras.txt @@ -53,7 +53,7 @@ aldeba_in,96,181,4 script Kafra Service 113,{ close2; break; case 2: - if (zeny < 20) { + if (Zeny < 20) { mes "[Kafra Leilah]"; mes "Excuse me, but it"; mes "seems that you don't"; @@ -68,7 +68,7 @@ aldeba_in,96,181,4 script Kafra Service 113,{ mes "and administrative functions,"; mes "I'll access your Storage for you."; next; - set zeny,zeny-20; + set Zeny, Zeny-20; set RESRVPTS, RESRVPTS + (20/5); mes "[Kafra Leilah]"; mes "In the future, please"; diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index 95e0c30ca3..508f254a3c 100644 --- a/npc/merchants/advanced_refiner.txt +++ b/npc/merchants/advanced_refiner.txt @@ -78,7 +78,7 @@ payon,157,146,6 script Suhnbi#cash 85,{ mes "Clink! Clank! Clunk!"; SuccessRefItem .@part; next; - Emotion e_no1; + emotion e_no1; mes "[Suhnbi]"; mes "Here you are! It's done."; mes "It's been a while since I've made such a fine weapon. You must be happy because it has become stronger!"; @@ -89,9 +89,9 @@ payon,157,146,6 script Suhnbi#cash 85,{ FailedRefItem .@part; next; if (rand(5) == 1){ - Emotion e_cash; + emotion e_cash; } else { - Emotion e_omg; + emotion e_omg; } mes "[Suhnbi]"; mes "Cough!!!!"; diff --git a/npc/merchants/alchemist.txt b/npc/merchants/alchemist.txt index 41191c28fd..be02d66047 100644 --- a/npc/merchants/alchemist.txt +++ b/npc/merchants/alchemist.txt @@ -80,7 +80,7 @@ alde_alche,24,188,3 script Guild Dealer 740,{ mes "in your inventory."; close; } - set zeny,zeny-.@sell; + set Zeny, Zeny-.@sell; getitem 7134,.@input; //Medicine_Bowl mes "[Gever Al Sharp]"; mes "Thank you."; @@ -153,7 +153,7 @@ S_SellManual: mes "That'll be "+getarg(1)+" zeny."; next; if (select("Purchase.:Quit.") == 1) { - set zeny,zeny-getarg(1); + set Zeny, Zeny-getarg(1); getitem getarg(0),1; mes "[Gever Al Sharp]"; mes "Thank you for"; diff --git a/npc/merchants/ammo_boxes.txt b/npc/merchants/ammo_boxes.txt index d3ccbf7f03..59db248d07 100644 --- a/npc/merchants/ammo_boxes.txt +++ b/npc/merchants/ammo_boxes.txt @@ -19,7 +19,7 @@ //============================================================ alberta,118,157,3 script Magazine Dealer Kenny::mdk 83,{ - if(BaseJob == Job_Gunslinger) { + if (BaseJob == Job_Gunslinger) { mes "[Kenny]"; mes "Welcome to my Magazine Shop."; mes "As you may know, large numbers"; @@ -82,7 +82,7 @@ function script Func_Casing { mes "want to receive. If you want to cancel, then just enter ''0.''"; next; input .@amount; - if(.@amount > 50 || .@amount == 0) { + if (.@amount > 50 || .@amount == 0) { mes "[Kenny]"; mes "Hey, I can't give you"; mes "that many Magazines."; @@ -114,7 +114,7 @@ function script Func_Casing { getitem getarg(1),.@amount; close; } - }else{ + } else { mes "[Kenny]"; mes "Sorry, but you don't"; mes "have enough zeny for"; @@ -124,7 +124,7 @@ function script Func_Casing { mes "some more money."; close; } - }else{ + } else { mes "[Kenny]"; mes "Sorry, but you don't"; mes "have enough bullets for"; diff --git a/npc/merchants/ammo_dealer.txt b/npc/merchants/ammo_dealer.txt index e957d284ea..2a56253150 100644 --- a/npc/merchants/ammo_dealer.txt +++ b/npc/merchants/ammo_dealer.txt @@ -99,7 +99,7 @@ function script Bullet_Trade { mes "available. Try putting some of"; mes "your things into Kafra Storage."; close; - }else{ + } else { mes "[Tony]"; mes "Great, everything seems"; mes "to be in order. Let me take"; @@ -112,7 +112,7 @@ function script Bullet_Trade { getitem getarg(2),.@amount * 30; close; } - }else{ + } else { mes "[Tony]"; mes "Huh. It looks like you"; mes "don't have enough materials"; diff --git a/npc/merchants/cashheadgear_dye.txt b/npc/merchants/cashheadgear_dye.txt index 020bef3bb4..da6fec384e 100644 --- a/npc/merchants/cashheadgear_dye.txt +++ b/npc/merchants/cashheadgear_dye.txt @@ -11,7 +11,7 @@ //= [Official Conversion] //= Change headgear's color. Cost is a Mysterious Dyestuff //===== Additional Comments: ================================= -//= v1.0 First / Optimized Version +//= 1.0 First / Optimized Version //============================================================ prt_in,253,168,4 script Alora 862,{ diff --git a/npc/merchants/coin_exchange.txt b/npc/merchants/coin_exchange.txt index e0ca735456..b5894bea0d 100644 --- a/npc/merchants/coin_exchange.txt +++ b/npc/merchants/coin_exchange.txt @@ -45,7 +45,7 @@ if (.@i == 1) { mes "Here are the item descriptions."; close2; - ReadBook .@Book,1; + readbook .@Book,1; end; } else if (.@i < 5) { diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt index 7d8943c3af..1fecf71763 100644 --- a/npc/merchants/dye_maker.txt +++ b/npc/merchants/dye_maker.txt @@ -8,6 +8,7 @@ //= rAthena SVN //===== Description: ========================================= //= [Official Conversion] +//= Quests to create the eight colored Dyestuffs. //===== Additional Comments: ================================= //= 1.0 Fully working [kobra_k88] //= 1.1 Spell Checked [Nexon] @@ -183,7 +184,7 @@ S_MakeDye: // delete items for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; - set zeny,zeny-.@cost; + set Zeny, Zeny-.@cost; // get dyestuff getitem .@dyestuff,1; diff --git a/npc/merchants/enchan_arm.txt b/npc/merchants/enchan_arm.txt index 78be775795..46a304101e 100644 --- a/npc/merchants/enchan_arm.txt +++ b/npc/merchants/enchan_arm.txt @@ -95,7 +95,7 @@ S_EnchantArmor: close; } progressbar "ffff00",7; - set zeny,zeny-400000; + set Zeny, Zeny-400000; delitem .@itemid,1; switch (rand(1,.@failrate)) { case 1: set .@addpart,4702;break; diff --git a/npc/merchants/gemstone.txt b/npc/merchants/gemstone.txt index f51a20dc9f..f3e6e1130c 100644 --- a/npc/merchants/gemstone.txt +++ b/npc/merchants/gemstone.txt @@ -11,11 +11,11 @@ //= Trade various colors of gemstones for other color gemstones. //===== Additional Comments: ================================= //= 1.0 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Any notes pertaining to the prior trader may be found -//= in the cities/payon.txt +//= Any notes pertaining to the prior trader may be found +//= in the cities/payon.txt //= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 1.2 Updated input with min/max values. [L0ne_W0lf] -//= Added a checkweight. +//= Added a checkweight. //= 1.3 Fixed checks. [Euphy] //============================================================ diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt index f07d1d5df4..df2e3bb3b0 100644 --- a/npc/merchants/hair_dyer.txt +++ b/npc/merchants/hair_dyer.txt @@ -23,7 +23,7 @@ prt_in,243,168,4 script Jovovich 91,{ mes "How may I help you?"; next; mes "[Hairdresser Jovovich]"; - if (sex) mes "Oh, no! Your hair is damaged. It seems as if you may need professional treatment. Come sit over here, please. Come."; + if (Sex) mes "Oh, no! Your hair is damaged. It seems as if you may need professional treatment. Come sit over here, please. Come."; else { if (rand(20) > 11) { mes "Eh!? Oh my! Oh no no no no! Your hair is sooo damaged! It's not good if you leave your hair like this."; @@ -95,7 +95,7 @@ prt_in,243,168,4 script Jovovich 91,{ case 7: callsub S_NoDye,983,"black"; break; case 8: callsub S_NoDye,975,"red"; break; } - if (zeny < 1000) { + if (Zeny < 1000) { mes "[Hairdresser Jovovich]"; mes "The fee is 1000 zeny. Do you not have enough...?"; close; @@ -111,7 +111,7 @@ prt_in,243,168,4 script Jovovich 91,{ case 7: delitem 983,1; break; //Black_Dyestuffs case 8: delitem 975,1; break; //Scarlet_Dyestuffs } - set Zeny,Zeny-1000; + set Zeny, Zeny-1000; setlook VAR_HEADPALETTE,.@headpalette; set .@choose_success,1; break; @@ -369,7 +369,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 850,{ else if (.@headpalette == 5) delitem 978,1; //Cobaltblue_Dyestuffs else if (.@headpalette == 6) delitem 982,1; //White_Dyestuffs else if (.@headpalette == 7) delitem 983,1; //Black_Dyestuffs - set zeny,zeny-1000; + set Zeny, Zeny-1000; setlook VAR_HEADPALETTE,.@headpalette; set .@choose_success,1; break; diff --git a/npc/merchants/hair_style.txt b/npc/merchants/hair_style.txt index 492c56b8ee..aa882fd351 100644 --- a/npc/merchants/hair_style.txt +++ b/npc/merchants/hair_style.txt @@ -472,7 +472,7 @@ alberta_in,55,142,7 script Hair Dresser 91,{ mes "- *snip snip snip snip* -"; mes "- *bzzzzzzz bzzzzzzz bzzzzzzz bzzzzzzz* -"; next; - set Zeny,Zeny-99800; + set Zeny, Zeny-99800; delitem 973,3; // Counteragent delitem 974,3; // Mixture delitem 901,100; // Danggie @@ -658,7 +658,7 @@ alberta,33,141,7 script Roving Hair Dresser 87,{ mes "Once more I've outdone myself."; mes "It's such a unique and talented"; mes "style! Yes, I am the best! Wooohahahahahaha!"; - set Zeny,Zeny-199800; + set Zeny, Zeny-199800; setlook 1,rand(1,19); setlook 6,rand(1,8); close; @@ -1044,7 +1044,7 @@ lhz_in02,100,143,3 script Hair Dresser#li 122,{ mes "*Clip clip clip clip*"; mes "*Bzzzzzzzzzzzzzzzzzzzz*^000000"; next; - set zeny,zeny-99800; + set Zeny, Zeny-99800; delitem 973,3; //Counteragent delitem 974,3; //Mixture delitem 901,100; //Danggie @@ -1251,7 +1251,7 @@ lhz_in02,91,155,5 script Assistant Beautician#li 862,{ mes "[Assistant Beautician]"; mes "^333333*Pant Pant Pant*^000000"; next; - set zeny,zeny-250000; + set Zeny, Zeny-250000; setlook VAR_HEAD,.@style_r; setlook VAR_HEADPALETTE,.@color_r; mes "[Assistant Beautician]"; diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt index d9cc39a8e5..822e384cf6 100644 --- a/npc/merchants/inn.txt +++ b/npc/merchants/inn.txt @@ -23,7 +23,7 @@ //= to arguments.[kobra_k88] //= 1.2 Rewrote inn script [Playtester] //= 1.3 Added (finally) Rachel Inn Maid. Official warp -//= and save points[erKURITA] +//= and save points[erKURITA] //= 1.4 Added Hugel inn [erKurita] //= 1.5 Added "end;" after warping the player. [L0ne_W0lf] //= - Small corrections to the prontera Inns. diff --git a/npc/merchants/kunai_maker.txt b/npc/merchants/kunai_maker.txt index 97bc89f124..a2a642800f 100644 --- a/npc/merchants/kunai_maker.txt +++ b/npc/merchants/kunai_maker.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Kunai Merchant Kashin //===== By: ================================================== -//= rAthena dev team +//= rAthena Dev Team //===== Current Version: ===================================== //= 1.3a //===== Compatible With: ===================================== @@ -10,8 +10,8 @@ //= Trades a few shurikens + ninja stones for elemental kunai. //===== Additional Comments: ================================= //= 1.0 Added the npc. It uses a function that sends the item -//= id of the 2 required items plus the amount. Can trade -//= up to 500 units (5,000 kunais) at once. [erKURITA] +//= id of the 2 required items plus the amount. Can trade +//= up to 500 units (5,000 kunais) at once. [erKURITA] //= 1.1 Officialized script [Playtester] //= 1.2a Optimized/cleaned up a bit [ultramage] //= 1.3 Updated to match AEGIS script. [Kisuka] diff --git a/npc/merchants/milk_trader.txt b/npc/merchants/milk_trader.txt index a27598cc05..482029a516 100644 --- a/npc/merchants/milk_trader.txt +++ b/npc/merchants/milk_trader.txt @@ -51,7 +51,7 @@ prontera,73,140,0 script Milk Vendor 86,{ set .@bottles,countitem(713); set .@total_weight,.@bottles * 50; set .@total_cost,.@bottles * 15; - if (zeny < .@Total_cost) { + if (Zeny < .@Total_cost) { mes "[Milk Vendor]"; mes "Oh, whoa~!"; mes "You don't have enough"; @@ -61,7 +61,7 @@ prontera,73,140,0 script Milk Vendor 86,{ mes "at least " + .@total_cost + " zeny."; close; } - if ((maxweight-weight) < .@total_weight) { + if (MaxWeight - Weight < .@total_weight) { mes "[Milk Vendor]"; mes "Hmm..."; mes "Would you make"; @@ -71,7 +71,7 @@ prontera,73,140,0 script Milk Vendor 86,{ mes "all of this milk?"; close; } - set zeny,zeny-.@total_cost; + set Zeny, Zeny-.@total_cost; delitem 713,.@bottles; //Empty Bottles getitem 519,.@bottles; //Milk close; diff --git a/npc/merchants/novice_exchange.txt b/npc/merchants/novice_exchange.txt index 42dcdd7a80..42256d3252 100644 --- a/npc/merchants/novice_exchange.txt +++ b/npc/merchants/novice_exchange.txt @@ -11,15 +11,14 @@ //= Exchanges your Basic Monster drops for Red Potions. //===== Additional Comments: ================================= //= 1.2 Rescripted to Aegis 10.standards. [L0ne_W0lf[ -//= Made it easier to add new items to exhange list -//= meaning only the exchange is done in a function now. +//= Made it easier to add new items to exhange list +//= meaning only the exchange is done in a function now. //= 1.3 Fixed dialog mix-up in function. [L0ne_W0lf] //= 1.4 Added checkweight, and input min/max values. [L0ne_W0lf] //============================================================ prontera,123,102,5 script Merchant#pron 85,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -75,8 +74,7 @@ prontera,123,102,5 script Merchant#pron 85,{ } morocc,180,259,3 script Merchant#morroc 85,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -133,8 +131,7 @@ morocc,180,259,3 script Merchant#morroc 85,{ } payon,200,134,5 script Merchant#pay 85,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -188,8 +185,7 @@ payon,200,134,5 script Merchant#pay 85,{ } aldebaran,152,63,5 script Merchant#alde 85,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -246,8 +242,7 @@ aldebaran,152,63,5 script Merchant#alde 85,{ } geffen,173,88,5 script Merchant#geff 85,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt index b506fd544c..a5dc632da3 100644 --- a/npc/merchants/old_pharmacist.txt +++ b/npc/merchants/old_pharmacist.txt @@ -7,17 +7,16 @@ //===== Compatible With: ===================================== //= rAthena SVN Trunk //===== Description: ========================================= -//= Trade in items for potions -//=============================== -//= Breakdown of arguments used +//= Trade in items for potions. +//= Breakdown of arguments used: //= arg(0): Herb required. //= arg(1): Zeny cost. //= arg(2): Potion given. //===== Additional Comments: ================================= -//= 1.0 - Fully working. [DZeroX] -//= 1.0a - Minor fixes [Lupus] -//= 1.1 - Added changed the dialogs and name to fit the -//= the official information. [DZeroX] +//= 1.0 Fully working. [DZeroX] +//= 1.0a Minor fixes [Lupus] +//= 1.1 Added changed the dialogs and name to fit the +//= the official information. [DZeroX] //= 1.1a Removed .GATs [Lupus] //= 1.1b Fixed a bug in Orange Potion creating. Copy&Pasting = bad. [L0ne_W0lf] //= 1.2 Added checkweight, and input min/max values. [L0ne_W0lf] @@ -37,156 +36,155 @@ alberta_in,16,28,4 script Pharmacist 61,{ mes "[Old Pharmacist]"; mes "Ummmm..."; mes "What brings you here...?"; - switch(select("Make Potion","Talk.","Mixing Information","Cancel")) { - case 1: + switch(select("Make Potion:"Talk.:Mixing Information:Cancel")) { + case 1: + next; + if (MaxWeight - Weight < 5000) { + mes "[Old Pharmacist]"; + mes "Why are you carrying these so many!"; + mes "Don't be greedy, carry only as much you need!"; next; - set .@weight,MaxWeight-Weight; - if ((.@weight) < 5000) { - mes "[Old Pharmacist]"; - mes "Why are you carrying these so many!"; - mes "Don't be greedy, carry only as much you need!"; + mes "[Old Pharmacist]"; + mes "You are too heavy to receive potions from me..."; + mes "Go store some items in your storage first!"; + close; + } else { + mes "[Old Pharmacist]"; + mes "You have all the stuff ready, right? Which one would you like?"; + switch(select("Red Potion.:Orange Potion.:Yellow Potion.:White Potion.:Blue Potion.:Green Potion.:Actually, I don't want anything.")) { + case 1: + callsub L_Making,507,3,501; + case 2: next; mes "[Old Pharmacist]"; - mes "You are too heavy to receive potions from me..."; - mes "Go store some items in your storage first!"; - close; - } else { - mes "[Old Pharmacist]"; - mes "You have all the stuff ready, right? Which one would you like?"; - switch(select("Red Potion.","Orange Potion.","Yellow Potion.","White Potion.","Blue Potion.","Green Potion.","Actually, I don't want anything.")) { - case 1: - callsub L_making,507,3,501; - case 2: + if (countitem(507) < countitem(713)) { + set .@max,countitem(507); + } + else if (countitem(508) < countitem(713)) { + set .@max,countitem(508); + } + else { + set .@max,countitem(713); + } + if ((countitem(507) < 1) || (countitem(508) < 1) || (countitem(713) == 0)) { + mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; + mes "Get lost!"; + close; + } + if (Zeny < 3) { + mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; + mes "Get lost!"; + close; + } + mes "How many?"; + switch(select("Make as many as I can.:I want to choose an amount.:Actually, I don't want anything.")) { + case 1: + next; + if ((countitem(507) < .@max) || (countitem(508) < .@max) || (countitem(713) < .@max) || (Zeny < .@max*3)) { + mes "[Old Pharmacist]"; + mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; + close; + } + set Zeny,Zeny-(.@max*5); + delitem 507,.@max; //Red_Herb + delitem 508,.@max; //Yellow_Herb + delitem 713,.@max; //Empty_Bottle + getitem 502,.@max; //Orange_Potion + break; + case 2: + next; + mes "[Old Pharmacist]"; + mes "Then pick a number below 100. If you don't want any, just enter '0'. With the materials you have, you can make about "+.@max+" potions."; + input .@amount,0,101; + if (.@amount == 0) { next; mes "[Old Pharmacist]"; - if (countitem(507) < countitem(713)) { - set .@max,countitem(507); - } - else if (countitem(508) < countitem(713)) { - set .@max,countitem(508); - } - else { - set .@max,countitem(713); - } - if ((countitem(507) < 1) || (countitem(508) < 1) || (countitem(713) == 0)) { - mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; - mes "Get lost!"; - close; - } - if (Zeny < 3) { - mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; - mes "Get lost!"; - close; - } - mes "How many?"; - switch(select("Make as many as I can.","I want to choose an amount.","Actually, I don't want anything.")) { - case 1: - next; - if ((countitem(507) < .@max) || (countitem(508) < .@max) || (countitem(713) < .@max) || (Zeny < .@max*3)) { - mes "[Old Pharmacist]"; - mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; - close; - } - set Zeny,Zeny-(.@max*5); - delitem 507,.@max; // Red_Herb - delitem 508,.@max; // Yellow_Herb - delitem 713,.@max; // Empty_Bottle - getitem 502,.@max; // Orange_Potion - break; - case 2: - next; - mes "[Old Pharmacist]"; - mes "Then pick a number below 100. If you don't want any, just enter '0'. With the materials you have, you can make about "+.@max+" potions."; - input .@amount,0,101; - if (.@amount == 0) { - next; - mes "[Old Pharmacist]"; - mes "Make up your mind, will you?!"; - close; - } - if (.@amount > 100) { - next; - mes "[Old Pharmacist]"; - mes "Are you deaf? I said less than 100!"; - close; - } - if ((countitem(507) < .@amount) || (countitem(508) < .@amount) || (countitem(713) < .@amount) || (Zeny < .@amount*3)) { - next; - mes "[Old Pharmacist]"; - mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; - close; - } - next; - set Zeny,Zeny-(.@amount*5); - delitem 507,.@amount; // Red_Herb - delitem 508,.@amount; // Yellow_Herb - delitem 713,.@amount; // Empty_Bottle - getitem 502,.@amount; // Orange_Potion - break; - case 3: - next; - mes "[Old Pharmacist]"; - mes "What?!"; - mes "Grrr..."; - mes "Bleh!"; - mes "Get lost!"; - close; - } - mes "[Old Pharmacist]"; - mes "Here you go. It's all done so you can take it. But remember! Abusing medicine is not good."; - close; - case 3: - callsub L_making,508,10,503; - case 4: - callsub L_making,509,20,504; - case 5: - callsub L_making,510,30,505; - case 6: - callsub L_making,511,3,506; - case 7: - mes "[Old Pharmacist]"; - mes "What?!"; - mes "Grrr..."; - mes "Bleh!"; - mes "Get lost!"; + mes "Make up your mind, will you?!"; close; + } + if (.@amount > 100) { + next; + mes "[Old Pharmacist]"; + mes "Are you deaf? I said less than 100!"; + close; + } + if ((countitem(507) < .@amount) || (countitem(508) < .@amount) || (countitem(713) < .@amount) || (Zeny < .@amount*3)) { + next; + mes "[Old Pharmacist]"; + mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; + close; + } + next; + set Zeny,Zeny-(.@amount*5); + delitem 507,.@amount; //Red_Herb + delitem 508,.@amount; //Yellow_Herb + delitem 713,.@amount; //Empty_Bottle + getitem 502,.@amount; //Orange_Potion + break; + case 3: + next; + mes "[Old Pharmacist]"; + mes "What?!"; + mes "Grrr..."; + mes "Bleh!"; + mes "Get lost!"; + close; } + mes "[Old Pharmacist]"; + mes "Here you go. It's all done so you can take it. But remember! Abusing medicine is not good."; + close; + case 3: + callsub L_Making,508,10,503; + case 4: + callsub L_Making,509,20,504; + case 5: + callsub L_Making,510,30,505; + case 6: + callsub L_Making,511,3,506; + case 7: + mes "[Old Pharmacist]"; + mes "What?!"; + mes "Grrr..."; + mes "Bleh!"; + mes "Get lost!"; + close; } - case 2: - mes "[Old Pharmacist]"; - mes "With medicine, you can increase a person's ability to regenerate. But, they're only good up to a point. *Sigh* I'm starting to think of the days when I was young. I must be getting old."; - next; - mes "[Old Pharmacist]"; - mes "Anyways, a potion is merely a potion. Nothing more and nothing less."; - close; - case 3: - mes "[Old Pharmacist]"; - mes "Hrrrmm..."; - mes "You young ones can be quite annoying. But, since you asked, I'll explain."; - next; - mes "[Old Pharmacist]"; - mes "Herbs work well by themselves, but if you use my special techniques and skills to make potions out of them, the effect is much much greater."; - next; - mes "[Old Pharmacist]"; - mes "If you ask eagerly and politely, I will make them for you. But, not for free... Don't worry though, I only charge a small fee, so it's not that expensive."; - next; - mes "[Old Pharmacist]"; - mes "Red Potion - ^0098E52 Red Herbs, 1 Empty Bottle, 2 zeny fee.^000000"; - mes "Orange Potion - ^0098E51 Red Herb, 1 Yellow Herb, 1 Empty Bottle, 5 zeny fee.^000000"; - mes "Yellow Potion - ^0098E52 Yellow Herbs, 1 Empty Bottle, 10 zeny.^000000"; - next; - mes "[Old Pharmacist]"; - mes "White Potion - ^0098E52 White Herbs, 1 Empty Bottle, 20 zeny fee.^000000"; - mes "Blue Potion - ^0098E52 Blue Herbs, 1 Empty Bottle, 30 zeny fee.^000000"; - mes "Green Potion - ^0098E52 Green Herbs, 1 Empty Bottle, 3 zeny fee.^000000"; - close; - case 4: - mes "[Old Pharmacist]"; - mes "What a boring person. If you have something to say, why don't you say it?!"; - close; + } + case 2: + mes "[Old Pharmacist]"; + mes "With medicine, you can increase a person's ability to regenerate. But, they're only good up to a point. *Sigh* I'm starting to think of the days when I was young. I must be getting old."; + next; + mes "[Old Pharmacist]"; + mes "Anyways, a potion is merely a potion. Nothing more and nothing less."; + close; + case 3: + mes "[Old Pharmacist]"; + mes "Hrrrmm..."; + mes "You young ones can be quite annoying. But, since you asked, I'll explain."; + next; + mes "[Old Pharmacist]"; + mes "Herbs work well by themselves, but if you use my special techniques and skills to make potions out of them, the effect is much much greater."; + next; + mes "[Old Pharmacist]"; + mes "If you ask eagerly and politely, I will make them for you. But, not for free... Don't worry though, I only charge a small fee, so it's not that expensive."; + next; + mes "[Old Pharmacist]"; + mes "Red Potion - ^0098E52 Red Herbs, 1 Empty Bottle, 2 zeny fee.^000000"; + mes "Orange Potion - ^0098E51 Red Herb, 1 Yellow Herb, 1 Empty Bottle, 5 zeny fee.^000000"; + mes "Yellow Potion - ^0098E52 Yellow Herbs, 1 Empty Bottle, 10 zeny.^000000"; + next; + mes "[Old Pharmacist]"; + mes "White Potion - ^0098E52 White Herbs, 1 Empty Bottle, 20 zeny fee.^000000"; + mes "Blue Potion - ^0098E52 Blue Herbs, 1 Empty Bottle, 30 zeny fee.^000000"; + mes "Green Potion - ^0098E52 Green Herbs, 1 Empty Bottle, 3 zeny fee.^000000"; + close; + case 4: + mes "[Old Pharmacist]"; + mes "What a boring person. If you have something to say, why don't you say it?!"; + close; } -L_making: +L_Making: next; mes "[Old Pharmacist]"; if ((countitem(getarg(0))/2) < countitem(713)) { @@ -205,55 +203,55 @@ L_making: close; } mes "How many?"; - switch(select("Make as many as I can.","I want to choose an amount.","Actually, I don't want anything.")) { - case 1: - next; - if ((countitem(getarg(0)) < .@max*2) || (countitem(713) < .@max) || (Zeny < .@max*getarg(1))) { - mes "[Old Pharmacist]"; - mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; - close; - } - set Zeny,Zeny-(.@max*getarg(1)); - delitem getarg(0),.@max*2; - delitem 713,.@max; // Empty_Bottle - getitem getarg(2),.@max; - break; - case 2: - next; + switch(select("Make as many as I can.:I want to choose an amount.:Actually, I don't want anything.")) { + case 1: + next; + if ((countitem(getarg(0)) < .@max*2) || (countitem(713) < .@max) || (Zeny < .@max*getarg(1))) { mes "[Old Pharmacist]"; - mes "Then pick a number below 100. If you don't want any, just enter '0'. With the materials you have, you can make about "+.@max+" potions."; - input .@amount; - next; - if (.@amount == 0) { - mes "[Old Pharmacist]"; - mes "Make up your mind, will you?!"; - close; - } - if (.@amount > 100) { - mes "[Old Pharmacist]"; - mes "Are you deaf? I said less than 100!"; - close; - } - if ((countitem(getarg(0)) < .@amount*2) || (countitem(713) < .@amount) || (Zeny < .@amount*getarg(1))) { - mes "[Old Pharmacist]"; - mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; - close; - } - set Zeny,Zeny-(.@amount*getarg(1)); - delitem getarg(0),.@amount*2; - delitem 713,.@amount; // Empty_Bottle - getitem getarg(2),.@amount; - break; - case 3: - next; - mes "[Old Pharmacist]"; - mes "What?!"; - mes "Grrr..."; - mes "Bleh!"; - mes "Get lost!"; + mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; close; - } + } + set Zeny,Zeny-(.@max*getarg(1)); + delitem getarg(0),.@max*2; + delitem 713,.@max; //Empty_Bottle + getitem getarg(2),.@max; + break; + case 2: + next; mes "[Old Pharmacist]"; - mes "Here you go. It's all done so you can take it. But remember! Abusing medicine is not good."; + mes "Then pick a number below 100. If you don't want any, just enter '0'. With the materials you have, you can make about "+.@max+" potions."; + input .@amount; + next; + if (.@amount == 0) { + mes "[Old Pharmacist]"; + mes "Make up your mind, will you?!"; + close; + } + if (.@amount > 100) { + mes "[Old Pharmacist]"; + mes "Are you deaf? I said less than 100!"; + close; + } + if ((countitem(getarg(0)) < .@amount*2) || (countitem(713) < .@amount) || (Zeny < .@amount*getarg(1))) { + mes "[Old Pharmacist]"; + mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; + close; + } + set Zeny,Zeny-(.@amount*getarg(1)); + delitem getarg(0),.@amount*2; + delitem 713,.@amount; //Empty_Bottle + getitem getarg(2),.@amount; + break; + case 3: + next; + mes "[Old Pharmacist]"; + mes "What?!"; + mes "Grrr..."; + mes "Bleh!"; + mes "Get lost!"; close; + } + mes "[Old Pharmacist]"; + mes "Here you go. It's all done so you can take it. But remember! Abusing medicine is not good."; + close; } diff --git a/npc/merchants/quivers.txt b/npc/merchants/quivers.txt index 0eb3cc092e..7c592c5671 100644 --- a/npc/merchants/quivers.txt +++ b/npc/merchants/quivers.txt @@ -100,7 +100,7 @@ S_BuyQuiver: mes "[Inventor Jaax]"; mes "There you go!"; mes "Just remember, ^FF0000you won't be able to use the Quiver when your carried weight is 90% of your maximum weight limit^000000."; - set zeny,zeny-.@arrow_zeny01; + set Zeny, Zeny-.@arrow_zeny01; delitem getarg(0),.@arrows_used; //Arrow getitem getarg(3),.@quiver; //Quiver next; @@ -126,11 +126,11 @@ S_BuyQuiver: mes "a quiver is so close?"; close; case 2: - if (zeny > getarg(2)) { + if (Zeny > getarg(2)) { mes "[Inventor Jaax]"; mes "There you go!"; mes "Just remember, ^FF0000you won't be able to use the Quiver when your carried weight is 90% of your maximum weight limit^000000."; - set zeny,zeny-getarg(2); + set Zeny, Zeny-getarg(2); delitem getarg(0),getarg(1); //Arrow getitem getarg(3),1; //Quiver next; diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt index a1da72cbd3..5186d0a7fb 100644 --- a/npc/merchants/refine.txt +++ b/npc/merchants/refine.txt @@ -9,39 +9,39 @@ //===== Description: ========================================= //= Refining NPCs and Metal Salesmen. //===== Additional Comments: ================================= -//= 1.0 - by A bunch of people! -//= Syrus22 - Completely redid the script using functions... also -//= added the option for auto safe refining and multiple refining. -//= 1.1 - Negative input bug fixed [Lupus] -//= 1.2 - Added additional reparimen in morroc and payon. Added -//= Christopher the blacksmith in Geffen. Edited some dialogue [kobra_k88] -//= 1.3 - New Payon Locations [Darkchild] -//= Corrected zeny subtraction thx to jpnmania77.[kobra_k88] -//= 1.3a - Temporary corrected an exploit. Need to check sources -//= to fully fix bug [Shinigami] -//= Fixed repairman prices [shadowlady] -//= Fixed bug that skips requirements thanks to sir_loon [massdriller] -//= Fixed itemid error thanks to -Vitamin- [massdriller] -//= 1.4 - check again item in refining procedure to avoid -//= hacker that can change item [dafide18] -//= 1.5 - Fixed crashing due to badly used callfunc's [Skotlex] -// Lupus, don't rollback this important fix again! >.< -//= 1.5a - Corrected an unneeded callfunc, fixed the anti-bot -//= exploit ruining the safe refine loop. [Skotlex] -//= 1.5b - Fixed Spelling mistakes. [Nexon] -//= 1.6 - Replaced all breaks for ends as per the new script engine [Skotlex] -//= 1.7 - Added Einbroch Refiners (Custom names ^^;) and a duplicated BS Shop. [Poki#3] -//= 1.8 - Added Lighthalzen Refiners (Custom names again ^^;) [Poki#3] -//= 1.8a - Fixed wrong indication thanks to NeoSaro [Lupus] -//= 1.9 - Rewrote repairman, removed the Steel from repair cost [DracoRPG] -//= 2.0 - Fixed missed equppment presence check. Thx2 Coltaro [Lupus] -//= 2.0a - Added weight checks thanks to Neouni [Playtester] -//= 2.0b - Fixed the names of Lighthalzen and Einbroch refiners thanks to Maud_Dib [Kargha] -//= 2.1 - Removed Duplicates [Silent] -//= 2.2 - Changed name from "Emvertacon" to "Emveretarcon". [Samuray22] -// - Thanks to Barron-Monster. -//= 2.2b - Changed name from "Pharacon" to "Phracon". [Samuray22] -// - Thanks to Barron-Monster. +//= 1.0 by A bunch of people! +//= Syrus22 - Completely redid the script using functions... also +//= added the option for auto safe refining and multiple refining. +//= 1.1 Negative input bug fixed [Lupus] +//= 1.2 Added additional reparimen in morroc and payon. Added +//= Christopher the blacksmith in Geffen. Edited some dialogue [kobra_k88] +//= 1.3 New Payon Locations [Darkchild] +//= Corrected zeny subtraction thx to jpnmania77.[kobra_k88] +//= 1.3a Temporary corrected an exploit. Need to check sources +//= to fully fix bug [Shinigami] +//= Fixed repairman prices [shadowlady] +//= Fixed bug that skips requirements thanks to sir_loon [massdriller] +//= Fixed itemid error thanks to -Vitamin- [massdriller] +//= 1.4 check again item in refining procedure to avoid +//= hacker that can change item [dafide18] +//= 1.5 Fixed crashing due to badly used callfunc's [Skotlex] +//= Lupus, don't rollback this important fix again! >.< +//= 1.5a Corrected an unneeded callfunc, fixed the anti-bot +//= exploit ruining the safe refine loop. [Skotlex] +//= 1.5b Fixed Spelling mistakes. [Nexon] +//= 1.6 Replaced all breaks for ends as per the new script engine [Skotlex] +//= 1.7 Added Einbroch Refiners (Custom names ^^;) and a duplicated BS Shop. [Poki#3] +//= 1.8 Added Lighthalzen Refiners (Custom names again ^^;) [Poki#3] +//= 1.8a Fixed wrong indication thanks to NeoSaro [Lupus] +//= 1.9 Rewrote repairman, removed the Steel from repair cost [DracoRPG] +//= 2.0 Fixed missed equppment presence check. Thx2 Coltaro [Lupus] +//= 2.0a Added weight checks thanks to Neouni [Playtester] +//= 2.0b Fixed the names of Lighthalzen and Einbroch refiners thanks to Maud_Dib [Kargha] +//= 2.1 Removed Duplicates [Silent] +//= 2.2 Changed name from "Emvertacon" to "Emveretarcon". [Samuray22] +//= Thanks to Barron-Monster. +//= 2.2b Changed name from "Pharacon" to "Phracon". [Samuray22] +//= Thanks to Barron-Monster. //= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 2.4 Updated Refiner function. cleaner, and less dated. [L0ne_w0lf] //= 2.5 Rather large update to the refiner and merchants. :D [L0ne_W0lf] @@ -56,7 +56,7 @@ //= 2.8a Small bugfix. (bugreport:2418) [Paradox924X] //= 2.9 Moved Morroc repairman to Morroc Ruins. [L0ne_W0lf] //= 3.0 Updated several NPC names and locations. [Xantara] -// Added WoE map Refiners. +//= Added WoE map Refiners. //= 3.1 Added the new refinement & Ore creation NPC's for +11 and above Refinement. [Masao] //= 3.2 Moved some scripts to Renewal file, other minor changes. [Euphy] //= 3.2a Added 'disable_items' command. [Euphy] @@ -82,7 +82,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 986,1; // Anvil - set Zeny,Zeny-30000; + set Zeny, Zeny-30000; mes "[Christopher Guillenrow]"; mes "This is the cheapest one, but efficient enough to forge most items. Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -93,7 +93,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 987,1; // Oridecon_Anvil - set Zeny,Zeny-120000; + set Zeny, Zeny-120000; mes "[Christopher Guillenrow]"; mes "Aye, friend ye have an eye for the anvil. This must be the proper anvil for a Blacksmith, eh? Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -104,7 +104,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 988,1; // Golden_Anvil - set Zeny,Zeny-300000; + set Zeny, Zeny-300000; mes "[Christopher Guillenrow]"; mes "This one is the best among all me stuffs in me workshop! With this, ye can rule the Blacksmith world! Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -157,7 +157,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 612,.@input; // Portable_Furnace - set Zeny,Zeny-.@sell; + set Zeny, Zeny-.@sell; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -168,7 +168,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 613,1; // Iron_Hammer - set Zeny,Zeny-1000; + set Zeny, Zeny-1000; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -179,7 +179,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 614,1; // Golden_Hammer - set Zeny,Zeny-3000; + set Zeny, Zeny-3000; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -190,7 +190,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 615,1; // Oridecon_Hammer - set Zeny,Zeny-5000; + set Zeny, Zeny-5000; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -238,7 +238,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 1010,.@input; // Phracon - set Zeny,Zeny-.@sell; + set Zeny, Zeny-.@sell; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; close; @@ -276,7 +276,7 @@ geffen_in,110,172,0 script Christopher#1 63,{ close; } getitem 1011,.@input; // Emveretarcon - set Zeny,Zeny-.@sell; + set Zeny, Zeny-.@sell; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need, whenever ye want."; close; @@ -352,37 +352,37 @@ ein_in01,38,29,0 script Paul Spanner 63,{ next; switch(select("Anvil - 30,000z.:Oridecon Anvil - 120,000z.:Golden Anvil - 300,000z.:I need a better anvil.:Cancel.")) { case 1: - if (zeny < 30000) { + if (Zeny < 30000) { mes "[Paul Spanner]"; mes "With that much of money, you cannot even buy a toy anvil!"; close; } getitem 986,1; //Anvil - set zeny,zeny-30000; + set Zeny, Zeny-30000; mes "[Paul Spanner]"; mes "It is the cheapest anvil which has the most basic ability."; mes "Thank you for using my shop. If you need anything, just let me know."; close; case 2: - if (zeny < 120000) { + if (Zeny < 120000) { mes "[Paul Spanner]"; mes "With that much of money, you cannot even buy a toy anvil!"; close; } getitem 987,1; //Oridecon_Anvil - set zeny,zeny-120000; + set Zeny, Zeny-120000; mes "[Paul Spanner]"; mes "Ah, you have an eye for anvil. A Blacksmith needs an anvil at least as good as this."; mes "Thank you for using my shop. If you need anything, just let me know."; close; case 3: - if (zeny < 300000) { + if (Zeny < 300000) { mes "[Paul Spanner]"; mes "With that much of money, you cannot even buy a toy anvil!"; close; } getitem 988,1; //Golden_Anvil - set zeny,zeny-300000; + set Zeny, Zeny-300000; mes "[Paul Spanner]"; mes "I can tell your ambition to become a good Blacksmith just by looking at you to choose this Golden Anvil!"; mes "This anvil will surely aid you in creating the best weapons."; @@ -451,7 +451,7 @@ ein_in01,38,29,0 script Paul Spanner 63,{ } } set .@sell,.@input * .@item_cost; - if (zeny < .@sell) { + if (Zeny < .@sell) { mes "[Paul Spanner]"; mes "You don't have enough money. Sorry, I cannot sell them at a loss."; close; @@ -461,7 +461,7 @@ ein_in01,38,29,0 script Paul Spanner 63,{ mes "Hey, you look pale. Why don't you go lighten your weight first."; close; } - set zeny,zeny-.@sell; + set Zeny, Zeny-.@sell; getitem .@item,.@input; mes "[Paul Spanner]"; mes "Thank you for using my shop. If you need anything, just let me know."; @@ -505,7 +505,7 @@ ein_in01,38,29,0 script Paul Spanner 63,{ } } set .@sell,.@input * .@item_price; - if (zeny < .@sell) { + if (Zeny < .@sell) { mes "[Paul Spanner]"; mes "You don't have enough money. Sorry, I cannot sell them at a loss."; close; @@ -516,7 +516,7 @@ ein_in01,38,29,0 script Paul Spanner 63,{ close; } getitem .@item,.@input; - set zeny,zeny-.@sell; + set Zeny, Zeny-.@sell; mes "[Paul Spanner]"; mes "Thank you for using my shop. If you need anything, just let me know."; close; @@ -728,7 +728,7 @@ function script refinemain { mes "here all day if you need me."; close; } - set Zeny,Zeny-.@price; + set Zeny, Zeny-.@price; delitem .@material,1; if(getequipisequiped(.@part) == 0) { // hacker has removed the item (not changed, why?) mes "[" + getarg(0) + "]"; @@ -846,7 +846,7 @@ function script refinemain { mes "Is that all you got? Unfortunately I can't work for you at a lower price. Try putting yourself in my shoes."; close; } - set Zeny,Zeny - .@fullprice; + set Zeny, Zeny - .@fullprice; delitem .@material,.@refinecnt; while(.@refinecnt){ if (getequipisequiped(.@part) == 0) { @@ -872,7 +872,7 @@ function script refinemain { mes "Here's the unused Zeny and materials back..."; getitem .@material,.@refinecnt; set .@fullprice,.@refinecnt * .@price; - set Zeny,Zeny + .@fullprice; + set Zeny, Zeny + .@fullprice; close; } successrefitem .@part; @@ -990,7 +990,7 @@ function script phramain { close; } getitem .@material,.@input; - set Zeny,Zeny-.@sell; + set Zeny, Zeny-.@sell; mes "[" + getarg(0) + "]"; mes "Here you are!"; mes "Thank you for"; @@ -1228,7 +1228,7 @@ function script repairmain { } set .@checkitem2,.@checkitem2-1; if (.@checkitem == .@checkitem2) { - set zeny,zeny-.@totalcost; + set Zeny, Zeny-.@totalcost; while (.@checkitem) { repair(.@checkitem); set .@checkitem,.@checkitem-1; diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt index bcaded6f6a..3cd0a61dd6 100644 --- a/npc/merchants/renters.txt +++ b/npc/merchants/renters.txt @@ -42,7 +42,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 105,{ next; switch(select("Rent Peco Peco:Cancel")) { case 1: - if (zeny < .@price) { + if (Zeny < .@price) { mes "[Peco Peco Breeder]"; mes "You do not"; mes "have enough zeny."; @@ -70,7 +70,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 105,{ mes "Please remove your cash mount."; close; } - set zeny,zeny-.@price; + set Zeny, Zeny-.@price; setriding; close; case 2: @@ -106,7 +106,7 @@ prontera,232,318,3 script Peco Peco Breeder#cru 105,{ next; switch(select("Rent a PecoPeco:Quit")) { case 1: - if (zeny < .@price) { + if (Zeny < .@price) { mes "[Peco Peco Breeder]"; mes "You do not"; mes "have enough zeny."; @@ -133,7 +133,7 @@ prontera,232,318,3 script Peco Peco Breeder#cru 105,{ mes "Please remove your cash mount."; close; } - set zeny,zeny-.@price; + set Zeny, Zeny-.@price; setriding; close; case 2: @@ -179,7 +179,7 @@ hu_in01,381,304,5 script Falcon Breeder#hnt 105,{ mes "until you dismiss your warg first!"; close; } - if (zeny < .@price) { + if (Zeny < .@price) { mes "[Falcon Breeder]"; mes "What is this?"; mes "You don't have"; @@ -207,7 +207,7 @@ hu_in01,381,304,5 script Falcon Breeder#hnt 105,{ mes "there, can't you see it?"; close; } - set zeny,zeny-.@price; + set Zeny, Zeny-.@price; setfalcon; close; case 2: diff --git a/npc/merchants/shops.txt b/npc/merchants/shops.txt index 8d40a18557..0e97652e55 100644 --- a/npc/merchants/shops.txt +++ b/npc/merchants/shops.txt @@ -11,10 +11,10 @@ //===== Additional Comments: ================================= //= For earlier update notes see the bottom. //= 2.0 updated several shop npcs. [L0ne_W0lf] -//= Added proper Venom Knife dealer, and consiquently removed wenom Knives from weapon dealers. -//= Moved all Cooking related NPCs to their own section. -//= Re-alphabetized sections. Some of them were out of place. -//= Removed commented out shops. +//= Added proper Venom Knife dealer, and consiquently removed wenom Knives from weapon dealers. +//= Moved all Cooking related NPCs to their own section. +//= Re-alphabetized sections. Some of them were out of place. +//= Removed commented out shops. //= 2.0b Einbech tool dealer got lost somewhere along the way, re-added. [L0ne_W0lf] //= 2.1 Fixed missing item from "Fresh Fish" from cooking addition shops. [L0ne_W0lf] //= 2.1a Fixed the second "Line" selling in Comodo Weapon shop. (Should have been Whip) [L0ne_W0lf] @@ -329,7 +329,7 @@ niflheim,209,180,5 shop Chef Assistant#nif 83,581:-1 //= 1.3a Fixed Louyang map name. Added additional shops in Yuno. [kobra_k88] //= 1.4 Added Niflheim Shops //= 1.5 New Payon Locations [Darkchild] -//= Moved shops in Umbala.txt here. Commented out the duplicate ones.[kobra_k88] +//= Moved shops in Umbala.txt here. Commented out the duplicate ones.[kobra_k88] //= 1.6 Removed GRAPE ID 514 from shops (caused exploits) //= 1.7 Removed juices from custom amatsu shops (it's a quest item + levelup exploit) //= 1.8 Corrected Niflheim Shops and Morroc Jewel Merchant [celest] @@ -352,13 +352,13 @@ niflheim,209,180,5 shop Chef Assistant#nif 83,581:-1 //= - Guys, I suggest we crop these comments and put them at the bottom soon //= 1.22 Thx8) Removed Berserk Potions from all shops but Comodo [Lupus] //= 1.3 Added Gunslinger shops. Credits goes to RockmanEXE for the info [erKURITA] -//= Added Bucket Hat to Flu Mask dealer and modified it's name to a more logical one :P [erKURITA] +//= Added Bucket Hat to Flu Mask dealer and modified it's name to a more logical one :P [erKURITA] //= 1.4 Added an ingredient seller to Morroc, thanks to Muad_Dib [MasterOfMuppets] //= a Removed doubled Morocc Ing.Seller, arranged the rest Ing.Sellers according to the city names [Lupus] //= 1.4b Commented out temp Gunslinger shops. [Lupus] //= 1.5 Removed Temp gunslinger shops and moved up the official ones. [erKURITA] -//= Added Official Ninja shops in their correct location and commented a few -//= shops. Thanks to RockmanEXE and Muad_Dib [erKURITA] +//= Added Official Ninja shops in their correct location and commented a few +//= shops. Thanks to RockmanEXE and Muad_Dib [erKURITA] //= 1.6 Implemented a missing Tool Shop in Lighthalzen [MasterOfMuppets] //= 1.7 Added some missing iRO - Lighthalzen NPCs [Musashiden] //= 1.8 Added Rachel Official shops. Special Thanks to RockmanEXE. [erKURITA] diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt index 3039d84a4e..82a8415599 100644 --- a/npc/merchants/socket_enchant.txt +++ b/npc/merchants/socket_enchant.txt @@ -12,10 +12,10 @@ //===== Additional Comments: ================================= //= 0.1a added missing L_No: to 2 funcs [Lupus] //= 0.1b Removed duplicates [Toms] -//= 0.2 Added missing next;'s [Evera] +//= 0.2 Added missing next;'s [Evera] //= 0.3 Fixed Zweihander[+] id [Lupus] //= 1.0 Fixed ingredients check [Lupus] -//= 1.1 Updated to official. [SinSloth] +//= 1.1 Updated to official. [SinSloth] //= 1.1b Optimized/cleaned [ultramage] //= 1.2 Fixed some typos and a nasty bug. [SinSloth] //= 1.3 Fixed a wrong item ID with Sphinx Hat. [SinSloth] diff --git a/npc/merchants/wander_pet_food.txt b/npc/merchants/wander_pet_food.txt index 9819df1ff3..f90071848a 100644 --- a/npc/merchants/wander_pet_food.txt +++ b/npc/merchants/wander_pet_food.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Spirit Liquor trader. //===== By: ================================================== -//= rAthena dev team +//= rAthena Dev Team //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index f15ec1ed63..64d609e56f 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -14,7 +14,7 @@ //= - Dungeon Teleport Scroll //===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] -//= F_CashPartyCall Optimized by Trancid. +//= F_CashPartyCall Optimized by Trancid. //= 1.1 Updated Dungeon Teleport Scroll. [L0ne_W0lf] //= Added Town Teleport Scroll Function //= Added Seige Teleport Scroll Function diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index a4cfd6fb41..ef2b19df8d 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -27,7 +27,7 @@ //= 2.03 Added Gunslinger vars to F_ClearJobVar [Lupus] //= 2.04 Added dtseligible 2 (becomes MISC_QUEST|128) to F_ClearGarbage [Evera] //= 2.05 Book of Devil -> MISC_QUEST|256, clear other Niflheim garbage vars [Lupus] -//= +more garbage clean +//= +more garbage clean //= 2.06 Pass to Bio-Lab -> MISC_QUEST|512 [Lupus] //= 2.07 Added TK_Q variable clear. 2.08 Added NINJ_Q variable clear [Lupus] //= 2.09 Cleared F_ClearGarbage [Lupus] diff --git a/npc/other/auction.txt b/npc/other/auction.txt index ea10bb5c8b..67060f3b47 100644 --- a/npc/other/auction.txt +++ b/npc/other/auction.txt @@ -46,7 +46,7 @@ function script F_AuctionWarper { mes "Great! Well then,"; mes "I hope you have fun"; mes "and enjoy the auction~"; - }else{ + } else { mes "[Auction Hall Guide]"; mes "Enjoy your auction."; } diff --git a/npc/other/card_trader.txt b/npc/other/card_trader.txt index 8afff06e7d..51eecbcacb 100644 --- a/npc/other/card_trader.txt +++ b/npc/other/card_trader.txt @@ -9,11 +9,11 @@ //===== Description: ========================================= //= Card and Points Trader //===== Additional Comments: ================================= -//= v1.0 Translated from the Official [Elias] -//= v1.1 Fixed variables and optimized script [Elias] -//= v1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) -//= v1.3 Optimized: reduced from 123kb to 7kb! [Euphy] -//= v1.4 Variables don't need to load OnInit. [Euphy] +//= 1.0 Translated from the Official [Elias] +//= 1.1 Fixed variables and optimized script [Elias] +//= 1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) +//= 1.3 Optimized: reduced from 123kb to 7kb! [Euphy] +//= 1.4 Variables don't need to load OnInit. [Euphy] //============================================================ prontera,115,90,0 script Putty 90,{ diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt index 43fbc61e9f..351480d305 100644 --- a/npc/other/divorce.txt +++ b/npc/other/divorce.txt @@ -18,7 +18,7 @@ //= 1.1 Added check if the patner's online, added effects [Lupus] //= 1.2 Updated to Aegis 10.3 standards. [L0ne_W0lf] //= 1.2a Commented out check of 'wedding_sign' to let -//= old married players divorcing, optimized, fixed a bug [Lupus] +//= old married players divorcing, optimized, fixed a bug [Lupus] //= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf] //= 1.4 Removed ifpartneron check, fixed typo in percentheal. [L0ne_W0lf] //= 1.5 Replaced effect numerics with constants. [L0ne_W0lf] @@ -44,7 +44,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ if (!getpartnerid()) { mes "Bwah hah hah~!"; mes "That look in your eyes~!"; - if (sex) { + if (Sex) { mes "Those are definitely the eyes"; mes "of a lonely male bachelor."; mes "I'm almost 100 percent sure"; @@ -76,7 +76,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "I sense that you carry a"; mes "tiresome burden..."; mes "If I'm not wrong, you're"; - if (sex) + if (Sex) mes "a married man, aren't you?"; else mes "a married woman, aren't you?"; @@ -99,7 +99,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "At the end of the day, you and"; mes "your partner fight, and you feel"; mes "totally totally miserable."; - if (sex) + if (Sex) mes "...all because of HER."; else mes "...all because of HIM."; @@ -123,7 +123,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "[Deviruchi]"; mes "*whispers*"; mes "^555555It's not like you're breaking^000000"; - if (sex) { + if (Sex) { mes "^555555any promises, and it's not"; mes "like your wife will care if she"; mes "doesn't know... Don't you"; @@ -171,7 +171,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ mes "[Deviruchi]"; mes "I understand. But if you think"; mes "about anything, think about"; - if (sex) { + if (Sex) { mes "your wife's nagging, and"; mes "how great it would be to"; mes "finally free yourself of the"; @@ -196,7 +196,7 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{ specialeffect EF_MAGICROD; specialeffect2 EF_DEVIL; set wedding_sign,0; - set zeny,zeny-2500000; + set Zeny, Zeny-2500000; percentheal -100,-100; divorce; mes "[Deviruchi]"; diff --git a/npc/other/fortune.txt b/npc/other/fortune.txt index 5fc40879d3..0f3d31d285 100644 --- a/npc/other/fortune.txt +++ b/npc/other/fortune.txt @@ -47,7 +47,7 @@ payon_in03,117,128,5 script Fortune Teller 704,{ else { mes "[Lhimetorra]"; mes "I accept your heart and your devotion with my gratitude. Thoughts are more important than the amount when paying a fortune teller."; - set zeny,zeny-.@input; + set Zeny, Zeny-.@input; } next; mes "[Lhimetorra]"; @@ -2755,7 +2755,7 @@ payon_in03,75,129,5 script Poring Fortune Teller 704,{ mes "Nope!"; close; } - set zeny,zeny-1000; + set Zeny, Zeny-1000; mes "[Chocarle]"; mes " Thank you~! Then we shall look into your fortune! "; mes " First, clear your mind! Just like washing when you wash dishes! "; diff --git a/npc/other/marriage.txt b/npc/other/marriage.txt index d8d896246c..33655c00e3 100644 --- a/npc/other/marriage.txt +++ b/npc/other/marriage.txt @@ -10,7 +10,7 @@ //= [Official Conversion] //= Official Marriage script. //= Added isloggedin() check, even though Aegis doesn't do it. -//= Currently does not support same-sex marriages. +//= Currently does not support same-Sex marriages. //= Old script located in: npc/custom/marriage.txt //= - Variable in use: wedding_sign (max 1) //= - Variable in use: $@wedding (max 1) @@ -184,7 +184,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ case 3: cutin "wedding_marry02",2; - if (sex) { + if (Sex) { mes "[Marry Happy]"; mes "So you'd like to get married?"; mes "As a groom, you need to prepare"; @@ -259,8 +259,8 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ mes "back after you find it, okay?"; goto L_End; } - else if (sex) { - if (zeny < 1300000) { + else if (Sex) { + if (Zeny < 1300000) { mes "[Marry Happy]"; mes "I'm sorry, but you don't"; mes "have the 1,300,000 zeny"; @@ -280,8 +280,8 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ goto L_End; } } - else if (sex == 0) { - if (zeny < 1200000) { + else if (Sex == 0) { + if (Zeny < 1200000) { mes "[Marry Happy]"; mes "I'm sorry, but all brides"; mes "must pay the 1,200,000"; @@ -343,17 +343,17 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ mes "process, both of you should"; mes "speak to the Bishop to begin"; mes "the wedding ceremony."; - Emotion e_lv; + emotion e_lv; next; mes "[Marry Happy]"; - if (sex) { + if (Sex) { mes "Since you're the groom,"; mes "you need to speak to the"; mes "Bishop first. When you're"; mes "finished, it will be your"; mes "bride's turn to speak to"; mes "Bishop Vomars."; - set zeny,zeny-1300000; + set Zeny, Zeny-1300000; delitem 7170,1; //Tuxedo } else { @@ -363,7 +363,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ mes "Vomars first. When he's"; mes "finished, it'll be your turn"; mes "to speak to Bishop Vomars."; - set zeny,zeny-1200000; + set Zeny, Zeny-1200000; delitem 2338,1; //Wedding_Dress } delitem 2613,1; //Diamond_Ring @@ -387,7 +387,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ donpcevent "Single Army#Payon::OnEnable"; donpcevent "Single Army#Amatsu::OnEnable"; donpcevent "Single Army#Gonryun::OnEnable"; - Emotion e_omg; + emotion e_omg; mes "[Single Army]"; mes "^CC9933You have to refine"; mes "items on your own to"; @@ -427,7 +427,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{ emotion e_rock,0,"Single Army#Gonryun"; close2; cutin "wedding_marry01",255; - Emotion e_swt; + emotion e_swt; donpcevent "Single Army#Prontera::OnInit"; donpcevent "Single Army#Geffen::OnInit"; donpcevent "Single Army#Morocc::OnInit"; @@ -569,7 +569,7 @@ prt_church,100,128,4 script Bishop#w 60,{ getpartymember(getcharid(1)); set .@partymembercount,$@partymembercount; if (.@partymembercount == 2) { - if (sex) { + if (Sex) { set $@wedding,1; initnpctimer; mes "[Vomars]"; @@ -640,7 +640,7 @@ prt_church,100,128,4 script Bishop#w 60,{ getpartymember(getcharid(1)); set .@partymembercount,$@partymembercount; if (.@partymembercount == 2) { - if (sex == 0) { + if (Sex == 0) { if (strcharinfo(0) == $@wed_bride$) { mes "[Vomars]"; mes "Young lovers, please"; diff --git a/npc/other/monster_race.txt b/npc/other/monster_race.txt index dfedca79cb..513e756e47 100644 --- a/npc/other/monster_race.txt +++ b/npc/other/monster_race.txt @@ -26,7 +26,7 @@ //= 2.0 Added GM management NPC. [Euphy] //============================================================ -// Monstrer Race - Single Monster Race +// Monster Race - Single Monster Race //============================================================ hugel,51,61,0 script #race_timer1-1 -1,{ OnInit: @@ -659,7 +659,7 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "that you enjoy the race~"; mes "Let me guide you inside"; mes "the Monster Race Arena now."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_1,0; close2; warp "p_track01",75,41; @@ -680,7 +680,7 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "you enjoy this race."; mes "Let me guide you now"; mes "to the Monster Race Arena."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_1,0; close2; warp "p_track01",75,41; @@ -717,7 +717,7 @@ hugel,58,72,6 script Eckar Ellebird#single 798,{ mes "Thank you~"; mes "I hope you enjoy"; mes "watching this race!"; - set zeny,zeny-500; + set Zeny, Zeny-500; set monster_race_1,0; close2; warp "p_track01",75,41; @@ -1002,7 +1002,7 @@ p_track01,55,28,0 duplicate(Tire_1) Tire6#4 -1,0,0 p_track01,51,28,0 duplicate(Tire_1) Tire6#5 -1,0,0 p_track01,47,28,0 duplicate(Tire_1) Tire6#6 -1,0,0 -// Monstrer Race - Dual Monster Race +// Monster Race - Dual Monster Race //============================================================ hugel,47,56,0 script #race_timer2-1 -1,{ OnEnable: @@ -1283,7 +1283,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "that you enjoy the race~"; mes "Let me guide you inside"; mes "the Monster Race Arena now."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_2_1,0; set monster_race_2_2,0; close2; @@ -1306,7 +1306,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "you enjoy this race."; mes "Let me guide you now"; mes "to the Monster Race Arena."; - set zeny,zeny-2000; + set Zeny, Zeny-2000; set monster_race_2_1,0; set monster_race_2_2,0; close2; @@ -1344,7 +1344,7 @@ hugel,62,69,1 script Eckar Erenes#double 798,{ mes "Thank you~"; mes "I hope you enjoy"; mes "watching this race!"; - set zeny,zeny-500; + set Zeny, Zeny-500; set monster_race_2_1,0; set monster_race_2_2,0; close2; @@ -2868,7 +2868,7 @@ hugel,71,83,4 script Wayne 900,{ } } -// Monstrer Race Affiliated NPCs +// Monster Race Affiliated NPCs //============================================================ airplane,246,47,1 script Eocatt#decoy01 878,{ mes "[Eocatt]"; diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt index 8ff60e1cd0..6cf338ca7b 100644 --- a/npc/other/poring_war.txt +++ b/npc/other/poring_war.txt @@ -8,7 +8,7 @@ //= rAthena SVN //===== Description: ========================================= //= [Official Conversion] -//= Poring War +//= Join a team in battle between Angeling and Deviling. //===== Additional Comments: ================================= //= 1.0 First version. [Kisuka][5511] //= 1.1 Fixed some typos/bugs. [CalciumKid] @@ -47,7 +47,7 @@ prt_fild08,159,371,3 script Poring War Recruiter#wop 909,{ close2; warp "poring_w01",112,138; end; - }else{ + } else { mes "[Poring]"; mes "Oh, and there's an entrance fee of 500 zeny, ring."; mes "..........."; @@ -125,7 +125,7 @@ poring_w01,100,97,3 script Poring Vending Machine#w 909,{ mes "1 of 7 diffeent kinds of figures will be selected."; next; if(select("Draw:Cancel") == 1) { - if(countitem(7539) >= 50) { + if (countitem(7539) >= 50) { mes "Insert the Poring coin and pull the lever."; mes "Click~ The item came out of the mouth of the Poring with a rumbling sound."; mes "What could it be?"; @@ -143,7 +143,7 @@ poring_w01,100,97,3 script Poring Vending Machine#w 909,{ delitem 7539,50; // Poring_Coin getitem .@Random_Figure,1; close; - }else{ + } else { mes "Not enough coins."; close; } @@ -210,11 +210,11 @@ poring_w01,100,97,3 script Poring Vending Machine#w 909,{ end; S_PoringVending: - if(countitem(7539) >= getarg(1)) { + if (countitem(7539) >= getarg(1)) { mes "Click~ The item came out of the mouth of the Poring with a rumbling sound."; delitem 7539,getarg(1); // Poring_Coin getitem getarg(0),1; - }else{ + } else { mes "Not enough coins."; } close; @@ -291,7 +291,7 @@ poring_w01,96,97,3 script Sweet Devi#wop 738,{ mes "Oh, Alright. I can help."; mes "I'll send you back to your savepoint."; close2; - if(WoP_SaveMap$ != "") { + if (WoP_SaveMap$ != "") { savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y; set WoP_SaveMap$,""; set WoP_SaveMap_X,0; @@ -304,7 +304,7 @@ poring_w01,96,97,3 script Sweet Devi#wop 738,{ OnPCLogoutEvent: getmapxy .@map$,.@x,.@y,0; if (.@map$ == "poring_w02") { - if(WoP_SaveMap$ != "") { + if (WoP_SaveMap$ != "") { savepoint WoP_SaveMap$,WoP_SaveMap_X,WoP_SaveMap_Y; set WoP_SaveMap$,""; set WoP_SaveMap_X,0; @@ -318,7 +318,7 @@ OnPCLogoutEvent: OnPCDieEvent: getmapxy .@map$,.@x,.@y,0; if (.@map$ == "poring_w02" && wop_team) { - if(getsavepoint(0) != "poring_w02" && WoP_SaveMap$ == "") { + if (getsavepoint(0) != "poring_w02" && WoP_SaveMap$ == "") { set WoP_SaveMap$,getsavepoint(0); set WoP_SaveMap_X,getsavepoint(1); set WoP_SaveMap_Y,getsavepoint(2); @@ -390,12 +390,12 @@ OnInit: OnStartArena: warpwaitingpc "poring_w02",26,175; disablewaitingroomevent; - if($@wop_teamcount == 0) { + if ($@wop_teamcount == 0) { set $@wop_teamcount,1; donpcevent "Poring#wop_door_d::OnDevilingStart"; donpcevent "#wop_warp_rtry::OnStop"; } - else if($@wop_teamcount == 1) { + else if ($@wop_teamcount == 1) { donpcevent "#wop_master::OnStart"; donpcevent "Poring#wop_door_d::OnStop"; stopnpctimer; @@ -482,12 +482,12 @@ OnInit: OnStartArena: warpwaitingpc "poring_w02",170,175; disablewaitingroomevent; - if($@wop_teamcount == 0) { + if ($@wop_teamcount == 0) { set $@wop_teamcount,1; donpcevent "Poring#wop_door_a::OnAngelingStart"; donpcevent "#wop_warp_rtry::OnStop"; } - else if($@wop_teamcount == 1) { + else if ($@wop_teamcount == 1) { donpcevent "#wop_master::OnStart"; donpcevent "Poring#wop_door_a::OnStop"; stopnpctimer; @@ -631,7 +631,7 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{ } set .@a_tname$,getpartyname($@wop_team_a); set .@pname$,getpartyname(getcharid(1)); - if($@wop_team_a != 0 && $@wop_team_a == getcharid(1)) { + if ($@wop_team_a != 0 && $@wop_team_a == getcharid(1)) { mes "[Mr. Doppel]"; mes "So, everyone joined the party?"; mes "The name of the party is... " + .@pname$ + ", right?"; @@ -648,7 +648,7 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{ mes "If you don't get there in time, you won't make it to the battle."; close; case 2: - if((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { mes "[Mr. Doppel]"; mes "So, you are the leader. Before going to the battlefield, you should check all your members."; next; @@ -680,8 +680,8 @@ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 739,{ } } else { - if((getpartyleader(getcharid(1),2) == getcharid(0))) { - if($@wop_team_a == 0) { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ($@wop_team_a == 0) { mes "[Mr. Doppel]"; mes "So, you are the party leader of Angeling Team."; mes "Are you sure all the members are in your party?"; @@ -762,7 +762,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ } set .@d_tname$,getpartyname($@wop_team_d); set .@pname$,getpartyname(getcharid(1)); - if($@wop_team_d != 0 && $@wop_team_d == getcharid(1)) { + if ($@wop_team_d != 0 && $@wop_team_d == getcharid(1)) { mes "[Mr. Doppel]"; mes "So, everyone joined the party?"; mes "The name of the party is... " + .@pname$ + ", right?"; @@ -779,7 +779,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ mes "If you don't get there in time, you won't make it to the battle."; close; case 2: - if((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { mes "[Mr. Doppel]"; mes "So, you are the leader. Before going to the battlefield, you should check all your members."; next; @@ -797,7 +797,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ warp "poring_w02",153,82; end; } - }else{ + } else { mes "[Mr. Doppel]"; mes "Right. I'm gonna send you to the battle staging area."; mes "Wait for all the other party members there."; @@ -808,9 +808,9 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ end; } } - }else{ - if((getpartyleader(getcharid(1),2) == getcharid(0))) { - if($@wop_team_d == 0) { + } else { + if ((getpartyleader(getcharid(1),2) == getcharid(0))) { + if ($@wop_team_d == 0) { mes "[Mr. Doppel]"; mes "So, you are the party leader of Deviling Team."; mes "Are you sure all the members are in your party?"; @@ -842,7 +842,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ mes "The clock is ticking. Make up your mind and register as soon as you can."; close; } - }else{ + } else { mes "[Mr. Doppel]"; mes "So, you are the leader of the party."; mes "Haven't you finished the party registration yet?"; @@ -854,7 +854,7 @@ poring_w02,170,181,3 script Mr. Doppel#wop_team_d 739,{ mes "Please, confirm."; close; } - }else{ + } else { mes "[Mr. Doppel]"; mes "If you aren't a registered member of the party, you can't join the battle."; next; @@ -1089,7 +1089,7 @@ OnAngelingSpawn: OnMyMobDead: set $@wop_deadcount_a,$@wop_deadcount_a + 1; - if($@wop_deadcount_a == 1) { + if ($@wop_deadcount_a == 1) { mapannounce "poring_w02","Mr. Doppel: The Angeling on the 1st base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1123,7 +1123,7 @@ OnAngelingSpawn: OnMyMobDead: set $@wop_deadcount_a,$@wop_deadcount_a + 1; - if($@wop_deadcount_a == 1) { + if ($@wop_deadcount_a == 1) { mapannounce "poring_w02","Mr. Doppel: The Angeling on the 2nd base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1158,7 +1158,7 @@ OnDevilingSpawn: OnMyMobDead: set $@wop_deadcount_d,$@wop_deadcount_d + 1; - if($@wop_deadcount_d == 1) { + if ($@wop_deadcount_d == 1) { mapannounce "poring_w02","Mr. Doppel: The Deviling on the 1st base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1193,7 +1193,7 @@ OndevilingSpawn: OnMyMobDead: set $@wop_deadcount_d,$@wop_deadcount_d + 1; - if($@wop_deadcount_d == 1) { + if ($@wop_deadcount_d == 1) { mapannounce "poring_w02","Mr. Doppel: The deviling on the 2nd base has been killed! 1 point lost!!",0,0x00ff00; initnpctimer; } @@ -1226,14 +1226,14 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } set .@a_point,$@wop_deadcount_a; set .@d_point,$@wop_deadcount_d; - if(getcharid(1) == $@wop_team_a) { - if(.@a_point < .@d_point) { + if (getcharid(1) == $@wop_team_a) { + if (.@a_point < .@d_point) { mes "[Devi]"; mes "Good work!"; mes "Thanks to you, we increased our chances of victory."; mes "Please, accept these Poring Coins as a sign of our appreciation."; next; - if(wop_team == 1) { + if (wop_team == 1) { mes "[Devi]"; mes "Goodbye, my human friend."; close2; @@ -1253,13 +1253,13 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ end; } } - else if(.@a_point == .@d_point) { + else if (.@a_point == .@d_point) { mes "[Devi]"; mes "You did the best you could."; mes "I' ts a shame the battle was tied..."; mes "Even so, thanks for coming to fight for us. Please, accept this Poring Coin."; next; - if(wop_team == 1) { + if (wop_team == 1) { mes "[Devi]"; mes "Goodbye, my human friend."; close2; @@ -1281,7 +1281,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } } else { - if(wop_team == 1) { + if (wop_team == 1) { mes "[Devi]"; mes "Well, I guess we had bad luck..."; mes "I cant give you anything, since we lost and everything..."; @@ -1307,7 +1307,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } } } - else if(getcharid(1) == $@wop_team_d) { + else if (getcharid(1) == $@wop_team_d) { if (.@a_point > .@d_point) { mes "[Devi]"; mes "Good work!"; @@ -1334,13 +1334,13 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ end; } } - else if(.@a_point == .@d_point) { + else if (.@a_point == .@d_point) { mes "[Devi]"; mes "You did the best you could."; mes "It's a shame the battle was tied..."; mes "Even so, thanks for coming to fight for us. Please, accept this Poring Coin."; next; - if(wop_team == 2) { + if (wop_team == 2) { mes "[Devi]"; mes "Goodbye, my human friend."; close2; @@ -1362,7 +1362,7 @@ poring_w02,99,201,3 script Deviruchi#wop_endmaster 738,{ } } else { - if(wop_team == 2) { + if (wop_team == 2) { mes "[Devi]"; mes "Well, I guess we had bad luck..."; mes "I cant give you anything, since we lost and everything..."; @@ -1452,20 +1452,20 @@ OnTimer68100: //============================================================ poring_w02,99,52,0 script Angeling Guardian#wop_da 111,{ cutin "wop_emb0" + $@wop_doorcount_a,1; - if($@wop_doorcount_a < 4) { + if ($@wop_doorcount_a < 4) { if (wop_team == 2) { mes "There is a device to equip the War Badges."; mes "I can see the empty slots to equip the Badges."; next; switch(select("Equip War Badge.:Cancel.")) { case 1: - if(countitem(7773)) { - if($@wop_doorcount_a < 4) { + if (countitem(7773)) { + if ($@wop_doorcount_a < 4) { mes "War Badge equipped."; delitem 7773,1; // War_Badge set $@wop_doorcount_a,$@wop_doorcount_a + 1; cutin "wop_emb0" + $@wop_doorcount_a,1; - if($@wop_doorcount_a == 4) { + if ($@wop_doorcount_a == 4) { next; mes "Gate Activated."; donpcevent "#aroom_ingate_wop::OnEnable"; @@ -1549,20 +1549,20 @@ OnTouch: poring_w02,98,113,0 script Deviling Guardian#wop_dd 111,{ cutin "wop_emb0" + $@wop_doorcount_d,1; - if($@wop_doorcount_d < 4) { + if ($@wop_doorcount_d < 4) { if (wop_team == 1) { mes "There is a device to equip the War Badges."; mes "I can see the empty slots to equip the Badges."; next; switch(select("Equip War Badge.:Cancel.")) { case 1: - if(countitem(7773)) { - if($@wop_doorcount_d < 4) { + if (countitem(7773)) { + if ($@wop_doorcount_d < 4) { mes "War Badge equipped."; delitem 7773,1; // War_Badge set $@wop_doorcount_d,$@wop_doorcount_d + 1; cutin "wop_emb0" + $@wop_doorcount_d,1; - if($@wop_doorcount_d == 4) { + if ($@wop_doorcount_d == 4) { next; mes "Gate Activated."; donpcevent "#droom_ingate_wop::OnEnable"; @@ -1683,14 +1683,14 @@ OnTouch: emotion e_go,0,"Angeling Side Poring#wa4"; emotion e_go,0,"Angeling Side Poring#wa5"; next; - if(wop_team == 1) { + if (wop_team == 1) { mes "[Porings]"; mes "Ohhhhhh, there he is, the warrior that fought for us!!"; mes "Oh my god... Nice, ring!"; mes "Poring~ Poring~ Poooooo~"; mes "Party of Angeling~ Popopo, Poring!"; } - else if(wop_team == 2) { + else if (wop_team == 2) { mes "[Porings]"; mes "Wait, YOU! Aren't you on the side of the Devilings?!"; mes "Get out now! Leave!!"; @@ -1736,13 +1736,13 @@ OnTouch: emotion e_go,0,"Deviling Side Marin#wd4"; emotion e_go,0,"Deviling Side Marin#wd5"; next; - if(wop_team == 2) { + if (wop_team == 2) { mes "[Marins]"; mes "Ohhhh... Here is the warrior that fought for us!!"; mes "Amazing!"; mes "This proves that humans recognize us as true monsters!!"; } - else if(wop_team == 1) { + else if (wop_team == 1) { mes "[Marins]"; mes "Wait, YOU! Aren't you on the side of the Angelings?!"; mes "Get out now! Leave!!"; diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index 6edf85fa6b..643c402a85 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -4779,7 +4779,7 @@ alde_gld,186,199,3 script Turbo Track Guide#Entran 845,{ if (countitem(7310) > 0) delitem 7310,1; //Free_Peco_Ticket else - set zeny,zeny-.@zeny; + set Zeny, Zeny-.@zeny; } } switch(.@i) { diff --git a/npc/pre-re/guides/guides_comodo.txt b/npc/pre-re/guides/guides_comodo.txt index 2cebf87409..75b6bc4853 100644 --- a/npc/pre-re/guides/guides_comodo.txt +++ b/npc/pre-re/guides/guides_comodo.txt @@ -10,11 +10,12 @@ //= [Official Conversion] //= Guides for the City of Comodo //===== Additional Comments: ================================= -//= Fully working v1.1 Now using duplicate command. +//= Fully working +//= 1.1 Now using duplicate command. //= 1.2 Optimized, updated common guide names [Lupus] //= 1.3 Updated the guide according to how it is on iRO, thanks -//= to Muad_Dib [MasterOfMuppets] -//= 1.4 Removed 3 guides, and converted to use functions. +//= to Muad_Dib [MasterOfMuppets] +//= 1.4 Removed 3 guides, and converted to use functions. //= 1.5 Rescripted to official 10.3 standards. [L0ne_W0lf] //============================================================ diff --git a/npc/pre-re/guides/guides_geffen.txt b/npc/pre-re/guides/guides_geffen.txt index 28e7232c46..67b62fd7c2 100644 --- a/npc/pre-re/guides/guides_geffen.txt +++ b/npc/pre-re/guides/guides_geffen.txt @@ -11,13 +11,13 @@ //= Guides for the City of Geffen //===== Additional Comments: ================================= //= Fully working. Added a guide at every exit. -//= v1.1 Now using duplicate command. +//= 1.1 Now using duplicate command. //= 1.2 Optimized, updated common guide names [Lupus] //= 1.2a Small note that the BS guild moved to Einbroch [Poki#3] //= 1.3 Removed Duplicates [Silent] //= 1.4a Rescripted to official 10.3 standards. [L0ne_W0lf] //= 1.4 Fixed some errors with the loop[Samuray22] -// -Thanks to $ephiroth. +//= Thanks to $ephiroth. //============================================================ geffen,203,116,0 script Guide#gef::GefGuide 705,{ diff --git a/npc/pre-re/guides/guides_niflheim.txt b/npc/pre-re/guides/guides_niflheim.txt index 9a68d10d61..f0ec31774b 100644 --- a/npc/pre-re/guides/guides_niflheim.txt +++ b/npc/pre-re/guides/guides_niflheim.txt @@ -68,7 +68,7 @@ niflheim,107,156,6 script Roaming Man#nif 798,{ mes "special once I realized no"; mes "Potion can ease the pain I feel."; mes "...I wish I was in prison."; - Emotion e_wah; + emotion e_wah; viewpoint 1,217,196,3,0xCE6300; break; case 3: @@ -84,7 +84,7 @@ niflheim,107,156,6 script Roaming Man#nif 798,{ mes "the monsters here will just"; mes "make them angrier. You may as"; mes "well let them eat you."; - Emotion e_wah; + emotion e_wah; viewpoint 1,216,171,4,0x55FF33; break; case 4: diff --git a/npc/pre-re/jobs/1-1/acolyte.txt b/npc/pre-re/jobs/1-1/acolyte.txt index 841a965243..d2ed7cf5d8 100644 --- a/npc/pre-re/jobs/1-1/acolyte.txt +++ b/npc/pre-re/jobs/1-1/acolyte.txt @@ -19,8 +19,8 @@ //= 1.5 Now saves/restores all quest skills [Lupus] //= 1.6 Merged back JFunc [Lupus] //= 1.7 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_ToHigh" -//= Proper dialog for Priest job quest is unused (for now.) +//= No longer uses function "F_ToHigh" +//= Proper dialog for Priest job quest is unused (for now.) //= 1.7a Functions now make use of proper priest quest dialog [L0ne_W0lf] //= 1.8 Removed an Unnecessary "set job_acolyte_q,0;" [Samuray22] //= 1.8a More bug fixes care of Crashy. [L0ne_W0lf] diff --git a/npc/pre-re/jobs/1-1/archer.txt b/npc/pre-re/jobs/1-1/archer.txt index a4a96fff05..7d08670645 100644 --- a/npc/pre-re/jobs/1-1/archer.txt +++ b/npc/pre-re/jobs/1-1/archer.txt @@ -17,8 +17,8 @@ //= 1.5 Now saves/restores all quest skills [Lupus] //= 1.6 Merged back JFunc [Lupus] //= 1.7 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= Arrow reward is now equal to the type sof trunks brought. -//= No longer uses function "F_ToHigh" +//= Arrow reward is now equal to the type sof trunks brought. +//= No longer uses function "F_ToHigh" //= 1.7a Fixed minor dialogue bug at Grade==25 [Lupus] //= 1.8 Fixed mistake in condition check. [L0ne_W0lf] //= 1.9 Added Quest Log commands. [L0ne_W0lf] diff --git a/npc/pre-re/jobs/1-1/mage.txt b/npc/pre-re/jobs/1-1/mage.txt index 799cb8fc86..03aa963e90 100644 --- a/npc/pre-re/jobs/1-1/mage.txt +++ b/npc/pre-re/jobs/1-1/mage.txt @@ -18,7 +18,7 @@ //= 1.5 Now saves/restores all quest skills [Lupus] //= 1.6 Merged back JFunc, CHANGED NUMBERS TO CONSTANTS [Lupus] //= 1.7 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_ToHigh" +//= No longer uses function "F_ToHigh" //= 1.7a Fixed a "If" in the quest. (bugreport:489) [Samuray22] //= 1.8 Added Quest Log commands. [L0ne_W0lf] //= 1.9 Fixed an issue with completequest by adding checkquest. [Kisuka] @@ -87,7 +87,7 @@ geffen_in,164,124,4 script Mage Guildsman 123,{ } if (job_magician_q == 0) { mes "Wanna be a Mage, eh...?"; - if (sex) + if (Sex) mes "Hey, look at you! You're kinda cute~! Not my type though..."; else { mes "Oooh, you're such a hot babe~!"; @@ -232,7 +232,7 @@ geffen_in,164,124,4 script Mage Guildsman 123,{ case 2: mes "[Mage Guildsman]"; mes "Wanna be a Mage, eh?"; - if (sex) + if (Sex) mes "For a cutie like you, I'd be happy to explain the requirements!"; else mes "I'd be happy to explain the requirements for a pretty girl like you!"; diff --git a/npc/pre-re/jobs/1-1/merchant.txt b/npc/pre-re/jobs/1-1/merchant.txt index 93d502794d..1763626140 100644 --- a/npc/pre-re/jobs/1-1/merchant.txt +++ b/npc/pre-re/jobs/1-1/merchant.txt @@ -20,7 +20,7 @@ //= 1.6 Merged back JFunc, CHANGED NUMBERS TO CONSTANTS [Lupus] //= 1.7 Updated to use Free Ticket for Kafra [Lupus] //= 1.8 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_ToHigh" +//= No longer uses function "F_ToHigh" //= 1.9 Bugfixes, thanks to Barron-Monster. [L0ne_W0lf] //= 1.9a Added a missing next; (Barron-Monster) [L0ne_W0lf] //= 1.9b Typo. "nextl" -> "next;" (Barron-Monster) [L0ne_W0lf] @@ -135,7 +135,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{ mes "Please return when you have earned the 500 zeny that you need to become a Merchant."; close; } - set zeny,zeny-500; + set Zeny, Zeny-500; mes "Ah yes...!"; mes "Now your"; mes "membership"; @@ -171,7 +171,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{ mes "[Chief Mahnsoo]"; mes "*Ahem* Aaaaand let me give you a little bit of money for delivering that message to Blossom for me."; mes "I hope you'll help me again next time~"; - set zeny,zeny+200; + set Zeny, Zeny+200; set quest_alb_01,2; } else { @@ -343,7 +343,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{ mes "[Chief Mahnsoo]"; if (Zeny >= 1000) { set job_merchant_q,2; - set zeny,zeny-1000; + set Zeny, Zeny-1000; mes "Alright~"; mes "That's 1,000 zeny."; mes "Excellent, excellent."; @@ -357,7 +357,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{ mes "[Chief Mahnsoo]"; if (Zeny >= 500) { set job_merchant_q,1; - set zeny,zeny-500; + set Zeny, Zeny-500; mes "Let's see..."; mes "That's 500 Zeny. Although I don't think splitting payment is a good idea for any Merchant, it's alright since you're still learning."; } @@ -1060,7 +1060,7 @@ prontera,248,42,0 script Kafra Employee#mer 116,{ cutin "",255; end; } - set zeny,zeny-600; + set Zeny, Zeny-600; set RESRVPTS, RESRVPTS + 37; cutin "",255; warp "izlude",94,103; diff --git a/npc/pre-re/jobs/1-1/swordman.txt b/npc/pre-re/jobs/1-1/swordman.txt index 36ddc9d219..55f350ad01 100644 --- a/npc/pre-re/jobs/1-1/swordman.txt +++ b/npc/pre-re/jobs/1-1/swordman.txt @@ -27,8 +27,8 @@ //= 1.7 changed location from its clone to the original [Lupus] //= 1.7.1 Fixed warp on timeout [KarLaeda] //= 1.8 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= Removed "green" traps, quest is no longer timed. -//= No longer uses function "F_ToHigh" +//= Removed "green" traps, quest is no longer timed. +//= No longer uses function "F_ToHigh" //= 1.9 Dialog is official, but the Script is now custom as far as maps go. [L0ne_W0lf] //= 1.9b Fixed usage of wrong jobchange func messing up baby classes [ultramage] //= 2.0 Corrected NPC names to fall within proper resctrictions. [L0ne_W0lf] diff --git a/npc/pre-re/jobs/1-1/thief.txt b/npc/pre-re/jobs/1-1/thief.txt index aa5c6a108e..fe54ad4bb5 100644 --- a/npc/pre-re/jobs/1-1/thief.txt +++ b/npc/pre-re/jobs/1-1/thief.txt @@ -14,11 +14,11 @@ //= 1.1 Added instant job change for High Novice [Lupus] //= 1.3 Added Baby Class support [Lupus] //= 1.4 Optimised and moved first checker to Jfunc1-1 [massdriller] -//= Fixed possible EXP abuse [Lupus] +//= Fixed possible EXP abuse [Lupus] //= 1.5 Now saves/restores all quest skills [Lupus] //= 1.6 Merged back JFunc [Lupus] 1.6a typos //= 1.7 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] -//= No longer uses function "F_ToHigh" +//= No longer uses function "F_ToHigh" //= 1.8 Added Quest Log commands. [L0ne_W0lf] //============================================================ @@ -52,7 +52,7 @@ moc_prydb1,39,129,2 script Thief Guide 69,{ } else { mes "[Thief Guide]"; - if (sex) + if (Sex) mes "Hey, dude."; else mes "Hey, baby~"; @@ -61,7 +61,7 @@ moc_prydb1,39,129,2 script Thief Guide 69,{ } else { mes "[Thief Guide]"; - if (sex) + if (Sex) mes "Hey, dude."; else mes "Hey, baby."; @@ -445,7 +445,7 @@ moc_prydb1,42,133,2 script Comrade 118,{ next; mes "[Brad]"; mes "Here is a small subsidy for a Newbie like you. Spend it whereever you want. Alright then, I'll see you around~"; - set zeny,zeny+.@money_thief; + set Zeny, Zeny+.@money_thief; close; } } diff --git a/npc/pre-re/jobs/novice/novice.txt b/npc/pre-re/jobs/novice/novice.txt index cbf4ca5094..b6a805bd43 100644 --- a/npc/pre-re/jobs/novice/novice.txt +++ b/npc/pre-re/jobs/novice/novice.txt @@ -4284,7 +4284,7 @@ new_5-3,0,0,0,0 monster Fabre 1184,5,0,0,0 // Old changelog //============================================================ //= 1.0 Added the New Novice Training Grounds, a big thanks [MasterOfMuppets] -//= to Dr.Evil who did 90% of the work =) +//= to Dr.Evil who did 90% of the work =) //= 1.0b Temp measure to stop exploits. [Vicious] //= 1.2 Removed Duplicates [Silent] //= 1.3 Removed Duplicates [Toms] diff --git a/npc/pre-re/mobs/dungeons/gefenia.txt b/npc/pre-re/mobs/dungeons/gefenia.txt index a3b1214f6c..2f22723237 100644 --- a/npc/pre-re/mobs/dungeons/gefenia.txt +++ b/npc/pre-re/mobs/dungeons/gefenia.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Geffenia Dungeon Monster Spawn Script //===== By: ================================================== -//= Muad_Dib, rAthena dev team +//= Muad_Dib, rAthena Dev Team //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== diff --git a/npc/pre-re/mobs/dungeons/juperos.txt b/npc/pre-re/mobs/dungeons/juperos.txt index 67c9f4395e..376560b626 100644 --- a/npc/pre-re/mobs/dungeons/juperos.txt +++ b/npc/pre-re/mobs/dungeons/juperos.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Juperos Dungeon Monster Spawn Script //===== By: ================================================== -// The Prometheus Project, rAthena dev team +// The Prometheus Project, rAthena Dev Team //===== Current Version: ===================================== //= 1.4 //===== Compatible With: ===================================== diff --git a/npc/pre-re/mobs/dungeons/lhz_dun.txt b/npc/pre-re/mobs/dungeons/lhz_dun.txt index c7dec695a2..f50377b6b8 100644 --- a/npc/pre-re/mobs/dungeons/lhz_dun.txt +++ b/npc/pre-re/mobs/dungeons/lhz_dun.txt @@ -1,20 +1,20 @@ //===== rAthena Script ======================================= //= Lighthalzen Dungeon(Biolabs) Monster Spawn Script //===== By: ================================================== -// The Prometheus Project, rAthena dev team +//= The Prometheus Project, rAthena Dev Team //===== Current Version: ===================================== //= 1.8 //===== Compatible With: ===================================== //= Any Athena //===== Additional Comments: ================================= //= 08/24/05 : Added 1st version. [Muad_Dib] -//= 1.1: Some corrections to level 1, 2 as pointed out by -//= MasterofMuppets. [Skotlex] -//= 1.3: Some fixes based on kRO's "RO Map" [Poki#3] -//= I also made the place more Moby ^^ -//= 1.4: Adjusted spawns according to own info from iRO [MasterOfMuppets] -//= 1.5: More accurate spawn numbers and iRO names thanks to Tharis [Playtester] -//= 1.6: Official X.3 spawns [Playtester] +//= 1.1 Some corrections to level 1, 2 as pointed out by +//= MasterofMuppets. [Skotlex] +//= 1.3 Some fixes based on kRO's "RO Map" [Poki#3] +//= I also made the place more Moby ^^ +//= 1.4 Adjusted spawns according to own info from iRO [MasterOfMuppets] +//= 1.5 More accurate spawn numbers and iRO names thanks to Tharis [Playtester] +//= 1.6 Official X.3 spawns [Playtester] //= 1.7 Corrected MVP spawn function to be standard to iRO. [L0ne_W0lf] //= - A random 99 will now be spawned when the MVP spawns. //= - Spare spawn and MVP spawn now spawn in official locations. @@ -23,11 +23,9 @@ //= 1.8 Corrected MVP spawn variance (Labs2 MVP). [L0ne_W0lf] //============================================================ - //======================================================================================== // lhz_dun01 - Bio-life Labs 1F //======================================================================================== - lhz_dun01,0,0,0,0 monster Metaling 1613,50,0,0,0 lhz_dun01,0,0,0,0 monster Anopheles 1627,70,0,0,0 lhz_dun01,0,0,0,0 monster Remover 1682,100,0,0,0 @@ -66,7 +64,6 @@ lhz_dun01,0,0,0,0 monster Gemini-S58 1681,1,7200000,5400000,0 //======================================================================================== // lhz_dun02 - Bio-life Labs 2F //======================================================================================== - lhz_dun02,0,0,0,0 monster Egnigem Cenia 1652,26,0,0,0 lhz_dun02,0,0,0,0 monster Wickebine Tres 1653,26,0,0,0 lhz_dun02,0,0,0,0 monster Armeyer Dinze 1654,26,0,0,0 @@ -99,7 +96,6 @@ lhz_dun02,0,0,0,0 boss_monster Egnigem Cenia 1658,1,7200000,600000,1 //======================================================================================== // lhz_dun03 - Bio-life Labs 3F //======================================================================================== - lhz_dun03,140,235,116,30 monster Seyren Windsor 1634,4,180000,120000,0 lhz_dun03,140,235,116,30 monster Eremes Guile 1635,4,180000,120000,0 lhz_dun03,140,235,116,30 monster Howard Alt-Eisen 1636,4,180000,120000,0 diff --git a/npc/pre-re/mobs/fields/einbroch.txt b/npc/pre-re/mobs/fields/einbroch.txt index bdaaf59dad..2245c6eac1 100644 --- a/npc/pre-re/mobs/fields/einbroch.txt +++ b/npc/pre-re/mobs/fields/einbroch.txt @@ -14,9 +14,9 @@ //= again for providing the information [MasterOfMuppets] //= 1.2a Fixed missing tabs [Lupus] //= 1.3 Updated after Episode 10.4 - Hugel [Poki#3] -//= Mob quantity is custom. +//= Mob quantity is custom. //= 1.3b Changed the spawn numbers a bit. [Poki#3] -//= Thanks to Playtester and Emperium.org +//= Thanks to Playtester and Emperium.org //= 1.4 Updated by using Tharis' Homun AI, by Tharis [Vicious] //= 1.5 Adjusted some spawns according to official info [Playtester] //= 1.6 More accurate spawns [Playtester] diff --git a/npc/pre-re/mobs/fields/hugel.txt b/npc/pre-re/mobs/fields/hugel.txt index 0946379cee..03a7c49ce8 100644 --- a/npc/pre-re/mobs/fields/hugel.txt +++ b/npc/pre-re/mobs/fields/hugel.txt @@ -10,9 +10,9 @@ //= Spawns for hu_fild05 and hu_fild04, numbers may not be correct [MasterOfMuppets] //= 0.2 Fixed Petit ID //= 0.3 Updated the spawns using kRO's website as info, [MasterOfMuppets] -//= thanks to battousai90 +//= thanks to battousai90 //= 0.4 Updated after Episode 10.4 - Hugel [Poki#3] -//= Mob quantity is custom. +//= Mob quantity is custom. //= 1.0 Updated by using Tharis' Homun AI, by Tharis [Vicious] //= 1.1 Official X.3 spawns [Playtester] //= 1.2 Some 11.1 spawn updates [Playtester] diff --git a/npc/pre-re/mobs/fields/lighthalzen.txt b/npc/pre-re/mobs/fields/lighthalzen.txt index 45d9c5f02a..a5987d10a1 100644 --- a/npc/pre-re/mobs/fields/lighthalzen.txt +++ b/npc/pre-re/mobs/fields/lighthalzen.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Lighthalzen Fields Monster Spawn Script //===== By: ================================================== -//= Muad_Dib, rAthena dev team +//= Muad_Dib, rAthena Dev Team //===== Current Version: ===================================== //= 1.5 //===== Compatible With: ===================================== @@ -10,7 +10,7 @@ //= 1.0 by Muad_Dib (Prometheus Project) //= 1.1 Added Porcellio by MasterOfMuppets //= 1.2 Corrected monsters. Many thanks to vicious_pucca for -//= the information [MasterOfMuppets] +//= the information [MasterOfMuppets] //= 1.3 Updated acordingly to Episode 10.4 [Poki#3] //= 1.4 Fully updated X.4 spawns [Playtester] //= 1.5 More accurate spawns [Playtester] diff --git a/npc/pre-re/mobs/fields/yuno.txt b/npc/pre-re/mobs/fields/yuno.txt index 7a379d9474..2ee2ef48b9 100644 --- a/npc/pre-re/mobs/fields/yuno.txt +++ b/npc/pre-re/mobs/fields/yuno.txt @@ -11,11 +11,11 @@ //= 1.2 New/Better Spawn [Muad_Dib] //= 1.3 Fix Up [Darkchild] //= 1.4 Updated monster spawns. Many thanks to vicious_pucca for -//= providing the information [MasterOfMuppets] +//= providing the information [MasterOfMuppets] //= 1.5 Updated after Episode 10.4 - Hugel [Poki#3] -//= Mob quantity is custom. +//= Mob quantity is custom. //= 1.5b Changed the spawn numbers a bit. [Poki#3] -//= Thanks to Playtester and Emperium.org +//= Thanks to Playtester and Emperium.org //= 1.6 Fixed Yuno Field 10. Mob amount sugested by Playtester [Poki#3] //= 1.7 Updated by using Tharis' Homun AI, by Tharis [Vicious] //= 1.8 Added kRO 10.1 spawns where they fit [Playtester] diff --git a/npc/pre-re/quests/collection/quest_disguiseloliruri.txt b/npc/pre-re/quests/collection/quest_disguiseloliruri.txt index 42ff4800cc..d922a0c70c 100644 --- a/npc/pre-re/quests/collection/quest_disguiseloliruri.txt +++ b/npc/pre-re/quests/collection/quest_disguiseloliruri.txt @@ -109,7 +109,7 @@ nif_fild02,332,327,4 script Deadman 795,{ next; switch(select("Disguise:Loli Ruri:Cancel")) { case 1: - if(BaseLevel > 90){ + if (BaseLevel > 90) { mes "[Deadman]"; mes "Thank you for your great help with the Disguise!"; mes "Currently the Situation is stable and i'm not in need of your help anymore to kill them."; @@ -120,7 +120,7 @@ nif_fild02,332,327,4 script Deadman 795,{ setquest 60173; close; case 2: - if(BaseLevel > 98){ + if (BaseLevel > 98) { mes "[Deadman]"; mes "Thank you for your great help with the Loli Ruri!"; mes "Currently the Situation is stable and i'm not in need of your help anymore to kill them."; diff --git a/npc/pre-re/quests/collection/quest_mantis.txt b/npc/pre-re/quests/collection/quest_mantis.txt index 5e9249a1c6..ff0fc5b7ba 100644 --- a/npc/pre-re/quests/collection/quest_mantis.txt +++ b/npc/pre-re/quests/collection/quest_mantis.txt @@ -71,7 +71,7 @@ lou_fild01,240,354,4 script Mantis Researcher 878,{ next; switch(select("Sure:Cancel")) { case 1: - if(BaseLevel > 70){ + if (BaseLevel > 70) { mes "[Mantis Researcher]"; mes "Thank you for your great help with the Mantis!"; mes "Currently the Situation is stable and i'm not in need of your help anymore to kill them."; diff --git a/npc/pre-re/quests/collection/quest_zhupolong.txt b/npc/pre-re/quests/collection/quest_zhupolong.txt index bf39996835..f5aa6b89d1 100644 --- a/npc/pre-re/quests/collection/quest_zhupolong.txt +++ b/npc/pre-re/quests/collection/quest_zhupolong.txt @@ -71,7 +71,7 @@ lou_dun02,161,264,4 script Dragon Hunter 732,{ next; switch(select("Sure:Cancel")) { case 1: - if(BaseLevel > 90){ + if (BaseLevel > 90) { mes "[Dragon Hunter]"; mes "Thank you for your great help with the Zhu Po Long!"; mes "Currently the Situation is stable and i'm not in need of your help anymore to kill them."; diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt index 01ead56e6a..4fcbb27a4c 100644 --- a/npc/quests/bard_quest.txt +++ b/npc/quests/bard_quest.txt @@ -23,7 +23,7 @@ //= //= This Quest has relation with brisingamen_seal.txt (Seals) //= 1.2 Changed variable to "gef_bards_q" to avoid job quest conflict. [L0ne_W0lf] -//= Progress prior to the 5th+ step will be lost. Job quest takes priority. +//= Progress prior to the 5th+ step will be lost. Job quest takes priority. //= 1.3 Fixed experience gains to match upcoming rate adjustments. [SinSloth] //= 1.4 Replaced effect numerics with constants. [L0ne_W0lf] //= 1.5 Updated RE/Pre-RE EXP. [Euphy] @@ -515,7 +515,7 @@ geffen,132,38,3 script Bard#2 51,{ mes "At Nine, love is reborn."; mes "At Ten, my Love is gone."; mes "At Eleven I find out why."; - if (sex) + if (Sex) mes "At Twelve I see his new girlfriend?"; else mes "At Twelve I see her new boyfriend?"; @@ -849,7 +849,7 @@ geffen,132,38,3 script Bard#2 51,{ mes "At Nine, love is reborn."; mes "At Ten, my Love is gone."; mes "At Eleven I find out why."; - if (sex) + if (Sex) mes "At Twelve I see her new boyfriend?"; else mes "At Twelve I see his new girlfriend?"; @@ -1128,8 +1128,8 @@ S_StorySong: case 1: mes "[Errende]"; - if (zeny > 499) { - set zeny,zeny-500; + if (Zeny > 499) { + set Zeny, Zeny-500; cutin "bard_eland03",2; mes "Alright."; mes "Here we go~"; @@ -1253,7 +1253,7 @@ S_StorySong: // For 3 and 4 cases we set more chance earlier on .@random if(getarg(0) == 3 || getarg(0) == 4){ mes "[Errende]"; - if (sex) + if (Sex) mes "Heroic warrior,"; else mes "My fair lady,"; @@ -2040,7 +2040,7 @@ morocc,134,111,3 script Bard#3 741,{ } } else { - if (sex) { + if (Sex) { mes "[Kino Kitty]"; mes "You're such a nice young man. I will remember your name. I would much appreciate it if you would also remember mine."; next; @@ -2906,7 +2906,7 @@ yuno_in04,33,119,3 script Adventurer#1 828,{ mes "Err...?"; mes "What is it?"; next; - if (!sex) { + if (!Sex) { emotion e_heh; mes "[Energetic Young Man]"; mes "Oh...!"; diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt index 6b481020be..476992da99 100644 --- a/npc/quests/cooking_quest.txt +++ b/npc/quests/cooking_quest.txt @@ -15,13 +15,13 @@ //= 1.2 Fixed exploit, some typos [Lupus] //= 1.3 Fixed wrong label [Lupus] 1.3a updated to Reddozen's changes //= 1.3b Fixed wrong id, fixed Puch quest, added more Pouch Quest -//= dialogues [Lupus] +//= dialogues [Lupus] //= 1.4 Fixed spelling, added some dialoguesm optimized -//= fixed bugs. Tested, fully working [Lupus] +//= fixed bugs. Tested, fully working [Lupus] //= 1.5 More fixes [Lupus] //= 1.6 Quest is now up to iRO 10.3 standards. [L0ne_W0lf] //= - Not sure what the EnableItemMove is for, as there is no -//= command to disable being able to move items. +//= command to disable being able to move items. //= 1.6a Corrected a bad cutin, a Typo error ";;" and a bad delitem (bugreport:911) [Samuray22] //= 1.6b Corrected a "donpcevent" missing a ":". (bugreport:962) [Samuray22] //= 1.7 Replaced effect numerics with constants. [L0ne_W0lf] @@ -30,8 +30,7 @@ //============================================================ prt_castle,43,30,3 script Charles Orleans#cook 878,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "[Charles Orleans]"; mes "Just one second."; mes "You're carrying too"; @@ -44,7 +43,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 878,{ end; } if (BaseJob == Job_Novice) { - if (sex) { + if (Sex) { cutin "orleans_5",0; mes "[Charles Orleans]"; mes "Excuse me, monsieur?"; @@ -81,7 +80,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 878,{ goto L_End; } else if (getequipid(1) != 5026) { - if (sex) { + if (Sex) { cutin "orleans_5",0; emotion e_an; mes "[Charles Orleans]"; @@ -1482,8 +1481,7 @@ L_End: } prt_castle,45,35,5 script Madeleine Chu#cook 886,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "[Madeleine Chu]"; mes "I'm sorry, but right now"; mes "you're carrying too many"; @@ -2095,7 +2093,7 @@ S_SellSets: } set .@total_cost,.@sell * .@item_cost; set .@total_weight,.@sell * .@item_weight; - if (zeny < .@total_cost) { + if (Zeny < .@total_cost) { mes "[Madeleine Chu]"; mes "Oh, I'm sorry, but you"; mes "can't afford this many"; @@ -2112,7 +2110,7 @@ S_SellSets: mes getitemname(getarg(0))+"..."; close; } - set zeny,zeny-.@total_cost; + set Zeny, Zeny-.@total_cost; getitem getarg(0),.@sell; mes "[Madeleine Chu]"; mes "Here you are~"; @@ -2191,7 +2189,7 @@ payon,209,127,3 script Servant 88,{ next; switch(select("Sure, I'll buy one!:No, thanks.:Actually, Madeleine sent me...")) { case 1: - if (zeny < 200) { + if (Zeny < 200) { mes "[Chulsoo]"; mes "Oh, I'm sorry, but"; mes "you don't have enough"; @@ -2200,7 +2198,7 @@ payon,209,127,3 script Servant 88,{ mes "raise 200 zeny, right?"; close; } - set zeny,zeny-200; + set Zeny, Zeny-200; getitem 555,1; //Rice_Cake mes "[Chulsoo]"; mes "Thank you very"; @@ -2362,7 +2360,7 @@ payon,209,127,3 script Servant 88,{ mes "it's oh-so-delicious~"; next; if (select("Sure, I'll buy one!:No, thanks.") == 1) { - if (zeny < 200) { + if (Zeny < 200) { mes "[Chulsoo]"; mes "Oh, I'm sorry, but"; mes "you don't have enough"; @@ -2371,7 +2369,7 @@ payon,209,127,3 script Servant 88,{ mes "raise 200 zeny, right?"; close; } - set zeny,zeny-200; + set Zeny, Zeny-200; getitem 555,1; //Rice_Cake mes "[Chulsoo]"; mes "Thank you very"; diff --git a/npc/quests/counteragent_mixture.txt b/npc/quests/counteragent_mixture.txt index 8a51fdc95f..ca6a716857 100644 --- a/npc/quests/counteragent_mixture.txt +++ b/npc/quests/counteragent_mixture.txt @@ -471,7 +471,7 @@ geffen_in,141,140,3 script Molgenstein#cm 121,{ delitem 970,1; //Alchol delitem 971,1; //Detrimindexta delitem 713,1; //Empty_Bottle - set zeny,zeny-3000; + set Zeny, Zeny-3000; getitem 973,1; //Counteragent mes "[Chemist Molgenstein]"; mes "Hee hee hee..."; @@ -515,7 +515,7 @@ geffen_in,141,140,3 script Molgenstein#cm 121,{ delitem 970,1; //Alchol delitem 972,1; //Karvodailnirol delitem 713,1; //Empty_Bottle - set zeny,zeny-4000; + set Zeny, Zeny-4000; getitem 974,1; //Mixture mes "[Chemist Molgenstein]"; mes "Hee hee hee..."; diff --git a/npc/quests/doomed_swords.txt b/npc/quests/doomed_swords.txt index 81228fc745..89e10b2e35 100644 --- a/npc/quests/doomed_swords.txt +++ b/npc/quests/doomed_swords.txt @@ -19,7 +19,7 @@ //= 1.1 Fixed items count check. For all 3 swords... [Lupus] //= 1.3 Fixed exploit [Lupus] //= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Moved all non-related NPCs to their repsective files. +//= Moved all non-related NPCs to their repsective files. //= 1.5 Added missing checkweight. [L0ne_W0lf] //============================================================ diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt index 2074420587..c517330d2e 100644 --- a/npc/quests/eye_of_hellion.txt +++ b/npc/quests/eye_of_hellion.txt @@ -15,7 +15,7 @@ //= is the one that remained active on main servers. //===== Additional Comments: ================================= //= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Tracking variable is not backwards compatable meaning +//= Tracking variable is not backwards compatable meaning //= you can again repeat this quest from the start. //= 1.6 Fixed issue with #prt_key-1-1. [L0ne_W0lf] //= 1.7 Corrected remnants from Official Conversion. [L0ne_W0lf] @@ -1373,7 +1373,7 @@ payon,182,132,3 script Grout'he Tuccok#hellion 48,{ mes "clean and pure Skirt of Virgin."; mes "If you got any more questions,"; mes "I guess you can ask me later~"; - set zeny,zeny-10000; + set Zeny, Zeny-10000; set HELLIONQ,48; getitem 953,1; //Stone_Heart getitem 511,1; //Green_Herb diff --git a/npc/quests/juice_maker.txt b/npc/quests/juice_maker.txt index 4929711a2c..1fe1be7dad 100644 --- a/npc/quests/juice_maker.txt +++ b/npc/quests/juice_maker.txt @@ -13,7 +13,7 @@ //= Condition if done: (MISC_QUEST & 1) //===== Additional Comments: ================================= //= 1.9 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Added tracking variables in, which are unset when complete. +//= Added tracking variables in, which are unset when complete. //= 2.0 Added missing checkweight. [L0ne_W0lf] //= 2.1 Fixed dialog for if your missing the needed items (He always said the dialog for grape juice). [Kisuka] //============================================================ @@ -271,7 +271,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 86,{ } delitem .@fruit,.@make; delitem 713,.@make; - set zeny,zeny-.@total_zeny; + set Zeny, Zeny-.@total_zeny; getitem .@juice,.@make; mes "[Merchant Marx Hansen]"; @@ -343,10 +343,10 @@ payon_in03,188,146,5 script Marx Hansen#juice 86,{ //= 1.2 fixed misplaced Grape<->Carrot juices [Lupus] //= 1.3 added a loopless menu 'as many as possible' [Lupus] //= 1.3a Turned the juice making part of the Juicer npc into a -//= subfunc. Changed fruit amount needed to 1.[kobra_k88] -//= Fixed exploits [Lupus] +//= subfunc. Changed fruit amount needed to 1.[kobra_k88] +//= Fixed exploits [Lupus] //= 1.6 fixed typo (where did @ipnut came from?) [Lance] //= 1.8 got rid of vars: 'MEAT',"MARIANNE","MORRISON" -//= From now, all common quests start using bits of the -//= same variable MISC_QUEST [Lupus] +//= From now, all common quests start using bits of the +//= same variable MISC_QUEST [Lupus] //============================================================ diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt index d80dfaa78b..b6720370b7 100644 --- a/npc/quests/kiel_hyre_quest.txt +++ b/npc/quests/kiel_hyre_quest.txt @@ -414,7 +414,7 @@ yuno_in01,35,179,4 script Pub Master#kh 46,5,5,{ mes "Thank you so much"; mes "for helping me out~"; getitem 7487,1; //Tavern_Wine - set zeny,zeny+1000; + set Zeny, Zeny+1000; close; } else { @@ -2124,10 +2124,6 @@ kh_vila,191,14,0 script Wall#kh 139,1,1,{ close; } } - -OnOpenDoor: - misceffect 316; - end; } //---------------------------------------------------------------------------- @@ -2148,8 +2144,8 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 111,{ mes "pull it towards you, the"; mes "wall slides opens open"; mes "to reveal a secret path.^000000"; - donpcevent "Wall#kh::OnOpenDoor"; set KielHyreQuest,28; + specialeffect EF_READYPORTAL2,AREA,"Wall#kh"; close; } else { @@ -2162,11 +2158,8 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 111,{ } } - kh_vila,181,20,0 duplicate(BookKHQ1) Book#kh2 111 - kh_vila,178,20,0 duplicate(BookKHQ1) Book#kh3 111 - kh_vila,175,19,0 duplicate(BookKHQ1) Book#kh4 111 //---------------------------------------------------------------------------- @@ -2215,7 +2208,7 @@ kh_vila,16,175,0 script Box#khp1 111,{ next; switch(select("Buy!:Cancel")) { case 1: - if (zeny < 1100) { + if (Zeny < 1100) { mes "^3355FFUnfortunately, you"; mes "don't have enough"; mes "zeny to insert into"; @@ -2235,7 +2228,7 @@ kh_vila,16,175,0 script Box#khp1 111,{ mes "special about it"; mes "at all! It's just"; mes "normal Pet Food!"; - set zeny,zeny-1100; + set Zeny, Zeny-1100; getitem 537,1; //Pet_Food close; } @@ -4662,7 +4655,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 903,{ getitem 7509,1; //Fancy_Key_Card set KielHyreQuest,108; next; - if (sex == 0) { + if (Sex == 0) { if (getpartnerid() == 0) set .@KHTitle$,"Miss"; else set .@KHSTitle$,"Mrs"; } @@ -5172,12 +5165,12 @@ OnTouch: OnEnable: initnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnTimer30000: stopnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; disablenpc "Kiehl_Room_Warp"; end; @@ -6081,7 +6074,7 @@ kh_kiehl01,44,33,0 script Big Door#BigDoorKHQ1 111,{ kh_kiehl01,43,33,0 script Big_Door_1_Warp 45,1,1,{ OnEnable: initnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnInit: @@ -6090,7 +6083,7 @@ OnInit: OnTimer30000: stopnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; disablenpc "Big_Door_1_Warp"; set getvariableofnpc(.KHDoor1Opened,"Big Door#BigDoorKHQ1"),0; end; @@ -6141,7 +6134,7 @@ kh_kiehl01,174,40,0 script Big Door#BigDoorKHQ2 111,{ kh_kiehl01,174,39,0 script Big_Door_2_Warp 45,1,1,{ OnEnable: initnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnInit: @@ -6150,7 +6143,7 @@ OnInit: OnTimer30000: stopnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; disablenpc "Big_Door_2_Warp"; set getvariableofnpc(.KHDoor2Opened,"Big Door#BigDoorKHQ2"),0; end; @@ -6201,7 +6194,7 @@ kh_kiehl01,77,108,0 script Big Door#BigDoorKHQ3 111,{ kh_kiehl01,78,108,0 script Big_Door_3_Warp 45,1,1,{ OnEnable: initnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnInit: @@ -6210,7 +6203,7 @@ OnInit: OnTimer30000: stopnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; disablenpc "Big_Door_3_Warp"; set getvariableofnpc(.KHDoor3Opened,"Big Door#BigDoorKHQ3"),0; end; @@ -6261,7 +6254,7 @@ kh_kiehl01,42,177,0 script Big Door#BigDoorKHQ4 111,{ kh_kiehl01,41,177,0 script Big_Door_4_Warp 45,1,1,{ OnEnable: initnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnInit: @@ -6270,7 +6263,7 @@ OnInit: OnTimer30000: stopnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; disablenpc "Big_Door_4_Warp"; set getvariableofnpc(.KHDoor4Opened,"Big Door#BigDoorKHQ4"),0; end; @@ -6472,12 +6465,12 @@ kh_kiehl01,166,186,0 script Big_Door_5_Warp 45,1,1,{ OnEnable: initnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnTimer30000: stopnpctimer; - misceffect 215; + specialeffect EF_SUMMONSLAVE; disablenpc "Big_Door_5_Warp"; set getvariableofnpc(.KHDoor5Opened,"Big Door#BigDoorKHQ5"),0; end; @@ -6705,9 +6698,13 @@ kh_kiehl02,50,52,4 script Kiehl#Original 902,{ mes "jobs--sort of like robots-- but"; mes "don't worry, they won't be hurt."; next; - donpcevent "::OnKHSpiderWeb"; mes "[Mitchell]"; mes "Nooooo!"; + specialeffect PF_FOGWALL,AREA,"Mitchell#KiehlRoom"; + specialeffect PF_FOGWALL,AREA,"Agent#KHAgent1"; + specialeffect PF_FOGWALL,AREA,"Agent#KHAgent2"; + specialeffect PF_FOGWALL,AREA,"Agent#KHAgent3"; + specialeffect PF_FOGWALL,AREA,"Agent#KHAgent4"; next; cutin "kh_kiel03",2; mes "[Kiehl]"; @@ -7071,63 +7068,18 @@ OnReset: } //---------------------------------------------------------------------------- -// Kiehl's Room; Mitchell and Agents. (Floating NPC + Duplicates) +// Kiehl's Room; Mitchell and Agents. //---------------------------------------------------------------------------- kh_kiehl02,49,55,6 script Mitchell#KiehlRoom 727,{ end; OnInit: - hideonnpc "Mitchell#KiehlRoom"; - end; - -OnKHSpiderWeb: - misceffect 404; + hideonnpc strnpcinfo(0); end; } - -kh_kiehl02,53,52,4 script Agent#KHAgent1 880,{ - end; -OnInit: - hideonnpc "Agent#KHAgent1"; - end; - -OnKHSpiderWeb: - misceffect 404; - end; -} - -kh_kiehl02,51,49,1 script Agent#KHAgent2 880,{ - end; -OnInit: - hideonnpc "Agent#KHAgent2"; - end; - -OnKHSpiderWeb: - misceffect 404; - end; -} - -kh_kiehl02,47,50,0 script Agent#KHAgent3 880,{ - end; -OnInit: - hideonnpc "Agent#KHAgent3"; - end; - -OnKHSpiderWeb: - misceffect 404; - end; -} - -kh_kiehl02,46,53,6 script Agent#KHAgent4 880,{ - end; -OnInit: - hideonnpc "Agent#KHAgent4"; - end; - -OnKHSpiderWeb: - misceffect 404; - end; -} - +kh_kiehl02,53,52,4 duplicate(Mitchell#KiehlRoom) Agent#KHAgent1 880 +kh_kiehl02,51,49,1 duplicate(Mitchell#KiehlRoom) Agent#KHAgent2 880 +kh_kiehl02,47,50,0 duplicate(Mitchell#KiehlRoom) Agent#KHAgent3 880 +kh_kiehl02,46,53,6 duplicate(Mitchell#KiehlRoom) Agent#KHAgent4 880 //---------------------------------------------------------------------------- // Kiehl's Room; Copy of Kiehl. @@ -7151,7 +7103,7 @@ OnTouch: end; OnEnable: - misceffect 215; + specialeffect EF_SUMMONSLAVE; end; OnInit: @@ -7164,55 +7116,55 @@ OnInit: //============================================================ //= 1.0 First version, needs testing [Playtester] //= 1.1 Copied over some changes made by -Tsuyuki- [L0ne_W0lf] -//= Reworked variables slightly so that the permenents ones aside from the -//= main tracking variable, are deleted when no longer needed. Renamed -//= several variables that handle strings to @KHInput$. [L0ne_W0lf] +//= Reworked variables slightly so that the permenents ones aside from the +//= main tracking variable, are deleted when no longer needed. Renamed +//= several variables that handle strings to @KHInput$. [L0ne_W0lf] //= 1.2 Removed duplicate NPCs. [Toms] //= 1.3 More Bug fixes, fixed typo. Updated Additional comments. [L0ne_W0lf] //= 1.4 Fixed doors not resetting in kh_kiehl01 after 30 second timer is up. [L0ne_W0lf] //= 1.5 Another bug fixed (&& instead of ||). [L0ne_W0lf] //= 1.6 More squashed bugs with if checking. [L0ne_W0lf] //= 1.7 Corrected some spelling mistakes. [Balish] -// Corrected Exploit with the pub man, giving infinite wine and money. -// Corrected pool and map not showing text for some states of the quest. -// Corrected Elly showing cutin but not text for some states of the quest (causing players to log off to continue). -// Let fisherman talk to you when you have 10 fishes OR MORE. -// Corrected not letting you enter the tombstone after finishing the quest. +//= Corrected Exploit with the pub man, giving infinite wine and money. +//= Corrected pool and map not showing text for some states of the quest. +//= Corrected Elly showing cutin but not text for some states of the quest (causing players to log off to continue). +//= Let fisherman talk to you when you have 10 fishes OR MORE. +//= Corrected not letting you enter the tombstone after finishing the quest. //= 1.8 Elly now deletes the Iron_Box, and Kiel Hyre deletes the Pin. [L0ne_W0lf] -//= More security on the 5th Big Door, now makes sure no one outside of who- -//= acticated it initially can use it. Resets after 10 minutes to make it. -//= Made it so that you need to be at least step 84 to activate the final door. -//= Corrected not deleting Allysia's Ring from inventory. +//= More security on the 5th Big Door, now makes sure no one outside of who- +//= acticated it initially can use it. Resets after 10 minutes to make it. +//= Made it so that you need to be at least step 84 to activate the final door. +//= Corrected not deleting Allysia's Ring from inventory. //= 1.9 Exit will now enable if you are just retrieving the Ring, keeps you from getting stuck. [L0ne_W0lf] -//= Corrected "KH_Kielh02", was setting off a debug, invalid map index. Should have been "kh_Kiehl02" -//= Made .KHQuestBusy$ into a temp global variable. $@KHQuestBusy$. +//= Corrected "KH_Kielh02", was setting off a debug, invalid map index. Should have been "kh_Kiehl02" +//= Made .KHQuestBusy$ into a temp global variable. $@KHQuestBusy$. //= 2.0 Changed the labels on the "Big Doors" to "Identifier Names" to prevent an error with using getvariableofnpc [L0ne_W0lf] //= 2.1 Fifth door now checks for a variable HIGHER or EQUAL to 74 not 84, as pointed out by Stollen. [L0ne_W0lf] //= 2.2 Another fix for Elly, no longer RESETS to 26 when you talk to her. [L0ne_W0lf] //= 2.3 Should NOT have been setting .KHQuestBusy at all. It's not used or accessed anymore. Removed. [L0ne_W0lf] //= 2.4 Lots of fixes (4ish) from Valandi. [L0ne_W0lf] -//= Added a getmapuser check to the mapwarp in KHTimerEnd so it's not trying to warp out 0 users. [L0ne_W0lf] +//= Added a getmapuser check to the mapwarp in KHTimerEnd so it's not trying to warp out 0 users. [L0ne_W0lf] //= 2.5 Fixed several small issues (and large one) such as typos in cutins, typos in dialog, etc. [L0ne_W0lf] -//= Added some of the missing dialogs for several NPCs, and fixed a few NPC locations. -//= ALL books can now trigger the wall. -//= Allysia will now summon 4 (was 2) G_CONSTANTS instead of REGULAR constants. -//= Fixed where Golden_Key and Kiel_Button are deleted. -//= Removed KHTimerEnd, and instead use OnReset. -//= Fixed typo in the second NPC that gives Black Keycards. -//= Added Monster Warps. (Keeps monsters from being in dungeon quest area.) [Non-functional] +//= Added some of the missing dialogs for several NPCs, and fixed a few NPC locations. +//= ALL books can now trigger the wall. +//= Allysia will now summon 4 (was 2) G_CONSTANTS instead of REGULAR constants. +//= Fixed where Golden_Key and Kiel_Button are deleted. +//= Removed KHTimerEnd, and instead use OnReset. +//= Fixed typo in the second NPC that gives Black Keycards. +//= Added Monster Warps. (Keeps monsters from being in dungeon quest area.) [Non-functional] //= 2.6 Stupid mistake, accidentally had 4 copies of the same script in 1... [L0ne_W0lf the bonehead] //= 2.7 Fixed the wrong name being displayed for Kiel Hyre in one dialog. -//= Removed $@KH_DoorInvoker entirely. The quest is now working like it should according to iRO. -//= Fixed up a few more NPC headers. Facing direction fixes mostly this time. -//= More progression changes to Kiehl Hyre. He no longer stops dialog after the agents appear. +//= Removed $@KH_DoorInvoker entirely. The quest is now working like it should according to iRO. +//= Fixed up a few more NPC headers. Facing direction fixes mostly this time. +//= More progression changes to Kiehl Hyre. He no longer stops dialog after the agents appear. //= 2.8 Fixed the weight checking in Vandt, and added official dialog. [L0ne_W0lf] -//= Added weight checks for all NPCs that give items. Semi-official dialog. -//= Got the missing portion of dialog for Mills'. -//= Will add further proper dialogs as I get to them on the second runthrough of the quest. +//= Added weight checks for all NPCs that give items. Semi-official dialog. +//= Got the missing portion of dialog for Mills'. +//= Will add further proper dialogs as I get to them on the second runthrough of the quest. //= 2.8a minor optimization with extra goto, else or empty switch [Lupus] //= 2.9 Fixed the "enablenpc" problem with the missing spaces. No idea how it happened. [L0ne_W0lf] //= 3.0 Fixed a typo in Elly, in her room. (was <= should have been <) [L0ne_W0lf] -//= Added an 'end;' to the cookie basket. Kiel Hyre's final dialog will now delete all quest-related items. +//= Added an 'end;' to the cookie basket. Kiel Hyre's final dialog will now delete all quest-related items. //= 3.1 Moved the "delitem" for all related quest items to the proper NPC. [L0ne_W0lf] //= 3.2 Fixed error with Allysia teling you to "Go away." maybe. [L0ne_W0lf] //= 3.2b Fixed some typos and grammar mistakes. [SinSloth] @@ -7222,7 +7174,7 @@ OnInit: //= for items, should be used bitwise methods in a single variable. So let's fix the rest possible bugs (if they exist) and then optimize ^_- //= 3.5 Changed the way the Black Keycard distibuting NPCs work slighty. [L0ne_W0lf] //= 3.6 Keil Hyre removes ALL outstanding quest items when he is talked [L0ne_W0lf] -//= to after finishing the quest. +//= to after finishing the quest. //= 3.7 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 3.8 Corrected some delitems. (bugreport:690) [Samuray22] //= 3.9 Fixed a cutin not being erased. (bugreport:1539) [L0ne_W0lf] diff --git a/npc/quests/lvl4_weapon_quest.txt b/npc/quests/lvl4_weapon_quest.txt index a4319eb7a8..351d3e3b53 100644 --- a/npc/quests/lvl4_weapon_quest.txt +++ b/npc/quests/lvl4_weapon_quest.txt @@ -12,7 +12,7 @@ //===== Additional Comments: ================================= //= 1.0 First Version, Credits goes to Vicious_Pucca for converting [MasterOfMuppets] //= the quest from aegis format to eA format. Also thanks to -//= reddozen for fixing bugs. +//= reddozen for fixing bugs. //= 1.1 Many fixes to spelling, grammar, and sentence order. [Silent] //= 1.2 A small fix, thanks to vicious_pucca [MasterOfMuppets] //= 1.21 Fixing MoM's typos (Citrin -> Citrine) [erKURITA] @@ -2139,8 +2139,7 @@ niflheim,240,193,3 script Kayron#lv4 794,{ } niflheim,99,268,5 script Reyghema#lv4 794,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 3000) { + if (MaxWeight - Weight < 3000) { mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000"; close; } diff --git a/npc/quests/mage_solution.txt b/npc/quests/mage_solution.txt index ffb4df1a6f..c12be6f94b 100644 --- a/npc/quests/mage_solution.txt +++ b/npc/quests/mage_solution.txt @@ -29,7 +29,7 @@ pay_arche,122,100,0 script Dollshoi 88,{ close; } delitem 1092,1; //Empty_Cylinder - set zeny,zeny-50; + set Zeny, Zeny-50; getitem 1089,1; //Payon_Potion } close; @@ -41,7 +41,7 @@ moc_ruins,91,150,0 script Ponka-Hontas 93,{ next; if (select("Alright, Deal.:Nah, forget it.") == 1) { mes "[Mage Guildsman]"; - if (zeny < 50) { + if (Zeny < 50) { mes "I'm sorry, but you don't have enough money to cover the 50 Zeny fee."; close; } @@ -50,7 +50,7 @@ moc_ruins,91,150,0 script Ponka-Hontas 93,{ close; } delitem 1092,1; //Empty_Cylinder - set zeny,zeny-50; + set Zeny, Zeny-50; getitem 1088,1; //Morocc_Potion } close; diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt index 63de43b95c..f1dc61e06e 100644 --- a/npc/quests/newgears/2004_headgears.txt +++ b/npc/quests/newgears/2004_headgears.txt @@ -21,12 +21,12 @@ //= 10) Model Training Hat (payon_in03 8 193) //= 11) Tulip Haipin (geffen 83 189) //= 12) Party Hat, Straw Hat, Cowboy Hat, (xmas_in 35 30) -//= Sombrero, Beanie +//= Sombrero, Beanie //= 13) Decorative Golden Bell, (yuno_in03 20 18) -//= Crown of Ancient Queen, Crown of Mistress +//= Crown of Ancient Queen, Crown of Mistress //= 14) Alarm Mask (alde_alche 88 180) //= 15) Drooping Cat, Smokie Leaf, Lazy Smokie, (morocc 273 79) -// Blue Fish +//= Blue Fish //= 16) Kitsune Mask (pay_dun03 48 84) //= 17) Orc Hero Helm (in_orcs01 31 93 & 162 33) //===== Additional Comments: ================================= @@ -70,7 +70,7 @@ payon,115,131,3 script Neko Neko#1 725,{ delitem 2213,1; //Cat_Hairband delitem 983,1; //Black_Dyestuffs delitem 914,200; //Fluff - set zeny,zeny-10000; + set Zeny, Zeny-10000; getitem 5057,1; //Ear_Of_Black_Cat next; mes "[Neko Neko]"; @@ -252,7 +252,7 @@ geffen,129,148,3 script Argen#1 779,{ mes "Hey, that looks pretty smooth! Oh, and uh, you can keep this leftover Stem."; delitem 2269,1; //Centimental_Flower delitem 999,10; //Steel - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5061,1; //Flower_Hairpin getitem 905,1; //Stem next; @@ -526,7 +526,7 @@ comodo,237,217,5 script Meruntei#1 732,{ delitem 5010,1; //Indian_Hair_Piece delitem 5049,1; //Stripe_Band delitem 7101,10; //Peco_Wing_Feather - set zeny,zeny-10000; + set Zeny, Zeny-10000; getitem 5071,1; //Indian_Headband next; mes "[Meruntei]"; @@ -710,7 +710,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{ mes "'Angel Wing Ears!'"; delitem 2254,1; //Angelic_Chain delitem 2286,1; //Elven_Ears - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5074,1; //Ear_Of_Angel's_Wing next; mes "[Hatbyr Mhore]"; @@ -765,7 +765,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{ mes "There you go, buddy. I am proud to say this is my masterpiece. I call it... 'Devil Wing Ears!'"; delitem 2255,1; //Satanic_Chain delitem 2286,1; //Elven_Ears - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5068,1; //Ear_Of_Devil's_Wing next; mes "[Hatbyr Mhore]"; @@ -835,7 +835,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{ mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Devil Wing Ears!'"; delitem 2255,1; //Satanic_Chain delitem 2286,1; //Elven_Ears - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5068,1; //Ear_Of_Devil's_Wing next; mes "[Hatbyr Mhore]"; @@ -889,7 +889,7 @@ yuno,241,52,3 script Old Blacksmith#hgear 813,{ mes "I am proud to say this is my masterpiece. Please take this item. I call it... 'Angel Wing Ears!'"; delitem 2254,1; //Angelic_Chain delitem 2286,1; //Elven_Ears - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5074,1; //Ear_Of_Angel's_Wing next; mes "[Hatbyr Mhore]"; @@ -1780,7 +1780,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{ delitem 10016,1; //Golden_Bell delitem 714,1; //Emperium delitem 969,3; //Gold - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5091,1; //Big_Golden_Bell mes "[Nehris]"; mes "Yoohoo~"; @@ -1818,7 +1818,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{ delitem 10006,1; //Queen's_Hair_Ornament delitem 714,1; //Emperium delitem 969,3; //Gold - set zeny,zeny-20000; + set Zeny, Zeny-20000; getitem 5080,1; //Headgear_Of_Queen mes "[Nehris]"; mes "Tah dah!"; @@ -1868,7 +1868,7 @@ yuno_in03,20,18,6 script Nehris#1 726,{ delitem 2249,1; //Coronet delitem 714,1; //Emperium delitem 969,3; //Gold - set zeny,zeny-40000; + set Zeny, Zeny-40000; getitem 5081,1; //Mistress_Crown mes "[Nehris]"; mes "Yay! You've got a great looking crown!"; @@ -3638,10 +3638,10 @@ OnTouch: // Old changelog //============================================================ //= 1.01 Fixed items names iRO->kRO, fixed some bugs [Qwadrat] -//= Fixed possible item exploits, fixed Straw Hat -//= Added missing checks [Lupus] -//= 1.1 Fixed a bug in Giant-band-aid that didn't counting rotten bandages -//= Fixed a bug in Fur Hat that didn't count yarn [Evera] +//= Fixed possible item exploits, fixed Straw Hat +//= Added missing checks [Lupus] +//= 1.1 Fixed a bug in Giant-band-aid that didn't counting rotten bandages +//= Fixed a bug in Fur Hat that didn't count yarn [Evera] //= 1.2 Syntax fixes for parenthesis, reformatting [KarLaeda] //= 1.3 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf] //============================================================ diff --git a/npc/quests/newgears/2005_headgears.txt b/npc/quests/newgears/2005_headgears.txt index 8286b45df3..37d3c0db1f 100644 --- a/npc/quests/newgears/2005_headgears.txt +++ b/npc/quests/newgears/2005_headgears.txt @@ -750,7 +750,7 @@ lighthalzen,143,68,0 script Strange Guy#LhzHat 47,{ lighthalzen,360,313,3 script Kid#LhzHat 706,{ mes "[Kid]"; - if(sex) + if(Sex) mes "Hello, mister!"; else mes "Hello, ma'am!"; diff --git a/npc/quests/newgears/2006_headgears.txt b/npc/quests/newgears/2006_headgears.txt index b36672554b..b3ae4b7965 100644 --- a/npc/quests/newgears/2006_headgears.txt +++ b/npc/quests/newgears/2006_headgears.txt @@ -13,18 +13,19 @@ //===== Additional Comments: ================================= //= NPC id's and dialog are custom, please replace //= 1.0a fixed typos, added missing names, more cleaned and -//= standartized stuff a bit [Lupus] +//= standartized stuff a bit [Lupus] //= 1.0b fixed Helm of Valkyries ingredients //= 1.0c corrected item names according to item_db [Lupus] //= 1.1 Full update. EuRO (?) dialogs, and positions. [L0ne_W0lf] //= 1.2 Fixed bugs in the Hahoe/Lion/Bride Mask NPC. [L0ne_W0lf] -//= Fixed some of the names to iRO. +//= Fixed some of the names to iRO. //= 1.3 Fixed some color code bugs in Ghenirhemin. Thanks to yyCC. [L0ne_W0lf] //= 1.3a Fixed wrong item names (due to copy/paste) [Lupus] //= 1.4 Chungwolmang now checks if the last item set should be deleted. (bugreport:4719) [L0ne_W0lf] //============================================================ -//===================== Censor Bar ===================================================== +// Censor Bar +//============================================================ rachel,91,273,8 script ? 930,{ if (countitem(983) > 0 && countitem(7111) > 99 && countitem(938) > 98 && Zeny > 99999) { mes "[?]"; @@ -91,7 +92,8 @@ rachel,91,273,8 script ? 930,{ close; } -//======================== Feather Beret ================================================ +// Feather Beret +//============================================================ rachel,152,131,3 script Sakjul 928,{ if (countitem(5172) > 0 && countitem(7063) > 99 && countitem(982) > 0) { mes "[Sakjul]"; @@ -206,12 +208,13 @@ rachel,152,131,3 script Sakjul 928,{ close; } -//============================ Valkyrie Helm ===================================================== +// Valkyrie Helm +//============================================================ hugel,147,103,3 script Ghenirhemin 897,{ if (moza_valkylie == 5) { set .@val2,rand(1,10); if (.@val2 == 3) { - misceffect 348; //EF_LIGHTSPHERE + specialeffect EF_LIGHTSPHERE; mes "[Ghenirhemin]"; mes "The materials are still being fused."; next; @@ -219,7 +222,7 @@ hugel,147,103,3 script Ghenirhemin 897,{ mes "Umm?! Oh...oh?! Isn't this..."; mes "Isn't this...?!"; next; - misceffect 322; //EF_FORESTLIGHT2 + specialeffect EF_FORESTLIGHT2; mes "[Ghenirhemin]"; mes "Ah...ahahaha, we've made it! We've made it!"; mes "Valkyre's Helm...We've recreated Valkyre's Helm,"; @@ -251,7 +254,7 @@ hugel,147,103,3 script Ghenirhemin 897,{ mes "who is now heading toward the new history."; close; } - misceffect 348; //EF_LIGHTSPHERE + specialeffect EF_LIGHTSPHERE; mes "[Ghenirhemin]"; mes "The materials are still being fused."; close; @@ -262,7 +265,7 @@ hugel,147,103,3 script Ghenirhemin 897,{ mes "[Ghenirhemin]"; mes "............"; next; - misceffect 348; //EF_LIGHTSPHERE + specialeffect EF_LIGHTSPHERE; mes "[Ghenirhemin]"; mes "Oh...oh? They....they just have started being fused!"; mes "Look at this shining light!"; @@ -562,7 +565,8 @@ hugel,147,103,3 script Ghenirhemin 897,{ mes "when you show me your money. Hahahaha!"; close; } -//======================= Hahoe Mask / Mythical Lion Mask / Bride Mask =============================== +// Hahoe Mask / Mythical Lion Mask / Bride Mask +//============================================================ payon,135,320,3 script Chungwolmang 97,{ if (moza_tal == 2) { if (countitem(7015) > 19 && countitem(952) > 99 && countitem(1028) > 99) { @@ -804,7 +808,8 @@ S_MakeMask: } -//====================== Magistrate Hat / Ayam ============================================= +// Magistrate Hat / Ayam +//============================================================ payon_in03,139,124,3 script Han Garam 88,{ if (moza_korea == 2 && countitem(954) > 299 && countitem(733) > 4 && countitem(975) > 0 && countitem(7166) > 49) { mes "[Han Garam]"; @@ -969,7 +974,7 @@ payon_in03,139,124,3 script Han Garam 88,{ mes "He is waving his tail, and showing me future!"; mes "Aaaaaahhhhhhh!"; next; - misceffect 90; //EF_LORD; + specialeffect EF_LORD; mes "[Han Garam]"; mes "Waaaahhhh!"; next; @@ -1001,7 +1006,7 @@ payon_in03,139,124,3 script Han Garam 88,{ mes "Anyone who brings these, I will create hat for him!"; mes "Ahhh~ Dragon God!"; next; - misceffect 7; //EF_EXIT; + specialeffect EF_EXIT; mes "[Han Garam]"; mes "............."; next; diff --git a/npc/quests/newgears/2008_headgears.txt b/npc/quests/newgears/2008_headgears.txt index c481475540..e320ed6393 100644 --- a/npc/quests/newgears/2008_headgears.txt +++ b/npc/quests/newgears/2008_headgears.txt @@ -17,7 +17,7 @@ gef_fild05,80,149,3 script Myu#08_hat 877,{ mes "[Myu]"; mes "Meow..."; - emotion 23; + emotion e_omg; next; if(hatcat2008 == 0) { mes "[Myu]"; diff --git a/npc/quests/obb_quest.txt b/npc/quests/obb_quest.txt index 3480fd1bf0..ab938cdf42 100644 --- a/npc/quests/obb_quest.txt +++ b/npc/quests/obb_quest.txt @@ -457,8 +457,7 @@ alberta,43,244,0 script Tourist#thai 99,{ next; mes "[Tourist]"; mes "Hopefully, it'll be useful."; - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 500) { + if (MaxWeight - Weight < 500) { mes "Umm...it seems you're carrying too much stuff with you."; mes "Doncha want me to help you?"; close; diff --git a/npc/quests/partyrelay.txt b/npc/quests/partyrelay.txt index 8c92c041e6..e6beeb9b47 100644 --- a/npc/quests/partyrelay.txt +++ b/npc/quests/partyrelay.txt @@ -1916,7 +1916,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 731,{ mes "Don't forget now, alright?"; close; } - if ((countitem(7739) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && ((Baseclass == Job_Thief) || (BaseClass == Job_Acolyte))) { + if ((countitem(7739) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) { mes "[Bafhail]"; mes "Oh, isn't that ticket...?"; mes "Ah, good, good. Judging"; @@ -1943,7 +1943,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 731,{ mes "I'll see you later~"; close; } - else if ((countitem(7739) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && ((Baseclass == Job_Thief) || (BaseClass == Job_Acolyte))) { + else if ((countitem(7739) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) { mes "[Bafhail]"; mes "Oh, isn't that ticket...?"; mes "Ah, good, good. Judging"; @@ -1971,7 +1971,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 731,{ mes "I'll see you later~"; close; } - if ((countitem(7739) > 0) && ((Baseclass == Job_Thief) || (BaseClass == Job_Acolyte))) { + if ((countitem(7739) > 0) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) { mes "[Bafhail]"; mes "Oh, isn't that ticket...?"; mes "Ah, good, good. Judging"; @@ -2353,7 +2353,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 731,{ mes "Standard Time. Don't forget!"; close; } - if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (Baseclass == Job_Thief)) { + if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (BaseClass == Job_Thief)) { mes "[Bafhail]"; mes "Oh, isn't that ticket...?"; mes "Ah, good, good. Judging"; @@ -2385,7 +2385,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 731,{ mes "items for missions, okay?"; close; } - else if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 21) && (Baseclass == Job_Thief))) { + else if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 21) && (BaseClass == Job_Thief))) { mes "[Bafhail]"; mes "Oh, isn't that ticket...?"; mes "Ah, good, good. Judging"; @@ -2417,7 +2417,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 731,{ mes "items for missions, okay?"; close; } - if ((countitem(7731) > 0) && (BaseLevel > 39) && (Baseclass == Job_Thief)) { + if ((countitem(7731) > 0) && (BaseLevel > 39) && (BaseClass == Job_Thief)) { mes "[Bafhail]"; mes "Oh, isn't that ticket...?"; mes "Ah, good, good. Judging"; @@ -2651,7 +2651,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 706,{ mes "important to know!"; close; } - if ((countitem(7740) > 0) && ((Baseclass == Job_Archer) || (BaseClass == Job_Merchant))) { + if ((countitem(7740) > 0) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) { mes "[Lospii]"; mes "Hi, I'm Lospii! Maybe"; mes "I'm younger than you, but"; @@ -2963,7 +2963,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 706,{ mes "I... I can't read watches..."; close; } - if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 14) && (.@relaytime < 17)) && (Baseclass == Job_Archer)) { + if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 14) && (.@relaytime < 17)) && (BaseClass == Job_Archer)) { mes "[Lospii]"; mes "Hi, I'm Lospii! Maybe"; mes "I'm younger than you, but"; @@ -3004,7 +3004,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 706,{ mes "important to know!"; close; } - else if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 18) && (.@relaytime < 21)) && (Baseclass == Job_Archer)) { + else if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 18) && (.@relaytime < 21)) && (BaseClass == Job_Archer)) { mes "[Lospii]"; mes "Hi, I'm Lospii! Maybe"; mes "I'm younger than you, but"; @@ -3045,7 +3045,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 706,{ mes "important to know!"; close; } - if ((countitem(7732) > 0) && (BaseLevel > 39) && (Baseclass == Job_Archer)) { + if ((countitem(7732) > 0) && (BaseLevel > 39) && (BaseClass == Job_Archer)) { mes "[Lospii]"; mes "Hi, I'm Lospii! Maybe"; mes "I'm younger than you, but"; diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 0f8d329f77..21cce0a47e 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -29,7 +29,7 @@ //= 3.4 Added GM management function and NPC. [Euphy] //============================================================ -// Onward to the New World +// Onward to the New World :: ep13_gogo //============================================================ function script Promotional_Staff { mes "[Promotional Staff]"; @@ -1959,7 +1959,7 @@ moc_fild22b,370,370,3 script Allied Manager#gm 100,{ } } -// New Surroundings +// New Surroundings :: ep13_newbs //============================================================ mid_camp,222,283,4 script Marian#ep13bs 727,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { @@ -2664,7 +2664,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 405,{ mes "Hehe, don't mention it."; mes "And Otto said that he"; mes "would come to see you."; - emotion 40,1; + emotion e_shy,1; next; mes "[Instructor Lugen]"; mes "Did he?"; @@ -2936,7 +2936,7 @@ mid_camp,264,263,4 script Diego#ep13bs 931,{ case 1: mes "[Diego]"; mes "Thanks."; - emotion 15; + emotion e_thx; next; mes "["+ strcharinfo(0) +"]"; mes "What do you need?"; @@ -3200,12 +3200,12 @@ mid_camp,160,298,4 script Jan#ep13bs 865,{ next; mes "["+ strcharinfo(0) +"]"; mes "Yes..."; - emotion 4,1; + emotion e_swt,1; next; mes "[Jan]"; mes "Ahhh, it's exciting~"; mes "I love it."; - emotion 38; + emotion e_awsm; next; mes "[Jan]"; mes "I want to unwrap it right now~"; @@ -3279,7 +3279,7 @@ mid_camp,30,168,4 script Gerard#ep13bs 939,{ mes "I was considering"; mes "going back to the camp."; mes "I really appreciate this."; - emotion 37; + emotion e_rice; next; mes "["+ strcharinfo(0) +"]"; mes "..."; @@ -3347,7 +3347,7 @@ man_fild01,80,248,4 script Alberto#ep13bs 934,{ mes "I finally got it."; mes "My coat...sniff."; mes "It's freezing here."; - emotion 28; + emotion e_sob; next; mes "[Alberto]"; mes "Sniff..."; @@ -3387,7 +3387,7 @@ man_fild01,80,248,4 script Alberto#ep13bs 934,{ mes "[Alberto]"; mes "It's so cold here~~"; mes "the wind chills me to the bones~"; - emotion 28; + emotion e_sob; close; } } @@ -3435,7 +3435,7 @@ mid_camp,166,248,4 script Sorcerer#ep13bs 937,{ next; mes "[Biolay]"; mes "I want to go back to my house."; - emotion 28; + emotion e_sob; close; } @@ -3646,7 +3646,7 @@ mid_camp,267,258,0 script Post#ep13bs2 111,{ } } -// Attitude to the New +// Attitude to the New :: ep13_ecology //============================================================ mid_camp,188,254,3 script Monster Scholar#ep13 883,{ if (ep13_ryu < 100 && ep13_start < 100) { @@ -4336,7 +4336,7 @@ mid_camp,240,270,3 script Botanist#ep13 750,{ mes "Undiscovered life!"; mes "Everything about this world excites me."; next; - emotion 14; + emotion e_lv2; mes "[Botanist]"; mes "Oh, okay... Ah-hah!"; mes "This is how it goes..."; @@ -4349,7 +4349,7 @@ mid_camp,240,270,3 script Botanist#ep13 750,{ mes "Undiscovered life!"; mes "Everything about this world excites me."; next; - emotion 14; + emotion e_lv2; mes "[Botanist]"; mes "Oh, okay... Ah-hah!"; mes "This is how it goes..."; @@ -4360,7 +4360,7 @@ mid_camp,240,270,3 script Botanist#ep13 750,{ mes "Undiscovered life!"; mes "Everything about this world excites me."; next; - emotion 14; + emotion e_lv2; emotion e_dots,1; mes "[Botanist]"; mes "Oh, okay... Ah-hah!"; @@ -4378,7 +4378,7 @@ mid_camp,240,270,3 script Botanist#ep13 750,{ next; break; case 2: - emotion 14,1; + emotion e_lv2,1; mes "["+strcharinfo(0)+"]"; mes "I agree. There's so much to see around here!"; next; @@ -4426,7 +4426,7 @@ mid_camp,240,270,3 script Botanist#ep13 750,{ mes "[Botanist]"; mes "Usually twins share the same feelings and ideas, I can see what he does or thinks if I try hard."; next; - emotion 54; + emotion e_sigh; mes "[Botanist]"; mes "Let me see what Rumis is doing right now... Oh, he's picking his nose with his left hand and eating a slice of bread with his right."; mes "God, how disgusting!"; @@ -4446,7 +4446,7 @@ mid_camp,240,270,3 script Botanist#ep13 750,{ next; break; case 2: - emotion 54; + emotion e_sigh; mes "[Botanist]"; mes "Oh,"; mes "won't you cut me some slack? I was just joking to melt the ice."; @@ -4977,7 +4977,7 @@ mid_camp,212,237,5 script Camp Guard Captain#man1 852,{ } } -// The Tripartite Union's Feud +// The Tripartite Union's Feud :: ep13_1_rhea //============================================================ mid_campin,376,120,0 script Research Official#ep131 754,3,3,{ OnTouch: @@ -6945,7 +6945,7 @@ OnTimer300000: end; } -// Part Time Work +// Part Time Work :: ep13_alba //============================================================ mid_camp,1,1,0 script #timer_alba01 844,{ callfunc "F_GM_NPC"; @@ -7553,7 +7553,7 @@ OnMyMobDead: end; } -// Cat Hand Trading Post +// Cat Hand Trading Post :: cat_yong //============================================================ mid_camp,62,125,4 script Cat Hand Agent 421,{ function Catwarp; @@ -7663,7 +7663,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - set zeny,zeny-60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7710,7 +7710,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - set zeny,zeny-60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7832,7 +7832,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - set zeny,zeny-60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -8481,7 +8481,7 @@ sec_in02,80,171,0 script Piece of crack#sec 406,{ } } -// Report from the New World +// Report from the New World :: ep13_1_edq //============================================================ mid_campin,90,121,5 script Hibba Agip 459,{ cutin "ep13_captin_edq",2; @@ -10428,7 +10428,7 @@ OnMyMobDead: end; } -// Persuing Rayan Moore +// Persuing Rayan Moore :: ep13_moc2 //============================================================ mid_campin,68,185,3 script Pursuit Party Leader#1 803,{ if (checkweight(714,3) == 0) { @@ -12066,7 +12066,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 46,{ mes "Here, drink up."; mes "This drink is mainly made of fruit juice,"; mes "but you still shouldn't drink too much."; - set zeny,zeny-800; + set Zeny, Zeny-800; getitem 12112,1; //Tropical_Sograt } close; @@ -12084,15 +12084,14 @@ que_job01,82,95,3 script Bar Master#moc2_01 46,{ mes "There you go."; mes "This drink is mainly made of fruit juice,"; mes "but you still shouldn't drink too much."; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 12112,1; //Tropical_Sograt close; } } } case 2: - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "[Karred]"; mes "Are you sure you can even hold a glass of alcohol?"; mes "You're carrying too many things on you already."; @@ -12111,7 +12110,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 46,{ mes "[Karred]"; mes "I'll give you a special discount."; mes "Here, enjoy."; - set zeny,zeny-800; + set Zeny, Zeny-800; getitem 12113,1; //Vermilion_The_Beach } close; @@ -12128,7 +12127,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 46,{ mes "[Karred]"; mes "There you go."; mes "Don't drink too much, alright?"; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 12113,1; //Vermilion_The_Beach close; } @@ -12276,7 +12275,7 @@ OnTouch: mes "Hey, bartender! Gimme"; mes "the usual! I like your"; mes "style, adventurer..."; - set zeny,zeny-1000; + set Zeny, Zeny-1000; next; mes "[Litheron]"; mes "Alright, you can come"; @@ -13970,8 +13969,10 @@ que_dan02,102,42,3 script Disfigured Corpse#moc2 457,{ close; } +// Ash-Vacuum Warper :: gogoash +//============================================================ /* -// Event NPC (gogoash), now disabled on official servers. +// Event NPC, now disabled on official servers. prontera,161,192,5 script Ash-Vacuum Warper 707,{ mes "[Warp Soldier]"; mes "For a limited period."; diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 713fac9443..023f7c3ce5 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -51,7 +51,7 @@ //= 2.8 Added GM management function. [Euphy] //============================================================ -// Cat Hand Addition. +// Cat Hand Addition :: cat_enhance //============================================================ spl_fild02,25,211,4 script Cat Hand Agent#spl 421,{ function Catwarp; @@ -108,7 +108,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 421,{ close; } else if (Zeny >= 60) { - set zeny,zeny-60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will be opened shortly."; @@ -155,7 +155,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 421,{ close; } else if (Zeny >= 60) { - set zeny,zeny-60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will be opened shortly."; @@ -276,7 +276,7 @@ spl_fild02,25,211,4 script Cat Hand Agent#spl 421,{ close; } else if (Zeny >= 60) { - set zeny,zeny-60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will be opened shortly."; @@ -531,7 +531,7 @@ spl_fild01,55,269,0 duplicate(FishingHole_spl3) School of Fish#12 844 spl_fild01,332,131,0 duplicate(FishingHole_spl3) School of Fish#13 844 spl_fild01,170,74,0 duplicate(FishingHole_spl3) School of Fish#14 844 -// Two Tribes +// Two Tribes :: ep13_2_msg //============================================================ spl_in01,32,306,3 script Splendide Guard#ep13md01 447,2,2,{ if (checkweight(1201,2) == 0) { @@ -2703,7 +2703,7 @@ spl_fild01,329,29,0 script ???#ep13mdf03 844,{ } } -// Monster Suppression +// Monster Suppression :: ep13_2_dayquest //============================================================ manuk,252,116,3 script Manuk Galtun#ep13_2day 450,{ if (checkweight(1201,2) == 0) { @@ -2816,7 +2816,7 @@ manuk,252,116,3 script Manuk Galtun#ep13_2day 450,{ close; } -// Daily Quests +// Daily Quests :: ep13_2_dayquest // - Bradium Collection // - Laphine Craftsman // - Draco Egg Collection (NPC includes 'Wanted' quest) @@ -3516,7 +3516,7 @@ OnTimer300000: end; } -// Otherworld language +// Otherworld language :: ep13_2_rhea //============================================================ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 869,{ if (ep13_1_edq > 2 || ep13_start == 100) { @@ -4644,7 +4644,7 @@ mid_camp,7,3,0 script Translator Preparation#1 708,{ } } -// Daily Quests +// Daily Quests :: ep13_2_tre // - Midgard Ore // - Alfheim Perfume //============================================================ @@ -6222,7 +6222,7 @@ OnTimer60000: end; } -// Secret note of Bazett +// Secret note of Bazett :: ep13_2_dailybs //============================================================ mid_camp,283,198,5 script Bazett Teablack#ep13bs 883,{ if (checkweight(1201,1) == 0) { @@ -6888,7 +6888,7 @@ manuk,193,135,0 script Worker#ep13bs 454,{ } } -// Yggdrasil Dungeon Floor 2 puzzle. +// Yggdrasil Dungeon Floor 2 puzzle :: ny_dun02_puzzle //============================================================ nyd_dun02,178,255,0 script Strange Device#ep13_out 844,3,3,{ mes "There's something strange here."; diff --git a/npc/quests/quests_airship.txt b/npc/quests/quests_airship.txt index 12f23793b9..594fd3785c 100644 --- a/npc/quests/quests_airship.txt +++ b/npc/quests/quests_airship.txt @@ -31,14 +31,14 @@ //= 2.0 Updated RE/Pre-RE EXP. [Euphy] //============================================================ -//=======================================================================================================// -// Airship Ticket Quest -//=======================================================================================================// - -//====================Kain Himere============================= +// Airship Ticket Quest :: ein_tre +//============================================================ +//---------------------------------------------------------------------------- +// Kain Himere +//---------------------------------------------------------------------------- airplane,47,61,1 script Crewman 833,{ - if(kain_ticket==4) { + if (kain_ticket == 4) { mes "[Kain Himere]"; mes "Ah..."; mes "Here it is!"; @@ -60,8 +60,8 @@ airplane,47,61,1 script Crewman 833,{ mes "[Kain Himere]"; mes "Welcome to the Airship. If you have any questions or need any assistnace, please don't hesisitate to let me or one of the other crewman know."; next; - if(kain_ticket==0) { - switch( select( "About the Airship...", "Leave a Comment" )) { + if (kain_ticket == 0) { + switch(select("About the Airship...:Leave a Comment")) { case 1: set kain_ticket, 1; mes "[Kain Himere]"; @@ -111,8 +111,8 @@ airplane,47,61,1 script Crewman 833,{ close; } } - } else if(kain_ticket==1) { - switch( select( "About the Airship...", "Make a remark" )) { + } else if (kain_ticket == 1) { + switch(select("About the Airship...:Make a remark")) { case 1: set kain_ticket, 2; mes "[Kain Himere]"; @@ -154,7 +154,7 @@ airplane,47,61,1 script Crewman 833,{ close; } } - } else if(kain_ticket==2) { + } else if (kain_ticket == 2) { mes "["+strcharinfo(0)+"]"; mes "About the Airship..."; next; @@ -169,7 +169,7 @@ airplane,47,61,1 script Crewman 833,{ mes "E-excuse me..."; mes "^666666*Sniff*^000000"; next; - switch( select( "What the hell...?", "What's wrong?" )) { + switch(select("What the hell...?:What's wrong?")) { case 1: mes "[Kain Himere]"; mes "Oh, no there's no"; @@ -252,7 +252,7 @@ airplane,47,61,1 script Crewman 833,{ mes "[Kain Himere]"; mes "By the way, where are you heading to?"; next; - switch( select( "Einbroch", "Juno" )) { + switch(select("Einbroch:Juno")) { case 1: set kain_ticket, 4; mes "["+strcharinfo(0)+"]"; @@ -277,12 +277,12 @@ airplane,47,61,1 script Crewman 833,{ close; } } - } else if(kain_ticket==3) { + } else if (kain_ticket == 3) { mes "[Kain Himere]"; mes "Oh, how are you?"; mes "Right, there's a favor I have to ask of you. Where are you heading?"; next; - switch( select( "Einbroch", "Juno" )) { + switch(select("Einbroch:Juno")) { case 1: set kain_ticket, 4; mes "["+strcharinfo(0)+"]"; @@ -294,7 +294,6 @@ airplane,47,61,1 script Crewman 833,{ mes "Now, let me find"; mes "that thing. Hold on..."; close; - case 2: mes "["+strcharinfo(0)+"]"; mes "I am heading to Juno."; @@ -305,14 +304,14 @@ airplane,47,61,1 script Crewman 833,{ mes "I needed sent to Einbroch. If you're not going there, then don't worry about it."; close; } - } else if(kain_ticket > 4 && kain_ticket < 10) { + } else if (kain_ticket > 4 && kain_ticket < 10) { mes "[Kain Himere]"; mes "Oh hello!"; mes "Things are a little busy right now, but did you delive-- Oh! Wait, mister!"; next; mes "^3355FFKain seems too busy to speak to you right now...^000000"; close; - } else if(kain_ticket== 10) { + } else if (kain_ticket == 10) { mes "[Kain Himere]"; mes "Welcome back to the Airship. So did you deliver that little box safely?"; next; @@ -323,7 +322,7 @@ airplane,47,61,1 script Crewman 833,{ mes "Oh..."; mes "What should I do now? Oh well, sorry for putting you through so much trouble."; next; - switch( select( "Do you know 'Miner's Song?'", "Do you remember 'Tarsha?'" )) { + switch(select("Do you know 'Miner's Song?':Do you remember 'Tarsha?'")) { case 1: mes "[Kain Himere]"; mes "'Miner's Song...'"; @@ -378,14 +377,14 @@ airplane,47,61,1 script Crewman 833,{ set kain_ticket, 11; close; } - } else if(kain_ticket == 11 || kain_ticket == 12) { + } else if (kain_ticket == 11 || kain_ticket == 12) { mes "[Kain Himere]"; mes "My wife's journal is buried ^3131FFunderneath a tree in Einbech^000000. Please find it and see if Tarsha is my daughter."; close; - } else if(kain_ticket == 13) { + } else if (kain_ticket == 13) { mes "^3355FFYou better fulfill Kain's request to find his wife's journal in Einbech before you speak to him again.^000000"; close; - } else if(kain_ticket == 14) { + } else if (kain_ticket == 14) { if (countitem(7276)==1) { mes "^3355FFYou gave Kain his wife's journal and told him that Tarsha really is is daughter, and currently has a job in Einbech.^000000"; next; @@ -419,7 +418,7 @@ airplane,47,61,1 script Crewman 833,{ mes "It would be better if you approached Kain and bring the Doodled Letter that you received.^000000"; close; } - } else if(kain_ticket >= 15) { + } else if (kain_ticket >= 15) { mes "[Kain Himere]"; mes "Oh, how are you"; mes "lately, my friend?"; @@ -431,8 +430,9 @@ airplane,47,61,1 script Crewman 833,{ } } -//====================Empty Room 201========================== - +//---------------------------------------------------------------------------- +// Empty Room 201 +//---------------------------------------------------------------------------- ein_in01,227,279,5 script door_ein -1,5,5,{ OnTouch: if (kain_ticket == 5) { @@ -456,8 +456,9 @@ OnTouch: } } -//====================Elle Cherno============================= - +//---------------------------------------------------------------------------- +// Elle Cherno +//---------------------------------------------------------------------------- ein_in01,261,241,5 script Elle Cherno 703,3,3,{ OnTouch: mes "[Elle Cherno]"; @@ -465,9 +466,9 @@ OnTouch: mes "fear-less comraaades~!"; mes "Do our best! Nothing"; mes "can stop us, lads~!"; - if(kain_ticket == 6) { + if (kain_ticket == 6) { next; - switch( select( "Hello!", "What are you singing?")) { + switch(select("Hello!:What are you singing?")) { case 1: mes "[Elle Cherno]"; mes "Let's get to work"; @@ -503,7 +504,7 @@ OnTouch: mes "Our house is behind the Hotel. So can see my mommy and tell me if she's not feeling good?"; close; } - } else if(kain_ticket == 7) { + } else if (kain_ticket == 7) { next; mes "[Elle Cherno]"; mes "Our house is"; @@ -512,7 +513,7 @@ OnTouch: mes "you go and see"; mes "my mommy for me?"; close; - } else if(kain_ticket == 13) { + } else if (kain_ticket == 13) { next; //Check if you can carry the Picture Letter. if (checkweight(7276,1)) { @@ -541,26 +542,27 @@ OnTouch: close; } -//====================Theo Cherno============================= - +//---------------------------------------------------------------------------- +// Theo Cherno +//---------------------------------------------------------------------------- ein_in01,123,94,1 script Theo Cherno 851,{ - if(kain_ticket == 7) { + if (kain_ticket == 7) { callfunc "cherno"; set kain_ticket, 8; close; - } else if(kain_ticket > 7 && kain_ticket < 10) { + } else if (kain_ticket > 7 && kain_ticket < 10) { mes "[Theo Cherno]"; mes "You are very kind."; close; - } else if(kain_ticket > 9 && kain_ticket < 13) { + } else if (kain_ticket > 9 && kain_ticket < 13) { mes "[Theo Cherno]"; mes "Are you sure"; mes "that you can find"; mes "her father? Oh...!"; mes "You're a godsend!"; close; - } else if(kain_ticket > 12) { - Emotion 18, "Theo Cherno"; + } else if (kain_ticket > 12) { + emotion e_heh, "Theo Cherno"; mes "[Theo Cherno]"; mes "I'm so happy"; mes "for my wife."; @@ -578,18 +580,19 @@ ein_in01,123,94,1 script Theo Cherno 851,{ } } -//====================Tarsha Cherno=========================== - +//---------------------------------------------------------------------------- +// Tarsha Cherno +//---------------------------------------------------------------------------- ein_in01,125,99,3 script Tarsha Cherno 850,{ - if(kain_ticket == 7) { + if (kain_ticket == 7) { callfunc "cherno"; set kain_ticket, 8; close; - } else if(kain_ticket == 8) { + } else if (kain_ticket == 8) { mes "[Tarsha Cherno]"; mes "Although these contraptions aren't worth showing off, we've put a lot of work into inventing these machines."; close; - } else if(kain_ticket == 9) { + } else if (kain_ticket == 9) { mes "["+strcharinfo(0)+"]"; mes "Ma'am, you have a scar on your shoulder. Is that from an accident?"; next; @@ -624,7 +627,7 @@ ein_in01,125,99,3 script Tarsha Cherno 850,{ mes "such a robust song"; mes "for men! Haha, this"; mes "is all your fault, Tarsha."; - Emotion 29, "Theo Cherno"; + emotion e_gg, "Theo Cherno"; next; mes "[Tarsha Cherno]"; mes "Hoho."; @@ -654,11 +657,11 @@ ein_in01,125,99,3 script Tarsha Cherno 850,{ changequest 2080,2081; set kain_ticket, 10; close; - } else if(kain_ticket == 10 || kain_ticket == 11) { + } else if (kain_ticket == 10 || kain_ticket == 11) { mes "["+strcharinfo(0)+"]"; mes "I know someone who might be your father! Just wait for me, hopefully I'll bering good news soon!"; close; - } else if(kain_ticket == 12) { + } else if (kain_ticket == 12) { mes "[Tarsha Cherno]"; mes "Oh, welcome back."; mes "So did you bring"; @@ -667,7 +670,7 @@ ein_in01,125,99,3 script Tarsha Cherno 850,{ mes "["+strcharinfo(0)+"]"; mes "Yes, speaking of which, allow me to... Check something."; next; - switch( select( "Check her neck.", "Check her hands.", "Check her legs.", "Check her forehead.")) { + switch(select("Check her neck.:Check her hands.:Check her legs.:Check her forehead.")) { case 1: mes "^3355FFUh oh..."; mes "Nothing's there!^000000"; @@ -747,7 +750,7 @@ ein_in01,125,99,3 script Tarsha Cherno 850,{ percentheal -10,0; close; } - } else if(kain_ticket > 12) { + } else if (kain_ticket > 12) { mes "[Tarsha Cherno]"; mes "I've been feeling"; mes "great after all you've"; @@ -777,8 +780,8 @@ function script cherno { misceffect 20; mes "^33355F*Crash!*^000000"; mes "....."; - emotion 4,0,"Theo Cherno"; - Emotion 4,0,"Tarsha Cherno"; + emotion e_swt,0,"Theo Cherno"; + emotion e_swt,0,"Tarsha Cherno"; next; mes "[Theo Cherno]"; mes "Honey..."; @@ -795,13 +798,13 @@ function script cherno { mes "it a day and finish"; mes "this tomorrow."; next; - Emotion 1, "Tarsha Cherno"; + emotion e_what, "Tarsha Cherno"; mes "[Tarsha Cherno]"; mes "Elle is playing outside."; mes "Oh, I didn't know we had"; mes "a guest? Hello, how are you?"; next; - switch( select( "Nothing.", "Your daughter asked me to visit you.")) { + switch(select("Nothing.:Your daughter asked me to visit you.")) { case 1: mes "[Theo Cherno]"; mes "As you see, my wife and I are pretty"; @@ -810,8 +813,8 @@ function script cherno { mes "will you please leave us alone?"; close; case 2: - Emotion 4, "Tarsha Cherno"; - Emotion 4, "Theo Cherno"; + emotion e_swt, "Tarsha Cherno"; + emotion e_swt, "Theo Cherno"; mes "[Tarsha Cherno]"; mes "Excuse me?"; mes "What did she say?"; @@ -823,7 +826,7 @@ function script cherno { mes "was sick or sad"; mes "...Or something?"; next; - Emotion 23, "Tarsha Cherno"; + emotion e_omg, "Tarsha Cherno"; mes "[Tarsha Cherno]"; mes "Oh my god...!"; mes "What is she"; @@ -869,8 +872,9 @@ function script cherno { } } -//========Unidentified Machine #1 and #2======================= - +//---------------------------------------------------------------------------- +// Unidentified Machine #1 and #2 +//---------------------------------------------------------------------------- ein_in01,127,94,5 script Unidentified Machine#mac 111,{ callfunc "Machine"; } @@ -886,10 +890,11 @@ function script Machine { close; } -//====================Mirror============================= - +//---------------------------------------------------------------------------- +// Mirror +//---------------------------------------------------------------------------- ein_in01,121,99,5 script Mirror 111,{ - if(kain_ticket==8) { + if (kain_ticket == 8) { mes "^3355FFIt's a mirror."; mes "So, of course the"; mes "first thing you'll"; @@ -908,10 +913,11 @@ ein_in01,121,99,5 script Mirror 111,{ } } -//====================Tree from Einbech============================= - +//---------------------------------------------------------------------------- +// Tree from Einbech +//---------------------------------------------------------------------------- einbech,45,113,5 script Tree#t1-1::Tree 111,{ - if(kain_ticket==11) { + if (kain_ticket == 11) { mes "^3355FFYou crouch down"; mes "under the tree and"; mes "begin digging into"; @@ -925,7 +931,7 @@ einbech,45,113,5 script Tree#t1-1::Tree 111,{ mes "........."; next; set @find_diary,rand(1,100); - if(@find_diary > 10) { + if (@find_diary > 10) { mes "^3355ffUnfortunately,"; mes "you weren't able"; mes "to find anything.^000000"; @@ -936,11 +942,14 @@ einbech,45,113,5 script Tree#t1-1::Tree 111,{ set kain_ticket, 12; close; } - } else if(kain_ticket == 12) { + } else if (kain_ticket == 12) { callfunc "diary"; close; } } +einbech,36,100,5 duplicate(Tree) Tree#t1-2 111 +einbech,44,90,5 duplicate(Tree) Tree#t1-3 111 +einbech,53,94,5 duplicate(Tree) Tree#t1-4 111 function script diary { mes "^3355ffYou have found a ^3131FFJournal^3355ff among some other articles buried for safekeeping.^000000"; @@ -1024,17 +1033,18 @@ function script diary { return; } -//====================Expert Repairman============================= - +//---------------------------------------------------------------------------- +// Expert Repairman +//---------------------------------------------------------------------------- ein_in01,117,80,5 script Unidentified Machine#as 111,{ - if(kain_ticket > 12) { + if (kain_ticket > 12) { mes "["+strcharinfo(0)+"]"; mes "This is the"; mes "^FF0000Expert Repairman^000000?!"; mes "It looks like it"; mes "needs repairs itself..."; next; - if(getbrokenid(1)==NULL) { + if (getbrokenid(1) == 0) { mes "[Expert Repairman]"; mes "*Beep-*"; mes "Please check"; @@ -1049,7 +1059,7 @@ ein_in01,117,80,5 script Unidentified Machine#as 111,{ mes "You're gonna repair " + getitemname(getbrokenid(@choice)) + "."; mes "Continue?"; next; - switch( select("Yes","No")) { + switch(select("Yes:No")) { case 1: repair(@choice); next; @@ -1069,18 +1079,13 @@ ein_in01,117,80,5 script Unidentified Machine#as 111,{ close; } } -//===================Trees From Einbech========================== -//Tree of the Diary -einbech,36,100,5 duplicate(Tree) Tree#t1-2 111 -einbech,44,90,5 duplicate(Tree) Tree#t1-3 111 -einbech,53,94,5 duplicate(Tree) Tree#t1-4 111 -//=======================================================================================================// -// "How Does The Airship Work" Quest -//=======================================================================================================// +// "How Does The Airship Work" Quest :: lght_air & lght_ymir +//============================================================ - -//=============Monsters Attack====================== +//---------------------------------------------------------------------------- +// Monsters Attack :: lght_air +//---------------------------------------------------------------------------- airplane_01,1,1,0 script Airship#airplane02 -1,{ end; OnEnable: @@ -1488,7 +1493,9 @@ airplane_01,252,63,0 script boom8#airplane 139,{ end; } airplane_01,234,65,0 script boom9#airplane 139,{ end; } airplane_01,227,67,0 script boom10#airplane 139,{ end; } -//========Captain Tarlock (Inside the Captain Cabin)======================= +//---------------------------------------------------------------------------- +// Captain Tarlock :: lght_air +//---------------------------------------------------------------------------- airplane_01,238,154,3 script Airship Captain#01 873,{ cutin "fly_felrock",2; mes "[Tarlock]"; @@ -1499,11 +1506,11 @@ airplane_01,238,154,3 script Airship Captain#01 873,{ next; if (lght_air >= 0 && lght_air <= 3 || lght_air == 7) { set .@question$, "How does this Airship fly?"; - } else if(lght_air == 4) { + } else if (lght_air == 4) { set .@question$, "I handed the letter to Captain Ferlock."; - } else if(lght_air == 5) { + } else if (lght_air == 5) { set .@question$, "You finished reading the letter?"; - } else if(lght_air == 6) { + } else if (lght_air == 6) { set .@question$, "Already finished reading?"; } switch (select("Y-you're a reindeer?!", .@question$, "No, not really.")) { @@ -1769,38 +1776,26 @@ airplane_01,238,154,3 script Airship Captain#01 873,{ } } - -//===========Captain Ferlock======================= - +//---------------------------------------------------------------------------- +// Captain Ferlock :: lght_ymir +//---------------------------------------------------------------------------- airplane,236,163,5 script Airship Captain#03 873,{ cutin "fly_trock.bmp",2; - if(hg_ma1 == 3 || hg_ma1 == 4) - { + if (hg_ma1 == 3 || hg_ma1 == 4) { mes "[Ferlock]"; mes "Welcome to the airship. I am Ferlock, captain of this airship. What do you want from me? "; next; - switch( select( "Ask him about Thierry" ) ) - { - case 1: - break; - } + select("Ask him about Thierry"); mes "[Ferlock]"; mes "Hmm, this is the first time I hear of this name. I'm sure he's not the employee of this place."; next; - switch( select( "Request for the passenger list. " ) ) - { - case 1: - break; - } + select("Request for the passenger list."); mes "[Ferlock]"; mes "The passenger list is not opened to public unfortunately. Sorry I couldn't help you. "; - if(hg_ma1 == 3) close; + if (hg_ma1 == 3) + close; next; - switch( select( "Follow Kaci's request and tell him the story." ) ) - { - case 1: - break; - } + select("Follow Kaci's request and tell him the story."); mes "^3355FFWhen you tell him why you need to find Thierry, the captain listens to you quietly and nods his head.^000000"; next; mes "[Ferlock]"; @@ -1847,17 +1842,14 @@ airplane,236,163,5 script Airship Captain#03 873,{ close2; cutin "",255; end; - } - else if(hg_ma1 == 5) - { + } else if (hg_ma1 == 5) { mes "[Ferlock]"; mes "You better get going and send the news to the fiance."; close2; cutin "",255; end; } - if (lght_air == 7 && lhz_heart == 11) - { + if (lght_air == 7 && lhz_heart == 11) { mes "[Ferlock]"; mes "Ah, thank you for coming."; mes "Now, I wanted to ask you"; @@ -1866,127 +1858,115 @@ airplane,236,163,5 script Airship Captain#03 873,{ mes "merely curious, or did you"; mes "have some special reason?"; next; - switch( select( "Just curious...","Well, there's someone I need to help..." ) ) - { - case 1: - mes "[Ferlock]"; - mes "Just curious...?"; - mes "I don't know if satisfying"; - mes "your curiosity is worth the"; - mes "risks that you have already"; - mes "taken. You should be more "; - mes "careful in the future..."; - close2; - cutin "",255; - end; - - case 2: - mes "[Ferlock]"; - mes "Well, I shouldn't be"; - mes "trusting you this much,"; - mes "but since you've helped"; - mes "me and my brother, I feel"; - mes "that you must be one of those altruistic adventurers. Very well."; - next; - mes "[Ferlock]"; - mes "If you promise that you'll"; - mes "never tell what I reveal to"; - mes "you, then I suppose I can"; - mes "tell you know about the Rune"; - mes "Stone and Ymir's Heart Piece."; - next; - switch( select( "I promise..." ) ) - { - case 1: - break; - } - mes "[Ferlock]"; - mes "Alright, then. I expect you"; - mes "to keep your word. Now, you"; - mes "already know that the Airships"; - mes "are powered by Rune Stones, imitations of Ymir's Heart pieces."; - next; - mes "[Ferlock]"; - mes "Although Rune Stones are"; - mes "inferior to true Ymir Heart"; - mes "pieces, we can make as many"; - mes "as want. As for true Ymir Heart"; - mes "Pieces, they're difficult to find or effectively reproduce."; - next; - mes "[Ferlock]"; - mes "You may have already"; - mes "figured this out, but all"; - mes "Rune Stones are produced"; - mes "in the Einbroch Laboratory"; - mes "for use in the Airships. So"; - mes "you see what's going on?"; - next; - switch( select( "Wait, what's the Varmunt Project?" ) ) - { - case 1: - break; - } - mes "[Ferlock]"; - mes "The Varmunt Project is"; - mes "a continuation of one of"; - mes "the projects started by the"; - mes "great Sage, Varmunt. Even as"; - mes "a child, he was renown as an"; - mes "incredible genius, a prodigy."; - next; - mes "[Ferlock]"; - mes "However, no matter how"; - mes "much academic success he"; - mes "enjoyed--he even became a"; - mes "tenured professor at Juno"; - mes "University--Varmunt was never able to finance his own research."; - next; - mes "[Ferlock]"; - mes "Eventually, he accepted an"; - mes "offer from Rekenber Co. to"; - mes "develop an energy source in"; - mes "exchange for funding. The"; - mes "result of his work for them is the invention of the Rune Stone."; - next; - mes "[Ferlock]"; - mes "However, the public isn't"; - mes "supposed to know that Varmunt"; - mes "invented the Rune Stones. Now,"; - mes "Varmunt disappeared before he"; - mes "could perfect the Rune Stone"; - mes "creation process."; - next; - mes "[Ferlock]"; - mes "Therefore, the Rune Stones"; - mes "we have now are unstable and"; - mes "become useless after a while."; - mes "The Varmunt Project aims to"; - mes "correct these flaws and perfect"; - mes "the Ymir Heart replication..."; - next; - mes "[Ferlock]"; - mes "Er, anyway, that's why"; - mes "I was at the Einbroch"; - mes "Laboratory today. My Rune"; - mes "Stone was close to empty,"; - mes "so I went there to pick up"; - mes "a fully charged one."; - next; - mes "[Ferlock]"; - mes "^333333*Phew...*^000000"; - mes "Would you give me"; - mes "a moment to catch"; - mes "my breath before"; - mes "I continue? Yes,"; - mes "there's a little more..."; - set lhz_heart,12; - close2; - cutin "",255; - end; + switch(select("Just curious...:Well, there's someone I need to help...")) { + case 1: + mes "[Ferlock]"; + mes "Just curious...?"; + mes "I don't know if satisfying"; + mes "your curiosity is worth the"; + mes "risks that you have already"; + mes "taken. You should be more "; + mes "careful in the future..."; + close2; + cutin "",255; + end; + case 2: + mes "[Ferlock]"; + mes "Well, I shouldn't be"; + mes "trusting you this much,"; + mes "but since you've helped"; + mes "me and my brother, I feel"; + mes "that you must be one of those altruistic adventurers. Very well."; + next; + mes "[Ferlock]"; + mes "If you promise that you'll"; + mes "never tell what I reveal to"; + mes "you, then I suppose I can"; + mes "tell you know about the Rune"; + mes "Stone and Ymir's Heart Piece."; + next; + select("I promise..."); + mes "[Ferlock]"; + mes "Alright, then. I expect you"; + mes "to keep your word. Now, you"; + mes "already know that the Airships"; + mes "are powered by Rune Stones, imitations of Ymir's Heart pieces."; + next; + mes "[Ferlock]"; + mes "Although Rune Stones are"; + mes "inferior to true Ymir Heart"; + mes "pieces, we can make as many"; + mes "as want. As for true Ymir Heart"; + mes "Pieces, they're difficult to find or effectively reproduce."; + next; + mes "[Ferlock]"; + mes "You may have already"; + mes "figured this out, but all"; + mes "Rune Stones are produced"; + mes "in the Einbroch Laboratory"; + mes "for use in the Airships. So"; + mes "you see what's going on?"; + next; + select("Wait, what's the Varmunt Project?"); + mes "[Ferlock]"; + mes "The Varmunt Project is"; + mes "a continuation of one of"; + mes "the projects started by the"; + mes "great Sage, Varmunt. Even as"; + mes "a child, he was renown as an"; + mes "incredible genius, a prodigy."; + next; + mes "[Ferlock]"; + mes "However, no matter how"; + mes "much academic success he"; + mes "enjoyed--he even became a"; + mes "tenured professor at Juno"; + mes "University--Varmunt was never able to finance his own research."; + next; + mes "[Ferlock]"; + mes "Eventually, he accepted an"; + mes "offer from Rekenber Co. to"; + mes "develop an energy source in"; + mes "exchange for funding. The"; + mes "result of his work for them is the invention of the Rune Stone."; + next; + mes "[Ferlock]"; + mes "However, the public isn't"; + mes "supposed to know that Varmunt"; + mes "invented the Rune Stones. Now,"; + mes "Varmunt disappeared before he"; + mes "could perfect the Rune Stone"; + mes "creation process."; + next; + mes "[Ferlock]"; + mes "Therefore, the Rune Stones"; + mes "we have now are unstable and"; + mes "become useless after a while."; + mes "The Varmunt Project aims to"; + mes "correct these flaws and perfect"; + mes "the Ymir Heart replication..."; + next; + mes "[Ferlock]"; + mes "Er, anyway, that's why"; + mes "I was at the Einbroch"; + mes "Laboratory today. My Rune"; + mes "Stone was close to empty,"; + mes "so I went there to pick up"; + mes "a fully charged one."; + next; + mes "[Ferlock]"; + mes "^333333*Phew...*^000000"; + mes "Would you give me"; + mes "a moment to catch"; + mes "my breath before"; + mes "I continue? Yes,"; + mes "there's a little more..."; + set lhz_heart,12; + close2; + cutin "",255; + end; } - } - else if(lght_air == 7 && lhz_heart == 12) - { + } else if (lght_air == 7 && lhz_heart == 12) { mes "[Ferlock]"; mes "Now, "+strcharinfo(0)+","; mes "you must be wondering"; @@ -2072,9 +2052,7 @@ airplane,236,163,5 script Airship Captain#03 873,{ getexp 700000,400000; cutin "",255; end; - } - else if(lght_air == 7 && lhz_heart == 13) - { + } else if (lght_air == 7 && lhz_heart == 13) { mes "[Ferlock]"; mes "I'll be quite busy with my"; mes "captaining duties and my"; @@ -2092,16 +2070,16 @@ airplane,236,163,5 script Airship Captain#03 873,{ mes "on this flight. How can"; mes "I be of service to you?"; next; - if(lght_air == 2) { + if (lght_air == 2) { set .@question2$, "Give him Tarlock's Letter."; set .@question3$, "Cancel."; - } else if(lght_air == 3) { + } else if (lght_air == 3) { set .@question2$, "Here are the items I've found."; set .@question3$, "Cancel."; } else { set .@question2$, "Cancel."; } - switch( select( "How does this Airship fly?", .@question2$, .@question3$)) { + switch(select("How does this Airship fly?", .@question2$, .@question3$)) { case 1: mes "[Ferlock]"; mes "I'm sorry, but I can't"; @@ -2113,7 +2091,6 @@ airplane,236,163,5 script Airship Captain#03 873,{ close2; cutin "",255; end; - case 2: if (lght_air == 2) { changequest 8032,8033; @@ -2178,7 +2155,7 @@ airplane,236,163,5 script Airship Captain#03 873,{ close2; cutin "",255; end; - } else if(lght_air == 3) { + } else if (lght_air == 3) { if (countitem(7340) >= 2 && countitem(576) >= 2) { delitem 7340, 2; delitem 576, 2; @@ -2234,32 +2211,23 @@ airplane,236,163,5 script Airship Captain#03 873,{ } } -//=======================================================================================================// -// Heart Fragment Quest -//=======================================================================================================// - +// Heart Fragment Quest :: lght_ymir +//============================================================ airplane,236,63,4 script Hallen 706,{ - - if(hg_ma1 == 3) - { + if (hg_ma1 == 3) { mes "[Hallen]"; mes "Sha Sha~ "; next; mes "[Hallen]"; mes "Just let me handle this! Hehe. "; next; - switch( select( "Ask whether he knows Thierry" ) ) - { - case 1: - break; - } + select("Ask whether he knows Thierry"); mes "[Hallen]"; mes "Hmm?! Thierry?! I'm not sure. Why don't you ask the crew of the airship."; mes "Kaci might know this person."; close; } - if(BaseLevel < 60) - { + if (BaseLevel < 60) { mes "[Hallen]"; mes "If you need me to"; mes "do anything, just"; @@ -2267,57 +2235,50 @@ airplane,236,63,4 script Hallen 706,{ mes "Bweh heh... hollah~"; close; } - if(!lhz_heart) - { + if (!lhz_heart) { mes "[Hallen]"; mes "Howdy, howdy~"; mes "Welcome to the Airship."; next; - switch( select( "I'm not a passenger.","Hey kid, what are you doing?" ) ) - { - case 1: - emotion e_what,0; - mes "[Hallen]"; - mes "Does that mean you're"; - mes "one of the crewmen, then?"; - mes "I don't think we've met before,"; - mes "and I should be familiar with"; - mes "everyone working here by now..."; - next; - emotion e_gasp,0; - mes "[Hallen]"; - mes "Hey...!"; - mes "If you're on duty,"; - mes "shouldn't you be in"; - mes "uniform? I guess you"; - mes "don't work here after all!"; - mes "Heh, figured it out myself~"; - next; - mes "[Hallen]"; - mes "Eh, I need to finish"; - mes "sweeping this deck. Then,"; - mes "on my break, I can play a"; - mes "little game for Apples with"; - mes "Kaci. That's how I roll, yo."; - next; - break; - - case 2: - mes "[Hallen]"; - mes "Ummm... Isn't it obvious?"; - mes "I'm sweeping the deck. I'm"; - mes "the youngest crewman, so"; - mes "I get stuck with the lamest"; - mes "jobs. But once I'm done, it's"; - mes "Dice time with Kaci. Oh yeah~"; - next; - break; - } - switch( select( "Kaci?" ) ) - { - case 1: - break; + switch(select("I'm not a passenger.:Hey kid, what are you doing?")) { + case 1: + emotion e_what,0; + mes "[Hallen]"; + mes "Does that mean you're"; + mes "one of the crewmen, then?"; + mes "I don't think we've met before,"; + mes "and I should be familiar with"; + mes "everyone working here by now..."; + next; + emotion e_gasp,0; + mes "[Hallen]"; + mes "Hey...!"; + mes "If you're on duty,"; + mes "shouldn't you be in"; + mes "uniform? I guess you"; + mes "don't work here after all!"; + mes "Heh, figured it out myself~"; + next; + mes "[Hallen]"; + mes "Eh, I need to finish"; + mes "sweeping this deck. Then,"; + mes "on my break, I can play a"; + mes "little game for Apples with"; + mes "Kaci. That's how I roll, yo."; + next; + break; + case 2: + mes "[Hallen]"; + mes "Ummm... Isn't it obvious?"; + mes "I'm sweeping the deck. I'm"; + mes "the youngest crewman, so"; + mes "I get stuck with the lamest"; + mes "jobs. But once I'm done, it's"; + mes "Dice time with Kaci. Oh yeah~"; + next; + break; } + select("Kaci?"); mes "[Hallen]"; mes "Kaci... You know, the"; mes "dealer of the Dice game?"; @@ -2336,9 +2297,7 @@ airplane,236,63,4 script Hallen 706,{ close2; set lhz_heart,1; end; - } - else if(lhz_heart == 1) - { + } else if (lhz_heart == 1) { mes "[Hallen]"; mes "Oh hey, it's you~"; mes "We talked earlier,"; @@ -2356,49 +2315,45 @@ airplane,236,63,4 script Hallen 706,{ mes "me a favor since I can't"; mes "really leave this joint?"; next; - switch( select( "Sorry, but I'm busy...","What is it?" ) ) - { - case 1: - mes "[Hallen]"; - mes "Eh, alright. I guess"; - mes "I can understand. But"; - mes "still, I coulda made it"; - mes "worth your while, if you"; - mes "know what I mean~"; - close; - - case 2: - mes "[Hallen]"; - mes "Don't worry, it's not much"; - mes "work. I'm supposed to deliver"; - mes "letters from Juno Airport to"; - mes "the other crewmen, but I don't"; - mes "got the time. Now, I have"; - mes "this letter for Kaci here..."; - next; - mes "[Hallen]"; - mes "Would you go and"; - mes "deliver this letter"; - mes "to her for me? It's"; - mes "from some guy named"; - mes "Mr. Mawong, her mentor"; - mes "or something like that."; - next; - mes "^3355FFHallen gave you"; - mes "Mawong's letter to"; - mes "be delivered to Kaci.^000000"; - setquest 8036; - set lhz_heart,2; - next; - mes "[Hallen]"; - mes "Hey, thanks a lot, pal~"; - mes "You can find Kaci hosting"; - mes "the Dice game in the Airship."; - close; + switch(select("Sorry, but I'm busy...:What is it?")) { + case 1: + mes "[Hallen]"; + mes "Eh, alright. I guess"; + mes "I can understand. But"; + mes "still, I coulda made it"; + mes "worth your while, if you"; + mes "know what I mean~"; + close; + case 2: + mes "[Hallen]"; + mes "Don't worry, it's not much"; + mes "work. I'm supposed to deliver"; + mes "letters from Juno Airport to"; + mes "the other crewmen, but I don't"; + mes "got the time. Now, I have"; + mes "this letter for Kaci here..."; + next; + mes "[Hallen]"; + mes "Would you go and"; + mes "deliver this letter"; + mes "to her for me? It's"; + mes "from some guy named"; + mes "Mr. Mawong, her mentor"; + mes "or something like that."; + next; + mes "^3355FFHallen gave you"; + mes "Mawong's letter to"; + mes "be delivered to Kaci.^000000"; + setquest 8036; + set lhz_heart,2; + next; + mes "[Hallen]"; + mes "Hey, thanks a lot, pal~"; + mes "You can find Kaci hosting"; + mes "the Dice game in the Airship."; + close; } - } - else if(lhz_heart == 2) - { + } else if (lhz_heart == 2) { mes "[Hallen]"; mes "^333333*Sigh...*^000000"; mes "I'm so sick and"; @@ -2415,9 +2370,7 @@ airplane,236,63,4 script Hallen 706,{ mes "important, so try not"; mes "to take too long, okay?"; close; - } - else if(lhz_heart == 3) - { + } else if (lhz_heart == 3) { mes "[Hallen]"; mes "^333333*Sigh...*^000000"; mes "I'm so sick and"; @@ -2426,9 +2379,7 @@ airplane,236,63,4 script Hallen 706,{ mes "kinda lame cabin boy."; mes "But... I guess I am!"; close; - } - else if(lhz_heart == 4) - { + } else if (lhz_heart == 4) { mes "[Hallen]"; mes "Hey, thanks for delivering"; mes "that letter to Kaci for me."; @@ -2443,49 +2394,44 @@ airplane,236,63,4 script Hallen 706,{ mes "help each other in"; mes "times of crisis?"; next; - switch( select( "Not at all. Every man for himself!","Yes, I do." ) ) - { - case 1: + switch(select("Not at all. Every man for himself!:Yes, I do.")) { + case 1: + mes "[Hallen]"; + mes "Wh-what...?"; + mes "I can't think"; + mes "that you really"; + mes "believe that..."; + set lhz_heart,5; + close; + case 2: + mes "[Hallen]"; + mes "Aww, really?"; + mes "I knew that you'd"; + mes "feel the same way"; + mes "I do. You and me, we're"; + mes "on the same wavelength~"; + next; + if (checkweight(501,1) != 1) { mes "[Hallen]"; - mes "Wh-what...?"; - mes "I can't think"; - mes "that you really"; - mes "believe that..."; - set lhz_heart,5; - close; - - case 2: - mes "[Hallen]"; - mes "Aww, really?"; - mes "I knew that you'd"; - mes "feel the same way"; - mes "I do. You and me, we're"; - mes "on the same wavelength~"; - next; - if(checkweight(501,1) != 1) - { - mes "[Hallen]"; - mes "Oh... Hey, I was"; - mes "going to give you"; - mes "a little something,"; - mes "but you're carrying"; - mes "too much stuff right now..."; - close; - } - set lhz_heart,5; - getitem 501,1; - mes "[Hallen]"; - mes "I know this isn't"; - mes "much, but I'd like you"; - mes "to have it. Besides, you"; - mes "never know what'll come in"; - mes "handy during an emergency."; - mes "Alright then, see you later~"; + mes "Oh... Hey, I was"; + mes "going to give you"; + mes "a little something,"; + mes "but you're carrying"; + mes "too much stuff right now..."; close; + } + set lhz_heart,5; + getitem 501,1; + mes "[Hallen]"; + mes "I know this isn't"; + mes "much, but I'd like you"; + mes "to have it. Besides, you"; + mes "never know what'll come in"; + mes "handy during an emergency."; + mes "Alright then, see you later~"; + close; } - } - else if(lhz_heart == 5) - { + } else if (lhz_heart == 5) { mes "[Hallen]"; mes "Hey, hey~ How's it going?"; mes "I know, I know, I'm supposed"; @@ -2518,11 +2464,7 @@ airplane,236,63,4 script Hallen 706,{ mes "course, I doubt I can compare"; mes "to the great Sage Varmunt."; next; - switch( select( "Sage Varmunt?" ) ) - { - case 1: - break; - } + select("Sage Varmunt?"); mes "[Hallen]"; mes "Yeah, Varmunt... He's like"; mes "one of the greatest Sages in"; @@ -2554,22 +2496,15 @@ airplane,236,63,4 script Hallen 706,{ changequest 8038,8039; set lhz_heart,6; close; - } - else if(lhz_heart == 6) - { + } else if (lhz_heart == 6) { mes "[Hallen]"; mes "Hey, have you learned"; mes "what makes such a big,"; mes "heavy Airship like this fly"; mes "for so long in the sky?"; next; - if(lght_air == 7) - { - switch( select( "Umm, yeah, kind of." ) ) - { - case 1: - break; - } + if (lght_air == 7) { + select("Umm, yeah, kind of."); mes "[Hallen]"; mes "Really...?"; mes "Are you serious?"; @@ -2589,11 +2524,7 @@ airplane,236,63,4 script Hallen 706,{ mes "No way, it can't be that simple. Besides, steam has its limits."; mes "Are you sure that's everything?"; next; - switch( select( "Actually, there's another power source." ) ) - { - case 1: - break; - } + select("Actually, there's another power source."); mes "^3355FFYou reveal what you"; mes "learn about the Rune Stone,"; mes "an imitation of Ymir's Heart"; @@ -2617,14 +2548,8 @@ airplane,236,63,4 script Hallen 706,{ changequest 8039,8040; set lhz_heart,7; close; - } - else - { - switch( select( "Actually..." ) ) - { - case 1: - break:; - } + } else { + select("Actually..."); mes "[Hallen]"; mes "You didn't learn anything"; mes "about the Airship yet, huh?"; @@ -2641,9 +2566,7 @@ airplane,236,63,4 script Hallen 706,{ mes "it'll be one of you adventurers. So please help me out here..."; close; } - } - else if(lhz_heart == 7) - { + } else if (lhz_heart == 7) { mes "[Hallen]"; mes "So the Rune Stone"; mes "is an imitation of just"; @@ -2660,8 +2583,7 @@ airplane,236,63,4 script Hallen 706,{ mes "when he plays the Dice"; mes "game for Apples!"; next; - if(Shinokas_Quest > 9) - { + if (Shinokas_Quest > 9) { mes "["+strcharinfo(0)+"]"; mes "(^333333Wait, I met that guy when"; mes "I was helping Shinokas. He"; @@ -2678,8 +2600,7 @@ airplane,236,63,4 script Hallen 706,{ mes "the trouble of learning that"; mes "secret information for me..."; next; - if(checkweight(501,1) != 1) - { + if (checkweight(501,1) != 1) { mes "[Hallen]"; mes "Aw, nuts..."; mes "You don't have"; @@ -2689,7 +2610,7 @@ airplane,236,63,4 script Hallen 706,{ mes "in your inventory for me, okay?"; close; } - if(Shinokas_Quest > 9) set lhz_heart,9; + if (Shinokas_Quest > 9) set lhz_heart,9; else set lhz_heart,8; changequest 8040,8041; getitem 501,1; @@ -2701,9 +2622,7 @@ airplane,236,63,4 script Hallen 706,{ mes "but hey... It's my thought that"; mes "counts, right? See you later~"; close; - } - else if(lhz_heart == 8) - { + } else if (lhz_heart == 8) { mes "[Hallen]"; mes "Hey, why don't you"; mes "ask Kaci about that"; @@ -2712,9 +2631,7 @@ airplane,236,63,4 script Hallen 706,{ mes "You might learn more about"; mes "Ymir's Heart Piece, you know?"; close; - } - else - { + } else { mes "[Hallen]"; mes "Thanks for helping me"; mes "out that last time. I guess"; @@ -2726,17 +2643,11 @@ airplane,236,63,4 script Hallen 706,{ } airplane,33,69,4 script Kaci 73,{ - - if(hg_ma1 == 3) - { + if (hg_ma1 == 3) { mes "[Kaci]"; mes "Hello there. My name is Kaci. If you feel bored boarding the airship, why don't you play a game of dice with me."; next; - switch( select( "Ask whether she knows Thierry" ) ) - { - case 1: - break; - } + select("Ask whether she knows Thierry"); mes "[Kaci]"; mes "Thierry ....That name sounds familiar..."; next; @@ -2789,26 +2700,18 @@ airplane,33,69,4 script Kaci 73,{ changequest 8044,8045; set hg_ma1,4; close; - } - else if(hg_ma1 == 4) - { + } else if (hg_ma1 == 4) { mes "[Kaci]"; mes "You can ask the captain for the whereabouts of Thierry. I am sure that the captain will be willing to help if you tell him what happened."; close; - } - else if(lhz_heart == 2) - { + } else if (lhz_heart == 2) { mes "[Kaci]"; mes "You must be sooo"; mes "bored, adventurer~"; mes "How would you like"; mes "to play a game of Dice?"; next; - switch( select( "Give her the letter from Hallen." ) ) - { - case 1: - break; - } + select("Give her the letter from Hallen."); mes "[Kaci]"; mes "Oh, Hallen must have"; mes "asked you to deliver this."; @@ -2826,9 +2729,7 @@ airplane,33,69,4 script Kaci 73,{ mes "me, feel free to ask me,"; mes "alright? See you later~"; close; - } - else if(lhz_heart == 3) - { + } else if (lhz_heart == 3) { mes "[Kaci]"; mes "Oh, hello. Thanks for"; mes "delivering that letter from"; @@ -2838,80 +2739,77 @@ airplane,33,69,4 script Kaci 73,{ mes "letter really made my day~"; next; L_Ask: - switch( select( "Ask about Hallen","Ask about Mawong","Ask about the Airship" ) ) - { - case 1: - set .@mesa,1; - mes "[Kaci]"; - mes "Hallen? Well, he and I are"; - mes "pretty close. Did you know"; - mes "that we're cousins? In fact,"; - mes "his dad, my uncle, brought"; - mes "me as a child after my father"; - mes "passed away 20 years ago."; - next; - mes "[Kaci]"; - mes "There was some kind of"; - mes "mine explosion accident in"; - mes "Einbech. I don't remember."; - mes "Anyway, me and Hallen are"; - mes "like sister and brother, and"; - mes "we always stick together."; - next; - mes "[Kaci]"; - mes "When Captain Ferlock saw me"; - mes "host a Dice game by coincidence"; - mes "and then hired me to work on his Airship, Hallen insisted on coming"; - mes "along. He's stubborn like that,"; - mes "but he's also very sweet."; - next; - break; - - case 2: - set .@mesb,1; - mes "[Kaci]"; - mes "Mr. Mawong? Oh, don't get"; - mes "the wrong idea! He's my"; - mes "mentor, the one who taught"; - mes "me how to play all of these"; - mes "wonderful games. He's pretty"; - mes "famous around Juno, you know."; - next; - mes "[Kaci]"; - mes "I used to be so depressed,"; - mes "not caring about the world"; - mes "at all, after my father died."; - mes "Then, I ran into Mr. Mawong,"; - mes "and he taught me how to find"; - mes "the joy in life once again."; - next; - mes "[Kaci]"; - mes "Because of him, I decided"; - mes "to learn his games and to"; - mes "help people forget their"; - mes "worries and just enjoy"; - mes "themselves, even if it's"; - mes "just for a little while."; - next; - break; - - case 3: - set .@mesc,1; - mes "[Kaci]"; - mes "The Airship? It's so"; - mes "huge and beautiful, and"; - mes "I'm always amazed that it"; - mes "can fly so gracefully through"; - mes "the air. I've always wanted to live someplace close to the sky..."; - next; - mes "[Kaci]"; - mes "A place where I can see"; - mes "the clouds and bask in the"; - mes "sun. So, when Captain Ferlock"; - mes "invited me to work here, it was"; - mes "like a dream come true~"; - next; - break; + switch(select("Ask about Hallen:Ask about Mawong:Ask about the Airship")) { + case 1: + set .@mesa,1; + mes "[Kaci]"; + mes "Hallen? Well, he and I are"; + mes "pretty close. Did you know"; + mes "that we're cousins? In fact,"; + mes "his dad, my uncle, brought"; + mes "me as a child after my father"; + mes "passed away 20 years ago."; + next; + mes "[Kaci]"; + mes "There was some kind of"; + mes "mine explosion accident in"; + mes "Einbech. I don't remember."; + mes "Anyway, me and Hallen are"; + mes "like sister and brother, and"; + mes "we always stick together."; + next; + mes "[Kaci]"; + mes "When Captain Ferlock saw me"; + mes "host a Dice game by coincidence"; + mes "and then hired me to work on his Airship, Hallen insisted on coming"; + mes "along. He's stubborn like that,"; + mes "but he's also very sweet."; + next; + break; + case 2: + set .@mesb,1; + mes "[Kaci]"; + mes "Mr. Mawong? Oh, don't get"; + mes "the wrong idea! He's my"; + mes "mentor, the one who taught"; + mes "me how to play all of these"; + mes "wonderful games. He's pretty"; + mes "famous around Juno, you know."; + next; + mes "[Kaci]"; + mes "I used to be so depressed,"; + mes "not caring about the world"; + mes "at all, after my father died."; + mes "Then, I ran into Mr. Mawong,"; + mes "and he taught me how to find"; + mes "the joy in life once again."; + next; + mes "[Kaci]"; + mes "Because of him, I decided"; + mes "to learn his games and to"; + mes "help people forget their"; + mes "worries and just enjoy"; + mes "themselves, even if it's"; + mes "just for a little while."; + next; + break; + case 3: + set .@mesc,1; + mes "[Kaci]"; + mes "The Airship? It's so"; + mes "huge and beautiful, and"; + mes "I'm always amazed that it"; + mes "can fly so gracefully through"; + mes "the air. I've always wanted to live someplace close to the sky..."; + next; + mes "[Kaci]"; + mes "A place where I can see"; + mes "the clouds and bask in the"; + mes "sun. So, when Captain Ferlock"; + mes "invited me to work here, it was"; + mes "like a dream come true~"; + next; + break; } mes "[Kaci]"; mes "Please don't hesitate"; @@ -2920,7 +2818,7 @@ L_Ask: mes "or if you're just curious"; mes "about me in general~"; next; - if(!.@mesa || !.@mesb || !.@mesc) goto L_Ask; + if (!.@mesa || !.@mesb || !.@mesc) goto L_Ask; mes "[Kaci]"; mes "By the way, if Hallen"; mes "bothers you with another"; @@ -2937,20 +2835,14 @@ L_Ask: changequest 8037,8038; set lhz_heart,4; close; - } - else if(lhz_heart == 8) - { + } else if (lhz_heart == 8) { mes "[Kaci]"; mes "Hello, "+strcharinfo(0)+"."; mes "It's nice to see you again."; mes "So is there anything I can"; mes "help you with today?"; next; - switch( select( "Who's that drunk over there?" ) ) - { - case 1: - break; - } + select("Who's that drunk over there?"); mes "[Kaci]"; mes "Oh, him? He's one of my"; mes "regulars, some guy who's"; @@ -3001,9 +2893,9 @@ L_Ask: } ein_in01,279,25,0 script #lab01_heart 139,1,1,{ - + end; OnTouch: - if(lhz_heart == 9) + if (lhz_heart == 9) { mes "["+strcharinfo(0)+"]"; mes "(^333333I've... I've just"; @@ -3016,9 +2908,9 @@ OnTouch: } ein_in01,264,17,0 script #lab02_heart 139,1,1,{ - + end; OnTouch: - if(lhz_heart == 9) + if (lhz_heart == 9) { mes "["+strcharinfo(0)+"]"; mes "What the..."; @@ -3056,17 +2948,16 @@ OnTimer120000: } ein_in01,261,35,0 script lab03#heart 139,1,1,{ - + end; OnTouch: - if(lhz_heart == 9) { + if (lhz_heart == 9) { mes "[Security System]"; mes "^FF0000Unauthorized person"; mes "detected. Password"; mes "Checker not detected."; mes "Access denied.^000000"; close; - } - else if(lhz_heart == 10) { + } else if (lhz_heart == 10) { mes "[Security System]"; mes "^FF0000Enter the 3 digit password."; mes "You will be allowed 5 tries"; diff --git a/npc/quests/quests_alberta.txt b/npc/quests/quests_alberta.txt index 959e8769ed..9770cdc1f4 100644 --- a/npc/quests/quests_alberta.txt +++ b/npc/quests/quests_alberta.txt @@ -20,13 +20,13 @@ //= 1.3 Fixed item ID 7031 -> 7013 //= 1.4 Fixed a bug, Fixed Exploits, Optimized [Lupus] //= 1.6 TEMPESTRA quest uses common quests variable MISC_QUEST -//= Condition if done: (MISC_QUEST & 2) [Lupus] +//= Condition if done: (MISC_QUEST & 2) [Lupus] //= 1.7 Moved quest from cities/albera.txt [Evera] //= 1.8 Re-made the Doll Quest, now with official dialogs. [DZeroX] //= 1.8a Removed .GATs [Lupus] //= 1.9 Updated Turtle Quest to official. [L0ne_W0lf] //= 2.0 Turtle Island quest now clears TURTLE var and set -//= MISC_QUEST bit (MISC_QUEST & 65536) [Lupus] +//= MISC_QUEST bit (MISC_QUEST & 65536) [Lupus] //= 2.1 Added missing close. [L0ne_W0lf] //= 2.2 Updated Gotan to be compliant with misc_quiest var. [L0ne_W0lf] //= 2.3 Updated heardgear Quest NPCs. [L0ne_W0lf] @@ -54,337 +54,336 @@ alberta,117,135,0 script Elin 96,{ mes "[Elin]"; mes "You know, I really really want a new doll! I hope my daddy will give me one on my birthday...!"; next; - switch(select("Um, I hope your daddy gives you one too.","How about I give you one now?")) { - case 1: - mes "[Elin]"; - mes "Yeah, I'm hoping"; - mes "he gives me a Yoyo"; - mes "doll. They're so cute!"; - close; - case 2: - set .@weight,MaxWeight-Weight; - if ((.@weight) < 1000) { - mes "[Elin]"; - if (Sex == 1) { - mes "Maybe you should put some of your stuff away first, you look like you're carrying too much, hee hee~"; - } else { - mes "Do you always carry so much with you? Put some of your things away first, okay?"; - } - close; - } + switch(select("Um, I hope your daddy gives you one too.:How about I give you one now?")) { + case 1: + mes "[Elin]"; + mes "Yeah, I'm hoping"; + mes "he gives me a Yoyo"; + mes "doll. They're so cute!"; + close; + case 2: + if (MaxWeight - Weight < 1000) { mes "[Elin]"; if (Sex == 1) { - mes "Oh my goodness!"; - mes "Really? You're"; - mes "such a sweetie~!"; + mes "Maybe you should put some of your stuff away first, you look like you're carrying too much, hee hee~"; } else { - mes "Will you really?"; - mes "You're gonna give"; - mes "me a doll? Yaaaay~"; + mes "Do you always carry so much with you? Put some of your things away first, okay?"; } + close; + } + mes "[Elin]"; + if (Sex == 1) { + mes "Oh my goodness!"; + mes "Really? You're"; + mes "such a sweetie~!"; + } else { + mes "Will you really?"; + mes "You're gonna give"; + mes "me a doll? Yaaaay~"; + } + next; + mes "[Elin]"; + mes "What kind of doll are you going to give me? Are you really gonna give me one?"; + next; + switch(select("Poring Doll:Chonchon Doll:Puppet:Rocker Doll:Spore Doll:Osiris Doll:Baphomet Doll:Raccoon Doll:Yoyo Doll:I'm as adorable as a doll.")) { + case 1: + if (countitem(741) >= 1) { + delitem 741,1; //Poring_Doll + mes "[Elin]"; + mes "Aww..."; + mes "I have a lot"; + mes "of Poring dolls..."; + next; + mes "[Elin]"; + if (Sex == 1) { + mes "But since a cute boy is giving it to me, I'll happily take it! Hee hee, soft and fluffy Poring doll~"; + } else { + mes "But since a nice girl is giving it to me, I'll take it! Hee he, soft and fluffy Poring doll~"; + } + next; + mes "[Elin]"; + mes "Ooh, let me give you something as a little thank you. You see, I hid some candy so I can eat it without telling mommy."; + next; + getitem 529,1; //Candy + mes "[Elin]"; + if (Sex == 1) { + mes "I don't know if you're too old to like candy, but I guess it's okay."; + } else { + mes "So, try not to eat too much, okay? Otherwise, you might get in trouble!"; + } + next; + mes "[Elin]"; + mes "Thank you"; + mes "so much for"; + mes "the Poring doll!"; + close; + } else { + mes "[Elin]"; + if (Sex == 1) { + mes "Aww...?"; + mes "Were you only teasing me?"; + } else { + mes "Aww..."; + mes "You're not making fun of me are you?"; + } + next; + mes "[Elin]"; + mes "I guess you forgot it somewhere..."; + close; + } + case 2: + if (countitem(742) >= 1) { + delitem 742,1; //Chonchon_Doll + mes "[Elin]"; + mes "Agh--!"; + mes "A Ch-Ch, Chonchon doll?!"; + next; + mes "[Elin]"; + if (Sex == 1) { + mes "But since... You're... Such a nice guy... I better take it...!"; + } else { + mes "But since... Since it's a gift... I guess I'll take it..."; + } + next; + mes "[Elin]"; + mes "Mmm~"; + mes "Let me give you"; + mes "something in return..."; + next; + getitem 530,1; //Candy_Striper + mes "[Elin]"; + mes "If you eat too much, your teeth will start to rot... at least, that's what Mommy says."; + next; + mes "[Elin]"; + mes "And.."; + mes "Uh..."; + mes "Thank you"; + mes "for the doll?"; + close; + } else { + mes "[Elin]"; + mes "Chonchon dolls are ugly anyways, but you still lied to me! How can you be so mean?!"; + next; + mes "[Elin]"; + mes "Waaaaaaaaah~~"; + close; + } + case 3: + if (countitem(740) >= 1) { + delitem 740,1; //Stuffed_Doll + mes "[Elin]"; + mes "Wow...!"; + mes "It looks like a bunny!"; + next; + mes "[Elin]"; + mes "I really like this Puppet~ Heh hehe! Thank you so much~"; + next; + mes "[Elin]"; + mes "Ooh ooh!"; + mes "I have something"; + mes "for you too!"; + mes "Um, where"; + mes "did it... Ah!"; + next; + getitem 530,1; //Candy_Striper + mes "[Elin]"; + mes "Here it is! It's some of the candy Santa gave me. Go ahead and try some! Oh, and thank you so much for the doll!"; + close; + } else { + mes "[Elin]"; + mes "Awww, you were only kidding? W-W-Why are you teasing me like that?"; + next; + mes "[Elin]"; + mes "^666666*Sniff...*^000000"; + next; + mes "[Elin]"; + mes "Waaaaaaaaah~~"; + close; + } + case 4: + if (countitem(752) >= 1) { + delitem 752,1; //Grasshopper_Doll + mes "[Elin]"; + mes "Ooh! Rocker Doll!"; + mes "It's the Rocker that likes singing and dancing! I don't like grasshoppers, but I like this because it's cute~"; + next; + mes "[Elin]"; + mes "Hmmm, I should give you something too, huh? Let's see, I have what my grandpa gave me..."; + next; + getitem 532,7; //Banana_Juice + mes "[Elin]"; + mes "Here you go! We have a lot of this at home, so I'll give it to you, okay? Oh, and thank you so much for the doll~ I love cute dolls!"; + close; + } else { + mes "[Elin]"; + mes "Awww..."; + next; + mes "[Elin]"; + mes "You don't"; + mes "really have a doll...?"; + mes "I was so excited about it, too..."; + close; + } + case 5: + if (countitem(743) >= 1) { + delitem 743,1; //Spore_Doll + mes "[Elin]"; + mes "It's a mushroom?"; + mes "Ewwwwwwwww, yucky!"; + mes "Mommy made me eat"; + mes "mushrooms today, too..."; + next; + mes "[Elin]"; + mes "But this doll is cute, so I'll take it. But I'm still not gonna eat mushrooms! Heh heh~"; + next; + getitem 538,5; //Well_Baked_Cookie + mes "[Elin]"; + mes "Hehe~ My mommy made this! It's really yummy. I love cookies, too. So try it, you'll like it! Hee hee!"; + next; + mes "[Elin]"; + mes "Thanks for"; + mes "the doll! I'll"; + mes "take good care of it!"; + close; + } else { + mes "[Elin]"; + mes "Eh...?"; + mes "You don't"; + mes "have a doll?"; + next; + mes "[Elin]"; + mes "Awww..."; + mes "It's not nice"; + mes "to tease people"; + mes "like that. ^666666*Sniff, sniff*^000000"; + close; + } + case 6: + if (countitem(751) >= 1) { + delitem 751,1; //Osiris_Doll + mes "[Elin]"; + mes "Ahhhhh!"; + mes "What is this"; + mes "thing?! It's so scary!"; + next; + mes "[Elin]"; + mes "I've never seen a doll like this before. Where it's from? Hmm? Since I've never seen this kind of doll before, I'm gonna show it to my daddy, too. Hehe~! He'll be surprised!"; + next; + mes "[Elin]"; + mes "Here, since you gave me such a nicely made doll, I better give you something good too."; + next; + getitem 522,2; //Fruit_Of_Mastela + mes "[Elin]"; + mes "I found it when I secretly went to the forest. I took it because it has pretty colors!"; + if (Sex == 1) { + mes "Since there's two, you can share it with your girlfriend. Hee hee~!"; + } else { + mes "Since there's two, you can share it with your boyfriend. Hee hee~!"; + } + close; + } else { + mes "[Elin]"; + mes "Awww..."; + mes "Why do you have"; + mes "to make fun of me?"; + close; + } + case 7: + if (countitem(750) >= 1) { + delitem 750,1; //Baphomet_Doll + mes "[Elin]"; + mes "Huh?"; + mes "It's a little goat..."; + next; + mes "[Elin]"; + mes "It's so weird. It's cute but it's also scary at the same time. Well, since you gave me a pretty doll, I wanna give you something, too."; + next; + getitem 525,5; //Panacea + mes "[Elin]"; + mes "My daddy gave me this when I was really sick. I'm not sick anymore so you can use it when you need to. Hehehe~"; + next; + mes "[Elin]"; + mes "Hee hee~"; + mes "Thank you for"; + mes "the doll. I won't lose it!"; + close; + } else { + mes "[Elin]"; + mes "You big liar! Why are you pretending to be nice?!"; + close; + } + case 8: + if (countitem(754) >= 1) { + delitem 754,1; //Raccoondog_Doll + mes "[Elin]"; + mes "Hehe, it's a"; + mes "raccoon doll."; + mes "It's very very cute~"; + next; + mes "[Elin]"; + mes "I don't like"; + mes "Smokies in real life,"; + mes "but this doll is nice!"; + next; + getitem 539,3; //Piece_Of_Cake + mes "[Elin]"; + mes "Here, let me give you some cake my grandma made. It's really yummy. I don't know if you like sweets or not, but it's really good! Please try some!"; + next; + mes "[Elin]"; + mes "Hee hee~"; + mes "Thanks for the doll."; + mes "I'm gonna keep it"; + mes "in my room!"; + close; + } else { + mes "[Elin]"; + mes "Hey! How come you have to say things like that? Are you making fun of me?!"; + close; + } + case 9: + if (countitem(753) >= 1) { + delitem 753,1; //Monkey_Doll + mes "[Elin]"; + mes "Woooooooow~!"; + next; + mes "[Elin]"; + mes "A Yoyo doll! It's so pretty! You're really gonna give it to me?! Yay! Thank you so much! I really like it! Hee hee!"; + next; + mes "[Elin]"; + mes "Since you gave"; + mes "me such a pretty doll,"; + mes "I wanna give you"; + mes "something, too!"; + next; + getitem 608,1; //Seed_Of_Yggdrasil + mes "[Elin]"; + mes "My daddy picked it up on his way to another town. It looks like some kind of seed. I tried planting it in front of our house but it won't grow. Do you want to try?"; + next; + mes "[Elin]"; + mes "Hehe~"; + mes "Thanks for"; + mes "the doll. I'll hug"; + mes "it before I go"; + mes "to sleep!"; + close; + } else { + mes "[Elin]"; + mes "Hey..."; + mes "How come you're making fun of me?!"; + close; + } + case 10: + mes "["+strcharinfo(0)+"]"; + mes "I'm as adorable as a doll..."; next; mes "[Elin]"; - mes "What kind of doll are you going to give me? Are you really gonna give me one?"; + mes "Whaaaaaaaaaaat...?"; next; - switch(select("Poring Doll","Chonchon Doll","Puppet","Rocker Doll","Spore Doll","Osiris Doll","Baphomet Doll","Raccoon Doll","Yoyo Doll","I'm as adorable as a doll.")) { - case 1: - if (countitem(741) >= 1) { - delitem 741,1; // Poring_Doll - mes "[Elin]"; - mes "Aww..."; - mes "I have a lot"; - mes "of Poring dolls..."; - next; - mes "[Elin]"; - if (Sex == 1) { - mes "But since a cute boy is giving it to me, I'll happily take it! Hee hee, soft and fluffy Poring doll~"; - } else { - mes "But since a nice girl is giving it to me, I'll take it! Hee he, soft and fluffy Poring doll~"; - } - next; - mes "[Elin]"; - mes "Ooh, let me give you something as a little thank you. You see, I hid some candy so I can eat it without telling mommy."; - next; - getitem 529,1; // Candy - mes "[Elin]"; - if (Sex == 1) { - mes "I don't know if you're too old to like candy, but I guess it's okay."; - } else { - mes "So, try not to eat too much, okay? Otherwise, you might get in trouble!"; - } - next; - mes "[Elin]"; - mes "Thank you"; - mes "so much for"; - mes "the Poring doll!"; - close; - } else { - mes "[Elin]"; - if (Sex == 1) { - mes "Aww...?"; - mes "Were you only teasing me?"; - } else { - mes "Aww..."; - mes "You're not making fun of me are you?"; - } - next; - mes "[Elin]"; - mes "I guess you forgot it somewhere..."; - close; - } - case 2: - if (countitem(742) >= 1) { - delitem 742,1; // Chonchon_Doll - mes "[Elin]"; - mes "Agh--!"; - mes "A Ch-Ch, Chonchon doll?!"; - next; - mes "[Elin]"; - if (Sex == 1) { - mes "But since... You're... Such a nice guy... I better take it...!"; - } else { - mes "But since... Since it's a gift... I guess I'll take it..."; - } - next; - mes "[Elin]"; - mes "Mmm~"; - mes "Let me give you"; - mes "something in return..." ; - next; - getitem 530,1; // Candy_Striper - mes "[Elin]"; - mes "If you eat too much, your teeth will start to rot... at least, that's what Mommy says."; - next; - mes "[Elin]"; - mes "And.."; - mes "Uh..."; - mes "Thank you"; - mes "for the doll?"; - close; - } else { - mes "[Elin]"; - mes "Chonchon dolls are ugly anyways, but you still lied to me! How can you be so mean?!"; - next; - mes "[Elin]"; - mes "Waaaaaaaaah~~"; - close; - } - case 3: - if (countitem(740) >= 1) { - delitem 740,1; // Stuffed_Doll - mes "[Elin]"; - mes "Wow...!"; - mes "It looks like a bunny!"; - next; - mes "[Elin]"; - mes "I really like this Puppet~ Heh hehe! Thank you so much~"; - next; - mes "[Elin]"; - mes "Ooh ooh!"; - mes "I have something"; - mes "for you too!"; - mes "Um, where"; - mes "did it... Ah!"; - next; - getitem 530,1; // Candy_Striper - mes "[Elin]"; - mes "Here it is! It's some of the candy Santa gave me. Go ahead and try some! Oh, and thank you so much for the doll!"; - close; - } else { - mes "[Elin]"; - mes "Awww, you were only kidding? W-W-Why are you teasing me like that?"; - next; - mes "[Elin]"; - mes "^666666*Sniff...*^000000"; - next; - mes "[Elin]"; - mes "Waaaaaaaaah~~"; - close; - } - case 4: - if (countitem(752) >= 1) { - delitem 752,1; // Grasshopper_Doll - mes "[Elin]"; - mes "Ooh! Rocker Doll!"; - mes "It's the Rocker that likes singing and dancing! I don't like grasshoppers, but I like this because it's cute~"; - next; - mes "[Elin]"; - mes "Hmmm, I should give you something too, huh? Let's see, I have what my grandpa gave me..."; - next; - getitem 532,7; // Banana_Juice - mes "[Elin]"; - mes "Here you go! We have a lot of this at home, so I'll give it to you, okay? Oh, and thank you so much for the doll~ I love cute dolls!"; - close; - } else { - mes "[Elin]"; - mes "Awww..."; - next; - mes "[Elin]"; - mes "You don't"; - mes "really have a doll...?"; - mes "I was so excited about it, too..."; - close; - } - case 5: - if (countitem(743) >= 1) { - delitem 743,1; // Spore_Doll - mes "[Elin]"; - mes "It's a mushroom?"; - mes "Ewwwwwwwww, yucky!"; - mes "Mommy made me eat"; - mes "mushrooms today, too..."; - next; - mes "[Elin]"; - mes "But this doll is cute, so I'll take it. But I'm still not gonna eat mushrooms! Heh heh~"; - next; - getitem 538,5; // Well_Baked_Cookie - mes "[Elin]"; - mes "Hehe~ My mommy made this! It's really yummy. I love cookies, too. So try it, you'll like it! Hee hee!"; - next; - mes "[Elin]"; - mes "Thanks for"; - mes "the doll! I'll"; - mes "take good care of it!"; - close; - } else { - mes "[Elin]"; - mes "Eh...?"; - mes "You don't"; - mes "have a doll?"; - next; - mes "[Elin]"; - mes "Awww..."; - mes "It's not nice"; - mes "to tease people"; - mes "like that. ^666666*Sniff, sniff*^000000"; - close; - } - case 6: - if (countitem(751) >= 1) { - delitem 751,1; // Osiris_Doll - mes "[Elin]"; - mes "Ahhhhh!"; - mes "What is this"; - mes "thing?! It's so scary!"; - next; - mes "[Elin]"; - mes "I've never seen a doll like this before. Where it's from? Hmm? Since I've never seen this kind of doll before, I'm gonna show it to my daddy, too. Hehe~! He'll be surprised!"; - next; - mes "[Elin]"; - mes "Here, since you gave me such a nicely made doll, I better give you something good too."; - next; - getitem 522,2; // Fruit_Of_Mastela - mes "[Elin]"; - mes "I found it when I secretly went to the forest. I took it because it has pretty colors!"; - if (Sex == 1) { - mes "Since there's two, you can share it with your girlfriend. Hee hee~!"; - } else { - mes "Since there's two, you can share it with your boyfriend. Hee hee~!"; - } - close; - } else { - mes "[Elin]"; - mes "Awww..."; - mes "Why do you have"; - mes "to make fun of me?"; - close; - } - case 7: - if (countitem(750) >= 1) { - delitem 750,1; // Baphomet_Doll - mes "[Elin]"; - mes "Huh?"; - mes "It's a little goat..."; - next; - mes "[Elin]"; - mes "It's so weird. It's cute but it's also scary at the same time. Well, since you gave me a pretty doll, I wanna give you something, too."; - next; - getitem 525,5; // Panacea - mes "[Elin]"; - mes "My daddy gave me this when I was really sick. I'm not sick anymore so you can use it when you need to. Hehehe~"; - next; - mes "[Elin]"; - mes "Hee hee~"; - mes "Thank you for"; - mes "the doll. I won't lose it!"; - close; - } else { - mes "[Elin]"; - mes "You big liar! Why are you pretending to be nice?!"; - close; - } - case 8: - if (countitem(754) >= 1) { - delitem 754,1; // Raccoondog_Doll - mes "[Elin]"; - mes "Hehe, it's a"; - mes "raccoon doll."; - mes "It's very very cute~"; - next; - mes "[Elin]"; - mes "I don't like"; - mes "Smokies in real life,"; - mes "but this doll is nice!"; - next; - getitem 539,3; // Piece_Of_Cake - mes "[Elin]"; - mes "Here, let me give you some cake my grandma made. It's really yummy. I don't know if you like sweets or not, but it's really good! Please try some!"; - next; - mes "[Elin]"; - mes "Hee hee~"; - mes "Thanks for the doll."; - mes "I'm gonna keep it"; - mes "in my room!"; - close; - } else { - mes "[Elin]"; - mes "Hey! How come you have to say things like that? Are you making fun of me?!"; - close; - } - case 9: - if (countitem(753) >= 1) { - delitem 753,1; // Monkey_Doll - mes "[Elin]"; - mes "Woooooooow~!"; - next; - mes "[Elin]"; - mes "A Yoyo doll! It's so pretty! You're really gonna give it to me?! Yay! Thank you so much! I really like it! Hee hee!"; - next; - mes "[Elin]"; - mes "Since you gave"; - mes "me such a pretty doll,"; - mes "I wanna give you"; - mes "something, too!"; - next; - getitem 608,1; // Seed_Of_Yggdrasil - mes "[Elin]"; - mes "My daddy picked it up on his way to another town. It looks like some kind of seed. I tried planting it in front of our house but it won't grow. Do you want to try?"; - next; - mes "[Elin]"; - mes "Hehe~"; - mes "Thanks for"; - mes "the doll. I'll hug"; - mes "it before I go"; - mes "to sleep!"; - close; - } else { - mes "[Elin]"; - mes "Hey..."; - mes "How come you're making fun of me?!"; - close; - } - case 10: - mes "["+strcharinfo(0)+"]"; - mes "I'm as adorable as a doll..."; - next; - mes "[Elin]"; - mes "Whaaaaaaaaaaat...?"; - next; - mes "[Elin]"; - mes "^3355FFWhat did^000000"; - mes "^3355FFyou just say?!^000000"; - close; - } + mes "[Elin]"; + mes "^3355FFWhat did^000000"; + mes "^3355FFyou just say?!^000000"; + close; + } } } @@ -717,14 +716,14 @@ alberta,136,79,1 script Hat store girl#new30 71,{ next; mes "^3355FF*Beeeeeeeh~~~*^000000"; next; - delitem 1059,250; //Transparent_Cloth - delitem 2221,1; //Hat_ - delitem 2227,1; //Cap_ - delitem 7063,600; //Soft_Feather + delitem 1059,250; //Transparent_Cloth + delitem 2221,1; //Hat_ + delitem 2227,1; //Cap_ + delitem 7063,600; //Soft_Feather mes "[Tempestra]"; mes "Here it is, tee hee~"; mes "How about that? Do you like it?"; - getitem 5032,1; // Picnic_Hat + getitem 5032,1; //Picnic_Hat next; mes "[Tempestra]"; mes "Once again, thank you for your favour. I'll see you later~"; @@ -781,15 +780,15 @@ alberta,136,79,1 script Hat store girl#new30 71,{ next; mes "^3355FF*Beeeeeeeh~~~*^000000"; next; - delitem 2252,1; //Star_Sparkling - delitem 1036,400; //Dragon_Scale - delitem 4052,1; //Elder_Wilow_Card - delitem 7001,50; //Mould_Powder + delitem 2252,1; //Star_Sparkling + delitem 1036,400; //Dragon_Scale + delitem 4052,1; //Elder_Wilow_Card + delitem 7001,50; //Mould_Powder mes "[Tempestra]"; mes "Here it is, tee hee~"; mes "How about that?"; mes "Do you like it?"; - getitem 5027,1; // Wizardry_Hat + getitem 5027,1; //Wizardry_Hat next; mes "[Tempestra]"; mes "Once again, thank you for your favour. I'll see you later~"; @@ -846,14 +845,14 @@ alberta,136,79,1 script Hat store girl#new30 71,{ next; mes "^3355FF*Beeeeeeeh~~~*^000000"; next; - delitem 2252,1; //Star_Sparkling - delitem 1054,450; //Lip_Of_Ancient_Fish - delitem 943,1200; //Solid_Shell + delitem 2252,1; //Star_Sparkling + delitem 1054,450; //Lip_Of_Ancient_Fish + delitem 943,1200; //Solid_Shell mes "[Tempestra]"; mes "Here it is, tee hee~"; mes "How about that?"; mes "Do you like it?"; - getitem 5045,1; // Magician_Hat + getitem 5045,1; //Magician_Hat next; mes "[Tempestra]"; mes "Once again, thank you for your favour. I'll see you later~"; @@ -899,11 +898,11 @@ alberta,136,79,1 script Hat store girl#new30 71,{ mes "Heh heh..."; mes "I think I'll make you a Hat of the Sun God~"; next; - delitem 7086,1; //Symbol_Of_Sun - delitem 969,10; //Gold - delitem 999,40; //Steel - delitem 1003,50; //Coal - delitem 984,2; //Oridecon + delitem 7086,1; //Symbol_Of_Sun + delitem 969,10; //Gold + delitem 999,40; //Steel + delitem 1003,50; //Coal + delitem 984,2; //Oridecon mes "[Tempestra]"; mes "See! Here it is!!"; mes "Haha, I made this quicker than the speed of light!"; @@ -1199,7 +1198,7 @@ alberta_in,23,104,4 script Grandpa Turtle#tur 120,{ mes "You've made your choice! With my experience, we will arrive without fail! I appreciate your spirit!"; next; mes "^3355FF*Choo Choo*^000000"; - set zeny,zeny-10000; + set Zeny, Zeny-10000; warp "tur_dun01",157,39; close; } diff --git a/npc/quests/quests_aldebaran.txt b/npc/quests/quests_aldebaran.txt index eb3ef7e387..38afd5db2a 100644 --- a/npc/quests/quests_aldebaran.txt +++ b/npc/quests/quests_aldebaran.txt @@ -40,16 +40,16 @@ aldeba_in,152,166,4 script Trader#01 86,{ switch(select(" Doctor Band : Feather Bonnet : Phantom of Opera : Sakkat ")) { case 1: if ((countitem(2275) > 0) && (countitem(998) > 49) && (countitem(733) > 0) && (Zeny > 3499)) { - delitem 2275,1; //Red_Bandana - delitem 998,50; //Iron - delitem 733,1; //Crystal_Jewel___ - set Zeny,Zeny-3500; + delitem 2275,1; //Red_Bandana + delitem 998,50; //Iron + delitem 733,1; //Crystal_Jewel___ + set Zeny, Zeny-3500; mes "[Trader]"; mes "Hm! You don't have a medical license, do you? It's alright, I've heard about a rogue, unlicensed physician who performed medical miracles! But... That might have been a comic book."; next; mes "[Trader]"; mes "Oh whatever. Just don't get caught."; - getitem 2273,1; // Doctor_Cap + getitem 2273,1; //Doctor_Cap close; } else { @@ -61,12 +61,12 @@ aldeba_in,152,166,4 script Trader#01 86,{ } case 2: if ((countitem(2247) > 0) && (countitem(916) > 299) && (Zeny > 499)) { - delitem 2247,1; //Oldman's_Romance - delitem 916,300; //Feather_Of_Birds - set Zeny,Zeny-500; + delitem 2247,1; //Oldman's_Romance + delitem 916,300; //Feather_Of_Birds + set Zeny, Zeny-500; mes "[Trader]"; mes "Ooh~! You have good fashion sense. I know you've had a hard time collecting this stuff, but this hat is worth it. Take it. All you need now is a fur coat and a cane!"; - getitem 5018,1; // Feather_Bonnet + getitem 5018,1; //Feather_Bonnet close; } else { @@ -77,12 +77,12 @@ aldeba_in,152,166,4 script Trader#01 86,{ } case 3: if ((countitem(998) > 19) && (countitem(707) > 0) && (Zeny > 4999)){ //Iron Singing_Plant - delitem 998,20; //Iron - delitem 707,1; //Singing_Plant - set Zeny,Zeny-5000; + delitem 998,20; //Iron + delitem 707,1; //Singing_Plant + set Zeny, Zeny-5000; mes "[Trader]"; mes "This one? It's a little bit scary, though it has some sort of romantic quality. What do you think? You like it? Alright, take it, it's yours!"; - getitem 2281,1; // Phantom_Of_Opera + getitem 2281,1; //Phantom_Of_Opera close; } else { @@ -92,14 +92,14 @@ aldeba_in,152,166,4 script Trader#01 86,{ } case 4: if ((countitem(1019) > 119) && (Zeny > 9999)){ //Wooden_Block - delitem 1019,120; //Wooden_Block - set Zeny,Zeny-10000; + delitem 1019,120; //Wooden_Block + set Zeny, Zeny-10000; mes "[Trader]"; mes "If you have a chance to visit the Uplander Village, Payon, please go and meet the Sakkat Craftsman."; next; mes "[Trader]"; mes "He's never sold Sakkat to Traders other than me, since only I can recognize its quality. Due to its rarity, Sakkat has become a very unique and exceptional product. Okay! Take it, it's yours!"; - getitem 2280,1; // Sahkkat + getitem 2280,1; //Sahkkat close; } else { diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt index c7d66dcc47..317868798b 100644 --- a/npc/quests/quests_amatsu.txt +++ b/npc/quests/quests_amatsu.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Quest NPCs related to Amatsu //===== By: ================================================== -//= rAthena team & others? & MasterOfMuppets +//= rAthena Dev Team & MasterOfMuppets //===== Current Version: ===================================== //= 1.5 //===== Compatible With: ===================================== @@ -18,7 +18,7 @@ //= 1.5 Added questlog support. [Euphy] //============================================================ -// Momotaro Event +// Momotaro Event :: japan_momo_q //============================================================ amatsu,223,236,3 script Publisher#ama 763,{ if (checkweight(1201,1) == 0) { @@ -789,11 +789,10 @@ OnTouch: end; } -// Sushi Quest +// Sushi Quest :: japan_sushi //============================================================ ama_in01,162,17,1 script Sushi Master#ama 765,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 5000) { + if (MaxWeight - Weight < 5000) { mes "[Magumagu]"; mes "Hey. You look really heavy."; mes "Don't you have trouble walking?"; @@ -1130,7 +1129,7 @@ ama_in01,162,17,1 script Sushi Master#ama 765,{ mes "If you want to eat delicious fish slices, you better bring more money."; close; } - set zeny,zeny-700; + set Zeny, Zeny-700; getitem 551,10; //Shusi mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1143,7 +1142,7 @@ ama_in01,162,17,1 script Sushi Master#ama 765,{ mes "you better bring more money."; close; } - set zeny,zeny-74; + set Zeny, Zeny-74; getitem 551,1; //Shusi mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1171,7 +1170,7 @@ ama_in01,162,17,1 script Sushi Master#ama 765,{ mes "If you want to eat delicious fish slices, you better bring more money."; close; } - set zeny,zeny-350; + set Zeny, Zeny-350; getitem 544,10; //Fish_Slice mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1184,7 +1183,7 @@ ama_in01,162,17,1 script Sushi Master#ama 765,{ mes ""; close; } - set zeny,zeny-37; + set Zeny, Zeny-37; getitem 544,1; //Fish_Slice mes "[Magumagu]"; mes "There you go. If you like the taste, please order some more."; @@ -1306,7 +1305,7 @@ ama_in01,162,17,1 script Sushi Master#ama 765,{ } } -// Dungeon Quest +// Dungeon Quest :: japan_mono //============================================================ amatsu,112,164,4 script Gate Soldier#ama1 767,{ mes "[Gate Soldier]"; @@ -1477,7 +1476,7 @@ ama_in02,170,62,4 script Soldier#ama2 767,{ mes "to issue another Transit Permit."; next; if (select("Issue one:Talk to you later") == 1) { - set zeny,zeny-10000; + set Zeny, Zeny-10000; getitem 7160,1; //Lord's_Passable_Ticket mes "[Jiro]"; mes "There you go."; @@ -2205,8 +2204,8 @@ ama_in01,180,173,3 script Kitsune Mask#ama 762,{ // Old changelog //============================================================ //= 1.0 Rewrote parts of other/momotaro.txt to make it work. -//= I'm sorry for the mess, I couldn't do much better with -//= the current code I had. +//= I'm sorry for the mess, I couldn't do much better with +//= the current code I had. //= 1.1 Added Sushi Quest and Amatsu Event from cities/ [Evera] //= 1.2 Fixed Momotaro Quest, thanks to .~Abism0~. [Lupus] //============================================================ diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt index a5b3932253..3e2a4b287c 100644 --- a/npc/quests/quests_ayothaya.txt +++ b/npc/quests/quests_ayothaya.txt @@ -16,15 +16,15 @@ //= 1.1 Added anti-novice protection [Lupus] //= 1.3 Fixed exploit [Lupus] //= 1.4 Updated, more close to the official. Thanks to birkiczd -//= Also optimized it again, remove unused global variable [Lupus] +//= Also optimized it again, remove unused global variable [Lupus] //= 1.5 Removed Duplicates [Silent] //= 1.6 Moved quests from cities/ to here: -//= Shrimp, Dungeon, Tom Yum Goong [Evera] +//= Shrimp, Dungeon, Tom Yum Goong [Evera] //= 1.7 Updated the Ayothaya Ring quest to the official one [MasterOfMuppets] //= 1.8 Fixed experience gains to match upcoming rate adjustments. [SinSloth] //= 1.9 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 2.0 Rescripted Tom Yum Goong and Dungeon quest to Aegis [L0ne_W0lf] -//= 10.3 standards. +//= 10.3 standards. //= 2.0a Corrected a Typo error ";;". [Samuray22] //= 2.1 Added missing checkweights. [L0ne_W0lf] //= 2.2 Replaced effect numerics with constants. [L0ne_W0lf] @@ -33,12 +33,10 @@ //= 2.5 Added questlog support. [Euphy] //============================================================ -// Ayothaya Ring Quest +// Ayothaya Ring Quest :: ayo_ring //============================================================ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ - - if(thai_find == 14) - { + if (thai_find == 14) { mes "[Shuda]"; mes "Have you"; mes "found Annon?"; @@ -62,9 +60,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ mes "He will be ^660000punished^000000..."; mes "^666666*grinds teeth*^000000"; close; - } - else if(thai_find > 2 && thai_find < 14) - { + } else if (thai_find > 2 && thai_find < 14) { mes "[Shuda]"; mes "^666666*Sigh...*^000000"; mes "You haven't"; @@ -76,11 +72,8 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ mes "And by 'us,' I mean '^660000you^000000.' I don't care about your plans or whatever else you may have scheduled, because you're going to make"; mes "time for me! Oho ho ho ho ho!"; close; - } - else if(thai_find == 2) - { - if(countitem(7288)) - { + } else if (thai_find == 2) { + if (countitem(7288)) { mes "[Shuda]"; mes "Ah... Is it...?!!"; mes "Yes, that's it!"; @@ -112,8 +105,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ mes "^3355FFShuda gazes directly"; mes "at you with a puppy eyed look.^000000"; next; - switch( select( "D-Don't look at me that way!:Alright, alright." ) ) - { + switch(select("D-Don't look at me that way!:Alright, alright.")) { case 1: mes "[Shuda]"; mes "Oh come on, you know everything that happened, and I know you're gonna continue adventuring"; @@ -153,9 +145,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ changequest 12030,12031; set thai_find,3; close; - } - else - { + } else { mes "[Shuda]"; mes "Huh...?"; mes "Did you find my ring?"; @@ -176,9 +166,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ setquest 12029; close; } - } - else if(thai_find == 1) - { + } else if (thai_find == 1) { mes "[Shuda]"; mes "I feel a little bad asking you this, especially since you're"; mes "an outsider."; @@ -191,15 +179,12 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ mes "Please bring my ring back to me."; mes "I want to live with Annon as a happy couple forever. Can't you understand that?!"; close; - } - else - { + } else { mes "[Powerful-Looking Woman]"; mes "Umm...?"; mes "Ah, you must be one of the tourists. I'd guide you around and listen to your stories about the outside world, but..."; next; - if(rand(0,1)) - { + if (rand(0,1)) { mes "[Powerful-Looking Woman]"; mes "I'm reeeally"; mes "busy right now."; @@ -215,8 +200,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ mes "my fiancee hadn't"; mes "thrown it..."; next; - switch( select( "What...?:Lies~!" ) ) - { + switch(select("What...?:Lies~!")) { case 1: mes "[Powerful-Looking Woman]"; mes "What 'what?'"; @@ -273,18 +257,15 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ mes "Why are you staring at me?"; mes "Don't you have anything to do?"; next; - switch( select( "No.:No~ and you are an interesting girl." ) ) - { + switch(select("No.:No~ and you are an interesting girl.")) { case 1: mes "[Powerful-Looking Woman]"; mes "I see. Hmmm..."; mes "You're kind of my type."; - if(sex) - { + if (Sex) { mes "No no, that doesn't mean I'm interested in you. Plus I'm"; mes "already engaged."; - } - else + } else mes "Before you think of anything weird, I meant that I think you and me are a lot alike."; next; mes "[Powerful-Looking Woman]"; @@ -414,9 +395,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ } break; } - } - else - { + } else { mes "[Powerful-Looking Woman]"; mes "^666666*Sigh...*^000000"; mes "Why isn't it coming up from the water? Maybe if I stirred around with a wooden stick...?"; @@ -439,8 +418,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 838,2,2,{ } OnTouch: - if(thai_find == 0) - { + if (thai_find == 0) { mes "[Powerful-Looking Woman]"; mes "^666666*Sigh...*^000000"; mes "Where the"; @@ -452,15 +430,11 @@ OnTouch: mes "Haven't you ever seen a delicate damsel sigh before? Leave me the hell alone!"; close; } - } - -ayo_dun02,91,263,0 script #Annonblood 111,2,3,{ -if(!$@annonactive) -{ - if(thai_find == 13) - { +ayo_dun02,91,263,0 script #Annonblood 111,2,3,{ +if (!$@annonactive) { + if (thai_find == 13) { mes "["+strcharinfo(0)+"]"; mes "A blood stain?"; mes "What's going on?"; @@ -478,11 +452,9 @@ if(!$@annonactive) mes "[" +strcharinfo(0)+ "]"; mes "Hmmm...."; next; - switch( select( "Scatter the bushes.:Dig up the bushes." ) ) - { + switch(select("Scatter the bushes.:Dig up the bushes.")) { case 1: - if(!rand(0,2)) - { + if (!rand(0,2)) { mes "[" +strcharinfo(0)+ "]"; mes "^666666*Cough cough*^000000"; mes "It's so dusty!"; @@ -512,8 +484,7 @@ if(!$@annonactive) mes "stay back, or I'll kill myself!"; emotion e_omg,1; next; - switch( select( "What are you doing here?:I'm not Shuda!" ) ) - { + switch(select("What are you doing here?:I'm not Shuda!")) { case 1: mes "["+strcharinfo(0)+"]"; mes "Hey..."; @@ -532,9 +503,7 @@ if(!$@annonactive) mes "You are unfamiliar to me, outsider. I'm unsure of how you found my hiding place, but if you have something to say, make it short!"; close; } - } - else - { + } else { mes "^3355FFYou dig up the bushes, stirring"; mes "up a large, choking cloud of dust.^000000"; next; @@ -549,17 +518,14 @@ if(!$@annonactive) mes "^3355FFAs you dig up the bushes, the ground beneath one of the bushes crumbles and you hear a scream"; mes "from beneath.^000000"; next; - if(!rand(0,2)) - { + if (!rand(0,2)) { set $@annonactive,1; enablenpc "Haggard Man"; mes "[?]"; mes "^666666*Cough cough*^000000"; mes "...M-my legs!"; close; - } - else - { + } else { mes "[" +strcharinfo(0)+ "]"; mes "Hmmm...?"; mes "What was that noise?"; @@ -569,21 +535,17 @@ if(!$@annonactive) close; } } - } - else if(thai_find == 14) - { + } else if (thai_find == 14) { mes "^3355FFYou find that the burrow is empty. It seems Annon has found a new hiding place.^000000"; close; - } - else - { + } else { mes "^3355FFYou find a pile of dead bushes under a large tree. The area around the bushes seems awfully dusty.^000000"; close; } OnTouch: - if(thai_find == 12) { - if(!rand(0,2)) { + if (thai_find == 12) { + if (!rand(0,2)) { emotion e_gasp,1; mes "[" +strcharinfo(0)+ "]"; mes "Huh...?"; @@ -606,16 +568,13 @@ OnTouch: close; } } - } } ayo_dun02,91,264,3 script Haggard Man 841,{ - //completequest 12034; - if(thai_find == 13) - { + if (thai_find == 13) { mes "[Haggard Man]"; mes "^666666*...Cough cough*^000000"; mes "No...! My hiding place!"; @@ -626,19 +585,17 @@ ayo_dun02,91,264,3 script Haggard Man 841,{ mes "Oh, how did this happen?"; mes "My spiritual training wasn't supposed to go like this...!"; next; - switch( select( "Treat his wound first.:Is that you, Annon?" ) ) - { + switch(select("Treat his wound first.:Is that you, Annon?")) { case 1: mes "[" +strcharinfo(0)+ "]"; mes "Anyway, I think you need to be treated. Let me check if I have some potions."; next; - if(countitem(504)) //White potion - { + if (countitem(504)) { mes "["+strcharinfo(0)+"]"; mes "Ah..."; mes "Here we are,"; mes "a White Potion."; - delitem 504,1; //White potion + delitem 504,1; //White_Potion next; mes "[Haggard Man]"; mes "You mean the White Potion,"; @@ -686,8 +643,7 @@ ayo_dun02,91,264,3 script Haggard Man 841,{ mes "It looks like you wish to know more. If you promise me that you will not mention my whereabouts"; mes "to Shuda, then I'll explain."; next; - switch( select( "You think the world revolves around you?:What do you want me to do?" ) ) - { + switch(select("You think the world revolves around you?:What do you want me to do?")) { case 1: mes "[" +strcharinfo(0)+ "]"; mes "You think the world"; @@ -759,24 +715,24 @@ ayo_dun02,91,264,3 script Haggard Man 841,{ set thai_find,14; completequest 12034; if (checkre(3)) { - if(BaseLevel < 56) getexp 900,0; - else if(BaseLevel > 55 && BaseLevel < 61) getexp 1050,0; - else if(BaseLevel > 60 && BaseLevel < 66) getexp 1868,0; - else if(BaseLevel > 65 && BaseLevel < 71) getexp 2741,0; - else if(BaseLevel > 70 && BaseLevel < 76) getexp 7075,0; - else if(BaseLevel > 75 && BaseLevel < 81) getexp 13024,0; - else if(BaseLevel > 80 && BaseLevel < 86) getexp 15034,0; - else if(BaseLevel > 85 && BaseLevel < 91) getexp 18205,0; + if (BaseLevel < 56) getexp 900,0; + else if (BaseLevel > 55 && BaseLevel < 61) getexp 1050,0; + else if (BaseLevel > 60 && BaseLevel < 66) getexp 1868,0; + else if (BaseLevel > 65 && BaseLevel < 71) getexp 2741,0; + else if (BaseLevel > 70 && BaseLevel < 76) getexp 7075,0; + else if (BaseLevel > 75 && BaseLevel < 81) getexp 13024,0; + else if (BaseLevel > 80 && BaseLevel < 86) getexp 15034,0; + else if (BaseLevel > 85 && BaseLevel < 91) getexp 18205,0; else getexp 40678,0; } else { - if(BaseLevel < 56) getexp 9000,0; - else if(BaseLevel > 55 && BaseLevel < 61) getexp 10500,0; - else if(BaseLevel > 60 && BaseLevel < 66) getexp 18684,0; - else if(BaseLevel > 65 && BaseLevel < 71) getexp 27411,0; - else if(BaseLevel > 70 && BaseLevel < 76) getexp 70757,0; - else if(BaseLevel > 75 && BaseLevel < 81) getexp 130246,0; - else if(BaseLevel > 80 && BaseLevel < 86) getexp 150340,0; - else if(BaseLevel > 85 && BaseLevel < 91) getexp 182052,0; + if (BaseLevel < 56) getexp 9000,0; + else if (BaseLevel > 55 && BaseLevel < 61) getexp 10500,0; + else if (BaseLevel > 60 && BaseLevel < 66) getexp 18684,0; + else if (BaseLevel > 65 && BaseLevel < 71) getexp 27411,0; + else if (BaseLevel > 70 && BaseLevel < 76) getexp 70757,0; + else if (BaseLevel > 75 && BaseLevel < 81) getexp 130246,0; + else if (BaseLevel > 80 && BaseLevel < 86) getexp 150340,0; + else if (BaseLevel > 85 && BaseLevel < 91) getexp 182052,0; else getexp 406786,0; } next; @@ -800,9 +756,7 @@ ayo_dun02,91,264,3 script Haggard Man 841,{ set $@annonactive,0; disablenpc "Haggard Man"; end; - } - else - { + } else { mes "[" +strcharinfo(0)+ "]"; mes "No way, no way."; mes "He's too seriously"; @@ -864,9 +818,7 @@ ayo_dun02,91,264,3 script Haggard Man 841,{ disablenpc "Haggard Man"; end; } - } - else - { + } else { mes "[Haggard Man]"; mes "Huh? Who are you?"; mes "This isn't a safe place for a tourists! You should leave right away!"; @@ -875,18 +827,15 @@ ayo_dun02,91,264,3 script Haggard Man 841,{ disablenpc "Haggard Man"; end; } - + OnInit: set $@annonactive,0; disablenpc "Haggard Man"; end; - } ayothaya,253,99,3 script Fisherman 843,{ - - if(thai_find == 1) - { + if (thai_find == 1) { mes "[Dannai]"; mes "This place is known to be"; mes "teeming with fish. The fish here tend to eat anything they find,"; @@ -900,11 +849,9 @@ ayothaya,253,99,3 script Fisherman 843,{ mes "Would you"; mes "like to try?"; next; - switch( select( "Yes.:No, thanks." ) ) - { + switch(select("Yes.:No, thanks.")) { case 1: - if(countitem(528) && Zeny > 49) //Monster food - { + if (countitem(528) && Zeny > 49) { mes "^3355FFYou cast your"; mes "fishing line"; mes "into the water.^000000"; @@ -916,61 +863,48 @@ ayothaya,253,99,3 script Fisherman 843,{ next; mes "^3355FFYou've hooked a Phen!^000000"; next; - delitem 528,1; //Monster food - set Zeny,Zeny-50; + delitem 528,1; //Monster's_Feed + set Zeny, Zeny-50; set @randfish,rand(1,100); - if(@randfish > 0 && @randfish < 40) - { + if (@randfish > 0 && @randfish < 40) { mes "^3355FFWhile cooking the Phen, you"; mes "find that it's swallowed a Stone.^000000"; close2; getitem 7049,1; //Stone end; - } - else if(@randfish > 39 && @randfish < 60) - { + } else if (@randfish > 39 && @randfish < 60) { mes "^3355FFInside of the Phen,"; mes "you find a Red Potion.^000000"; close2; - getitem 501,1; //Red potion + getitem 501,1; //Red_Potion end; - } - else if(@randfish > 59 && @randfish < 70) - { + } else if (@randfish > 59 && @randfish < 70) { mes "^3355FFInside of the Phen,"; mes "you find a Yellow Potion.^000000"; close2; - getitem 503,1; //Yellow potion + getitem 503,1; //Yellow_Potion end; - } - else if(@randfish > 69 && @randfish < 80) - { + } else if (@randfish > 69 && @randfish < 80) { mes "^3355FFThere's nothing inside..."; mes "But now you can eat Sushi!^000000"; close2; - getitem 551,1; //Sushi + getitem 551,1; //Shusi end; - } - else if(@randfish > 79 && @randfish < 90) - { + } else if (@randfish > 79 && @randfish < 90) { mes "^3355FFYou find"; mes "a Flower Ring"; mes "inside the Phen.^000000"; close2; - getitem 2612,1; //Flower ring + getitem 2612,1; //Flower_Ring end; - } - else if(@randfish == 90) - { + } else if (@randfish == 90) { mes "^3355FFYou find"; mes "a Diamond Ring"; mes "inside the Phen.^000000"; close2; - getitem 2613,1; //Diamond ring + getitem 2613,1; //Diamond_Ring end; - } - else if(@randfish > 90 && @randfish < 101) - { + } else if (@randfish > 90 && @randfish < 101) { mes "^3355FFYou find a ring"; mes "with a name engraved"; mes "inside the band.^000000"; @@ -983,9 +917,7 @@ ayothaya,253,99,3 script Fisherman 843,{ getitem 7288,1; //Thai_Ring end; } - } - else - { + } else { mes "[Dannai]"; mes "Remember, you need ^3355FF1 Monster's Feed^000000 to use as bait and ^3355FF50 zeny^000000 to rend a rod."; close; @@ -1000,9 +932,7 @@ ayothaya,253,99,3 script Fisherman 843,{ close; } close; - } - else if(thai_find < 1) - { + } else if (thai_find < 1) { mes "[Dannai]"; mes "The fish here tend"; mes "to eat anything they find."; @@ -1014,9 +944,7 @@ ayothaya,253,99,3 script Fisherman 843,{ mes "why don't you sit down, relax"; mes "and enjoy some quiet fishing?"; close; - } - else - { + } else { mes "[Dannai]"; mes "Welcome, long time no see!"; mes "It seems people learned that you found some kind of fortune from fishing here. After word got around, I've been getting lots"; @@ -1035,15 +963,12 @@ ayothaya,253,99,3 script Fisherman 843,{ mes "own fortunes."; close; } - } ayo_dun01,255,62,0 script AyoFootprint1 139,2,0,{ OnTouch: - if(thai_find == 4) - { - if(rand(1,3) < 2) - { + if (thai_find == 4) { + if (rand(1,3) < 2) { emotion e_gasp,1; mes "^3355FFYou find footprints heading to the ^5C3317North^3355FF. It looks like somebody was in quite a hurry, just like the villager said!^000000"; set thai_find,5; @@ -1051,15 +976,13 @@ OnTouch: close; } } - + end; } ayo_dun01,74,142,0 script AyoFootprint2 139,2,0,{ OnTouch: - if(thai_find == 5) - { - if(rand(1,3) < 2) - { + if (thai_find == 5) { + if (rand(1,3) < 2) { emotion e_dots,1; mes "^3355FFYou find another set of footprints. It seems that somebody was running away from something. These prints are heading to the ^5C3317East^3355FF. You'd better follow them to see what"; mes "you can find.^000000"; @@ -1067,15 +990,13 @@ OnTouch: close; } } - + end; } - + ayo_dun01,244,256,2 script AyoFootprint3 139,2,0,{ OnTouch: - if(thai_find == 6) - { - if(rand(1,3) < 2) - { + if (thai_find == 6) { + if (rand(1,3) < 2) { emotion e_no,1; mes "^3355FFThe footprints end around this area. Whoever was running must"; mes "have been exhausted and stumbled on something. Perhaps the owner of the footprints is nearby...^000000"; @@ -1083,15 +1004,13 @@ OnTouch: close; } } - + end; } - + ayo_dun01,17,257,0 script AyoFootprint4 139,2,0,{ OnTouch: - if(thai_find == 7) - { - if(rand(1,3) < 2) - { + if (thai_find == 7) { + if (rand(1,3) < 2) { emotion e_ic,1; mes "^3355FFAs you follow the footprints,"; mes "you arrive at the '^5C3317Entrance of the Shrine^3355FF.' Whoever this person was, he just ran into the second level.^000000"; @@ -1099,15 +1018,13 @@ OnTouch: close; } } - + end; } - + ayo_dun02,145,120,0 script AyoFootprint5 139,2,0,{ OnTouch: - if(thai_find == 8) - { - if(rand(1,3) < 2) - { + if (thai_find == 8) { + if (rand(1,3) < 2) { mes "^3355FFYou find the same footprints"; mes "in this place. It seems pretty"; mes "dangerous, and you wonder why"; @@ -1118,16 +1035,13 @@ OnTouch: close; } } - + end; } - - + ayo_dun02,135,168,0 script AyoFootprint6 139,0,2,{ OnTouch: - if(thai_find == 9) - { - if (rand(1,3) == 1) - { + if (thai_find == 9) { + if (rand(1,3) == 1) { emotion e_gasp,1; mes "^3355FFThe trail of footprints"; mes "continue here, and seem"; @@ -1136,17 +1050,15 @@ OnTouch: mes "^3355FFHmm...?"; mes "There's something here...^000000"; next; - switch( select( "Ignore.:^5C3317Investigate.^000000" ) ) - { + switch(select("Ignore.:^5C3317Investigate.^000000")) { case 1: mes "["+strcharinfo(0)+"]"; mes "Well, it's probably nothing. But which way should I go now?"; set thai_find,10; close; case 2: - set @randayo,rand(1,10); - if(@randayo < 2) - { + set .@randayo,rand(1,10); + if (.@randayo < 2) { mes "["+strcharinfo(0)+"]"; mes "Why, this is a pack of White Potions. Whoever owned these must have dropped these by accident. Hmm, I could use these for later..."; next; @@ -1158,11 +1070,9 @@ OnTouch: mes "I better look"; mes "into this."; set thai_find,10; - getitem 504,10; //White potion + getitem 504,10; //White_Potion close; - } - else if(@randayo > 2 && @randayo < 5) - { + } else if (.@randayo > 2 && .@randayo < 5) { mes "["+strcharinfo(0)+"]"; mes "Why, this is a pack of Yellow Potions. Whoever owned these must have dropped these by accident. Hmm, I could use these for later..."; next; @@ -1176,9 +1086,7 @@ OnTouch: set thai_find,10; getitem 503,10; //Yellow potion close; - } - else - { + } else { mes "[Rat]"; mes "^FF0000Squeak!"; mes "^FF0000Squeak Squeak!^000000"; @@ -1201,15 +1109,13 @@ OnTouch: close; } } - + end; } - + ayo_dun02,77,213,0 script AyoFootprint7 139,1,1,{ OnTouch: - if(thai_find == 10) - { - if(rand(1,3) < 2) - { + if (thai_find == 10) { + if (rand(1,3) < 2) { emotion e_gasp,1; mes "^3355FFWhere is he...?"; mes "He seems to have gone"; @@ -1220,15 +1126,13 @@ OnTouch: close; } } - + end; } - + ayo_dun02,86,254,0 script AyoFootprint8 139,1,1,{ OnTouch: - if(thai_find == 11) - { - if(rand(1,3) < 2) - { + if (thai_find == 11) { + if (rand(1,3) < 2) { emotion e_gasp,1; mes "^3355FFYou find traces of blood. Whoever was running in this direction may have been wounded. The trail of blood leads to the ^5C3317North^3355FF.^000000"; changequest 12032,12033; @@ -1236,13 +1140,11 @@ OnTouch: close; } } - + end; } - -ayothaya,193,171,3 script Old Man#02 842,{ - if(thai_find == 3) - { +ayothaya,193,171,3 script Old Man#02 842,{ + if (thai_find == 3) { mes "[Tham]"; mes "Weird..."; mes "Why was that guy"; @@ -1273,12 +1175,9 @@ ayothaya,193,171,3 script Old Man#02 842,{ set thai_find,4; changequest 12031,12032; close; - } - else - { - set @randayo,rand(1,7); - if(@randayo < 5) - { + } else { + set .@randayo,rand(1,7); + if (.@randayo < 5) { mes "[Tham]"; mes "Oh hello~"; mes "I can tell from your clothes that you must be from Rune-Midgard."; @@ -1306,9 +1205,7 @@ ayothaya,193,171,3 script Old Man#02 842,{ mes "[Tham]"; mes "Anyway, I'm sure that you'll like it. I hope that you come visit Ayotaya as often as you can~"; close; - } - else if(@randayo > 4 && @randayo < 7) - { + } else if (.@randayo > 4 && .@randayo < 7) { mes "[Tham]"; mes "Ah~"; mes "I've got this craving for Ms. Mali the Spicy's food, especially her 'Tom Yum Goong.'"; @@ -1318,9 +1215,7 @@ ayothaya,193,171,3 script Old Man#02 842,{ mes "most delicious dish"; mes "in the entire world!"; close; - } - else - { + } else { mes "[Tham]"; mes "Oh hello~"; mes "I can tell from your clothes that you must be from Rune-Midgard."; @@ -1330,10 +1225,9 @@ ayothaya,193,171,3 script Old Man#02 842,{ close; } } - } -// Ayothaya Dungeon Quest +// Ayothaya Dungeon Quest :: ayo_tiger //============================================================ ayothaya,83,132,0 script Dusit#thai 843,{ if (ayodunquest == 0) { @@ -1419,8 +1313,7 @@ ayothaya,83,132,0 script Dusit#thai 843,{ mes "Then be careful!"; mes "It'll eat you alive!"; close; - } - else if (ayodunquest > 0) { + } else if (ayodunquest > 0) { mes "[Dusit]"; mes "How are you?"; mes "If you're interested"; @@ -1539,8 +1432,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "Even if you can"; mes "wield the power of"; mes "holiness, you will still need the spiritual security of our land."; - } - else { + } else { mes "[Boonthom]"; mes "There are many ghosts and"; mes "demons within the cave, and they will attack people who do not possess holy power... Like you."; @@ -1574,8 +1466,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "............"; mes "............"; close; - } - else if (ayodunquest == 2) { + } else if (ayodunquest == 2) { if (countitem(7213) > 0 && countitem(7217) > 0 && countitem(7190) > 0 && countitem(523) > 0) { mes "[Boonthom]"; mes "Excellent!"; @@ -1627,8 +1518,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "[Boonthom]"; mes "See you later."; close; - } - else if (ayodunquest == 3) { + } else if (ayodunquest == 3) { if (countitem(7213) > 0 && countitem(7217) > 0 && countitem(7190) > 0 && countitem(523) > 0) { mes "[Boonthom]"; mes "Excellent! Now you have brought everything I need, let me make the thing for you as I promised..."; @@ -1669,8 +1559,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "[Boonthom]"; mes "See you later."; close; - } - else if (ayodunquest > 3 && ayodunquest < 9) { + } else if (ayodunquest > 3 && ayodunquest < 9) { mes "[Boonthom]"; mes "You finally started seeking the tiger. I hope that you will be safe from harm."; next; @@ -1678,8 +1567,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "Feel free to ask"; mes "me for help at anytime."; close; - } - else if (ayodunquest == 9) { + } else if (ayodunquest == 9) { mes "["+strcharinfo(0)+"]"; mes "I copied down this"; mes "message while exploring"; @@ -1723,8 +1611,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "once you have"; mes "gathered everything."; close; - } - else if (ayodunquest == 10) { + } else if (ayodunquest == 10) { if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1) { mes "[Boonthom]"; mes "Hmm~"; @@ -1780,8 +1667,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "more powerful holy"; mes "threads for you."; close; - } - else if (ayodunquest == 11) { + } else if (ayodunquest == 11) { if (countitem(7287) > 0) { mes "[Boonthom]"; mes "Those threads"; @@ -1791,8 +1677,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "to you to defend yourself"; mes "from monster attacks, okay?"; close; - } - else if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1 && countitem(7287) == 0) { + } else if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1 && countitem(7287) == 0) { mes "[Boonthom]"; mes "Ooooohmmmmm..."; next; @@ -1827,8 +1712,7 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ mes "^3366992 Needle Packet^000000 and"; mes "^3366992 Spool^000000."; close; - } - else if (ayodunquest == 12) { + } else if (ayodunquest == 12) { mes "[Boonthom]"; mes "Huh...!"; mes "You must have seen something."; @@ -1857,16 +1741,14 @@ ayo_in01,181,193,4 script Shaman#thai 840,{ set ayodunquest,13; completequest 12039; close; - } - else if (ayodunquest > 12) { + } else if (ayodunquest > 12) { if (countitem(7287) > 0) { mes "[Boonthom]"; mes "Best of luck on your"; mes "expeditions, brave"; mes "adventurer~"; close; - } - else if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1 && countitem(7287) == 0) { + } else if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1 && countitem(7287) == 0) { mes "[Boonthom]"; mes "Lost the"; mes "holy threads"; @@ -2174,8 +2056,7 @@ ayo_dun01,24,283,0 script #2_dun_in 111,{ close2; if (rand(1,10) > 5) { warp "ayo_dun02",23,26; - } - else { + } else { warp "ayo_dun02",275,26; } end; @@ -2208,7 +2089,7 @@ ayo_dun02,268,108,0 script #reward_tiger 111,{ } } -// Tom Tung Goong Quest +// Tom Tung Goong Quest :: ayo_tom //============================================================ ayothaya,196,265,3 script Einon#ayo 842,{ if (tomyumgoong == 0) { @@ -2263,8 +2144,7 @@ ayothaya,196,265,3 script Einon#ayo 842,{ mes "change your mind,"; mes "please come back."; close; - } - else if (tomyumgoong == 1) { + } else if (tomyumgoong == 1) { mes "[Einon]"; mes "Ah, you wanna know"; mes "where ^3131FFMali the Spicy^000000 is?"; @@ -2285,7 +2165,7 @@ ayothaya,196,265,3 script Einon#ayo 842,{ mes "Wouldn't you agree with me?"; close; } - + ayo_in01,145,163,3 script Cook#ayo 839,{ if (tomyumgoong < 2) { mes "[Mali the Spicy]"; @@ -2301,8 +2181,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "it's my fate to cook the greatest Tom Yum Goong ever."; if (tomyumgoong == 0) { close; - } - else { + } else { next; mes "[Mali the Spicy]"; mes "Oh I see..."; @@ -2354,8 +2233,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "a try if you really want to taste the best Tom Yum Goong."; close; } - } - else if (tomyumgoong > 1 && tomyumgoong < 4) { + } else if (tomyumgoong > 1 && tomyumgoong < 4) { if (tomyumgoong == 2 && countitem(567) > 19) { mes "[Mali the Spicy]"; mes "Errr..."; @@ -2374,8 +2252,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "and ask him to give you the freshest Shrimp to cook the best"; mes "Tom Yum Goong?"; close; - } - else if (tomyumgoong == 3) { + } else if (tomyumgoong == 3) { if (countitem(567) > 19) { mes "[Mali the Spicy]"; mes "Ah, you came back!"; @@ -2440,8 +2317,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "you 20 Shrimps."; mes "Now hurry~"; close; - } - else if (tomyumgoong > 3 && tomyumgoong < 6) { + } else if (tomyumgoong > 3 && tomyumgoong < 6) { if (tomyumgoong == 4 && countitem(568) > 9) { mes "[Mali the Spicy]"; mes "You think these are"; @@ -2455,8 +2331,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "fresh! They're just"; mes "common Lemons!"; close; - } - else if (tomyumgoong == 5) { + } else if (tomyumgoong == 5) { if (countitem(568) > 9) { emotion e_gasp; mes "[Mali the Spicy]"; @@ -2517,8 +2392,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "Lemons so that I can make"; mes "some Tom Yum Goong!"; close; - } - else if (tomyumgoong == 6) { + } else if (tomyumgoong == 6) { if (countitem(7286) > 29) { mes "[Mali the Spicy]"; mes "I don't understand..."; @@ -2535,10 +2409,8 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "[Malli the Spicy]"; mes "Please go take a look in the Market. I don't doubt that it will be a good experience. After all, my fantastic Tom Yum Goong is waiting for you!"; close; - } - else if (tomyumgoong == 7) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight > 1499) { + } else if (tomyumgoong == 7) { + if (MaxWeight - Weight > 1499) { if (countitem(7286) > 29) { delitem 7286,30; //Chilli emotion e_gasp; @@ -2635,7 +2507,7 @@ ayo_in01,145,163,3 script Cook#ayo 839,{ mes "Heh heh heh~!"; close; } - + ayothaya,153,86,5 script Thongpool#ayo 843,{ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute! -"; @@ -2675,9 +2547,8 @@ ayothaya,153,86,5 script Thongpool#ayo 843,{ next; if (select("I will take them.:I could get 100 Jellopies for that much!") == 1) { if (Zeny > 10999) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight > 3999) { - set zeny,zeny-11000; + if (MaxWeight - Weight > 3999) { + set Zeny, Zeny-11000; set tomyumgoong,3; getitem 567,20; //Prawn emotion e_no1; @@ -2710,8 +2581,7 @@ ayothaya,153,86,5 script Thongpool#ayo 843,{ mes "of Tom Yum Goong"; mes "is priceless!"; close; - } - else if (tomyumgoong == 3) { + } else if (tomyumgoong == 3) { mes "[Thongpool]"; mes "Mmm...?"; mes "Did you need"; @@ -2721,9 +2591,8 @@ ayothaya,153,86,5 script Thongpool#ayo 843,{ next; if (select("Yes!:No, thanks.") == 1) { if (Zeny > 10999) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight > 3999) { - set zeny,zeny-11000; + if (MaxWeight - Weight > 3999) { + set Zeny, Zeny-11000; getitem 567,20; //Prawn mes "[Thongpool]"; mes "There you go~"; @@ -2751,9 +2620,9 @@ ayothaya,153,86,5 script Thongpool#ayo 843,{ mes "I've got the best Shrimp caught in the cleanest waters in the world~!"; close; } - + ayothaya,121,240,7 script Mr. Jun#ayo 842,1,1,{ - if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -2801,7 +2670,7 @@ ayothaya,121,240,7 script Mr. Jun#ayo 842,1,1,{ close; OnTouch: - if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -3073,9 +2942,8 @@ ayothaya,213,94,7 script Merchant#ayo 841,{ if (select("Thanks, I'll take it.:It's a rip-off, man!") == 1) { emotion e_thx; if (Zeny > 1999) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight > 1199) { - set zeny,zeny-2000; + if (MaxWeight - Weight > 1199) { + set Zeny, Zeny-2000; set tomyumgoong,7; getitem 7286,30; //Chilli mes "[Merchant Thongdum]"; @@ -3112,8 +2980,7 @@ ayothaya,213,94,7 script Merchant#ayo 841,{ mes "reasonable. I want you to know"; mes "that I'm a respectable Merchant."; close; - } - else if (tomyumgoong == 7) { + } else if (tomyumgoong == 7) { mes "[Merchant Thongdum]"; mes "I thought I provided you"; mes "with enough ingredients, but"; @@ -3131,9 +2998,8 @@ ayothaya,213,94,7 script Merchant#ayo 841,{ close; } if (Zeny > 1999) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight > 1199) { - set zeny,zeny-2000; + if (MaxWeight - Weight > 1199) { + set Zeny, Zeny-2000; getitem 7286,30; //Chilli mes "[Merchant Thongdum]"; mes "Thank you,"; diff --git a/npc/quests/quests_comodo.txt b/npc/quests/quests_comodo.txt index 608d4d30de..148c2c0866 100644 --- a/npc/quests/quests_comodo.txt +++ b/npc/quests/quests_comodo.txt @@ -1579,7 +1579,7 @@ comodo,187,153,4 script Hullaris#cmd 701,{ mes "Love together~"; mes "Love! Love!"; mes "Love togeth-hm?"; - if (sex) { + if (Sex) { mes "Boy, you're ruining"; mes "my groove! Now beat it!"; } diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt index b3bc6c1ac7..fc6f1d8c4c 100644 --- a/npc/quests/quests_ein.txt +++ b/npc/quests/quests_ein.txt @@ -53,10 +53,10 @@ //= 2.7 Added GM management function. [Euphy] //============================================================ -// Oridecon Stone OR Mineral Stone Quest +// Oridecon Stone OR Mineral Stone Quest :: ein_amano //============================================================ einbech,97,167,5 script Cavitar 847,{ - if (ein_gear1 == 2){ + if (ein_gear1 == 2) { mes "[Cavitar]"; mes "It's been a long"; mes "time, my friend. With"; @@ -71,7 +71,7 @@ einbech,97,167,5 script Cavitar 847,{ mes "come visit my town."; close; } - else if(ein_gear1 == 1){ + else if (ein_gear1 == 1) { mes "[Cavitar]"; mes "Oh, welcome."; mes "So did you bring"; @@ -472,7 +472,7 @@ einbech,97,167,5 script Cavitar 847,{ } } -// Uwe Kleine +// Uwe Kleine :: ein_anoz //============================================================ einbroch,215,180,6 script Uwe Kleine#ein 85,{ set EinUwe,0; @@ -2311,7 +2311,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 85,{ mes "In fact, I still use the old knife I used back when I was just"; mes "a little novice chef~"; next; - mes "[Uwe]" ; + mes "[Uwe]"; mes "Well, that was"; mes "a fun talk. Come"; mes "back and visit, 'kay?"; @@ -2544,7 +2544,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 85,{ mes "In fact, I still use the old knife I used back when I was just"; mes "a little novice chef~"; next; - mes "[Uwe]" ; + mes "[Uwe]"; mes "Well, that was"; mes "a fun talk. Come"; mes "back and visit, 'kay?"; @@ -2820,7 +2820,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 85,{ mes "In fact, I still use the old knife I used back when I was just"; mes "a little novice chef~"; next; - mes "[Uwe]" ; + mes "[Uwe]"; mes "Well, that was"; mes "a fun talk. Come"; mes "back and visit, 'kay?"; @@ -3211,7 +3211,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 85,{ } } -// Factory Quest +// Factory Quest :: ein_factory //============================================================ einbroch,1,1,0 script Einbroch Smog Alert -1,{ end; @@ -3562,7 +3562,7 @@ ein_in01,67,242,3 script Zelmeto 851,{ else if (BaseLevel < 51) getexp 307,0; else if (BaseLevel < 61) getexp 660,0; else if (BaseLevel < 71) getexp 1850,0; - else if( BaseLevel < 81) getexp 3206,0; + else if (BaseLevel < 81) getexp 3206,0; else if (BaseLevel < 91) getexp 7602,0; else getexp 29067,0; } else { @@ -3570,7 +3570,7 @@ ein_in01,67,242,3 script Zelmeto 851,{ else if (BaseLevel < 51) getexp 3075,0; else if (BaseLevel < 61) getexp 6604,0; else if (BaseLevel < 71) getexp 18508,0; - else if( BaseLevel < 81) getexp 32066,0; + else if (BaseLevel < 81) getexp 32066,0; else if (BaseLevel < 91) getexp 76026,0; else getexp 290675,0; } @@ -4216,7 +4216,7 @@ sec_in02,127,86,3 script Factory Quest Test 851,{ } } -// Murder Quest +// Murder Quest :: ein_main_tre //============================================================ einbech,165,105,7 script Buender Hikeman#ein 847,{ cutin "ein_hicman",2; @@ -4999,7 +4999,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 849,{ mes "anything from the"; mes "Kapellthaines?"; next; - mes "["+strcharinfo(0)+"]" ; + mes "["+strcharinfo(0)+"]"; mes "Well, Mr. Kapellthaine"; mes "is kind of violent, but"; mes "I didn't find anything"; @@ -5673,7 +5673,8 @@ einbech,57,210,3 script Young Man#Shinokas_Quest 855,{ close; } - +// Typing Test :: ein_main_ma1 +//============================================================ einbroch,51,52,0 script Security#ein 45,1,1,{ end; @@ -5826,7 +5827,7 @@ OnTouch: } } -// Lovers Quest +// Lovers Quest :: ein_ryu //============================================================ ein_in01,31,138,3 script Calla#ein 90,{ if (checkweight(908,70) == 0) { @@ -6782,7 +6783,7 @@ ein_in01,31,151,3 script Satra#ein 850,{ mes "here for sight seeing,"; mes "or perhaps you're running"; mes "some sort of adventurer's"; - mes "errand. Am I right?" ; + mes "errand. Am I right?"; next; mes "[Satra]"; mes "I know you well enough"; diff --git a/npc/quests/quests_gonryun.txt b/npc/quests/quests_gonryun.txt index c6b8804ff4..ff42d69869 100644 --- a/npc/quests/quests_gonryun.txt +++ b/npc/quests/quests_gonryun.txt @@ -13,13 +13,13 @@ //===== Additional Comments: ================================= //= 1.1 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf] //= 1.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Added Lost Knife, updated dialog for Broken Sword -//= dungeon quest mechanics aportion is still the same. +//= Added Lost Knife, updated dialog for Broken Sword +//= dungeon quest mechanics aportion is still the same. //= 1.2a Bugfixes (bugreport:2404) [Paradox924X] //= 1.2b More Bugfixes (bugreport:2407) [Paradox924X] //============================================================ -// Broken Sword +// Broken Sword :: broken_sword //============================================================ gon_in,17,93,5 script Chief#gon 775,{ if (BaseLevel > 50) { @@ -788,57 +788,57 @@ gon_in,165,16,4 script Man in hangover#gon 748,{ } gon_dun01,148,156,0 script start01#gnbs -1,{ - OnInit: - sleep 10000; - OnCommandOn: - donpcevent "trace1-"+rand(1,5)+"#gnbs::OnCommandOn"; - end; +OnInit: + sleep 10000; +OnCommandOn: + donpcevent "trace1-"+rand(1,5)+"#gnbs::OnCommandOn"; + end; } gon_dun01,201,25,0 script trace1-1#gnbs 139,1,1,{ if (b_sword == 7) donpcevent "timer1-1::OnCommandOn"; end; - OnTimer10000: - stopnpctimer; - disablenpc "trace1-1#gnbs"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnTimer10000: + stopnpctimer; + disablenpc "trace1-1#gnbs"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace1-1#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace1-1#gnbs"; + end; - OnCommandOn: - enablenpc "trace1-1#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace1-1#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun01,2,1,0 script timer1-1 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer1-1"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer1-1"; + end; - OnCommandOn: - enablenpc "timer1-1"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer1-1"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer1-1"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer1-1"; + end; - OnTimer3000: - donpcevent "#getitem1-1::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem1-1::OnCommandOn"; + end; } gon_dun01,202,25,0 script #getitem1-1 111,2,1,{ @@ -848,65 +848,65 @@ gon_dun01,202,25,0 script #getitem1-1 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem1-1"; - end; +OnInit: + disablenpc "#getitem1-1"; + end; - OnCommandOn: - enablenpc "#getitem1-1"; - donpcevent "timer1-1::OnCommandOff"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem1-1"; + donpcevent "timer1-1::OnCommandOff"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem1-1"; - end; +OnCommandOff: + disablenpc "#getitem1-1"; + end; } gon_dun01,190,160,0 script trace1-2#gnbs 139,1,1,{ if (b_sword == 7) donpcevent "timer1-2::OnCommandOn"; end; - OnTimer100000: - stopnpctimer; - disablenpc "trace1-2#gnbs"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnTimer100000: + stopnpctimer; + disablenpc "trace1-2#gnbs"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace1-2#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace1-2#gnbs"; + end; - OnCommandOn: - enablenpc "trace1-2#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace1-2#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun01,3,1,0 script timer1-2 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer1-2"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer1-2"; + end; - OnCommandOn: - enablenpc "timer1-2"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer1-2"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer1-2"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer1-2"; + end; - OnTimer3000: - donpcevent "#getitem1-2::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem1-2::OnCommandOn"; + end; } gon_dun01,190,159,0 script #getitem1-2 111,2,1,{ @@ -916,65 +916,65 @@ gon_dun01,190,159,0 script #getitem1-2 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem1-2"; - end; +OnInit: + disablenpc "#getitem1-2"; + end; - OnCommandOn: - enablenpc "#getitem1-2"; - donpcevent "timer1-2::OnCommandOff"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem1-2"; + donpcevent "timer1-2::OnCommandOff"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem1-2"; - end; +OnCommandOff: + disablenpc "#getitem1-2"; + end; } gon_dun01,163,53,0 script trace1-3#gnbs 139,1,1,{ if (b_sword == 7) donpcevent "timer1-3::OnCommandOn"; end; - OnTimer90000: - stopnpctimer; - disablenpc "trace1-3#gnbs"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnTimer90000: + stopnpctimer; + disablenpc "trace1-3#gnbs"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace1-3#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace1-3#gnbs"; + end; - OnCommandOn: - enablenpc "trace1-3#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace1-3#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun01,4,1,0 script timer1-3 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer1-3"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer1-3"; + end; - OnCommandOn: - enablenpc "timer1-3"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer1-3"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer1-3"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer1-3"; + end; - OnTimer3000: - donpcevent "#getitem1-3::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem1-3::OnCommandOn"; + end; } gon_dun01,164,53,0 script #getitem1-3 111,2,1,{ @@ -984,65 +984,65 @@ gon_dun01,164,53,0 script #getitem1-3 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem1-3"; - end; +OnInit: + disablenpc "#getitem1-3"; + end; - OnCommandOn: - enablenpc "#getitem1-3"; - donpcevent "timer1-3::OnCommandOff"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem1-3"; + donpcevent "timer1-3::OnCommandOff"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem1-3"; - end; +OnCommandOff: + disablenpc "#getitem1-3"; + end; } gon_dun01,133,183,0 script trace1-4#gnbs 139,1,1,{ if (b_sword == 7) donpcevent "timer1-4::OnCommandOn"; end; - OnTimer150000: - stopnpctimer; - disablenpc "trace1-4#gnbs"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnTimer150000: + stopnpctimer; + disablenpc "trace1-4#gnbs"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace1-4#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace1-4#gnbs"; + end; - OnCommandOn: - enablenpc "trace1-4#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace1-4#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun01,5,1,0 script timer1-4 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer1-4"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer1-4"; + end; - OnCommandOn: - enablenpc "timer1-4"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer1-4"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer1-4"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer1-4"; + end; - OnTimer3000: - donpcevent "#getitem1-4::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem1-4::OnCommandOn"; + end; } gon_dun01,134,183,0 script #getitem1-4 111,2,1,{ @@ -1052,65 +1052,65 @@ gon_dun01,134,183,0 script #getitem1-4 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem1-4"; - end; +OnInit: + disablenpc "#getitem1-4"; + end; - OnCommandOn: - enablenpc "#getitem1-4"; - donpcevent "timer1-4::OnCommandOff"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem1-4"; + donpcevent "timer1-4::OnCommandOff"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem1-4"; - end; +OnCommandOff: + disablenpc "#getitem1-4"; + end; } gon_dun01,139,257,0 script trace1-5#gnbs 139,1,1,{ if (b_sword == 7) donpcevent "timer1-5::OnCommandOn"; end; - OnTimer170000: - stopnpctimer; - disablenpc "trace1-5#gnbs"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnTimer170000: + stopnpctimer; + disablenpc "trace1-5#gnbs"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace1-5#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace1-5#gnbs"; + end; - OnCommandOn: - enablenpc "trace1-5#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace1-5#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun01,6,1,0 script timer1-5 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer1-5"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer1-5"; + end; - OnCommandOn: - enablenpc "timer1-5"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer1-5"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer1-5"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer1-5"; + end; - OnTimer3000: - donpcevent "#getitem1-5::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem1-5::OnCommandOn"; + end; } gon_dun01,140,257,0 script #getitem1-5 111,2,1,{ @@ -1120,73 +1120,73 @@ gon_dun01,140,257,0 script #getitem1-5 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem1-5"; - end; +OnInit: + disablenpc "#getitem1-5"; + end; - OnCommandOn: - enablenpc "#getitem1-5"; - donpcevent "timer1-5::OnCommandOff"; - donpcevent "start01#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem1-5"; + donpcevent "timer1-5::OnCommandOff"; + donpcevent "start01#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem1-5"; - end; +OnCommandOff: + disablenpc "#getitem1-5"; + end; } gon_dun02,1,1,0 script start02#gnbs -1,{ - OnInit: - sleep 10000; - OnCommandOn: - donpcevent "trace2-"+rand(1,6)+"#gnbs::OnCommandOn"; - end; +OnInit: + sleep 10000; +OnCommandOn: + donpcevent "trace2-"+rand(1,6)+"#gnbs::OnCommandOn"; + end; } gon_dun02,65,168,0 script trace2-1#gnbs 139,1,1,{ if (b_sword == 8) donpcevent "timer2-1::OnCommandOn"; end; - OnTimer80000: - stopnpctimer; - disablenpc "trace2-1#gnbs"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnTimer80000: + stopnpctimer; + disablenpc "trace2-1#gnbs"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace2-1#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace2-1#gnbs"; + end; - OnCommandOn: - enablenpc "trace2-1#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace2-1#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun02,2,1,0 script timer2-1 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer2-1"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer2-1"; + end; - OnCommandOn: - enablenpc "timer2-1"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer2-1"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer2-1"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer2-1"; + end; - OnTimer3000: - donpcevent "#getitem2-1::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem2-1::OnCommandOn"; + end; } gon_dun02,202,25,0 script #getitem2-1 111,2,1,{ @@ -1196,65 +1196,65 @@ gon_dun02,202,25,0 script #getitem2-1 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem2-1"; - end; +OnInit: + disablenpc "#getitem2-1"; + end; - OnCommandOn: - enablenpc "#getitem2-1"; - donpcevent "timer2-1::OnCommandOff"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem2-1"; + donpcevent "timer2-1::OnCommandOff"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem2-1"; - end; +OnCommandOff: + disablenpc "#getitem2-1"; + end; } gon_dun02,265,200,0 script trace2-2#gnbs 139,1,1,{ if (b_sword == 8) donpcevent "timer2-2::OnCommandOn"; end; - OnTimer130000: - stopnpctimer; - disablenpc "trace2-2#gnbs"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnTimer130000: + stopnpctimer; + disablenpc "trace2-2#gnbs"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace2-2#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace2-2#gnbs"; + end; - OnCommandOn: - enablenpc "trace2-2#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace2-2#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun02,3,1,0 script timer2-2 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer2-2"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer2-2"; + end; - OnCommandOn: - enablenpc "timer2-2"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer2-2"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer2-2"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer2-2"; + end; - OnTimer3000: - donpcevent "#getitem2-2::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem2-2::OnCommandOn"; + end; } gon_dun02,265,201,0 script #getitem2-2 111,2,1,{ @@ -1264,65 +1264,65 @@ gon_dun02,265,201,0 script #getitem2-2 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem2-2"; - end; +OnInit: + disablenpc "#getitem2-2"; + end; - OnCommandOn: - enablenpc "#getitem2-2"; - donpcevent "timer2-2::OnCommandOff"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem2-2"; + donpcevent "timer2-2::OnCommandOff"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem2-2"; - end; +OnCommandOff: + disablenpc "#getitem2-2"; + end; } gon_dun02,247,129,0 script trace2-3#gnbs 139,1,1,{ if (b_sword == 8) donpcevent "timer2-3::OnCommandOn"; end; - OnTimer110000: - stopnpctimer; - disablenpc "trace2-3#gnbs"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnTimer110000: + stopnpctimer; + disablenpc "trace2-3#gnbs"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace2-3#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace2-3#gnbs"; + end; - OnCommandOn: - enablenpc "trace2-3#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace2-3#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun02,4,1,0 script timer2-3 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer2-3"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer2-3"; + end; - OnCommandOn: - enablenpc "timer2-3"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer2-3"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer2-3"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer2-3"; + end; - OnTimer3000: - donpcevent "#getitem2-3::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem2-3::OnCommandOn"; + end; } gon_dun02,247,128,0 script #getitem2-3 111,2,1,{ @@ -1332,65 +1332,65 @@ gon_dun02,247,128,0 script #getitem2-3 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem2-3"; - end; +OnInit: + disablenpc "#getitem2-3"; + end; - OnCommandOn: - enablenpc "#getitem2-3"; - donpcevent "timer2-3::OnCommandOff"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem2-3"; + donpcevent "timer2-3::OnCommandOff"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem2-3"; - end; +OnCommandOff: + disablenpc "#getitem2-3"; + end; } gon_dun02,149,74,0 script trace2-4#gnbs 139,1,1,{ if (b_sword == 8) donpcevent "timer2-4::OnCommandOn"; end; - OnTimer230000: - stopnpctimer; - disablenpc "trace2-4#gnbs"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnTimer230000: + stopnpctimer; + disablenpc "trace2-4#gnbs"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace2-4#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace2-4#gnbs"; + end; - OnCommandOn: - enablenpc "trace2-4#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace2-4#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun02,5,1,0 script timer2-4 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer2-4"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer2-4"; + end; - OnCommandOn: - enablenpc "timer2-4"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer2-4"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer2-4"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer2-4"; + end; - OnTimer3000: - donpcevent "#getitem2-4::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem2-4::OnCommandOn"; + end; } gon_dun02,149,75,0 script #getitem2-4 111,2,1,{ @@ -1400,65 +1400,65 @@ gon_dun02,149,75,0 script #getitem2-4 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem2-4"; - end; +OnInit: + disablenpc "#getitem2-4"; + end; - OnCommandOn: - enablenpc "#getitem2-4"; - donpcevent "timer2-4::OnCommandOff"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem2-4"; + donpcevent "timer2-4::OnCommandOff"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem2-4"; - end; +OnCommandOff: + disablenpc "#getitem2-4"; + end; } gon_dun02,23,105,0 script trace2-5#gnbs 139,1,1,{ if (b_sword == 8) donpcevent "timer2-5::OnCommandOn"; end; - OnTimer190000: - stopnpctimer; - disablenpc "trace2-5#gnbs"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnTimer190000: + stopnpctimer; + disablenpc "trace2-5#gnbs"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace2-5#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace2-5#gnbs"; + end; - OnCommandOn: - enablenpc "trace2-5#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace2-5#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun02,6,1,0 script timer2-5 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer2-5"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer2-5"; + end; - OnCommandOn: - enablenpc "timer2-5"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer2-5"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer2-5"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer2-5"; + end; - OnTimer3000: - donpcevent "#getitem2-5::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem2-5::OnCommandOn"; + end; } gon_dun02,23,106,0 script #getitem2-5 111,2,1,{ @@ -1468,65 +1468,65 @@ gon_dun02,23,106,0 script #getitem2-5 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem2-5"; - end; +OnInit: + disablenpc "#getitem2-5"; + end; - OnCommandOn: - enablenpc "#getitem2-5"; - donpcevent "timer2-5::OnCommandOff"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem2-5"; + donpcevent "timer2-5::OnCommandOff"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem2-5"; - end; +OnCommandOff: + disablenpc "#getitem2-5"; + end; } gon_dun02,249,39,0 script trace2-6#gnbs 139,1,1,{ if (b_sword == 8) donpcevent "timer2-6::OnCommandOn"; end; - OnTimer110000: - stopnpctimer; - disablenpc "trace2-6#gnbs"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnTimer110000: + stopnpctimer; + disablenpc "trace2-6#gnbs"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace2-6#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace2-6#gnbs"; + end; - OnCommandOn: - enablenpc "trace2-6#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace2-6#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun02,7,1,0 script timer2-6 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer2-6"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer2-6"; + end; - OnCommandOn: - enablenpc "timer2-6"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer2-6"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer2-6"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer2-6"; + end; - OnTimer3000: - donpcevent "#getitem2-6::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem2-6::OnCommandOn"; + end; } gon_dun02,249,40,0 script #getitem2-6 111,2,1,{ @@ -1536,73 +1536,73 @@ gon_dun02,249,40,0 script #getitem2-6 111,2,1,{ mes "Seems like it's a part of the sword you've been looking for."; close; - OnInit: - disablenpc "#getitem2-6"; - end; +OnInit: + disablenpc "#getitem2-6"; + end; - OnCommandOn: - enablenpc "#getitem2-6"; - donpcevent "timer2-6::OnCommandOff"; - donpcevent "start02#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem2-6"; + donpcevent "timer2-6::OnCommandOff"; + donpcevent "start02#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem2-6"; - end; +OnCommandOff: + disablenpc "#getitem2-6"; + end; } gon_dun03,1,1,0 script start03#gnbs -1,{ - OnInit: - sleep 10000; - OnCommandOn: - donpcevent "trace3-"+rand(1,7)+"#gnbs::OnCommandOn"; - end; +OnInit: + sleep 10000; +OnCommandOn: + donpcevent "trace3-"+rand(1,7)+"#gnbs::OnCommandOn"; + end; } gon_dun03,11,75,0 script trace3-1#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-1::OnCommandOn"; end; - OnTimer200000: - stopnpctimer; - disablenpc "trace3-1#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer200000: + stopnpctimer; + disablenpc "trace3-1#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-1#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-1#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-1#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-1#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,2,1,0 script timer3-1 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-1"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-1"; + end; - OnCommandOn: - enablenpc "timer3-1"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-1"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-1"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-1"; + end; - OnTimer3000: - donpcevent "#getitem3-1::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-1::OnCommandOn"; + end; } gon_dun03,10,74,0 script #getitem3-1 111,2,1,{ @@ -1616,65 +1616,65 @@ gon_dun03,10,74,0 script #getitem3-1 111,2,1,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-1"; - end; +OnInit: + disablenpc "#getitem3-1"; + end; - OnCommandOn: - enablenpc "#getitem3-1"; - donpcevent "timer3-1::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-1"; + donpcevent "timer3-1::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-1"; - end; +OnCommandOff: + disablenpc "#getitem3-1"; + end; } gon_dun03,199,103,0 script trace3-2#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-2::OnCommandOn"; end; - OnTimer130000: - stopnpctimer; - disablenpc "trace3-2#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer130000: + stopnpctimer; + disablenpc "trace3-2#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-2#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-2#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-2#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-2#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,3,1,0 script timer3-2 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-2"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-2"; + end; - OnCommandOn: - enablenpc "timer3-2"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-2"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-2"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-2"; + end; - OnTimer3000: - donpcevent "#getitem3-2::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-2::OnCommandOn"; + end; } gon_dun03,199,102,0 script #getitem3-2 111,2,1,{ @@ -1688,65 +1688,65 @@ gon_dun03,199,102,0 script #getitem3-2 111,2,1,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-2"; - end; +OnInit: + disablenpc "#getitem3-2"; + end; - OnCommandOn: - enablenpc "#getitem3-2"; - donpcevent "timer3-2::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-2"; + donpcevent "timer3-2::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-2"; - end; +OnCommandOff: + disablenpc "#getitem3-2"; + end; } gon_dun03,14,162,0 script trace3-3#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-3::OnCommandOn"; end; - OnTimer110000: - stopnpctimer; - disablenpc "trace3-3#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer110000: + stopnpctimer; + disablenpc "trace3-3#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-3#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-3#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-3#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-3#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,4,1,0 script timer3-3 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-3"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-3"; + end; - OnCommandOn: - enablenpc "timer3-3"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-3"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-3"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-3"; + end; - OnTimer3000: - donpcevent "#getitem3-3::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-3::OnCommandOn"; + end; } gon_dun03,14,163,0 script #getitem3-3 111,2,1,{ @@ -1760,65 +1760,65 @@ gon_dun03,14,163,0 script #getitem3-3 111,2,1,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-3"; - end; +OnInit: + disablenpc "#getitem3-3"; + end; - OnCommandOn: - enablenpc "#getitem3-3"; - donpcevent "timer3-3::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-3"; + donpcevent "timer3-3::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-3"; - end; +OnCommandOff: + disablenpc "#getitem3-3"; + end; } gon_dun03,155,263,0 script trace3-4#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-4::OnCommandOn"; end; - OnTimer230000: - stopnpctimer; - disablenpc "trace3-4#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer230000: + stopnpctimer; + disablenpc "trace3-4#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-4#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-4#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-4#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-4#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,5,1,0 script timer3-4 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-4"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-4"; + end; - OnCommandOn: - enablenpc "timer3-4"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-4"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-4"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-4"; + end; - OnTimer3000: - donpcevent "#getitem3-4::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-4::OnCommandOn"; + end; } gon_dun03,156,263,0 script #getitem3-4 111,2,1,{ @@ -1832,65 +1832,65 @@ gon_dun03,156,263,0 script #getitem3-4 111,2,1,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-4"; - end; +OnInit: + disablenpc "#getitem3-4"; + end; - OnCommandOn: - enablenpc "#getitem3-4"; - donpcevent "timer3-4::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-4"; + donpcevent "timer3-4::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-4"; - end; +OnCommandOff: + disablenpc "#getitem3-4"; + end; } gon_dun03,169,90,0 script trace3-5#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-5::OnCommandOn"; end; - OnTimer190000: - stopnpctimer; - disablenpc "trace3-5#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer190000: + stopnpctimer; + disablenpc "trace3-5#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-5#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-5#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-5#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-5#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,6,1,0 script timer3-5 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-5"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-5"; + end; - OnCommandOn: - enablenpc "timer3-5"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-5"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-5"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-5"; + end; - OnTimer3000: - donpcevent "#getitem3-5::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-5::OnCommandOn"; + end; } gon_dun03,170,90,0 script #getitem3-5 111,2,1,{ @@ -1904,65 +1904,65 @@ gon_dun03,170,90,0 script #getitem3-5 111,2,1,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-5"; - end; +OnInit: + disablenpc "#getitem3-5"; + end; - OnCommandOn: - enablenpc "#getitem3-5"; - donpcevent "timer3-5::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-5"; + donpcevent "timer3-5::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-5"; - end; +OnCommandOff: + disablenpc "#getitem3-5"; + end; } gon_dun03,162,40,0 script trace3-6#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-6::OnCommandOn"; end; - OnTimer110000: - stopnpctimer; - disablenpc "trace3-6#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer110000: + stopnpctimer; + disablenpc "trace3-6#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-6#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-6#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-6#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-6#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,7,1,0 script timer3-6 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-6"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-6"; + end; - OnCommandOn: - enablenpc "timer3-6"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-6"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-6"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-6"; + end; - OnTimer3000: - donpcevent "#getitem3-6::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-6::OnCommandOn"; + end; } gon_dun03,68,39,0 script #getitem3-6 111,1,2,{ @@ -1976,65 +1976,65 @@ gon_dun03,68,39,0 script #getitem3-6 111,1,2,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-6"; - end; +OnInit: + disablenpc "#getitem3-6"; + end; - OnCommandOn: - enablenpc "#getitem3-6"; - donpcevent "timer3-6::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-6"; + donpcevent "timer3-6::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-6"; - end; +OnCommandOff: + disablenpc "#getitem3-6"; + end; } gon_dun03,68,212,0 script trace3-7#gnbs 139,1,1,{ if (b_sword == 9) donpcevent "timer3-7::OnCommandOn"; end; - OnTimer110000: - stopnpctimer; - disablenpc "trace3-7#gnbs"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnTimer110000: + stopnpctimer; + disablenpc "trace3-7#gnbs"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "trace3-7#gnbs"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "trace3-7#gnbs"; + end; - OnCommandOn: - enablenpc "trace3-7#gnbs"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "trace3-7#gnbs"; + setnpctimer 0; + startnpctimer; + end; } gon_dun03,6,1,0 script timer3-7 -1,{ - OnInit: - initnpctimer; - stopnpctimer; - disablenpc "timer3-7"; - end; +OnInit: + initnpctimer; + stopnpctimer; + disablenpc "timer3-7"; + end; - OnCommandOn: - enablenpc "timer3-7"; - setnpctimer 0; - startnpctimer; - end; +OnCommandOn: + enablenpc "timer3-7"; + setnpctimer 0; + startnpctimer; + end; - OnCommandOff: - stopnpctimer; - disablenpc "timer3-7"; - end; +OnCommandOff: + stopnpctimer; + disablenpc "timer3-7"; + end; - OnTimer3000: - donpcevent "#getitem3-7::OnCommandOn"; - end; +OnTimer3000: + donpcevent "#getitem3-7::OnCommandOn"; + end; } gon_dun03,68,213,0 script #getitem3-7 111,1,2,{ @@ -2048,19 +2048,19 @@ gon_dun03,68,213,0 script #getitem3-7 111,1,2,{ mes "It looks like you've found all of the pieces of the blade."; close; - OnInit: - disablenpc "#getitem3-7"; - end; +OnInit: + disablenpc "#getitem3-7"; + end; - OnCommandOn: - enablenpc "#getitem3-7"; - donpcevent "timer3-7::OnCommandOff"; - donpcevent "start03#gnbs::OnCommandOn"; - end; +OnCommandOn: + enablenpc "#getitem3-7"; + donpcevent "timer3-7::OnCommandOff"; + donpcevent "start03#gnbs::OnCommandOn"; + end; - OnCommandOff: - disablenpc "#getitem3-7"; - end; +OnCommandOff: + disablenpc "#getitem3-7"; + end; } gon_in,18,27,5 script Madam#gnbs 771,{ @@ -3702,7 +3702,7 @@ OnTouch: end; } -// Lost Knife +// Lost Knife :: gon_npc //============================================================ gonryun,237,226,3 script Han Ran Jiao#gon 776,{ if (nakha == 0) { diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt index 76eff206da..5e11da7268 100644 --- a/npc/quests/quests_hugel.txt +++ b/npc/quests/quests_hugel.txt @@ -29,14 +29,11 @@ //= 2.3 Added questlog support. [Euphy] //============================================================ -// Medicine Quest +// Medicine Quest :: hg_herv //============================================================ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ - - if(BaseLevel > 49) - { - if(hg_herb == 0) - { + if (BaseLevel > 49) { + if (hg_herb == 0) { mes "[Allen]"; mes "*Groooooan~*"; mes "Arrrgh, my back hurts..."; @@ -67,8 +64,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "find my son Postell and to"; mes "tell him to bring my medicine!"; next; - switch( select( "Sure.:No, I'm sorry." ) ) - { + switch(select("Sure.:No, I'm sorry.")) { case 1: mes "[Allen]"; mes "Th-thank you so much!"; @@ -97,9 +93,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "No! Please, d-don't go away!"; close; } - } - else if(hg_herb == 2) - { + } else if (hg_herb == 2) { mes "[Allen]"; mes "Postell... My son..."; mes "Why have you forsaken me?"; @@ -142,11 +136,9 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "would you please let me"; mes "have a White P-Potion?"; next; - switch( select( "Give White Potion:Ignore" ) ) - { + switch(select("Give White Potion:Ignore")) { case 1: - if(!countitem(504)) //White potion - { + if (!countitem(504)) { mes "[Allen]"; mes "Oh... Oh no...! You"; mes "don't have any White"; @@ -155,9 +147,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "please! Bring me a White Potion"; mes "as soon as you can! ^333333*Cough!*^000000"; close; - } - else - { + } else { delitem 504,1; //White potion mes "[Allen]"; mes "Oh, thank you!"; @@ -201,9 +191,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "A plague on both your houses!"; close; } - } - else if(hg_herb == 3) - { + } else if (hg_herb == 3) { mes "[Allen]"; mes "*Gasp* I... I can"; mes "feel it! I think I'm"; @@ -222,9 +210,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ set hg_herb,4; changequest 8055,8056; close; - } - else if(hg_herb == 4) - { + } else if (hg_herb == 4) { mes "[Allen]"; mes "No...!"; mes "There's a light at the"; @@ -233,9 +219,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "a little closer to me! Don't"; mes "let me step into the light!"; close; - } - else if(hg_herb == 6) - { + } else if (hg_herb == 6) { mes "^3355FFYou have given the"; mes "Withstander medicine"; mes "to Allen who guzzles"; @@ -252,9 +236,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "day. Th-thank you so much..."; set hg_herb,7; close; - } - else if(hg_herb == 7) - { + } else if (hg_herb == 7) { mes "[Allen]"; mes "I... I can't...!"; mes "I can barely breathe!"; @@ -262,14 +244,11 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "again! Please, c-come closer"; mes "to me! I-I think I need CPR!"; close; - } - else if(hg_herb == 9) - { + } else if (hg_herb == 9) { mes "^3355FFYou give another dose"; mes "of Withstander to Allen.^000000"; next; - if(rand(1,3) == 3) - { + if (rand(1,3) == 3) { mes "[Allen]"; mes "Oh... Thank you..."; mes "I feel much b-better now."; @@ -279,22 +258,20 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ set hg_herb,10; close; } - mes "[Allen]"; - mes "Oh... Thank you..."; - mes "Y-you're an angel, a regular"; - mes "Florence Nightingale. Please"; - mes "stay with m-me until my son"; - mes "arrives. You wouldn't abandon"; - mes "this sick man now, would you?"; - next; - mes "[" +strcharinfo(0)+ "]"; - mes "(^333333Your son Postell"; - mes "better get here soon!^000000)"; - set hg_herb,7; - close; - } - else if(hg_herb == 10) - { + mes "[Allen]"; + mes "Oh... Thank you..."; + mes "Y-you're an angel, a regular"; + mes "Florence Nightingale. Please"; + mes "stay with m-me until my son"; + mes "arrives. You wouldn't abandon"; + mes "this sick man now, would you?"; + next; + mes "[" +strcharinfo(0)+ "]"; + mes "(^333333Your son Postell"; + mes "better get here soon!^000000)"; + set hg_herb,7; + close; + } else if (hg_herb == 10) { mes "[Allen]"; mes "Arrrgh! My ligaments!"; mes "They're in such pain!"; @@ -357,9 +334,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ emotion e_swt,1; emotion e_swt; end; - } - else if(hg_herb == 11) - { + } else if (hg_herb == 11) { mes "[Allen]"; mes "*Sniff* I should have known"; mes "that Postell really does care"; @@ -377,9 +352,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ set hg_herb,12; changequest 8055,8056; close; - } - else if(hg_herb == 12) - { + } else if (hg_herb == 12) { mes "[Allen]"; mes "Don't worry, adventurer."; mes "I haven't forgotten about"; @@ -387,9 +360,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "the medicine drawer, and help"; mes "yourself to whatever you like~"; close; - } - else if(hg_herb == 13) - { + } else if (hg_herb == 13) { mes "[Allen]"; mes "So did you find the"; mes "Old Blue Box I put in"; @@ -398,9 +369,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "like it. Consider my way"; mes "of thanking you for your help~"; close; - } - else - { + } else { mes "[Allen]"; mes "*Groooooan~*"; mes "Arrrgh, my back hurts..."; @@ -410,9 +379,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ mes "live happy, luxurious lives?"; close; } - } - else - { + } else { mes "[Allen]"; mes "*Groooooan~*"; mes "Arrrgh, my back hurts..."; @@ -424,8 +391,7 @@ hu_in01,387,245,0 script Allen Schuwell 849,2,2,{ } OnTouch: - if(hg_herb == 4) - { + if (hg_herb == 4) { mes "[Allen]"; mes "^333333*Cough cough!*^000000"; mes "W-Withstander...!"; @@ -434,9 +400,7 @@ OnTouch: set hg_herb,5; donpcevent "#DrawerOpener::OnEnable"; close; - } - else if(hg_herb == 7) - { + } else if (hg_herb == 7) { mes "[Allen]"; mes "^333333*Whew*^000000"; mes "I... I can breathe again!"; @@ -452,7 +416,6 @@ OnTouch: } hu_in01,385,247,5 script Postell Schuwell#D 97,{ - mes "[Postell]"; mes "Hey, uh..."; mes "I'm in the middle"; @@ -475,9 +438,7 @@ OnTimer100000: } hu_fild06,34,123,3 script Postell Schuwell 97,{ - - if(hg_herb == 1) - { + if (hg_herb == 1) { mes "[Postell]"; mes "I really like living"; mes "in Hugel. Fresh air,"; @@ -501,8 +462,7 @@ hu_fild06,34,123,3 script Postell Schuwell 97,{ mes "all the medicines he's taking"; mes "are habit forming, you know?"; next; - switch( select( "But your father needs you!:Habit forming?" ) ) - { + switch(select("But your father needs you!:Habit forming?")) { case 1: mes "[Allen's Voice]"; mes "Yeah, I guess you're right."; @@ -539,9 +499,7 @@ hu_fild06,34,123,3 script Postell Schuwell 97,{ mes "too much medicine already..."; close; } - } - else if(hg_herb > 1) - { + } else if (hg_herb > 1) { mes "[Postell]"; mes "Kolbun A, Kolbun A..."; mes "Let's see, is it really"; @@ -549,9 +507,7 @@ hu_fild06,34,123,3 script Postell Schuwell 97,{ mes "If it isn't, I better come up"; mes "with some replacement..."; close; - } - else - { + } else { mes "[Postell]"; mes "I really like living"; mes "in Hugel. Fresh air,"; @@ -560,23 +516,18 @@ hu_fild06,34,123,3 script Postell Schuwell 97,{ mes "more could I want?"; close; } - } hu_in01,370,255,3 script Upper Drawer#First 139,2,2,{ - OnTouch: set .@rand,rand(1,7); - if(hg_herb < 5) - { + if (hg_herb < 5) { mes "^3355FFThere are several"; mes "books and a few"; mes "liquid medicines"; mes "inside this drawer.^000000"; close; - } - else if(hg_herb == 5) - { + } else if (hg_herb == 5) { mes "[Allen]"; mes "Oh... Oh..."; mes "Oooh... The pain"; @@ -586,8 +537,7 @@ OnTouch: set hg_herb,4; next; set .@rand,rand(1,7); - if(.@rand == 4) - { + if (.@rand == 4) { mes "^3355FFYou find an old book"; mes "inside the drawer.^000000"; next; @@ -604,9 +554,7 @@ OnTouch: mes "I guess that's why he'd"; mes "keep this old PR brochure...^000000)"; close; - } - else if(.@rand == 5) - { + } else if (.@rand == 5) { mes "^3355FFYou find Allen's"; mes "journal inside the"; mes "drawer and quickly"; @@ -622,20 +570,16 @@ OnTouch: mes "Lab... Escape... Hugel... Um..."; mes "Dr. Morriphen... Side effects?"; close; - } - else - { + } else { mes "[" +strcharinfo(0)+ "]"; mes "Wh-what...?"; mes "Do you really"; mes "need that medicine?!"; close; } - } - else if(hg_herb == 6) + } else if (hg_herb == 6) end; - else if(hg_herb == 8) - { + else if (hg_herb == 8) { mes "[Allen]"; mes "Oh... Oh..."; mes "Oooh... The pain"; @@ -644,8 +588,7 @@ OnTouch: mes "Withstander later..."; set hg_herb,7; next; - if(.@rand == 4) - { + if (.@rand == 4) { mes "^3355FFYou find an old book"; mes "inside the drawer.^000000"; next; @@ -662,9 +605,7 @@ OnTouch: mes "I guess that's why he'd"; mes "keep this old PR brochure...^000000)"; close; - } - else if(.@rand == 5) - { + } else if (.@rand == 5) { mes "^3355FFYou find Allen's"; mes "journal inside the"; mes "drawer and quickly"; @@ -680,20 +621,16 @@ OnTouch: mes "Lab... Escape... Hugel... Um..."; mes "Dr. Morriphen... Side effects?"; close; - } - else - { + } else { mes "[" +strcharinfo(0)+ "]"; mes "Wh-what...?"; mes "Do you really"; mes "need that medicine?!"; close; } - } - else if(hg_herb == 9) + } else if (hg_herb == 9) end; - else if(hg_herb == 12) - { + else if (hg_herb == 12) { mes "^3355FFYou find an"; mes "Old Blue Box deep"; mes "inside the drawer.^000000"; @@ -703,11 +640,8 @@ OnTouch: getitem 603,1; //Old Blue Box getexp (checkre(3))?5000:50000,0; completequest 8056; - } - else - { - if(.@rand > 3) - { + } else { + if (.@rand > 3) { mes "^3355FFYou find an old book"; mes "inside the drawer.^000000"; next; @@ -724,9 +658,7 @@ OnTouch: mes "I guess that's why he'd"; mes "keep this old PR brochure...^000000)"; close; - } - else - { + } else { mes "^3355FFYou find Allen's"; mes "journal inside the"; mes "drawer and quickly"; @@ -744,7 +676,6 @@ OnTouch: close; } } - } hu_in01,370,255,3 script Upper Drawer#Second 139,2,2,{ @@ -752,28 +683,22 @@ OnInit: disablenpc "Upper Drawer#Second"; end; - OnTouch: - if(hg_herb == 5) - { - mes "^3355FFYou take out one dose of"; - mes "Withstander from the drawer.^000000"; - set hg_herb,6; - close; - } - else if(hg_herb == 8) - { - mes "^3355FFYou take out one dose of"; - mes "Withstander from the drawer.^000000"; - set hg_herb,9; - close; - } - else - { - mes "^3355FFThere are several books"; - mes "kept inside this drawer.^000000"; - close; - } - +OnTouch: + if (hg_herb == 5) { + mes "^3355FFYou take out one dose of"; + mes "Withstander from the drawer.^000000"; + set hg_herb,6; + close; + } else if (hg_herb == 8) { + mes "^3355FFYou take out one dose of"; + mes "Withstander from the drawer.^000000"; + set hg_herb,9; + close; + } else { + mes "^3355FFThere are several books"; + mes "kept inside this drawer.^000000"; + close; + } } hu_in01,1,1,0 script #DrawerOpener -1,{ @@ -797,17 +722,13 @@ OnTimer4500: disablenpc "#DrawerOpener"; stopnpctimer; end; - } -// Biological Weapon Quest +// Biological Weapon Quest :: hg_bio //============================================================ ein_in01,16,36,3 script Morriphen 86,{ - - if(hg_bio == 0) - { - if(hg_herb == 13) - { + if (hg_bio == 0) { + if (hg_herb == 13) { mes "[Morriphen]"; mes "Wh-who are you, and what are"; mes "you looking for? If you're here"; @@ -851,8 +772,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "Hmm..."; mes "What should I do?"; next; - switch( select( "Leave him:Help him" ) ) - { + switch(select("Leave him:Help him")) { case 1: mes "["+strcharinfo(0)+"]"; mes "You know, I'm a little"; @@ -932,18 +852,14 @@ ein_in01,16,36,3 script Morriphen 86,{ setquest 11009; close; } - } - else - { + } else { mes "[Morriphen]"; mes "Ugh... I don't feel"; mes "very well. I guess"; mes "I better call it a day..."; close; } - } - else if(hg_bio == 1) - { + } else if (hg_bio == 1) { mes "[Morriphen]"; mes "Please ask my ^333333*Cough*^000000"; mes "wife Siria in my home in"; @@ -951,9 +867,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "medicine. Th-thank you..."; mes "^333333*Haaaaack* *Hhh, haaaack*^000000"; close; - } - else if(hg_bio == 2) - { + } else if (hg_bio == 2) { mes "["+strcharinfo(0)+"]"; mes "Oh no... Morriphen"; mes "doesn't look good at all!"; @@ -961,9 +875,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "him medicine from Siria"; mes "in Hugel as soon as I can!"; close; - } - else if(hg_bio == 3) - { + } else if (hg_bio == 3) { mes "["+strcharinfo(0)+"]"; mes "Oh no... Morriphen"; mes "doesn't look good at all!"; @@ -971,9 +883,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "him medicine from Dono"; mes "in Hugel as soon as I can!"; close; - } - else if(hg_bio == 4) - { + } else if (hg_bio == 4) { mes "["+strcharinfo(0)+"]"; mes "Oh no... Morriphen"; mes "doesn't look good at all!"; @@ -981,9 +891,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "him medicine from Dono"; mes "in Hugel as soon as I can!"; close; - } - else if(hg_bio == 5) - { + } else if (hg_bio == 5) { mes "["+strcharinfo(0)+"]"; mes "Oh no... Morriphen"; mes "doesn't look good at all!"; @@ -991,9 +899,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "him medicine from Dono"; mes "in Hugel as soon as I can!"; close; - } - else if(hg_bio == 6) - { + } else if (hg_bio == 6) { mes "^3355FFYou administer the"; mes "medicine to Morriphen,"; mes "who slowly regains"; @@ -1037,9 +943,7 @@ ein_in01,16,36,3 script Morriphen 86,{ set hg_bio,7; changequest 11014,11015; close; - } - else if(hg_bio == 7) - { + } else if (hg_bio == 7) { mes "["+strcharinfo(0)+"]"; mes "What am I doing...?"; mes "I need to return to"; @@ -1047,9 +951,7 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "medicine to Siria as"; mes "soon as possible!"; close; - } - else if(hg_bio == 8) - { + } else if (hg_bio == 8) { mes "[Morriphen]"; mes "You're back! So, have you"; mes "seen my wife? She's okay,"; @@ -1320,9 +1222,22 @@ ein_in01,16,36,3 script Morriphen 86,{ getexp (checkre(3))?70000:700000,0; completequest 11016; close; - } - else if(hg_bio == 9) - { + } else if (hg_bio == 9) { + mes "[Morriphen]"; + mes "Oh, long time no see~"; + mes "Yes, my wife and I can't"; + mes "possibly be any happier."; + mes "We've been taking it easy,"; + mes "and managed to make full"; + mes "recoveries. Amazing, isn't it?"; + next; + mes "[Morriphen]"; + mes "Oh, and we finally got"; + mes "married in a small ceremony"; + mes "here in Hugel. Why don't you"; + mes "come visit our house sometime?"; + close; + } else { mes "[Morriphen]"; mes "Oh, long time no see~"; mes "Yes, my wife and I can't"; @@ -1338,30 +1253,10 @@ ein_in01,16,36,3 script Morriphen 86,{ mes "come visit our house sometime?"; close; } - else - { - mes "[Morriphen]"; - mes "Oh, long time no see~"; - mes "Yes, my wife and I can't"; - mes "possibly be any happier."; - mes "We've been taking it easy,"; - mes "and managed to make full"; - mes "recoveries. Amazing, isn't it?"; - next; - mes "[Morriphen]"; - mes "Oh, and we finally got"; - mes "married in a small ceremony"; - mes "here in Hugel. Why don't you"; - mes "come visit our house sometime?"; - close; - } - } hu_in01,326,307,3 script Siria 90,{ - - if(hg_bio == 1) - { + if (hg_bio == 1) { mes "[Siria]"; mes "Oh, hello there."; mes "Can I help you"; @@ -1451,9 +1346,7 @@ hu_in01,326,307,3 script Siria 90,{ set hg_bio,2; changequest 11009,11010; close; - } - else if(hg_bio == 2) - { + } else if (hg_bio == 2) { mes "[Siria]"; mes "^333333*Sniff*^000000 Please"; mes "go to Lighthalzen and"; @@ -1461,9 +1354,7 @@ hu_in01,326,307,3 script Siria 90,{ mes "medicine from his friend,"; mes "Dono, as soon as you can."; close; - } - else if(hg_bio == 3) - { + } else if (hg_bio == 3) { mes "[Siria]"; mes "Oh, have you met Dono?"; mes "I'm so grateful for all of"; @@ -1471,9 +1362,7 @@ hu_in01,326,307,3 script Siria 90,{ mes "good friend to Morriphen,"; mes "no matter what he says."; close; - } - else if(hg_bio == 4) - { + } else if (hg_bio == 4) { mes "[Siria]"; mes "Oh, have you met Dono?"; mes "I'm so grateful for all of"; @@ -1481,9 +1370,7 @@ hu_in01,326,307,3 script Siria 90,{ mes "good friend to Morriphen,"; mes "no matter what he says."; close; - } - else if(hg_bio == 5) - { + } else if (hg_bio == 5) { mes "[Siria]"; mes "Oh, have you met Dono?"; mes "I'm so grateful for all of"; @@ -1491,9 +1378,7 @@ hu_in01,326,307,3 script Siria 90,{ mes "good friend to Morriphen,"; mes "no matter what he says."; close; - } - else if(hg_bio == 6) - { + } else if (hg_bio == 6) { mes "[Siria]"; mes "*Cough* I-I'm fine,"; mes "so please don't worry"; @@ -1501,9 +1386,7 @@ hu_in01,326,307,3 script Siria 90,{ mes "medicine to Morriphen as"; mes "fast as you can for me."; close; - } - else if(hg_bio == 7) - { + } else if (hg_bio == 7) { mes "^3355FFYou gently administered"; mes "the medicine to Siria, who"; mes "slow regained consciousness.^000000"; @@ -1534,9 +1417,7 @@ hu_in01,326,307,3 script Siria 90,{ getexp (checkre(3))?30000:500000,0; changequest 11015,11016; close; - } - else if(hg_bio == 8) - { + } else if (hg_bio == 8) { mes "[Siria]"; mes "Oh, please go back"; mes "to Morriphen and let"; @@ -1544,9 +1425,7 @@ hu_in01,326,307,3 script Siria 90,{ mes "better. I don't want him"; mes "to worry about me!"; close; - } - else if(hg_bio == 9) - { + } else if (hg_bio == 9) { mes "[Siria]"; mes "Oh, welcome~"; mes "Thank you so much"; @@ -1554,22 +1433,17 @@ hu_in01,326,307,3 script Siria 90,{ mes "Morriphen. You've been"; mes "a real godsend, you know?"; close; - } - else - { + } else { mes "[Siria]"; mes "Oh, hello there."; mes "Can I help you"; mes "with anything?"; close; } - } lighthalzen,88,79,7 script Dono 85,{ - - if(hg_bio == 2) - { + if (hg_bio == 2) { mes "[Dono]"; mes "What do you want?"; mes "Spit it out, I don't"; @@ -1654,20 +1528,15 @@ lighthalzen,88,79,7 script Dono 85,{ set hg_bio,3; changequest 11010,11011; close; - } - else if(hg_bio == 1) - { + } else if (hg_bio == 1) { mes "[Dono]"; mes "Store's closed."; mes "Get outta here, and"; mes "come back later to"; mes "buy something, got it?"; close; - } - else if(hg_bio == 3) - { - if (countitem(971) > 2 && countitem(1003) > 4 && countitem(619) && countitem(507) && countitem(508) && countitem(511) && countitem(509) && countitem(510) && countitem(7053) > 4 && countitem(7054) > 4 && countitem(935) > 19) - { + } else if (hg_bio == 3) { + if (countitem(971) > 2 && countitem(1003) > 4 && countitem(619) && countitem(507) && countitem(508) && countitem(511) && countitem(509) && countitem(510) && countitem(7053) > 4 && countitem(7054) > 4 && countitem(935) > 19) { delitem 971,3; //Detrimindexta delitem 1003,5; //Coal delitem 619,1; //Unripe_Apple @@ -1723,9 +1592,7 @@ lighthalzen,88,79,7 script Dono 85,{ mes "chemical impurities in this"; mes "medicine. Go, go now!"; close; - } - else - { + } else { mes "[Dono]"; mes "If you don't hurry and"; mes "gather the materials for"; @@ -1751,9 +1618,7 @@ lighthalzen,88,79,7 script Dono 85,{ mes "^3355FF1 Yellow Herb^000000."; close; } - } - else if(hg_bio == 4) - { + } else if (hg_bio == 4) { mes "[Dono]"; mes "Hey, you should be able"; mes "to find Makkie inside the"; @@ -1761,9 +1626,7 @@ lighthalzen,88,79,7 script Dono 85,{ mes "up and bring me some Red"; mes "Plant Stem Power from him.^FFFFFF ^000000 Come on, Morriphen's in trouble!"; close; - } - else if(hg_bio == 5) - { + } else if (hg_bio == 5) { mes "[Dono]"; mes "Where is it?!"; mes "Okay, good, you brought"; @@ -1827,18 +1690,14 @@ lighthalzen,88,79,7 script Dono 85,{ set hg_bio,6; changequest 11013,11014; close; - } - else if(hg_bio == 6) - { + } else if (hg_bio == 6) { mes "[Dono]"; mes "Whoa, what are you still"; mes "doing here?! Hurry and"; mes "get that medicine over to"; mes "Morriphen, or he'll die soon!"; close; - } - else if(hg_bio == 7) - { + } else if (hg_bio == 7) { mes "[Dono]"; mes "Oh, hey, do you know"; mes "how Morriphen's doing?"; @@ -1847,9 +1706,7 @@ lighthalzen,88,79,7 script Dono 85,{ mes "only guy that can offer me"; mes "a decent challenge at chess..."; close; - } - else if(hg_bio == 8) - { + } else if (hg_bio == 8) { mes "[Dono]"; mes "Oh, hey, do you know"; mes "how Morriphen's doing?"; @@ -1858,9 +1715,7 @@ lighthalzen,88,79,7 script Dono 85,{ mes "only guy that can offer me"; mes "a decent challenge at chess..."; close; - } - else if(hg_bio == 9) - { + } else if (hg_bio == 9) { mes "[Dono]"; mes "Oh, hey, do you know"; mes "how Morriphen's doing?"; @@ -1869,9 +1724,7 @@ lighthalzen,88,79,7 script Dono 85,{ mes "only guy that can offer me"; mes "a decent challenge at chess..."; close; - } - else - { + } else { mes "[Dono]"; mes "Hey, store's closed!"; mes "I'll open when I feel"; @@ -1880,13 +1733,10 @@ lighthalzen,88,79,7 script Dono 85,{ mes "anything! Now, scram!"; close; } - } lhz_in03,193,28,3 script Makkie 83,{ - - if(hg_bio == 4) - { + if (hg_bio == 4) { mes "[Makkie]"; mes "Hello, how may"; mes "I help you today?"; @@ -1974,42 +1824,32 @@ lhz_in03,193,28,3 script Makkie 83,{ mes "I better hurry and give"; mes "this to Dono. Goodbye~"; close; - } - else if(hg_bio == 1) - { + } else if (hg_bio == 1) { mes "[Makkie]"; mes "Gosh, I'm so bored~"; mes "I wouldn't even mind"; mes "having some work to do."; close; - } - else if(hg_bio == 2) - { + } else if (hg_bio == 2) { mes "[Makkie]"; mes "Gosh, I'm so bored~"; mes "I wouldn't even mind"; mes "having some work to do."; close; - } - else if(hg_bio == 3) - { + } else if (hg_bio == 3) { mes "[Makkie]"; mes "Gosh, I'm so bored~"; mes "I wouldn't even mind"; mes "having some work to do."; close; - } - else if(hg_bio == 5) - { + } else if (hg_bio == 5) { mes "[Makkie]"; mes "Hm? Shouldn't you hurry"; mes "and get that bag of Red"; mes "Plant Stem Powder to"; mes "Dono as soon as you can?"; close; - } - else if(hg_bio == 6) - { + } else if (hg_bio == 6) { mes "[Makkie]"; mes "Hey, have you seen"; mes "Morriphen and Dono"; @@ -2018,9 +1858,7 @@ lhz_in03,193,28,3 script Makkie 83,{ mes "I should go see them"; mes "soon, for old time's sake."; close; - } - else if(hg_bio == 7) - { + } else if (hg_bio == 7) { mes "[Makkie]"; mes "Hey, have you seen"; mes "Morriphen and Dono"; @@ -2029,9 +1867,7 @@ lhz_in03,193,28,3 script Makkie 83,{ mes "I should go see them"; mes "soon, for old time's sake."; close; - } - else if(hg_bio == 8) - { + } else if (hg_bio == 8) { mes "[Makkie]"; mes "Hey, have you seen"; mes "Morriphen and Dono"; @@ -2040,9 +1876,7 @@ lhz_in03,193,28,3 script Makkie 83,{ mes "I should go see them"; mes "soon, for old time's sake."; close; - } - else if(hg_bio == 9) - { + } else if (hg_bio == 9) { mes "[Makkie]"; mes "Hey, have you seen"; mes "Morriphen and Dono"; @@ -2051,25 +1885,20 @@ lhz_in03,193,28,3 script Makkie 83,{ mes "I should go see them"; mes "soon, for old time's sake."; close; - } - else - { + } else { mes "[Makkie]"; mes "Hey, welcome to the"; mes "Lighthalzen Pub. Relax,"; mes "and make yourself at home~"; close; } - } -// Rebellion Quest +// Rebellion Quest :: hg_tre //============================================================ hugel,70,137,5 script Shede 879,{ - cutin "siide1.bmp",2; - if(hg_tre == 0) - { + if (hg_tre == 0) { mes "[Shede]"; mes "Yay~ are you talking to me? Yay!"; mes "Hey, are you from a different city? Wow, nice to see you!"; @@ -2084,8 +1913,7 @@ hugel,70,137,5 script Shede 879,{ mes "At the same time, I have so many customers to serve..."; mes "In fact, I don't even have a time to cht-chat, hohoho."; next; - switch( select( "Do you want me to help you?","I will leave you alone" ) ) - { + switch(select("Do you want me to help you?:I will leave you alone")) { case 1: mes "[Shede]"; mes "Oh~ how kind of you! Thank you so much~"; @@ -2093,117 +1921,116 @@ hugel,70,137,5 script Shede 879,{ emotion e_lv; next; mes "[Shede]"; - switch(rand(1,3)) - { - case 1: - mes "Uncle Hollun's birthday is coming,"; - mes "so I want to make \"^3131FFMushroom Flavor Cookies^000000\" for him."; - mes "Unfortunately, I am short of the most important ingredient, the Mushrooms."; - next; - cutin "siide2.bmp",2; - mes "[Shede]"; - mes "Ordinary mushrooms don't smell that good, but"; - mes "\"^3131FFMoks Mushrooms^000000\" which only grow in Hugel have such appetizing scent."; - mes "So, when they are added to cookies, they enhance the taste of cookies so much better."; - next; - mes "[Shede]"; - mes "Can you please go gather \"^3131FF5 Moks Mushroom Solution^000000\" from \"^3131FFMoks Mushrooms^000000\"?"; - mes "You will find the mushrooms in fields near Hugel."; - mes "I hope that you will bring their solution as quickly as you can!"; - set hg_tre,10; - close2; - cutin "",255; - end; - case 2: - mes "In fact, Agette and I am competing with each other for the Hugel's best cookie master position."; - next; - mes "[Shede]"; - mes "Becoming the best cookie mater is not an easy thing to achieve."; - mes "Everyone can have the best ingredients and the best cooking utensils,"; - mes "but that doesn't mean that they can become the best cookie masters."; - next; - mes "[Shede]"; - mes "You need to know how to harmonize your skills and your senses"; - mes "to make the most delicious cookies."; - next; - cutin "siide2.bmp",2; - mes "[Shede]"; - mes "I dare to say that my cookies are the best."; - mes "However, Agette is also a professional cookie baker."; - next; - mes "[Shede]"; - mes "If I hear her name while baking,"; - mes "it makes me shake my hands in anxiety"; - mes "so that I make a mistake to measure the right amount of ingredients."; - mes "That explains how good she is at baking cookies."; - next; - mes "[Shede]"; - mes "Still, I am a proud cookie baker, and"; - mes "I can hear a voice from deep inside of me saying"; - mes "that I cannot be beat by her!"; - mes "Can you hear that?"; - mes "Can you hear my inner fighting spirit as a cookie baker?"; - next; - mes "[Shede]"; - mes "I am going to compete with her"; - mes "for the Hugel's best cookie mater position after a while."; - mes "So, I have been doing my best in practicing my skills to win her!"; - next; - mes "[Shede]"; - mes "There were many obstacles in my way to become the best cookie baker."; - mes "But, see? I am still here, alive and kicking! I will never give up! In that sense.."; - mes "I am going to challenge on baking ^FF0000Clam Cookies^000000 today!"; - mes "I am going to make them taste tangy and unique. I am sure that they will be a great sucess!"; - next; - mes "[Shede]"; - mes "When you go to the beach, "; - mes "you will find clams near the ferry."; - mes "Please gather ^3131FF5 Clam Flesh^000000 from the clams."; - mes "Please hurry!"; - set hg_tre,20; - close2; - cutin "",255; - end; - case 3: - mes "In fact, I gave my heart to a gentleman."; - mes "I think that the time has come to let him know"; - mes "how I feel about him."; - next; - cutin "siide2.bmp",2; - mes "[Shede]"; - mes "So, I decided to bake special cookies called..."; - mes "...... ^3131FFDevil's Cookies^000000!"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Devil's Cookies?"; - next; - cutin "siide1.bmp",2; - mes "[Shede]"; - mes "Yes, Devil's Cookies."; - mes "When you go outside of Hugel, you will find \"^3131FFMoks Bugs^000000\""; - mes "hiding in the bushes. They breed in this season, so they are plump with eggs."; - next; - mes "[Shede]"; - mes "When you stew their shells and use the broth to kneed flour,"; - mes "you can make fresh and crunch cookies."; - next; - cutin "siide2.bmp",2; - mes "[Shede]"; - mes "Devil's Cookies are so delicious, so they are rumored to dazzle the eaters with"; - mes "the mysteriously crunch texture and the sweetness, and to allure them to hell without them knowing."; - mes "Ah~ I hope that he will like them..."; - next; - cutin "siide1.bmp",2; - mes "[Shede]"; - mes "Would you please help me to bake the cookies? I need 5 Moks Bug Shells~"; - next; - mes "["+strcharinfo(0)+"]"; - mes "'......I am confused...Does she love him or hate him?'"; - emotion e_dots,1; - set hg_tre,30; - close2; - cutin "",255; - end; + switch(rand(1,3)) { + case 1: + mes "Uncle Hollun's birthday is coming,"; + mes "so I want to make \"^3131FFMushroom Flavor Cookies^000000\" for him."; + mes "Unfortunately, I am short of the most important ingredient, the Mushrooms."; + next; + cutin "siide2.bmp",2; + mes "[Shede]"; + mes "Ordinary mushrooms don't smell that good, but"; + mes "\"^3131FFMoks Mushrooms^000000\" which only grow in Hugel have such appetizing scent."; + mes "So, when they are added to cookies, they enhance the taste of cookies so much better."; + next; + mes "[Shede]"; + mes "Can you please go gather \"^3131FF5 Moks Mushroom Solution^000000\" from \"^3131FFMoks Mushrooms^000000\"?"; + mes "You will find the mushrooms in fields near Hugel."; + mes "I hope that you will bring their solution as quickly as you can!"; + set hg_tre,10; + close2; + cutin "",255; + end; + case 2: + mes "In fact, Agette and I am competing with each other for the Hugel's best cookie master position."; + next; + mes "[Shede]"; + mes "Becoming the best cookie mater is not an easy thing to achieve."; + mes "Everyone can have the best ingredients and the best cooking utensils,"; + mes "but that doesn't mean that they can become the best cookie masters."; + next; + mes "[Shede]"; + mes "You need to know how to harmonize your skills and your senses"; + mes "to make the most delicious cookies."; + next; + cutin "siide2.bmp",2; + mes "[Shede]"; + mes "I dare to say that my cookies are the best."; + mes "However, Agette is also a professional cookie baker."; + next; + mes "[Shede]"; + mes "If I hear her name while baking,"; + mes "it makes me shake my hands in anxiety"; + mes "so that I make a mistake to measure the right amount of ingredients."; + mes "That explains how good she is at baking cookies."; + next; + mes "[Shede]"; + mes "Still, I am a proud cookie baker, and"; + mes "I can hear a voice from deep inside of me saying"; + mes "that I cannot be beat by her!"; + mes "Can you hear that?"; + mes "Can you hear my inner fighting spirit as a cookie baker?"; + next; + mes "[Shede]"; + mes "I am going to compete with her"; + mes "for the Hugel's best cookie mater position after a while."; + mes "So, I have been doing my best in practicing my skills to win her!"; + next; + mes "[Shede]"; + mes "There were many obstacles in my way to become the best cookie baker."; + mes "But, see? I am still here, alive and kicking! I will never give up! In that sense.."; + mes "I am going to challenge on baking ^FF0000Clam Cookies^000000 today!"; + mes "I am going to make them taste tangy and unique. I am sure that they will be a great sucess!"; + next; + mes "[Shede]"; + mes "When you go to the beach, "; + mes "you will find clams near the ferry."; + mes "Please gather ^3131FF5 Clam Flesh^000000 from the clams."; + mes "Please hurry!"; + set hg_tre,20; + close2; + cutin "",255; + end; + case 3: + mes "In fact, I gave my heart to a gentleman."; + mes "I think that the time has come to let him know"; + mes "how I feel about him."; + next; + cutin "siide2.bmp",2; + mes "[Shede]"; + mes "So, I decided to bake special cookies called..."; + mes "...... ^3131FFDevil's Cookies^000000!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Devil's Cookies?"; + next; + cutin "siide1.bmp",2; + mes "[Shede]"; + mes "Yes, Devil's Cookies."; + mes "When you go outside of Hugel, you will find \"^3131FFMoks Bugs^000000\""; + mes "hiding in the bushes. They breed in this season, so they are plump with eggs."; + next; + mes "[Shede]"; + mes "When you stew their shells and use the broth to kneed flour,"; + mes "you can make fresh and crunch cookies."; + next; + cutin "siide2.bmp",2; + mes "[Shede]"; + mes "Devil's Cookies are so delicious, so they are rumored to dazzle the eaters with"; + mes "the mysteriously crunch texture and the sweetness, and to allure them to hell without them knowing."; + mes "Ah~ I hope that he will like them..."; + next; + cutin "siide1.bmp",2; + mes "[Shede]"; + mes "Would you please help me to bake the cookies? I need 5 Moks Bug Shells~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "'......I am confused...Does she love him or hate him?'"; + emotion e_dots,1; + set hg_tre,30; + close2; + cutin "",255; + end; } case 2: mes "[Shede]"; @@ -2212,9 +2039,7 @@ hugel,70,137,5 script Shede 879,{ cutin "",255; end; } - } - else if(hg_tre > 9 && hg_tre < 15) - { + } else if (hg_tre > 9 && hg_tre < 15) { mes "[Shede]"; mes "Can you please go gather \"^3131FF5 Moks Mushroom Solution^000000\" from \"^3131FFMoks Mushrooms^000000\"?"; mes "You will find the mushrooms in fields near Hugel."; @@ -2222,27 +2047,21 @@ hugel,70,137,5 script Shede 879,{ close2; cutin "",255; end; - } - else if(hg_tre > 19 && hg_tre < 25) - { + } else if (hg_tre > 19 && hg_tre < 25) { mes "[Shede]"; mes "Please pick up \"^3131FF5 Clams^000000\" from a fish trap in the ferry."; mes "I hope that you will bring their solution as quickly as you can!"; close2; cutin "",255; end; - } - else if(hg_tre > 29 && hg_tre < 35) - { + } else if (hg_tre > 29 && hg_tre < 35) { mes "[Shede]"; mes "Please bring \"^3131FF5 Moks Bug Shells^000000\" from outside of Hugel."; mes "I hope that you will bring their solution as quickly as you can!"; close2; cutin "",255; end; - } - else if(hg_tre == 15) - { + } else if (hg_tre == 15) { mes "[Shede]"; mes "Oh! You came back earlier than I thought."; mes "Now, I can bake the Mushroom Flavor Cookies for uncle Hollun."; @@ -2252,9 +2071,7 @@ hugel,70,137,5 script Shede 879,{ close2; cutin "",255; end; - } - else if(hg_tre == 25) - { + } else if (hg_tre == 25) { mes "[Shede]"; mes "Oh! You came back earlier than I thought."; mes "Now, I can bake the best cookies of mine and compete with Agette!"; @@ -2264,9 +2081,7 @@ hugel,70,137,5 script Shede 879,{ close2; cutin "",255; end; - } - else if(hg_tre == 35) - { + } else if (hg_tre == 35) { mes "[Shede]"; mes "Oh! You came back earlier than I thought."; mes "Now, I can bake Devil's Cookies to confess my love to the gentleman."; @@ -2281,11 +2096,8 @@ hugel,70,137,5 script Shede 879,{ close2; cutin "",255; end; - } - else if(hg_tre == 40) - { - if(lhz_boss == 44 && lhz_curse > 30) - { + } else if (hg_tre == 40) { + if (lhz_boss == 44 && lhz_curse > 30) { mes "[Shede]"; mes "Have you seen Mr. Herico?"; mes "He is a lonesome old man who is staying at Hugel Inn."; @@ -2297,9 +2109,7 @@ hugel,70,137,5 script Shede 879,{ close2; cutin "",255; end; - } - else - { + } else { mes "[Shede]"; mes "So, how do you like Hugel?"; mes "It is a peaceful village, isn't it?"; @@ -2307,18 +2117,14 @@ hugel,70,137,5 script Shede 879,{ cutin "",255; end; } - } - else if(hg_tre == 41) - { + } else if (hg_tre == 41) { mes "[Shede]"; mes "Mr. Herico has an impediment in movement, so he usually stays in his room."; mes "Please go spend some time with him. I know that he will appreciate it."; close2; cutin "",255; end; - } - else - { + } else { mes "[Shede]"; mes "So, how do you like Hugel?"; mes "It is a peaceful village, isn't it?"; @@ -2326,28 +2132,22 @@ hugel,70,137,5 script Shede 879,{ cutin "",255; end; } - } hu_in01,256,40,3 script Herico 897,{ - - if(checkweight(7342,1) != 1) - { + if (checkweight(7342,1) != 1) { mes "[Herico]"; mes "Why don't you go take some load off your shoulder first, and come back?"; close; } cutin "heri1.bmp",2; - if(hg_tre < 41) - { + if (hg_tre < 41) { mes "[Herico]"; mes "The weather is beautiful today. *Sigh* But my body aches too badly to go out..."; close2; cutin "",255; end; - } - else if(hg_tre == 41) - { + } else if (hg_tre == 41) { mes "[Herico]"; mes "The weather is beautiful today. *Sigh* But my body aches too badly to go out..."; next; @@ -2376,8 +2176,7 @@ hu_in01,256,40,3 script Herico 897,{ mes "and have figured out many things on your own."; mes "Am I right?"; next; - switch( select( "Yes, you are right.","I am not so sure.","No." ) ) - { + switch(select("Yes, you are right.:I am not so sure.:No.")) { case 1: cutin "heri2.bmp",2; mes "[Herico]"; @@ -2421,9 +2220,7 @@ hu_in01,256,40,3 script Herico 897,{ cutin "",255; end; } - } - else if(hg_tre == 42) - { + } else if (hg_tre == 42) { mes "[Herico]"; mes "Hmm...can you tell me your name once again?"; next; @@ -2452,11 +2249,8 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre == 43) - { - if(hg_odin == 60) - { + } else if (hg_tre == 43) { + if (hg_odin == 60) { mes "[Herico]"; mes "Welcome back. I have been waiting for you with eager anticipation to hear about the secret."; mes "Now, please tell me what you have found out."; @@ -2490,9 +2284,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else - { + } else { mes "[Herico]"; mes "Please find out the secret about the airship and the island."; mes "Then I will tell you my stories."; @@ -2501,9 +2293,7 @@ hu_in01,256,40,3 script Herico 897,{ cutin "",255; end; } - } - else if(hg_tre == 44) - { + } else if (hg_tre == 44) { mes "[Herico]"; mes "Hmm...I don't know where to start."; next; @@ -2611,9 +2401,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre == 45) - { + } else if (hg_tre == 45) { mes "[Herico]"; mes "Please go to Lighthalzen and find a news reporter"; mes "who still remembers about the rebellion."; @@ -2622,17 +2410,13 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre > 45 && hg_tre < 49) - { + } else if (hg_tre > 45 && hg_tre < 49) { mes "[Herico]"; mes "How have you been doing?"; close2; cutin "",255; end; - } - else if(hg_tre == 49) - { + } else if (hg_tre == 49) { mes "[Herico]"; mes "Did you find Sage Varmunt's research documents?"; next; @@ -2640,8 +2424,7 @@ hu_in01,256,40,3 script Herico 897,{ mes "["+strcharinfo(0)+"]"; mes "Well, about the documents..."; next; - switch( select( "I ate them.","Rekenber has taken them into their possession." ) ) - { + switch(select("I ate them.:Rekenber has taken them into their possession.")) { case 1: mes "I ate them."; next; @@ -2808,9 +2591,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre == 50) - { + } else if (hg_tre == 50) { mes "[Herico]"; mes "Can you guess what I am thinking right now?"; next; @@ -2837,8 +2618,7 @@ hu_in01,256,40,3 script Herico 897,{ mes "Let me hear your opinion."; mes "Will you join me in destroying Regenschirm?"; next; - switch( select( "Sorry, I won't.","Yes, I will." ) ) - { + switch(select("Sorry, I won't:Yes, I will.")) { case 1: mes "[Herico]"; mes "I respect your decision since this is not something"; @@ -2864,9 +2644,7 @@ hu_in01,256,40,3 script Herico 897,{ cutin "",255; end; } - } - else if(hg_tre == 51) - { + } else if (hg_tre == 51) { mes "[Herico]"; mes "We must find out how we can stop them"; mes "from doing more evil things, at least for a while."; @@ -2887,9 +2665,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre == 52) - { + } else if (hg_tre == 52) { mes "[Herico]"; mes "Regenschirm is located at the underground level"; mes "of Rekenber's Laighthalzen headquarters."; @@ -2897,9 +2673,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "heri1.bmp",255; end; - } - else if(hg_tre == 53) - { + } else if (hg_tre == 53) { mes "[Herico]"; mes "Ah, you are back."; next; @@ -2954,9 +2728,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre == 54) - { + } else if (hg_tre == 54) { mes "[Herico]"; mes "Please go meet with ^3131FFthe Marine Sphere Bottle manufacturer^000000,"; mes "and purchase some Marine Sphere Bottles."; @@ -2971,9 +2743,7 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else if(hg_tre == 55) - { + } else if (hg_tre == 55) { mes "["+strcharinfo(0)+"]"; mes "The machine was blown up."; next; @@ -3007,8 +2777,7 @@ hu_in01,256,40,3 script Herico 897,{ mes "By any chance, do you know a man who can aid his power in stopping them?"; next; input .@inputstr$; - if(.@inputstr$ == "President Karl" || .@inputstr$ == "President Weierstrass" || .@inputstr$ == "President" || .@inputstr$ == "Karl Weierstrass") - { + if (.@inputstr$ == "President Karl" || .@inputstr$ == "President Weierstrass" || .@inputstr$ == "President" || .@inputstr$ == "Karl Weierstrass") { mes "["+strcharinfo(0)+"]"; mes "I think that I know one..."; next; @@ -3055,11 +2824,8 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else - { - if(countitem(7342)) - { + } else { + if (countitem(7342)) { mes "[Herico]"; mes "Why are you still here?"; mes "That research data will aid a great help to Mr. President."; @@ -3067,27 +2833,21 @@ hu_in01,256,40,3 script Herico 897,{ close2; cutin "",255; end; - } - else - { + } else { mes "[Herico]"; mes "Hey, welcome back."; next; - switch( select( "I brought Handcuffs","Regarding Sage Varmunt's documents" ) ) - { + switch(select("I brought Handcuffs:Regarding Sage Varmunt's documents")) { case 1: mes "[Herico]"; mes "I am willing to exchange 1 of level 4 food with 100 Handcuffs."; next; - if( select( "Exchange.","Cancel." ) == 1 ) - { - if(countitem(7345) > 99) //Handcuffs - { + if(select("Exchange:Cancel.") == 1) { + if (countitem(7345) > 99) { mes "[Herico]"; mes "There you go, thank you for your trouble."; delitem 7345,100; //Handcuffs - switch(rand(1,6)) - { + switch(rand(1,6)) { case 1: getitem 12044,1; //Herb Marinade Beef break; @@ -3107,9 +2867,7 @@ hu_in01,256,40,3 script Herico 897,{ getitem 12054,1; //Seasoned Jellyfish break; } - } - else - { + } else { mes "[Herico]"; mes "I don't think that you have brought me 100 Handcuffs."; } @@ -3132,13 +2890,10 @@ hu_in01,256,40,3 script Herico 897,{ } cutin "",255; end; - } lhz_in03,39,44,3 script Enquro Carson 97,{ - - if(hg_tre < 45) - { + if (hg_tre < 45) { mes "[Enquro Carson]"; mes "Hello, everyone. This is Enquro Carson"; mes "from Light News."; @@ -3149,9 +2904,7 @@ lhz_in03,39,44,3 script Enquro Carson 97,{ mes "especially when people are astonished by the news"; mes "which I am delivering to them."; close; - } - else if(hg_tre == 45) - { + } else if (hg_tre == 45) { mes "[Enquro Carson]"; mes "Hello, everyone. This is Enquro Carson"; mes "from Light News."; @@ -3162,8 +2915,7 @@ lhz_in03,39,44,3 script Enquro Carson 97,{ mes "especially when people are astonished by the news"; mes "which I am delivering to them."; next; - switch( select( "Mercenary Rebellion","News reporter job" ) ) - { + switch(select("Mercenary Rebellion:News reporter job")) { case 1: mes "[Enquro Carson]"; mes "Hmm...Mercenary Rebellion...?"; @@ -3239,11 +2991,8 @@ lhz_in03,39,44,3 script Enquro Carson 97,{ mes "You are not saying that you want to be a news reporter, are you?"; close; } - } - else if(hg_tre == 46) - { - if(!countitem(12112) || !countitem(12113)) - { + } else if (hg_tre == 46) { + if (!countitem(12112) || !countitem(12113)) { mes "[Enquro Carson]"; mes "I heard of a private pub in Morroc,"; mes "a city of Rune-Midgarts Kingdom"; @@ -3252,9 +3001,7 @@ lhz_in03,39,44,3 script Enquro Carson 97,{ mes "and I wonder how delicious the drink will be."; mes "Can you please get me the drink? Hahaha, thanks!"; close; - } - else - { + } else { mes "[Enquro Carson]"; mes "Wow, this is that famous drink!"; mes "Let's see...*Gulp*"; @@ -3302,9 +3049,7 @@ lhz_in03,39,44,3 script Enquro Carson 97,{ delitem 12113,1; //Vermilion on the Beach close; } - } - else if(hg_tre == 47) - { + } else if (hg_tre == 47) { mes "[Enquro Carson]"; mes "Just get on to the airship and go to Hugel."; mes "Hopefully you will meet with ^3131FFWintzil Trony^000000"; @@ -3312,28 +3057,21 @@ lhz_in03,39,44,3 script Enquro Carson 97,{ mes "Oh, be careful not to provoke him though."; mes "He used to be a mercenary soldier, and they were famed for their violence."; close; - } - else - { + } else { mes "[Enquro Carson]"; mes "This is very shameful for me to confess,"; mes "but I tend to make lots and lots of spelling mistakes."; mes "Yeah, I know, it is a shame."; close; } - } hu_in01,310,380,5 script Girl#hugel 891,{ - - if(hg_tre < 47) - { + if (hg_tre < 47) { mes "[Girl]"; mes "Bah, I am bored."; close; - } - else if(hg_tre == 47) - { + } else if (hg_tre == 47) { mes "[Girl]"; mes "Hehe...are you from another city?"; mes "Heheh."; @@ -3434,44 +3172,34 @@ hu_in01,310,380,5 script Girl#hugel 891,{ mes "But, can you be careful to treat the shelf? It is a keepsake from my father."; set hg_tre,48; close; - } - else if(hg_tre > 48) - { + } else if (hg_tre > 48) { mes "[Wintzil Trony]"; mes "I am bored and bored! When is my mom coming back?"; close; - } - else - { + } else { mes "[Wintzil Trony]"; mes "If you promise me that you will not break it,"; mes "you can take a look at the shelf."; close; } - } hu_in01,317,312,0 script Book 111,{ - cutin "hg_book.bmp",2; - if(hg_tre > 47) - { + if (hg_tre > 47) { mes "- You picked up a very thick book. -"; mes "- You opened the book and found out -"; mes "- that there were a small book hidden behind.-"; next; - switch( select( "Read the small book.","Leave it alone." ) ) - { + switch(select("Read the small book.:Leave it alone.")) { case 1: mes "- You picked up the small book. -"; mes "- The book owner must want to -"; mes "- keep it secret. -"; next; set @whilevar,1; - while(@whilevar) - { - switch( select( "Page 1","Page 2","Page 3","Page 4","Page 5","Page 6","Page 7","Page 8","Page 9","Stop Reading." ) ) - { + while(@whilevar) { + switch(select("Page 1:Page 2:Page 3:Page 4:Page 5:Page 6:Page 7:Page 8:Page 9:Stop Reading.")) { case 1: mes "- You started reading the 1st page of the book. -"; next; @@ -3597,8 +3325,7 @@ hu_in01,317,312,0 script Book 111,{ next; mes "- You found a folded note between the pages that you were reading. -"; next; - if( select( "Check the note.","Read the next page." ) == 1 ) - { + if(select("Check the note.:Read the next page.") == 1) { mes "^3131FF.........................^000000"; next; mes "^3131FF...I am so sorry for hearing such devastating news and for your loss."; @@ -3679,7 +3406,7 @@ hu_in01,317,312,0 script Book 111,{ mes " "; mes "My arm is throbbing with pain again. The history of mercenary soldiers ended, and I need to rest."; mes "I hope that this will be the last page of my journal."; - if(hg_tre == 48) set hg_tre,49; + if (hg_tre == 48) set hg_tre,49; next; mes "- The journal was ended at the page. -"; next; @@ -3698,15 +3425,11 @@ hu_in01,317,312,0 script Book 111,{ cutin "",255; end; } - } - } einbech,208,124,3 script Bomb Maker 851,{ - - if(hg_tre == 54) - { + if (hg_tre == 54) { if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) { mes "[Boomer]"; mes "Hey, you look pretty heavy, huh?"; @@ -3718,8 +3441,7 @@ einbech,208,124,3 script Bomb Maker 851,{ mes "I am a professional Marine Sphere Bottle maker."; mes "You can call me Boomer."; next; - switch( select( "Buy Marine Sphere Bottle.","End conversation." ) ) - { + switch(select("Buy Marine Sphere Bottle.:End conversation.")) { case 1: mes "[Boomer]"; mes "Heh, you want my Marine Sphere Bottles, huh?"; @@ -3733,11 +3455,9 @@ einbech,208,124,3 script Bomb Maker 851,{ mes "considering its amazing performance!"; mes "You will regret if you miss this chance. Hahaha!"; next; - switch( select( "Buy.","Cancel." ) ) - { + switch(select("Buy.:Cancel.")) { case 1: - if(Zeny < 3000) - { + if (Zeny < 3000) { mes "[Boomer]"; mes "Errr...You must have been so hurry to carry your wallet with you."; close; @@ -3758,26 +3478,20 @@ einbech,208,124,3 script Bomb Maker 851,{ mes "Boom! Don't you need a bomb? Boom!"; close; } - } - else - { + } else { mes "[Boomer]"; mes "Hey, what's up?"; mes "I am a professional Marine Sphere Bottle maker."; mes "You can call me Boomer."; close; } - } hu_fild06,168,359,3 script Moks Mushrooms#Mush1 111,{ - - if(hg_tre > 9 && hg_tre < 15) - { + if (hg_tre > 9 && hg_tre < 15) { mes "- You found mushrooms that are as big as your palm. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You decided to gather the mushrooms. -"; next; @@ -3791,8 +3505,7 @@ hu_fild06,168,359,3 script Moks Mushrooms#Mush1 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -"; specialeffect2 EF_STUNATTACK; close; @@ -3800,15 +3513,15 @@ hu_fild06,168,359,3 script Moks Mushrooms#Mush1 111,{ mes "- You have successfully gathered mushrooms. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 11) + if (hg_tre == 11) mes "Collected Moks Mushroom Solution: 1ea "; - else if(hg_tre == 12) + else if (hg_tre == 12) mes "Collected Moks Mushroom Solution: 2ea "; - else if(hg_tre == 13) + else if (hg_tre == 13) mes "Collected Moks Mushroom Solution: 3ea "; - else if(hg_tre == 14) + else if (hg_tre == 14) mes "Collected Moks Mushroom Solution: 4ea "; - else if(hg_tre == 15) + else if (hg_tre == 15) mes "Collected Moks Mushroom Solution: 5ea "; initnpctimer; disablenpc "Moks Mushrooms#Mush1"; @@ -3817,9 +3530,7 @@ hu_fild06,168,359,3 script Moks Mushrooms#Mush1 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 15) - { + } else if (hg_tre == 15) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -3829,17 +3540,13 @@ OnTimer20000: enablenpc "Moks Mushrooms#Mush1"; stopnpctimer; end; - } hu_fild06,194,341,3 script Moks Mushrooms#Mush2 111,{ - - if(hg_tre > 9 && hg_tre < 15) - { + if (hg_tre > 9 && hg_tre < 15) { mes "- You found mushrooms that are as big as your palm. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You decided to gather the mushrooms. -"; next; @@ -3853,8 +3560,7 @@ hu_fild06,194,341,3 script Moks Mushrooms#Mush2 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -"; specialeffect2 EF_STUNATTACK; close; @@ -3862,15 +3568,15 @@ hu_fild06,194,341,3 script Moks Mushrooms#Mush2 111,{ mes "- You have successfully gathered mushrooms. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 11) + if (hg_tre == 11) mes "Collected Moks Mushroom Solution: 1ea "; - else if(hg_tre == 12) + else if (hg_tre == 12) mes "Collected Moks Mushroom Solution: 2ea "; - else if(hg_tre == 13) + else if (hg_tre == 13) mes "Collected Moks Mushroom Solution: 3ea "; - else if(hg_tre == 14) + else if (hg_tre == 14) mes "Collected Moks Mushroom Solution: 4ea "; - else if(hg_tre == 15) + else if (hg_tre == 15) mes "Collected Moks Mushroom Solution: 5ea "; initnpctimer; disablenpc "Moks Mushrooms#Mush2"; @@ -3879,9 +3585,7 @@ hu_fild06,194,341,3 script Moks Mushrooms#Mush2 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 15) - { + } else if (hg_tre == 15) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -3891,17 +3595,13 @@ OnTimer20000: enablenpc "Moks Mushrooms#Mush2"; stopnpctimer; end; - } hu_fild06,198,339,3 script Moks Mushrooms#Mush3 111,{ - - if(hg_tre > 9 && hg_tre < 15) - { + if (hg_tre > 9 && hg_tre < 15) { mes "- You found mushrooms that are as big as your palm. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You decided to gather the mushrooms. -"; next; @@ -3915,8 +3615,7 @@ hu_fild06,198,339,3 script Moks Mushrooms#Mush3 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -"; specialeffect2 EF_STUNATTACK; close; @@ -3924,15 +3623,15 @@ hu_fild06,198,339,3 script Moks Mushrooms#Mush3 111,{ mes "- You have successfully gathered mushrooms. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 11) + if (hg_tre == 11) mes "Collected Moks Mushroom Solution: 1ea "; - else if(hg_tre == 12) + else if (hg_tre == 12) mes "Collected Moks Mushroom Solution: 2ea "; - else if(hg_tre == 13) + else if (hg_tre == 13) mes "Collected Moks Mushroom Solution: 3ea "; - else if(hg_tre == 14) + else if (hg_tre == 14) mes "Collected Moks Mushroom Solution: 4ea "; - else if(hg_tre == 15) + else if (hg_tre == 15) mes "Collected Moks Mushroom Solution: 5ea "; initnpctimer; disablenpc "Moks Mushrooms#Mush3"; @@ -3941,9 +3640,7 @@ hu_fild06,198,339,3 script Moks Mushrooms#Mush3 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 15) - { + } else if (hg_tre == 15) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -3953,17 +3650,13 @@ OnTimer20000: enablenpc "Moks Mushrooms#Mush3"; stopnpctimer; end; - } hugel,209,163,3 script Clam#C1 111,{ - - if(hg_tre > 19 && hg_tre < 25) - { + if (hg_tre > 19 && hg_tre < 25) { mes "- You found very fresh clams whose shells are shining under the sunlight. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You started opening clam shells to gather Clam Flesh.-"; next; @@ -3977,8 +3670,7 @@ hugel,209,163,3 script Clam#C1 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; specialeffect2 EF_STUNATTACK; close; @@ -3986,15 +3678,15 @@ hugel,209,163,3 script Clam#C1 111,{ mes "- You have successfully gathered Clam Flesh. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 21) + if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; - else if(hg_tre == 22) + else if (hg_tre == 22) mes "Collected Clam Flesh: 2ea "; - else if(hg_tre == 23) + else if (hg_tre == 23) mes "Collected Clam Flesh: 3ea "; - else if(hg_tre == 24) + else if (hg_tre == 24) mes "Collected Clam Flesh: 4ea "; - else if(hg_tre == 25) + else if (hg_tre == 25) mes "Collected Clam Flesh: 5ea "; initnpctimer; disablenpc "Clam#C1"; @@ -4003,9 +3695,7 @@ hugel,209,163,3 script Clam#C1 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 25) - { + } else if (hg_tre == 25) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -4015,17 +3705,13 @@ OnTimer20000: enablenpc "Clam#C1"; stopnpctimer; end; - } hugel,203,166,3 script Clam#C2 111,{ - - if(hg_tre > 19 && hg_tre < 25) - { + if (hg_tre > 19 && hg_tre < 25) { mes "- You found very fresh clams whose shells are shining under the sunlight. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You started opening clam shells to gather Clam Flesh.-"; next; @@ -4039,8 +3725,7 @@ hugel,203,166,3 script Clam#C2 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; specialeffect EF_STUNATTACK; close; @@ -4048,15 +3733,15 @@ hugel,203,166,3 script Clam#C2 111,{ mes "- You have successfully gathered Clam Flesh. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 21) + if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; - else if(hg_tre == 22) + else if (hg_tre == 22) mes "Collected Clam Flesh: 2ea "; - else if(hg_tre == 23) + else if (hg_tre == 23) mes "Collected Clam Flesh: 3ea "; - else if(hg_tre == 24) + else if (hg_tre == 24) mes "Collected Clam Flesh: 4ea "; - else if(hg_tre == 25) + else if (hg_tre == 25) mes "Collected Clam Flesh: 5ea "; initnpctimer; disablenpc "Clam#C2"; @@ -4065,9 +3750,7 @@ hugel,203,166,3 script Clam#C2 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 25) - { + } else if (hg_tre == 25) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -4077,17 +3760,13 @@ OnTimer20000: enablenpc "Clam#C2"; stopnpctimer; end; - } hugel,217,158,3 script Clam#C3 111,{ - - if(hg_tre > 19 && hg_tre < 25) - { + if (hg_tre > 19 && hg_tre < 25) { mes "- You found very fresh clams whose shells are shining under the sunlight. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You started opening clam shells to gather Clam Flesh.-"; next; @@ -4101,8 +3780,7 @@ hugel,217,158,3 script Clam#C3 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; specialeffect2 EF_STUNATTACK; close; @@ -4110,15 +3788,15 @@ hugel,217,158,3 script Clam#C3 111,{ mes "- You have successfully gathered Clam Flesh. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 21) + if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; - else if(hg_tre == 22) + else if (hg_tre == 22) mes "Collected Clam Flesh: 2ea "; - else if(hg_tre == 23) + else if (hg_tre == 23) mes "Collected Clam Flesh: 3ea "; - else if(hg_tre == 24) + else if (hg_tre == 24) mes "Collected Clam Flesh: 4ea "; - else if(hg_tre == 25) + else if (hg_tre == 25) mes "Collected Clam Flesh: 5ea "; initnpctimer; disablenpc "Clam#C3"; @@ -4127,9 +3805,7 @@ hugel,217,158,3 script Clam#C3 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 25) - { + } else if (hg_tre == 25) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -4139,17 +3815,13 @@ OnTimer20000: enablenpc "Clam#C3"; stopnpctimer; end; - } hugel,204,150,3 script Clam#C4 111,{ - - if(hg_tre > 19 && hg_tre < 25) - { + if (hg_tre > 19 && hg_tre < 25) { mes "- You found very fresh clams whose shells are shining under the sunlight. -"; next; - switch( select( "Gather them.","Pass." ) ) - { + switch(select("Gather them.:Pass.")) { case 1: mes "- You started opening clam shells to gather Clam Flesh.-"; next; @@ -4163,8 +3835,7 @@ hugel,204,150,3 script Clam#C4 111,{ mes "- *Snip Snip* -"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; specialeffect2 EF_STUNATTACK; close; @@ -4172,15 +3843,15 @@ hugel,204,150,3 script Clam#C4 111,{ mes "- You have successfully gathered Clam Flesh. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 21) + if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; - else if(hg_tre == 22) + else if (hg_tre == 22) mes "Collected Clam Flesh: 2ea "; - else if(hg_tre == 23) + else if (hg_tre == 23) mes "Collected Clam Flesh: 3ea "; - else if(hg_tre == 24) + else if (hg_tre == 24) mes "Collected Clam Flesh: 4ea "; - else if(hg_tre == 25) + else if (hg_tre == 25) mes "Collected Clam Flesh: 5ea "; initnpctimer; disablenpc "Clam#C4"; @@ -4189,9 +3860,7 @@ hugel,204,150,3 script Clam#C4 111,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 25) - { + } else if (hg_tre == 25) { mes "["+strcharinfo(0)+"]"; mes "I think that this will do."; close; @@ -4201,17 +3870,13 @@ OnTimer20000: enablenpc "Clam#C4"; stopnpctimer; end; - } hu_fild06,155,309,1 script Moks Bugs#Bug1 1053,{ - - if(hg_tre > 29 && hg_tre < 35) - { + if (hg_tre > 29 && hg_tre < 35) { mes "- You found big brown Moks Bugs in the bushes. -"; next; - switch( select( "Catch them.","Pass." ) ) - { + switch(select("Catch them.:Pass.")) { case 1: mes "- You nervously stretched your hands toward Moks Bugs.-"; next; @@ -4225,8 +3890,7 @@ hu_fild06,155,309,1 script Moks Bugs#Bug1 1053,{ mes "- *Whizz Whizz*-"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; specialeffect2 EF_STUNATTACK; close; @@ -4234,15 +3898,15 @@ hu_fild06,155,309,1 script Moks Bugs#Bug1 1053,{ mes "- You have successfully gathered Moks Bugs Shells. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 31) + if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; - else if(hg_tre == 32) + else if (hg_tre == 32) mes "Collected Moks Bugs Shells: 2ea "; - else if(hg_tre == 33) + else if (hg_tre == 33) mes "Collected Moks Bugs Shells: 3ea "; - else if(hg_tre == 34) + else if (hg_tre == 34) mes "Collected Moks Bugs Shells: 4ea "; - else if(hg_tre == 35) + else if (hg_tre == 35) mes "Collected Moks Bugs Shells: 5ea "; initnpctimer; disablenpc "Moks Bugs#Bug1"; @@ -4251,9 +3915,7 @@ hu_fild06,155,309,1 script Moks Bugs#Bug1 1053,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 35) - { + } else if (hg_tre == 35) { mes "["+strcharinfo(0)+"]"; mes "Aww...I don't want to touch dirty things like bugs!"; close; @@ -4263,17 +3925,13 @@ OnTimer20000: enablenpc "Moks Bugs#Bug1"; stopnpctimer; end; - } hu_fild06,218,320,1 script Moks Bugs#Bug2 1053,{ - - if(hg_tre > 29 && hg_tre < 35) - { + if (hg_tre > 29 && hg_tre < 35) { mes "- You found big brown Moks Bugs in the bushes. -"; next; - switch( select( "Catch them","Pass." ) ) - { + switch(select("Catch them:Pass.")) { case 1: mes "- You nervously stretched your hands toward Moks Bugs.-"; next; @@ -4287,8 +3945,7 @@ hu_fild06,218,320,1 script Moks Bugs#Bug2 1053,{ mes "- *Whizz Whizz*-"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; specialeffect2 EF_STUNATTACK; close; @@ -4296,15 +3953,15 @@ hu_fild06,218,320,1 script Moks Bugs#Bug2 1053,{ mes "- You have successfully gathered Moks Bugs Shells. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 31) + if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; - else if(hg_tre == 32) + else if (hg_tre == 32) mes "Collected Moks Bugs Shells: 2ea "; - else if(hg_tre == 33) + else if (hg_tre == 33) mes "Collected Moks Bugs Shells: 3ea "; - else if(hg_tre == 34) + else if (hg_tre == 34) mes "Collected Moks Bugs Shells: 4ea "; - else if(hg_tre == 35) + else if (hg_tre == 35) mes "Collected Moks Bugs Shells: 5ea "; initnpctimer; disablenpc "Moks Bugs#Bug2"; @@ -4313,9 +3970,7 @@ hu_fild06,218,320,1 script Moks Bugs#Bug2 1053,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 35) - { + } else if (hg_tre == 35) { mes "["+strcharinfo(0)+"]"; mes "Aww...I don't want to touch dirty things like bugs!"; close; @@ -4325,17 +3980,13 @@ OnTimer20000: enablenpc "Moks Bugs#Bug2"; stopnpctimer; end; - } hu_fild06,249,329,1 script Moks Bugs#Bug3 1053,{ - - if(hg_tre > 29 && hg_tre < 35) - { + if (hg_tre > 29 && hg_tre < 35) { mes "- You found big brown Moks Bugs in the bushes. -"; next; - switch( select( "Catch them","Pass." ) ) - { + switch(select("Catch them:Pass.")) { case 1: mes "- You nervously stretched your hands toward Moks Bugs.-"; next; @@ -4349,8 +4000,7 @@ hu_fild06,249,329,1 script Moks Bugs#Bug3 1053,{ mes "- *Whizz Whizz*-"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; specialeffect2 EF_STUNATTACK; close; @@ -4358,15 +4008,15 @@ hu_fild06,249,329,1 script Moks Bugs#Bug3 1053,{ mes "- You have successfully gathered Moks Bugs Shells. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 31) + if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; - else if(hg_tre == 32) + else if (hg_tre == 32) mes "Collected Moks Bugs Shells: 2ea "; - else if(hg_tre == 33) + else if (hg_tre == 33) mes "Collected Moks Bugs Shells: 3ea "; - else if(hg_tre == 34) + else if (hg_tre == 34) mes "Collected Moks Bugs Shells: 4ea "; - else if(hg_tre == 35) + else if (hg_tre == 35) mes "Collected Moks Bugs Shells: 5ea "; initnpctimer; disablenpc "Moks Bugs#Bug3"; @@ -4375,9 +4025,7 @@ hu_fild06,249,329,1 script Moks Bugs#Bug3 1053,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 35) - { + } else if (hg_tre == 35) { mes "["+strcharinfo(0)+"]"; mes "Aww...I don't want to touch dirty things like bugs!"; close; @@ -4387,17 +4035,13 @@ OnTimer20000: enablenpc "Moks Bugs#Bug3"; stopnpctimer; end; - } hu_fild06,218,373,1 script Moks Bugs#Bug4 1053,{ - - if(hg_tre > 29 && hg_tre < 35) - { + if (hg_tre > 29 && hg_tre < 35) { mes "- You found big brown Moks Bugs in the bushes. -"; next; - switch( select( "Catch them.","Pass." ) ) - { + switch(select("Catch them.:Pass.")) { case 1: mes "- You nervously stretched your hands toward Moks Bugs.-"; next; @@ -4411,8 +4055,7 @@ hu_fild06,218,373,1 script Moks Bugs#Bug4 1053,{ mes "- *Whizz Whizz*-"; specialeffect2 EF_CONE; next; - if(rand(1,5) > 4) - { + if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; specialeffect2 EF_STUNATTACK; close; @@ -4420,15 +4063,15 @@ hu_fild06,218,373,1 script Moks Bugs#Bug4 1053,{ mes "- You have successfully gathered Moks Bugs Shells. -"; specialeffect2 EF_VALLENTINE2; set hg_tre,hg_tre+1; - if(hg_tre == 31) + if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; - else if(hg_tre == 32) + else if (hg_tre == 32) mes "Collected Moks Bugs Shells: 2ea "; - else if(hg_tre == 33) + else if (hg_tre == 33) mes "Collected Moks Bugs Shells: 3ea "; - else if(hg_tre == 34) + else if (hg_tre == 34) mes "Collected Moks Bugs Shells: 4ea "; - else if(hg_tre == 35) + else if (hg_tre == 35) mes "Collected Moks Bugs Shells: 5ea "; initnpctimer; disablenpc "Moks Bugs#Bug4"; @@ -4437,9 +4080,7 @@ hu_fild06,218,373,1 script Moks Bugs#Bug4 1053,{ mes "- You decided to pass by them. -"; close; } - } - else if(hg_tre == 35) - { + } else if (hg_tre == 35) { mes "["+strcharinfo(0)+"]"; mes "Aww...I don't want to touch dirty things like bugs!"; close; @@ -4449,13 +4090,10 @@ OnTimer20000: enablenpc "Moks Bugs#Bug4"; stopnpctimer; end; - } lhz_in01,214,129,0 script A Pile of Paper 111,{ - - if(hg_tre == 52) - { + if (hg_tre == 52) { mes "- You found a pile of paper that was tied up with a thick ribbon."; mes "On the very top paper, a period and a title saying 'Report of the **th Research'"; mes "were written."; @@ -4467,13 +4105,12 @@ lhz_in01,214,129,0 script A Pile of Paper 111,{ donpcevent "HuMSpawner::OnMonster"; close; } - + end; } lhz_in01,235,129,0 script HuMSpawner 139,{ - OnMonster: - if(rand(0,1)) + if (rand(0,1)) mapannounce "lhz_in01","Intruder alert! Protect the research documents!",1,0xFF0000; else mapannounce "lhz_in01","Intruder alert! Intruder alert!",1,0xFF0000; @@ -4489,15 +4126,11 @@ OnTimer60000: OnMonsterDead: end; - } lhz_dun02,244,226,0 script Unethical Machine 111,{ - - if(hg_tre == 54) - { - if(countitem(7138)) - { + if (hg_tre == 54) { + if (countitem(7138)) { mes "["+strcharinfo(0)+"]"; mes "This must be it...whoa, it looks very spooky."; mes "Today, I am going to destroy you"; @@ -4512,15 +4145,12 @@ lhz_dun02,244,226,0 script Unethical Machine 111,{ delitem 7138,1; //Marine sphere bottle set hg_tre,55; close; - } - else - { + } else { mes "- You were staggered for the fact that"; mes "you forgot to bring the Marine Sphere Bottle with you. -"; close; } } - } lhz_dun02,244,227,0 script HiddenExplosion 139,5,5,{ @@ -4533,34 +4163,27 @@ OnTouch: specialeffect EF_HIT5; disablenpc "HiddenExplosion"; end; - } hu_in01,365,170,3 script Girl#Hu 793,{ - mes "[Girl]"; mes "I love sitting in front of a stove because it makes me warm~"; mes "Ah...it is so warm and relaxing...and now I feel sleepy...Zzzzz Zzzz..."; close; - } hu_in01,377,106,3 script Pub Granny 892,{ - mes "[Pub Granny]"; mes "Recently we have many tourists visiting our town."; mes "They make me pretty busy, but I am so happy to see them enjoying my food. Hohoho!"; close; } -// Memory Quest +// Memory Quest :: hg_memo //============================================================ hugel,198,169,0 script #HugelTree 139,2,2,{ - - if(BaseLevel > 49) - { - if(!hg_memory) - { + if (BaseLevel > 49) { + if (!hg_memory) { set hg_memory,1; setquest 8057; mes "^3355FFFor some reason, you"; @@ -4570,9 +4193,7 @@ hugel,198,169,0 script #HugelTree 139,2,2,{ mes "it brings you a sense"; mes "of overwhelming comfort.^000000"; close; - } - else if(hg_memory == 1) - { + } else if (hg_memory == 1) { mes "^3355FFFor some reason, you"; mes "feel very warm, safe,"; mes "and secure near this"; @@ -4580,9 +4201,7 @@ hugel,198,169,0 script #HugelTree 139,2,2,{ mes "it brings you a sense"; mes "of overwhelming comfort.^000000"; close; - } - else if(hg_memory == 6) - { + } else if (hg_memory == 6) { specialeffect2 EF_BEGINSPELL5; mes "^3355FFWhat's this strange"; mes "feeling of dread?"; @@ -4590,9 +4209,7 @@ hugel,198,169,0 script #HugelTree 139,2,2,{ mes "It's almost as if you"; mes "were in Nifflheim...^000000"; close; - } - else - { + } else { mes "^3355FFFor some reason, you"; mes "feel very warm, safe,"; mes "and secure near this"; @@ -4601,9 +4218,7 @@ hugel,198,169,0 script #HugelTree 139,2,2,{ mes "of overwhelming comfort.^000000"; close; } - } - else - { + } else { mes "^3355FFFor some reason, you"; mes "feel very warm, safe,"; mes "and secure near this"; @@ -4612,13 +4227,10 @@ hugel,198,169,0 script #HugelTree 139,2,2,{ mes "of overwhelming comfort.^000000"; close; } - } hugel,191,172,3 script Manainne 892,1,{ - - if(hg_memory == 1) - { + if (hg_memory == 1) { mes "[Manainne]"; mes "This tree means so much"; mes "to everyone in this town,"; @@ -4637,9 +4249,7 @@ hugel,191,172,3 script Manainne 892,1,{ set hg_memory,2; changequest 8057,8058; close; - } - else if(hg_memory == 2) - { + } else if (hg_memory == 2) { mes "[Manainne]"; mes "This tree means so much"; mes "to everyone in this town,"; @@ -4656,9 +4266,7 @@ hugel,191,172,3 script Manainne 892,1,{ mes "Right now he's surveying"; mes "the land for construction..."; close; - } - else if(hg_memory == 5) - { + } else if (hg_memory == 5) { mes "[Manainne]"; mes "You know, El Schatt and"; mes "I used to get along when"; @@ -4683,9 +4291,7 @@ hugel,191,172,3 script Manainne 892,1,{ set hg_memory,6; changequest 8061,8062; close; - } - else if(hg_memory == 6) - { + } else if (hg_memory == 6) { mes "[Manainne]"; mes "Now El Schatt is just a"; mes "heartless, money grubbing...!"; @@ -4693,9 +4299,7 @@ hugel,191,172,3 script Manainne 892,1,{ mes "My sister would be rolling"; mes "in her grave, seeing him now..."; close; - } - else if(hg_memory == 7) - { + } else if (hg_memory == 7) { mes "[Manainne]"; mes "What? That's..."; mes "That's an incredible"; @@ -4718,9 +4322,7 @@ hugel,191,172,3 script Manainne 892,1,{ mes "It's giving me the chills!"; mes "A-aren't you cold?"; close; - } - else if(hg_memory == 8) - { + } else if (hg_memory == 8) { mes "[Manainne]"; mes "......"; mes "........."; @@ -4750,9 +4352,7 @@ hugel,191,172,3 script Manainne 892,1,{ mes "......"; mes ".........."; close; - } - else if(hg_memory == 9) - { + } else if (hg_memory == 9) { mes "[Manainne]"; mes "...I'm here. I'm really"; mes "back! Oh, it's been so"; @@ -4803,9 +4403,7 @@ hugel,191,172,3 script Manainne 892,1,{ mes "........."; mes "............"; close; - } - else if(hg_memory == 10) - { + } else if (hg_memory == 10) { mes "[Manainne]"; mes "Wait, El Schatt!"; mes "It's really me, but"; @@ -4891,15 +4489,11 @@ hugel,191,172,3 script Manainne 892,1,{ mes "Is it really you?"; set hg_memory,11; close; - } - else if(hg_memory == 11) - { + } else if (hg_memory == 11) { mes "[Manainne]"; mes "El Schatt..."; close; - } - else if(hg_memory == 12) - { + } else if (hg_memory == 12) { mes "^3355FFManainne is sobbing"; mes "uncontrollably, and there's"; mes "nothing you can do to comfort"; @@ -4907,9 +4501,7 @@ hugel,191,172,3 script Manainne 892,1,{ mes "leave her alone to her despair"; mes "and unfathomable sense of loss.^000000"; close; - } - else - { + } else { mes "[Manainne]"; mes "You know, even though"; mes "it's not a wealthy area,"; @@ -4919,13 +4511,10 @@ hugel,191,172,3 script Manainne 892,1,{ mes "the world, I'd live right here~"; close; } - } niflheim,90,106,3 script A Spirit#HQuest 802,{ - - if(hg_memory == 6) - { + if (hg_memory == 6) { mes "[Spirit]"; mes "El Schatt..."; mes "Manainne..."; @@ -4963,9 +4552,7 @@ niflheim,90,106,3 script A Spirit#HQuest 802,{ changequest 8062,8063; close2; warp "hugel",78,148; - } - else if(hg_memory == 7) - { + } else if (hg_memory == 7) { mes "[Kanainne's Spirit]"; mes "You...! You can help"; mes "me... Just go back to "; @@ -4973,9 +4560,7 @@ niflheim,90,106,3 script A Spirit#HQuest 802,{ mes "Let me send you there..."; close2; warp "hugel",78,148; - } - else - { + } else { mes "[Spirit]"; mes "The living shouldn't"; mes "be here in Nifflheim..."; @@ -4988,13 +4573,10 @@ niflheim,90,106,3 script A Spirit#HQuest 802,{ mes "I miss them..."; close; } - } hugel,100,103,3 script Perfitz 866,{ - - if(hg_memory == 3) - { + if (hg_memory == 3) { set hg_memory,4; mes "[Perfitz]"; mes "I'm pleased that my son has"; @@ -5020,18 +4602,14 @@ hugel,100,103,3 script Perfitz 866,{ mes "man is just too suspcious~"; changequest 8059,8060; close; - } - else if(hg_memory == 4) - { + } else if (hg_memory == 4) { mes "[Perfitz]"; mes "It's funny how things"; mes "change. You know, El Schatt"; mes "actually used to protest against^FFFFFF ^000000 my idea of building shops in the"; mes "area when that tree grows. Hmm...^FFFFFF ^000000 I wonder, what happened to him?"; close; - } - else - { + } else { mes "[Perfitz]"; mes "Money is very dependable..."; mes "But it's value is relative, and"; @@ -5057,13 +4635,10 @@ hugel,100,103,3 script Perfitz 866,{ mes "that are worth having."; close; } - } hugel,196,164,3 script El Schatt 50,{ - - if(hg_memory == 2) - { + if (hg_memory == 2) { mes "[El Schatt]"; mes "What? What's that look for?"; mes "Oh, you must have spoken to"; @@ -5097,9 +4672,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "I need to look to the future..."; changequest 8058,8059; close; - } - else if(hg_memory == 3) - { + } else if (hg_memory == 3) { mes "[El Schatt]"; mes "This is the perfect"; mes "location for shops."; @@ -5114,9 +4687,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "When you think about it,"; mes "it's just a waste of space..."; close; - } - else if(hg_memory == 4) - { + } else if (hg_memory == 4) { set hg_memory,5; mes "[El Schatt]"; mes "You've spoken with my father?"; @@ -5134,9 +4705,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "it. But that's an old story that^FFFFFF ^000000 should be buried in the past..."; changequest 8060,8061; close; - } - else if(hg_memory == 5) - { + } else if (hg_memory == 5) { mes "[El Schatt]"; mes "The past is behind me"; mes "as it should be. Now"; @@ -5144,9 +4713,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "my family's businesses."; mes "Father was right all along..."; close; - } - else if(hg_memory == 7) - { + } else if (hg_memory == 7) { mes "[El Schatt]"; mes "What did you say...?"; mes "You met Kanainne?"; @@ -5155,9 +4722,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "of sick joke, so get out"; mes "of here before I get angry."; close; - } - else if(hg_memory == 10) - { + } else if (hg_memory == 10) { mes "[El Schatt]"; mes "No way...!"; mes "Kanainne is dead!"; @@ -5169,9 +4734,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "........."; mes "............"; close; - } - else if(hg_memory == 11) - { + } else if (hg_memory == 11) { mes "[El Schatt]"; mes "K-Kanainne! ^333333*Sob*^000000"; mes "I've missed you so much!"; @@ -5306,9 +4869,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "My dear Kanainne..."; mes "No.... No... Please..."; close; - } - else if(hg_memory == 12) - { + } else if (hg_memory == 12) { mes "[El Schatt]"; mes "...Would you please"; mes "leave me alone? I have..."; @@ -5316,9 +4877,7 @@ hugel,196,164,3 script El Schatt 50,{ mes "think about. And there's"; mes "music that I have to write..."; close; - } - else - { + } else { mes "[El Schatt]"; mes "Father was right..."; mes "This area is the perfect"; @@ -5331,21 +4890,17 @@ hugel,196,164,3 script El Schatt 50,{ } -// Hide and Seek Quest +// Hide and Seek Quest :: hg_c_child //============================================================ hugel,107,67,3 script Torpy 706,{ - - if(BaseLevel > 49) - { - if(!hg_ubu01) - { + if (BaseLevel > 49) { + if (!hg_ubu01) { mes "[Torpy]"; mes "D-Daddy...!"; mes "Daddy where"; mes "are you?! Wah~!"; next; - switch( select( "What's wrong?:Ignore" ) ) - { + switch(select("What's wrong?:Ignore")) { case 1: mes "[Torpy]"; mes "My Daddy hasn't"; @@ -5367,8 +4922,7 @@ hugel,107,67,3 script Torpy 706,{ mes "and then, a-and then..."; mes "I never found him!"; next; - switch( select( "Really? Tell me more...:What, is that all...?" ) ) - { + switch(select("Really? Tell me more...:What, is that all...?")) { case 1: mes "[Torpy]"; mes "Th-then my Mom got"; @@ -5406,9 +4960,7 @@ hugel,107,67,3 script Torpy 706,{ mes "Wuh-Waaaaaaaaaah!"; close; } - } - else if(hg_ubu01 == 2) - { + } else if (hg_ubu01 == 2) { mes "[Torpy]"; mes "Oh..."; mes "Mommy was just"; @@ -5418,9 +4970,7 @@ hugel,107,67,3 script Torpy 706,{ set hg_ubu01,3; changequest 12045,12046; close; - } - else if(hg_ubu01 == 6) - { + } else if (hg_ubu01 == 6) { mes "[Torpy]"; mes "Y-you found my Daddy!"; mes "Hooray! I was so worried"; @@ -5453,9 +5003,7 @@ hugel,107,67,3 script Torpy 706,{ mes "a girlfriend! He promised~!^000000"; set hg_ubu01,7; close; - } - else if(hg_ubu01 == 7) - { + } else if (hg_ubu01 == 7) { mes "[Torpy]"; mes "Would you please hurry"; mes "and talk to my Mom? She"; @@ -5476,9 +5024,7 @@ hugel,107,67,3 script Torpy 706,{ mes "Wh-what if they become friends?"; mes "Um, that might not be good...^000000"; close; - } - else if(hg_ubu01 == 8) - { + } else if (hg_ubu01 == 8) { emotion e_dots,1; mes "[Torpy]"; mes "Daddy promised to get"; @@ -5494,9 +5040,7 @@ hugel,107,67,3 script Torpy 706,{ mes "girl that I can find! Yaaay~"; set hg_ubu01,9; close; - } - else if(hg_ubu01 == 9) - { + } else if (hg_ubu01 == 9) { emotion e_dots,1; mes "[Torpy]"; mes "Maybe I should wait until"; @@ -5510,9 +5054,7 @@ hugel,107,67,3 script Torpy 706,{ mes "to learn about girlfriends,"; mes "or just people, in general.^000000"; close; - } - else - { + } else { mes "[Torpy]"; mes "^333333*Sniff*^000000 D-Daddy's gone!"; mes "Will you help me find my"; @@ -5520,9 +5062,7 @@ hugel,107,67,3 script Torpy 706,{ mes "to find him now! H-Hurry!"; close; } - } - else - { + } else { mes "[Torpy]"; mes "Waaah~!"; mes "I have to find"; @@ -5530,13 +5070,10 @@ hugel,107,67,3 script Torpy 706,{ mes "Where are yooooou?!"; close; } - } hu_fild06,190,367,3 script Torpy's Mom 701,{ - - if(hg_ubu01 == 0) - { + if (hg_ubu01 == 0) { mes "[Torpy's Mom]"; mes "Where did he go this time?!"; mes "If my husband doesn't have"; @@ -5544,9 +5081,7 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ mes "home, then he better come"; mes "up with one or he'll be sorry!"; close; - } - else if(hg_ubu01 == 1) - { + } else if (hg_ubu01 == 1) { mes "[Torpy's Mom]"; mes "Hmm? Oh, you talked to"; mes "my little Torpy? He thinks his"; @@ -5595,9 +5130,7 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ set hg_ubu01,2; changequest 12044,12045; close; - } - else if(hg_ubu01 == 2) - { + } else if (hg_ubu01 == 2) { mes "[Torpy's Mom]"; mes "Listen, would you please"; mes "tell my son Torpy that I'm"; @@ -5606,9 +5139,7 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ mes "my husband inside town, tell"; mes "him that he better come home!"; close; - } - else if(hg_ubu01 == 6 || hg_ubu01 == 7) - { + } else if (hg_ubu01 == 6 || hg_ubu01 == 7) { mes "[Torpy's Mom]"; mes "What?! He was hiding"; mes "inside a barrel this"; @@ -5629,9 +5160,7 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ getitem 12065,3; //Green Salad getexp (checkre(3))?5000:50000,0; close; - } - else if(hg_ubu01 == 8) - { + } else if (hg_ubu01 == 8) { mes "[Torpy's Mom]"; mes "Sometimes I wonder if"; mes "Torpy is too mature for"; @@ -5640,9 +5169,7 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ mes "way, those two really take"; mes "after each other. Oh, well..."; close; - } - else if(hg_ubu01 == 9) - { + } else if (hg_ubu01 == 9) { emotion e_dots,1; mes "[Torpy's Mom]"; mes "When is that husband"; @@ -5652,9 +5179,7 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ mes "bet with Torpy, did he? Oh,"; mes "the trouble with those two..."; close; - } - else - { + } else { mes "[Torpy's Mom]"; mes "Where did he go this time?!"; mes "If my husband doesn't have"; @@ -5663,13 +5188,10 @@ hu_fild06,190,367,3 script Torpy's Mom 701,{ mes "up with one or he'll be sorry!"; close; } - } hugel,100,176,3 script Suspicious Barrel 111,{ - - if(hg_ubu01 == 3) - { + if (hg_ubu01 == 3) { mes "[Strange Man]"; mes "So... hun...gry..."; mes "F-food... Give me..."; @@ -5682,8 +5204,7 @@ hugel,100,176,3 script Suspicious Barrel 111,{ mes "this barrel wants"; mes "Steamed Crab Nippers.^000000"; next; - switch( select( "I'll bring you Steamed Crab Nippers:Ignore" ) ) - { + switch(select("I'll bring you Steamed Crab Nippers:Ignore")) { case 1: mes "[Strange Man]"; mes "Please... cook me..."; @@ -5722,11 +5243,8 @@ hugel,100,176,3 script Suspicious Barrel 111,{ mes "Crab Nippers yourself?!"; close; } - } - else if(hg_ubu01 == 4) - { - if(countitem(12051)) //Steamed crab nippers - { + } else if (hg_ubu01 == 4) { + if (countitem(12051)) { mes "[Strange Man]"; mes "Th-that... tantalizing..."; mes "scent... It's S-Steamed..."; @@ -5751,9 +5269,7 @@ hugel,100,176,3 script Suspicious Barrel 111,{ close2; donpcevent "Strange Man#Hugel::OnEnable"; end; - } - else - { + } else { mes "[Strange Man]"; mes "Please... cook me..."; mes "Steamed... Crab Nippers...!"; @@ -5775,11 +5291,8 @@ hugel,100,176,3 script Suspicious Barrel 111,{ mes "Way... P-please help..."; close; } - } - else if(hg_ubu01 == 5) - { - if(countitem(12051)) //Steamed crab nippers - { + } else if (hg_ubu01 == 5) { + if (countitem(12051)) { mes "[Strange Man]"; mes "Th-that... tantalizing..."; mes "scent... It's S-Steamed..."; @@ -5804,9 +5317,7 @@ hugel,100,176,3 script Suspicious Barrel 111,{ close2; donpcevent "Strange Man#Hugel::OnEnable"; end; - } - else - { + } else { mes "[Strange Man]"; mes "Please... cook me..."; mes "Steamed... Crab Nippers...!"; @@ -5828,9 +5339,7 @@ hugel,100,176,3 script Suspicious Barrel 111,{ mes "Way... P-please help..."; close; } - } - else if(hg_ubu01 == 6) - { + } else if (hg_ubu01 == 6) { emotion e_dots,1; mes "^3355FFFor now, you should"; mes "tell Torpy and his mom"; @@ -5838,42 +5347,31 @@ hugel,100,176,3 script Suspicious Barrel 111,{ mes "hiding so they won't"; mes "worry about him so much."; close; - } - else if(hg_ubu01 == 7) - { + } else if (hg_ubu01 == 7) { emotion e_dots,1; mes "^800080Torpy's mom might want to know about^000000"; mes "^800080this extraordinary barrel.^000000"; close; - } - else if(hg_ubu01 == 8) - { + } else if (hg_ubu01 == 8) { emotion e_dots,1; mes "^800080How long does Torpy's father plan to stay within the barrel?^000000"; close; - } - else if(hg_ubu01 == 9) - { + } else if (hg_ubu01 == 9) { emotion e_dots,1; mes "^800080That barrel will become a symbolic object^000000"; mes "^800080that pays tribute to the firm will of Torpy's father^000000"; mes "^800080who is trying hard to avoid keeping the promise with his son to find his wife.^000000"; close; - } - else - { + } else { emotion e_dots,1; mes "^800080You hear something bustling from the hole in the barrel.^000000"; mes "^800080However, it doesn't seem to be a big deal.^000000"; close; } - } hugel,100,174,3 script Strange Man#Hugel 898,{ - - if(hg_ubu01 == 5) - { + if (hg_ubu01 == 5) { mes "[Strange Man]"; mes "Ahhhh... Thanks for"; mes "the free meal! It was"; @@ -5931,9 +5429,7 @@ hugel,100,174,3 script Strange Man#Hugel 898,{ disablenpc "Strange Man#Hugel"; enablenpc "Suspicious Barrel"; end; - } - else - { + } else { mes "[Strange Man]"; mes "Hahahaha!"; mes "Steamed Crab Nippers!"; @@ -5958,15 +5454,12 @@ OnTimer60000: disablenpc "Strange Man#Hugel"; enablenpc "Suspicious Barrel"; end; - } -// Fish Cake Soup Delivery Quest +// Fish Cake Soup Delivery Quest :: hg_odeng //============================================================ hu_in01,15,372,3 script Cellette Lavit 74,{ - - if(!hg_odeng) - { + if (!hg_odeng) { mes "[Cellette]"; mes "Hi there, thanks for"; mes "visiting our lovely town!"; @@ -6007,8 +5500,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "But if you're not interested,"; mes "you can just buy some now~"; next; - switch( select( "Sure, I'll work for you!:I want to buy Fish Cake Soup.:See ya." ) ) - { + switch(select("Sure, I'll work for you!:I want to buy Fish Cake Soup.:See ya.")) { case 1: mes "[Cellette]"; mes "Oh, thank you so much!"; @@ -6071,11 +5563,9 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "its delicious, hearty flavor~"; mes "Each order costs 100 zeny."; next; - switch( select( "Order a Fish Cake Soup:Cancel" ) ) - { + switch(select("Order a Fish Cake Soup:Cancel")) { case 1: - if(Zeny > 99) - { + if (Zeny > 99) { mes "[Cellette]"; mes "Thanks! Enjoy your"; mes "bowl of Fish Cake Soup."; @@ -6084,9 +5574,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ set Zeny,Zeny-100; getitem 584,1; //Fish_Ball_Soup close; - } - else - { + } else { mes "[Cellette]"; mes "Oh, what's this?"; mes "You don't have enough"; @@ -6114,11 +5602,8 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "the taste if you give it a try."; close; } - } - else if(hg_odeng == 1) - { - if(countitem(584)) - { + } else if (hg_odeng == 1) { + if (countitem(584)) { mes "[Cellette]"; mes "Haven't you left already?"; mes "My friend Neha is waiting"; @@ -6127,9 +5612,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "try to get it to her before the"; mes "soup gets cold, okay?"; close; - } - else - { + } else { mes "[Cellette]"; mes "What's that? You lost"; mes "the Fish Cake Soup you're"; @@ -6138,8 +5621,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "to give you this fresh bowl"; mes "of soup that I just made..."; next; - if(Zeny > 99) - { + if (Zeny > 99) { mes "[Cellette]"; mes "But you need to be"; mes "responsible and pay"; @@ -6150,9 +5632,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ set Zeny,Zeny-100; getitem 584,1; //Fish_Ball_Soup close; - } - else - { + } else { mes "[Cellette]"; mes "W-wait... You don't"; mes "have any money to pay"; @@ -6164,11 +5644,8 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ close; } } - } - else if(hg_odeng == 2) - { - if(countitem(584)) - { + } else if (hg_odeng == 2) { + if (countitem(584)) { mes "[Cellette]"; mes "Whoa, whoa, whoa!"; mes "You should have left"; @@ -6176,9 +5653,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "soup to Maewan! Hurry,"; mes "before it gets too cold!"; close; - } - else - { + } else { mes "[Cellette]"; mes "What's that? You lost"; mes "the Fish Cake Soup you're"; @@ -6187,8 +5662,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "to give you this fresh bowl"; mes "of soup that I just made..."; next; - if(Zeny > 99) - { + if (Zeny > 99) { mes "[Cellette]"; mes "But you need to be"; mes "responsible and pay"; @@ -6199,9 +5673,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ set Zeny,Zeny-100; getitem 584,1; //Fish_Ball_Soup close; - } - else - { + } else { mes "[Cellette]"; mes "W-wait... You don't"; mes "have any money to pay"; @@ -6213,11 +5685,8 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ close; } } - } - else if(hg_odeng == 3) - { - if(countitem(584)) - { + } else if (hg_odeng == 3) { + if (countitem(584)) { mes "[Cellette]"; mes "I thought you left to"; mes "deliver that soup to"; @@ -6226,9 +5695,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "it doesn't taste good after"; mes "it gets cold, you know."; close; - } - else - { + } else { mes "[Cellette]"; mes "What's that? You lost"; mes "the Fish Cake Soup you're"; @@ -6237,8 +5704,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "to give you this fresh bowl"; mes "of soup that I just made..."; next; - if(Zeny > 99) - { + if (Zeny > 99) { mes "[Cellette]"; mes "But you need to be"; mes "responsible and pay"; @@ -6249,9 +5715,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ set Zeny,Zeny-100; getitem 584,1; //Fish_Ball_Soup close; - } - else - { + } else { mes "[Cellette]"; mes "W-wait... You don't"; mes "have any money to pay"; @@ -6263,11 +5727,8 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ close; } } - } - else if(hg_odeng == 4) - { - if(countitem(584)) - { + } else if (hg_odeng == 4) { + if (countitem(584)) { mes "[Cellette]"; mes "Oh, dear, you better"; mes "leave now and deliver"; @@ -6275,9 +5736,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "Erjan before he can think"; mes "of something to complain about.^FFFFFF ^000000 Although it's probably too late..."; close; - } - else - { + } else { mes "[Cellette]"; mes "What's that? You lost"; mes "the Fish Cake Soup you're"; @@ -6286,8 +5745,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "to give you this fresh bowl"; mes "of soup that I just made..."; next; - if(Zeny > 99) - { + if (Zeny > 99) { mes "[Cellette]"; mes "But you need to be"; mes "responsible and pay"; @@ -6298,9 +5756,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ set Zeny,Zeny-100; getitem 584,1; //Fish_Ball_Soup close; - } - else - { + } else { mes "[Cellette]"; mes "W-wait... You don't"; mes "have any money to pay"; @@ -6312,9 +5768,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ close; } } - } - else if(hg_odeng == 5) - { + } else if (hg_odeng == 5) { mes "[Cellette]"; mes "Ah, I'm sorry, but"; mes "I can't do any business"; @@ -6322,9 +5776,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "to be irresponsible. Nothing"; mes "personal, it's just my policy."; close; - } - else if(hg_odeng == 10) - { + } else if (hg_odeng == 10) { mes "[Cellette]"; mes "Good work! I hear that"; mes "you successfully delivered"; @@ -6348,9 +5800,7 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ mes "friends about my delicious"; mes "Fish Cake Soup. See you later~"; close; - } - else - { + } else { mes "[Cellette]"; mes "Come and taste some"; mes "authentic Hugel cuisine!"; @@ -6361,11 +5811,8 @@ hu_in01,15,372,3 script Cellette Lavit 74,{ } hugel,76,134,3 script Neha 101,{ - - if(hg_odeng == 1) - { - if(countitem(584)) - { + if (hg_odeng == 1) { + if (countitem(584)) { mes "[Neha]"; mes "Oh, you have a delivery"; mes "from Cellette, hm? Hmpf!"; @@ -6373,8 +5820,7 @@ hugel,76,134,3 script Neha 101,{ mes "this soup isn't good if it"; mes "isn't steaming hot?"; next; - if(sex) - { + if (Sex) { mes "[Neha]"; mes "But... You're a handsome"; mes "fellow, so I'll forgive you..."; @@ -6382,9 +5828,7 @@ hugel,76,134,3 script Neha 101,{ mes "^FF00001 Whip^000000 with which to spank "; mes "you. You better hurry, boy, or"; mes "I won't let you off that easy."; - } - else - { + } else { mes "[Neha]"; mes "Yes, yes... You should"; mes "be punished. You should be"; @@ -6400,9 +5844,7 @@ hugel,76,134,3 script Neha 101,{ setquest 8068; set hg_odeng,6; close; - } - else - { + } else { mes "[Neha]"; mes "Oh ho ho ho ho ho~"; mes "I just love cute little boys..."; @@ -6411,11 +5853,8 @@ hugel,76,134,3 script Neha 101,{ mes "a little bit as well. Hoho~"; close; } - } - else if(hg_odeng == 6) - { - if(countitem(1960) && countitem(584)) //Whip and Skewer soup - { + } else if (hg_odeng == 6) { + if (countitem(1960) && countitem(584)) { mes "[Neha]"; mes "Finally... My soup!"; mes "And you brought me my Whip!"; @@ -6447,9 +5886,7 @@ hugel,76,134,3 script Neha 101,{ set hg_odeng,10; changequest 8068,8072; close; - } - else - { + } else { mes "[Neha]"; mes "^FF00001 Fish Cake Soup^000000..."; mes "^FF00001 Whip^000000... Is that too"; @@ -6459,9 +5896,7 @@ hugel,76,134,3 script Neha 101,{ mes "with that, huh? Now hurry up!"; close; } - } - else - { + } else { mes "[Neha]"; mes "Oh ho ho ho ho ho~"; mes "I just love cute little boys..."; @@ -6470,15 +5905,11 @@ hugel,76,134,3 script Neha 101,{ mes "a little bit as well. Hoho~"; close; } - } hugel,87,139,3 script Maewan 86,{ - - if(hg_odeng == 2) - { - if(countitem(584)) - { + if (hg_odeng == 2) { + if (countitem(584)) { mes "[Maewan]"; mes "Oh, finally, I've been"; mes "waiting for my order of"; @@ -6502,9 +5933,7 @@ hugel,87,139,3 script Maewan 86,{ set hg_odeng,7; changequest 8065,8069; close; - } - else - { + } else { mes "[Maewan]"; mes "I like to think of"; mes "myself as a man of"; @@ -6514,11 +5943,8 @@ hugel,87,139,3 script Maewan 86,{ mes "all sorts of new things~"; close; } - } - else if(hg_odeng == 7 ) - { - if(countitem(584) && countitem(7015)) - { + } else if (hg_odeng == 7 ) { + if (countitem(584) && countitem(7015)) { mes "[Maewan]"; mes "Great, you really brought"; mes "me a Bookclip in Memory!"; @@ -6531,9 +5957,7 @@ hugel,87,139,3 script Maewan 86,{ set hg_odeng,10; changequest 8069,8073; close; - } - else - { + } else { mes "[Maewan]"; mes "I know it sounds unfair"; mes "of me to ask you to bring"; @@ -6549,9 +5973,7 @@ hugel,87,139,3 script Maewan 86,{ mes "for all sorts of crazy things."; close; } - } - else - { + } else { mes "[Maewan]"; mes "I like to think of"; mes "myself as a man of"; @@ -6565,11 +5987,8 @@ hugel,87,139,3 script Maewan 86,{ } hugel,84,125,3 script Layoma 700,{ - - if(hg_odeng == 3) - { - if(countitem(584)) - { + if (hg_odeng == 3) { + if (countitem(584)) { mes "[Layoma]"; mes "You're here to deliver"; mes "my Fish Cake Soup?"; @@ -6588,9 +6007,7 @@ hugel,84,125,3 script Layoma 700,{ set hg_odeng,8; changequest 8066,8070; close; - } - else - { + } else { mes "[Layoma]"; mes "I love singing songs,"; mes "and I love eating mushrooms."; @@ -6598,11 +6015,8 @@ hugel,84,125,3 script Layoma 700,{ mes "that's a pretty exciting life!"; close; } - } - else if(hg_odeng == 8) - { - if(countitem(584) && countitem(921)) - { + } else if (hg_odeng == 8) { + if (countitem(584) && countitem(921)) { mes "[Layoma]"; mes "Great! You brought me"; mes "1 Mushroom Spore! This"; @@ -6620,9 +6034,7 @@ hugel,84,125,3 script Layoma 700,{ set hg_odeng,10; changequest 8070,8074; close; - } - else - { + } else { mes "[Layoma]"; mes "Hey! I thought you"; mes "wanted to prove that"; @@ -6632,9 +6044,7 @@ hugel,84,125,3 script Layoma 700,{ mes "Spore with my Fish Cake Soup!"; close; } - } - else - { + } else { mes "[Layoma]"; mes "I love singing songs,"; mes "and I love eating mushrooms."; @@ -6646,11 +6056,8 @@ hugel,84,125,3 script Layoma 700,{ } hugel,102,161,3 script Erjan 100,{ - - if(hg_odeng == 4) - { - if(countitem(584)) - { + if (hg_odeng == 4) { + if (countitem(584)) { mes "[Erjan]"; mes "Well, I thought you'd"; mes "never come to deliver"; @@ -6676,9 +6083,7 @@ hugel,102,161,3 script Erjan 100,{ mes "glass and tableware available."; mes "That's how we noblemen live~"; close; - } - else - { + } else { mes "[Erjan]"; mes "I am Erjan, first son of"; mes "the noble Franchefeschu"; @@ -6688,11 +6093,8 @@ hugel,102,161,3 script Erjan 100,{ mes "and do whatever it is you do."; close; } - } - else if(hg_odeng == 9) - { - if(countitem(584) && countitem(736)) - { + } else if (hg_odeng == 9) { + if (countitem(584) && countitem(736)) { mes "[Erjan]"; mes "Ah, so you've delivered"; mes "my Fish Cake Soup with some"; @@ -6718,9 +6120,7 @@ hugel,102,161,3 script Erjan 100,{ set hg_odeng,10; changequest 8071,8075; close; - } - else - { + } else { mes "[Erjan]"; mes "Must I repeat myself?"; mes "Bring me my ^FF0000Fish Cake Soup^000000"; @@ -6728,9 +6128,7 @@ hugel,102,161,3 script Erjan 100,{ mes "properly enjoy my meal."; close; } - } - else - { + } else { mes "[Erjan]"; mes "I am Erjan, first son of"; mes "the noble Franchefeschu"; @@ -6742,27 +6140,23 @@ hugel,102,161,3 script Erjan 100,{ } } -// Juno Remedy Quest +// Juno Remedy Quest :: hg_ma1 //============================================================ yuno,111,156,3 script Euslan 90,{ - - if(BaseLevel < 60) - { + if (BaseLevel < 60) { mes "[Euslan]"; mes "^333333*Cough Cough*"; mes "*Haaaaaaack*"; mes "*C-cough* *Sob*^000000"; close; } - if(!hg_ma1) - { + if (!hg_ma1) { mes "[Euslan]"; mes "^333333*Cough Cough*"; mes "*Haaaaaaack*"; mes "*C-cough* *Sob*^000000"; next; - switch( select( "Ignore:Speak to Euslan" ) ) - { + switch(select("Ignore:Speak to Euslan")) { case 1: mes "[Euslan]"; mes "^333333*Sniff*"; @@ -6782,16 +6176,13 @@ yuno,111,156,3 script Euslan 90,{ set hg_ma1,1; close; } - } - else if(hg_ma1 == 1) - { + } else if (hg_ma1 == 1) { mes "[Euslan]"; mes "^333333*Sniff* *Cough"; mes "*Cough Cough*"; mes "*Sob* *Sniff*^000000"; next; - switch( select( "Ignore:Speak to Euslan" ) ) - { + switch(select("Ignore:Speak to Euslan")) { case 1: mes "[Euslan]"; mes "^333333*Sniff*"; @@ -6812,8 +6203,7 @@ yuno,111,156,3 script Euslan 90,{ next; break; } - switch( select( "Nothing!:Are you alright?" ) ) - { + switch(select("Nothing!:Are you alright?")) { case 1: mes "[Euslan]"; mes "Oh, I'm s-sorry..."; @@ -6845,8 +6235,7 @@ yuno,111,156,3 script Euslan 90,{ next; break; } - switch( select( "Leave her alone:Offer to find Thierry" ) ) - { + switch(select("Leave her alone:Offer to find Thierry")) { case 1: mes "[Euslan]"; mes "Thierry... ^333333*Sob*^000000"; @@ -6899,9 +6288,7 @@ yuno,111,156,3 script Euslan 90,{ setquest 8044; close; } - } - else if(hg_ma1 == 2) - { + } else if (hg_ma1 == 2) { mes "[Euslan]"; mes "I've just been waiting here"; mes "for my fiancee to return, but"; @@ -6918,8 +6305,7 @@ yuno,111,156,3 script Euslan 90,{ mes "is he? ^333333*Sniff*^000000 Where's my"; mes "Thierry? I want to see him..."; next; - switch( select( "Leave her alone:Offer to find Thierry" ) ) - { + switch(select("Leave her alone:Offer to find Thierry")) { case 1: mes "[Euslan]"; mes "Thierry... ^333333*Sob*^000000"; @@ -6971,18 +6357,14 @@ yuno,111,156,3 script Euslan 90,{ setquest 8044; close; } - } - else if(hg_ma1 == 3 || hg_ma1 == 4) - { + } else if (hg_ma1 == 3 || hg_ma1 == 4) { mes "^333333Euslan is still patiently"; mes "waiting for Thierry's return."; mes "You should keep your promise"; mes "to her by asking the crewmen on"; mes "the Schwaltvalt Republic domestic flights about Euslan's fiancee.^000000"; close; - } - else if(hg_ma1 == 5) - { + } else if (hg_ma1 == 5) { mes "[Euslan]"; mes "Oh, you're back!"; mes "^333333*Cough*^000000 Maybe it's too"; @@ -7033,9 +6415,7 @@ yuno,111,156,3 script Euslan 90,{ set hg_ma1,6; changequest 8046,8047; close; - } - else if(hg_ma1 == 6 || hg_ma1 == 7) - { + } else if (hg_ma1 == 6 || hg_ma1 == 7) { mes "[Euslan]"; mes "If you get the chance,"; mes "please visit my brother"; @@ -7043,17 +6423,13 @@ yuno,111,156,3 script Euslan 90,{ mes "him where my Thierry might be."; mes "Thank you again for your kindness. ^FFFFFF ^000000"; close; - } - else if(hg_ma1 == 8 || hg_ma1 == 9 || hg_ma1 == 10 || hg_ma1 == 11) - { + } else if (hg_ma1 == 8 || hg_ma1 == 9 || hg_ma1 == 10 || hg_ma1 == 11) { mes "^3355FFEuslan is waiting for"; mes "you to bring her news from"; mes "her fiancee Thierry. You better"; mes "go back to Hugel to find him."; close; - } - else if(hg_ma1 == 12) - { + } else if (hg_ma1 == 12) { mes "[Euslan]"; mes "Oh, you've returned!"; mes "^333333*Cough*^000000 Were you able to"; @@ -7098,9 +6474,7 @@ yuno,111,156,3 script Euslan 90,{ else getexp 900000,600000; end; - } - else if(hg_ma1 == 13) - { + } else if (hg_ma1 == 13) { mes "^3355FFEuslan is still waiting"; mes "for her fiancee to return"; mes "home, but she appears"; @@ -7113,8 +6487,7 @@ yuno,111,156,3 script Euslan 90,{ que_bingo,49,12,0 script #Hg_Quest 139,4,4,{ OnTouch: - if(hg_ma1 == 6) - { + if (hg_ma1 == 6) { mes "[Arcade Owner]"; mes "Welcome to the"; mes "Bingo Game Arcade."; @@ -7134,9 +6507,7 @@ OnTouch: } que_bingo,53,190,7 script Eukran 778,{ - - if(hg_ma1 == 6) - { + if (hg_ma1 == 6) { mes "[Eukran]"; mes "Oh, weren't you just"; mes "in the bingo room?"; @@ -7183,8 +6554,7 @@ que_bingo,53,190,7 script Eukran 778,{ odin_tem01,129,127,0 script HiddenActivator#Hugel 139,3,3,{ OnTouch: - if(hg_ma1 == 8) - { + if (hg_ma1 == 8) { mes "^3355FFYou can hear two"; mes "people talking to"; mes "each other a short"; @@ -7233,9 +6603,7 @@ OnTouch: enablenpc "Young Man#Hu_Quest"; initnpctimer; end; - } - else if(hg_ma1 == 9 || hg_ma1 == 10 || hg_ma1 == 11) - { + } else if (hg_ma1 == 9 || hg_ma1 == 10 || hg_ma1 == 11) { enablenpc "Young Man#Hu_Quest"; initnpctimer; end; @@ -7253,9 +6621,7 @@ OnInit: } odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ - - if(hg_ma1 == 8) - { + if (hg_ma1 == 8) { mes "[Young Man]"; mes "Hm? Oh, an adventurer."; mes "There's more and more"; @@ -7290,9 +6656,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ set hg_ma1,9; changequest 8048,8049; end; - } - else if(hg_ma1 == 9) - { + } else if (hg_ma1 == 9) { mes "[Thierry]"; mes "I can't tell you more"; mes "than that. Please just"; @@ -7301,9 +6665,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ mes "Euslan that I should be"; mes "coming home very soon?"; close; - } - else if(hg_ma1 == 10) - { + } else if (hg_ma1 == 10) { mes "[Thierry]"; mes "Oh, I thought you"; mes "already left Odin Shrine."; @@ -7423,11 +6785,8 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ set hg_ma1,11; changequest 8050,8051; end; - } - else if(hg_ma1 == 11) - { - if(countitem(7511) < 5) - { + } else if (hg_ma1 == 11) { + if (countitem(7511) < 5) { mes "[Thierry]"; mes "I understand that gathering"; mes "materials here in the Odin"; @@ -7479,9 +6838,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ set hg_ma1,12; changequest 8051,8052; end; - } - else if(hg_ma1 == 12) - { + } else if (hg_ma1 == 12) { mes "[Thierry]"; mes "Please give that"; mes "medicine to Euslan as"; @@ -7490,9 +6847,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ mes "her know that I'm coming"; mes "home as soon as I can."; close; - } - else - { + } else { mes "[Researcher]"; mes "I'm sorry, Euslan..."; mes "Please just wait for"; @@ -7505,8 +6860,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 774,{ odin_tem01,111,144,0 script HiddenHugel 139,2,2,{ OnTouch: - if(hg_ma1 == 9) - { + if (hg_ma1 == 9) { mes "^3355FFYou hear the voice of"; mes "the suspicious man that"; mes "was speaking to Thierry"; @@ -7539,12 +6893,10 @@ OnTouch: } } -// Cow Milking Quest +// Cow Milking Quest :: hg_milkingcow //============================================================ hugel,56,104,3 script Kurupe 709,3,3,{ - - if(hg_milk == 1) - { + if (hg_milk == 1) { mes "[Kurupe]"; mes "Could Burupu be hiding"; mes "from me again? He's been"; @@ -7561,33 +6913,29 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "Burupu for me, I'll be sure"; mes "to pay you for your effort."; next; - switch( select( "Sure.","Sorry, I'm busy." ) ) - { - case 1: - mes "[Kurupe]"; - mes "Thank you, you're a"; - mes "lifesaver! I need to get the"; - mes "milk delivered by tomorrow,"; - mes "so I really need Burupu back!"; - mes "You should be able to find him"; - mes "somewhere just outside of town."; - set hg_milk,2; - setquest 12040; - close; - - case 2: - mes "[Kurupe]"; - mes "N-no...!"; - mes "If I can't find"; - mes "Burupu, then there's no"; - mes "way I'd be able to deliver"; - mes "the milk orders by tomorrow!"; - mes "Great, what am I gonna do?"; - close; + switch(select("Sure.:Sorry, I'm busy.")) { + case 1: + mes "[Kurupe]"; + mes "Thank you, you're a"; + mes "lifesaver! I need to get the"; + mes "milk delivered by tomorrow,"; + mes "so I really need Burupu back!"; + mes "You should be able to find him"; + mes "somewhere just outside of town."; + set hg_milk,2; + setquest 12040; + close; + case 2: + mes "[Kurupe]"; + mes "N-no...!"; + mes "If I can't find"; + mes "Burupu, then there's no"; + mes "way I'd be able to deliver"; + mes "the milk orders by tomorrow!"; + mes "Great, what am I gonna do?"; + close; } - } - else if(hg_milk > 1 && hg_milk < 5) - { + } else if (hg_milk > 1 && hg_milk < 5) { mes "[Kurupe]"; mes "Burupu, I need you"; mes "to come to work! Maybe"; @@ -7596,9 +6944,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "of town. I hope you can find"; mes "that lazy guy for me..."; close; - } - else if(hg_milk == 5) - { + } else if (hg_milk == 5) { mes "[Kurupe]"; mes "Burupu is making demands?!"; mes "I guess I don't have a choice."; @@ -7607,9 +6953,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "Why does Burupu want to become"; mes "a Swordman so much, huh?"; close; - } - else if(hg_milk == 6) - { + } else if (hg_milk == 6) { mes "[Kurupe]"; mes "Oh, you're going to"; mes "help me milk the cow?"; @@ -7619,9 +6963,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "some delicious milk~"; set hg_milk,7; close; - } - else if(hg_milk == 7) - { + } else if (hg_milk == 7) { mes "[Kurupe]"; mes "Hmm, how about this?"; mes "If you can actually milk"; @@ -7630,9 +6972,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "that sound fair? Anyway,"; mes "please get to work soon~"; close; - } - else if(hg_milk == 8) - { + } else if (hg_milk == 8) { mes "[Kurupe]"; mes "Great! Now that you've"; mes "milked Booboo, I can go"; @@ -7641,8 +6981,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "something to eat as my way"; mes "of saying, ''Thanks a lot~''"; next; - if(checkweight(12063,3) != 1) - { + if (checkweight(12063,3) != 1) { mes "[Kurupe]"; mes "Wait a minute!"; mes "Currently you are carrying"; @@ -7664,9 +7003,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "like doing it, so please come"; mes "by and help me when you can~"; close; - } - else if(hg_milk == 9) - { + } else if (hg_milk == 9) { mes "[Kurupe]"; mes "Oh, it's you again!"; mes "Did you want to help me"; @@ -7674,56 +7011,49 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "cow? I can always use a"; mes "dependable person like you."; next; - switch( select( "Sure, I'll milk Booboo.","What'll pay me this time?","Nah, just dropping by." ) ) - { - case 1: - mes "[Kurupe]"; - mes "Great, great! If you want"; - mes "to milk Booboo, first tell"; - mes "Burupu that he doesn't need"; - mes "to come in today, and then"; - mes "come back to me. Then, I'll"; - mes "let you milk Booboo the cow."; - set hg_milk,10; - close; - - case 2: - mes "[Kurupe]"; - mes "Let's see..."; - mes "Milk Booboo for me this"; - mes "time, and I'll randomly"; - mes "choose one of the following"; - mes "sets of rewards to give you."; - next; - mes "1 set of 5 Milk,"; - mes "1 set of 3 Honey,"; - mes "1 set of 5 Orange Potions,"; - mes "1 set of Yellow Potions, or"; - mes "1 Bundle of Food. Hmmm..."; - mes "That sounds fair, right?"; - close; - - case 3: - mes "[Kurupe]"; - mes "Ahahahah, it's good"; - mes "to see you! Now, don't"; - mes "be a stranger, alright?"; - mes "Burupu could learn a"; - mes "couple things from you..."; - close; + switch(select("Sure, I'll milk Booboo.:What'll pay me this time?:Nah, just dropping by.")) { + case 1: + mes "[Kurupe]"; + mes "Great, great! If you want"; + mes "to milk Booboo, first tell"; + mes "Burupu that he doesn't need"; + mes "to come in today, and then"; + mes "come back to me. Then, I'll"; + mes "let you milk Booboo the cow."; + set hg_milk,10; + close; + case 2: + mes "[Kurupe]"; + mes "Let's see..."; + mes "Milk Booboo for me this"; + mes "time, and I'll randomly"; + mes "choose one of the following"; + mes "sets of rewards to give you."; + next; + mes "1 set of 5 Milk,"; + mes "1 set of 3 Honey,"; + mes "1 set of 5 Orange Potions,"; + mes "1 set of Yellow Potions, or"; + mes "1 Bundle of Food. Hmmm..."; + mes "That sounds fair, right?"; + close; + case 3: + mes "[Kurupe]"; + mes "Ahahahah, it's good"; + mes "to see you! Now, don't"; + mes "be a stranger, alright?"; + mes "Burupu could learn a"; + mes "couple things from you..."; + close; } - } - else if(hg_milk == 10) - { + } else if (hg_milk == 10) { mes "[Kurupe]"; mes "For now, go talk"; mes "to Burupu and let him"; mes "know that he doesn't need"; mes "to come into work today~"; close; - } - else if(hg_milk == 11) - { + } else if (hg_milk == 11) { mes "[Kurupe]"; mes "Ah, you spoke to"; mes "Burupu already? Good,"; @@ -7732,17 +7062,13 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "Thanks once again~"; set hg_milk,12; close; - } - else if(hg_milk == 12) - { + } else if (hg_milk == 12) { mes "[Kurupe]"; mes "Please go and milk"; mes "Booboo the cow as"; mes "soon as you can, okay?"; close; - } - else if(hg_milk == 13) - { + } else if (hg_milk == 13) { mes "[Kurupe]"; mes "Ah, you've done a good"; mes "job of milking Booboo the"; @@ -7751,8 +7077,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "give you as payment. Hmm..."; next; set .@milkreward,rand(1,10); - if (.@milkreward < 5) - { + if (.@milkreward < 5) { mes "[Kurupe]"; mes "You know what?"; mes "Why don't you have"; @@ -7760,8 +7085,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "fitting, after all. Besides,"; mes "it's really good for you!"; mes "Thanks again for your help~"; - if(checkweight(519,5) != 1) - { + if (checkweight(519,5) != 1) { next; mes "[Kurupe]"; mes "Wait a minute!"; @@ -7775,17 +7099,14 @@ hugel,56,104,3 script Kurupe 709,3,3,{ erasequest 12043; getitem 519,5; //Milk close; - } - else if(.@milkreward > 4 && .@milkreward < 8) - { + } else if (.@milkreward > 4 && .@milkreward < 8) { mes "[Kurupe]"; mes "Ah, I've got it!"; mes "You like Orange Potions,"; mes "right? Come on, you looove"; mes "Orange Potions! Here, you can"; mes "have a bunch as my way of saying thanks for milking Booboo the cow~"; - if(checkweight(502,5) != 1) - { + if (checkweight(502,5) != 1) { next; mes "[Kurupe]"; mes "Wait a minute!"; @@ -7799,9 +7120,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ erasequest 12043; getitem 502,5; //Orange_Potion close; - } - else if(.@milkreward > 7 && .@milkreward < 10) - { + } else if (.@milkreward > 7 && .@milkreward < 10) { mes "[Kurupe]"; mes "Oooh, I could give you"; mes "some Yellow Potions, Yes,"; @@ -7809,8 +7128,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "take these Yellow Potions"; mes "as a token of my gratitude"; mes "for milking old Booboo."; - if(checkweight(503,5) != 1) - { + if (checkweight(503,5) != 1) { next; mes "[Kurupe]"; mes "Wait a minute!"; @@ -7824,12 +7142,9 @@ hugel,56,104,3 script Kurupe 709,3,3,{ erasequest 12043; getitem 503,5; //Yellow_Potion close; - } - else - { + } else { set .@milkreward,rand(1,10); - if (.@milkreward < 7) - { + if (.@milkreward < 7) { mes "[Kurupe]"; mes "Hey, why don't you"; mes "take some fresh Honey?"; @@ -7837,8 +7152,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "it's everything you could"; mes "ever want! Thanks for"; mes "milking Booboo for me~"; - if(checkweight(518,3) != 1) - { + if (checkweight(518,3) != 1) { next; mes "[Kurupe]"; mes "Wait a minute!"; @@ -7860,8 +7174,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ mes "remember what I packed in"; mes "here, but I'm sure it tastes"; mes "good, and it's good for you~"; - if(checkweight(12111,1) != 1) - { + if (checkweight(12111,1) != 1) { next; mes "[Kurupe]"; mes "Wait a minute!"; @@ -7876,9 +7189,7 @@ hugel,56,104,3 script Kurupe 709,3,3,{ getitem 12111,1; //Food_Package close; } - } - else - { + } else { mes "[Kurupe]"; mes "Aww, nuts...!"; mes "I've got so many"; @@ -7889,10 +7200,8 @@ hugel,56,104,3 script Kurupe 709,3,3,{ } OnTouch: - if (BaseLevel > 49) - { - if(!hg_milk) - { + if (BaseLevel > 49) { + if (!hg_milk) { mes "[Kurupe]"; mes "Oh no, what am I gonna"; mes "do?! I need to deliver the"; @@ -7919,9 +7228,7 @@ OnTouch: } hu_fild06,217,270,3 script Burupu 896,3,3,{ - - if (hg_milk == 3) - { + if (hg_milk == 3) { mes "[Burupu]"; mes "What? Kurupe wants me"; mes "to come in to work again?"; @@ -7938,9 +7245,7 @@ hu_fild06,217,270,3 script Burupu 896,3,3,{ mes "my destiny! Forget ranching,^FFFFFF ^000000 I'm gonna wield a frickin' sword!"; set hg_milk,4; close; - } - else if(hg_milk == 4) - { + } else if (hg_milk == 4) { mes "[Burupu]"; mes "Hey, that equipment of"; mes "yours looks plenty expensive."; @@ -7956,8 +7261,7 @@ hu_fild06,217,270,3 script Burupu 896,3,3,{ mes "equipment. Let's see... Why not"; mes "give me 1 Rapier with 2 Slots?^FFFFFF ^000000 That's not too much to ask, right?"; next; - switch( select( "Alright.","Whoa, that's too much!" ) ) - { + switch(select("Alright.:Whoa, that's too much!")) { case 1: mes "[Burupu]"; mes "I'm glad you agree~"; @@ -7977,11 +7281,8 @@ hu_fild06,217,270,3 script Burupu 896,3,3,{ mes "that I really want..."; close; } - } - else if(hg_milk == 5) - { - if (!countitem(1110)) - { + } else if (hg_milk == 5) { + if (!countitem(1110)) { mes "[Burupu]"; mes "Hey, weren't you"; mes "supposed to bring me"; @@ -8023,9 +7324,7 @@ hu_fild06,217,270,3 script Burupu 896,3,3,{ mes "instructions. Oh, and"; mes "thanks again for the Rapier~"; close; - } - else if(hg_milk == 10) - { + } else if (hg_milk == 10) { mes "[Burupu]"; mes "Hmm? You wanna milk"; mes "Booboo today? Great,"; @@ -8035,9 +7334,7 @@ hu_fild06,217,270,3 script Burupu 896,3,3,{ mes "completely on my training!"; set hg_milk,11; close; - } - else - { + } else { mes "[Burupu]"; mes "I'm gonna become the"; mes "best Swordman in the"; @@ -8049,8 +7346,7 @@ hu_fild06,217,270,3 script Burupu 896,3,3,{ } OnTouch: - if (hg_milk == 2) - { + if (hg_milk == 2) { mes "[Burupu]"; mes "Heeeyah!"; mes "Yaaaaaaaah!"; @@ -8066,9 +7362,7 @@ OnTouch: set hg_milk,3; emotion e_an,0; close; - } - else if(hg_milk == 5) - { + } else if (hg_milk == 5) { mes "[Burupu]"; mes "Heeeyah!"; mes "Yaaaaaaaah!"; @@ -8079,9 +7373,7 @@ OnTouch: } hugel,72,101,0 script Burupu's Instructions 111,{ - - if (hg_milk < 6) - { + if (hg_milk < 6) { mes "^3355FFYou've found a small^000000"; mes "^3355FFnotebook on the ground.^000000"; close; @@ -8099,121 +7391,116 @@ hugel,72,101,0 script Burupu's Instructions 111,{ mes "Chapter 2: How to Treat Booboo"; mes "Chapter 3: Before You Begin"; next; - switch( select( "Chapter 1","Chapter 2","Chapter 3" ) ) - { + switch(select("Chapter 1:Chapter 2:Chapter 3")) { + case 1: + mes "[Chapter 1]"; + mes "Booboo is a very emotionally"; + mes "sensitive cow that expresses"; + mes "herself through the power of"; + mes "song. You must listen to her"; + mes "song, determine how she feels,"; + mes "and then comb her just right."; + next; + mes "[Chapter 1]"; + mes "Basically, depending on"; + mes "how Booboo feels, you must"; + mes "give her the number of brush"; + mes "strokes that correspond to"; + mes "her song. I'll explain more"; + mes "about that in Chapter 2."; + break; + case 2: + mes "[Chapter 2 Contents]"; + mes " "; + mes "Part 1: How to Respond to"; + mes "Booboo the Cow's Feelings"; + mes "Part 2: Booboo's Songs"; + next; + switch(select("Part 1:Part 2")) { case 1: - mes "[Chapter 1]"; - mes "Booboo is a very emotionally"; - mes "sensitive cow that expresses"; - mes "herself through the power of"; - mes "song. You must listen to her"; - mes "song, determine how she feels,"; - mes "and then comb her just right."; + mes "[Chapter 2, Part 1]"; + mes "Booboo the Cow usually"; + mes "expresses five different"; + mes "feelings through her songs:"; + mes "these are joy, sadness, anger,"; + mes "love, and neutral contentment."; next; - mes "[Chapter 1]"; - mes "Basically, depending on"; - mes "how Booboo feels, you must"; - mes "give her the number of brush"; - mes "strokes that correspond to"; - mes "her song. I'll explain more"; - mes "about that in Chapter 2."; + mes "[Chapter 2, Part 1]"; + mes "^800080She is so happy^000000!"; + mes "When Booboo the Cow"; + mes "feels joy, then you go"; + mes "ahead and brush her"; + mes "hair 3 times before"; + mes "you can milk her."; + mes "^800080 3 times^000000."; + next; + mes "[Chapter 2, Part 1]"; + mes "^800080She is as usual^000000."; + mes "When she feels so-so, you need to"; + mes "comb her hair ^800080 5 times^000000."; + next; + mes "[Chapter 2, Part 1]"; + mes "If Booboo the cow feels"; + mes "sad, then you need to make"; + mes "her feel more loved. How"; + mes "do you do this? Just brush"; + mes "her hair at least 10 times."; + next; + mes "[Chapter 2, Part 1]"; + mes "Now, remember that when"; + mes "Booboo the cow is angry,"; + mes "you shouldn't touch her"; + mes "at all. Just say, ''No!'' to"; + mes "brushing her hair, okay?"; + next; + mes "[Chapter 2, Part 1]"; + mes "If you happen to see"; + mes "Booboo the cow in love,"; + mes "then just brush her hair"; + mes "once. Just look for the"; + mes "hearts, and you'll know"; + mes "that she's in love, okay?"; + next; + mes "[Chapter 2, Part 1]"; + mes "Whenever Booboo the"; + mes "cow is just feeling"; + mes "neutral contentment,"; + mes "then just brush her"; + mes "5 times. That's all~"; break; - case 2: - mes "[Chapter 2 Contents]"; - mes " "; - mes "Part 1: How to Respond to"; - mes "Booboo the Cow's Feelings"; - mes "Part 2: Booboo's Songs"; + mes "[Chapter 2, Part 2]"; + mes "Booboo the cow will"; + mes "always sing this song."; + mes "Keep these sounds in"; + mes "mind when she sings them..."; next; - switch( select( "Part 1","Part 2" ) ) - { - case 1: - mes "[Chapter 2, Part 1]"; - mes "Booboo the Cow usually"; - mes "expresses five different"; - mes "feelings through her songs:"; - mes "these are joy, sadness, anger,"; - mes "love, and neutral contentment."; - next; - mes "[Chapter 2, Part 1]"; - mes "^800080She is so happy^000000!"; - mes "When Booboo the Cow"; - mes "feels joy, then you go"; - mes "ahead and brush her"; - mes "hair 3 times before"; - mes "you can milk her."; - mes "^800080 3 times^000000."; - next; - mes "[Chapter 2, Part 1]"; - mes "^800080She is as usual^000000."; - mes "When she feels so-so, you need to"; - mes "comb her hair ^800080 5 times^000000."; - next; - mes "[Chapter 2, Part 1]"; - mes "If Booboo the cow feels"; - mes "sad, then you need to make"; - mes "her feel more loved. How"; - mes "do you do this? Just brush"; - mes "her hair at least 10 times."; - next; - mes "[Chapter 2, Part 1]"; - mes "Now, remember that when"; - mes "Booboo the cow is angry,"; - mes "you shouldn't touch her"; - mes "at all. Just say, ''No!'' to"; - mes "brushing her hair, okay?"; - next; - mes "[Chapter 2, Part 1]"; - mes "If you happen to see"; - mes "Booboo the cow in love,"; - mes "then just brush her hair"; - mes "once. Just look for the"; - mes "hearts, and you'll know"; - mes "that she's in love, okay?"; - next; - mes "[Chapter 2, Part 1]"; - mes "Whenever Booboo the"; - mes "cow is just feeling"; - mes "neutral contentment,"; - mes "then just brush her"; - mes "5 times. That's all~"; - break; - - case 2: - mes "[Chapter 2, Part 2]"; - mes "Booboo the cow will"; - mes "always sing this song."; - mes "Keep these sounds in"; - mes "mind when she sings them..."; - next; - mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000"; - mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; - mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; - mes "^0000ffRrrr~ Booboorrrr~ Boobooru~^000000"; - mes "^ff0000Boobooboo~ Rururu~ Booruboorub~^000000"; - mes "^0000ffBoo! B! Boo~^000000"; - next; - mes "[Chapter 2, Part 2]"; - mes "When you try to milk"; - mes "Booboo, she will sing this"; - mes "song with a slight difference."; - mes "Look for the difference in"; - mes "Booboo's song, and then"; - mes "hum the correct word to her."; - break; - } - break; - - case 3: - mes "[Chapter 3]"; - mes "If you want to milk"; - mes "Booboo the cow, you"; - mes "must first get permission"; - mes "from Kurupe. You will also"; - mes "need 3 Concentration Potions"; - mes "to insert into Booboo's comb."; + mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000"; + mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; + mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; + mes "^0000ffRrrr~ Booboorrrr~ Boobooru~^000000"; + mes "^ff0000Boobooboo~ Rururu~ Booruboorub~^000000"; + mes "^0000ffBoo! B! Boo~^000000"; + next; + mes "[Chapter 2, Part 2]"; + mes "When you try to milk"; + mes "Booboo, she will sing this"; + mes "song with a slight difference."; + mes "Look for the difference in"; + mes "Booboo's song, and then"; + mes "hum the correct word to her."; break; + } + break; + case 3: + mes "[Chapter 3]"; + mes "If you want to milk"; + mes "Booboo the cow, you"; + mes "must first get permission"; + mes "from Kurupe. You will also"; + mes "need 3 Concentration Potions"; + mes "to insert into Booboo's comb."; + break; } close2; if (checkquest(12042) > -1) erasequest 12042; @@ -8221,9 +7508,7 @@ hugel,72,101,0 script Burupu's Instructions 111,{ } hugel,68,99,3 script Booboo the Cow 889,{ - - if (hg_milk == 7 || hg_milk == 12) - { + if (hg_milk == 7 || hg_milk == 12) { mes "[Booboo]"; mes "Boop boop boo~"; mes "Booboo Boop boo!"; @@ -8233,33 +7518,30 @@ hugel,68,99,3 script Booboo the Cow 889,{ mes "has something that"; mes "she wants to tell you.^000000"; next; - switch( select( "Attempt to Milk Booboo","It's not the right time!" ) ) - { - case 1: - if(countitem(645) > 2) - { - set @cowsong1,rand(1,5); - if (@cowsong1 == 1) callfunc "Func_MilkCow","cow_01.wav",3; - else if(@cowsong1 == 2) callfunc "Func_MilkCow","cow_02.wav",5; - else if(@cowsong1 == 3) callfunc "Func_MilkCow","cow_03.wav",10; - else if(@cowsong1 == 4) callfunc "Func_MilkCow","cow_04.wav",0; - else if(@cowsong1 == 5) callfunc "Func_MilkCow","cow_05.wav",1; - end; - } - mes "^3355FFTo use this comb to"; - mes "brush Booboo the cow,"; - mes "you will need to insert"; - mes "3 Concentration Potions."; - mes "You can only brush Booboo"; - mes "with this luxurious magic comb.^000000"; - close; - - case 2: - mes "^3355FFMaybe you should learn more"; - mes "about Booboo the cow, and"; - mes "get more information before"; - mes "you can attempt to milk her.^000000"; - close; + switch(select("Attempt to Milk Booboo:It's not the right time!")) { + case 1: + if (countitem(645) > 2) { + set @cowsong1,rand(1,5); + if (@cowsong1 == 1) callfunc "Func_MilkCow","cow_01.wav",3; + else if (@cowsong1 == 2) callfunc "Func_MilkCow","cow_02.wav",5; + else if (@cowsong1 == 3) callfunc "Func_MilkCow","cow_03.wav",10; + else if (@cowsong1 == 4) callfunc "Func_MilkCow","cow_04.wav",0; + else if (@cowsong1 == 5) callfunc "Func_MilkCow","cow_05.wav",1; + end; + } + mes "^3355FFTo use this comb to"; + mes "brush Booboo the cow,"; + mes "you will need to insert"; + mes "3 Concentration Potions."; + mes "You can only brush Booboo"; + mes "with this luxurious magic comb.^000000"; + close; + case 2: + mes "^3355FFMaybe you should learn more"; + mes "about Booboo the cow, and"; + mes "get more information before"; + mes "you can attempt to milk her.^000000"; + close; } } mes "[Booboo]"; @@ -8270,8 +7552,6 @@ hugel,68,99,3 script Booboo the Cow 889,{ } function script Func_MilkCow { - - mes "^3355FFThis giant magic comb was"; mes "specially ordered from Geffen's"; mes "Magic Academy. It is designed"; @@ -8295,8 +7575,7 @@ function script Func_MilkCow { mes "certain number of times.^000000"; next; input @cowbrush; - if (@cowbrush != getarg(1)) - { + if (@cowbrush != getarg(1)) { soundeffect "taming_fail.wav",0; mes "^3355FFAwwww..."; mes "Booboo the cow looks"; @@ -8314,53 +7593,42 @@ function script Func_MilkCow { soundeffect "cow_06.wav",0; set @cowsong2,rand(1,6); mes "[Mrs. Booboo]"; - if (@cowsong2 == 1) - { + if (@cowsong2 == 1) { mes "^ff0000Brr~ Brrboo~ Boobooboo~^000000"; mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; mes "^0000ffRrrr~ Booboorrrr~ Boobooru~^000000"; mes "^ff0000Boobooboo~ Rururu~ Booruboorub~^000000"; mes "^0000ffBoo! B! Boo~~~^000000"; - } - else if (@cowsong2 == 2) - { + } else if (@cowsong2 == 2) { mes "^ff0000Brr~ Brrboo~ Boobooboo~^000000"; mes "^0000ffRrrururu~ Booboo~ Boorrboo~^000000"; mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; mes "^0000ffRrrr~ Booboorrrr~ Boobooru~^000000"; mes "^ff0000Boobooboo~ Rururu~ Booruboorub~^000000"; mes "^0000ffBoo! B! Boo~~~^000000"; - } - else if (@cowsong2 == 3) - { + } else if (@cowsong2 == 3) { mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000"; mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; mes "^ff0000Booruboorubrr~ Rurub~^000000"; mes "^0000ffRrrr~ Booboorrrr~ Boobooru~^000000"; mes "^ff0000Boobooboo~ Rururu~ Booruboorub~^000000"; mes "^0000ffBoo! B! Boo~^000000"; - } - else if (@cowsong2 == 4) - { + } else if (@cowsong2 == 4) { mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000"; mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; mes "^0000ffRrrr~ Booboorrrr~ Bbrrrr~^000000"; mes "^ff0000Boobooboo~ Rururu~ Booruboorub~^000000"; mes "^0000ffBoo! B! Boo~^000000"; - } - else if (@cowsong2 == 5) - { + } else if (@cowsong2 == 5) { mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000"; mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; mes "^0000ffRrrr~ Booboorrrr~ Boobooru~^000000"; mes "^ff0000Bbb~ Rururu~ Booruboorub~^000000"; mes "^0000ffBoo! B! Boo~^000000"; - } - else if (@cowsong2 == 6) - { + } else if (@cowsong2 == 6) { mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000"; mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000"; mes "^ff0000Booruboorubrr~ Rrrrboo~^000000"; @@ -8374,15 +7642,14 @@ function script Func_MilkCow { mes "song in Burupu's notes, and then tell her the correct world without"; mes "the tilde character (''~'').^000000"; next; - if(@cowsong2 == 1) set @cowsong$,"Brrbrr"; - else if(@cowsong2 == 2) set @cowsong$,"Brrrrrr"; - else if(@cowsong2 == 3) set @cowsong$,"Rrrrboo"; - else if(@cowsong2 == 4) set @cowsong$,"Boobooru"; - else if(@cowsong2 == 5) set @cowsong$,"Boobooboo"; - else if(@cowsong2 == 6) set @cowsong$,"B"; + if (@cowsong2 == 1) set @cowsong$,"Brrbrr"; + else if (@cowsong2 == 2) set @cowsong$,"Brrrrrr"; + else if (@cowsong2 == 3) set @cowsong$,"Rrrrboo"; + else if (@cowsong2 == 4) set @cowsong$,"Boobooru"; + else if (@cowsong2 == 5) set @cowsong$,"Boobooboo"; + else if (@cowsong2 == 6) set @cowsong$,"B"; input @cowanswer$; - if (@cowanswer$ == @cowsong$) - { + if (@cowanswer$ == @cowsong$) { soundeffect "tming_success.wav",0; mes "^3355FFSuccess!"; mes "Booboo the cow"; @@ -8390,7 +7657,7 @@ function script Func_MilkCow { mes "you were able to milk"; mes "her. Now, you should"; mes "report to Kurupe.^000000"; - if(hg_milk == 12) set hg_milk,13; + if (hg_milk == 12) set hg_milk,13; else set hg_milk,8; setquest 12043; close; @@ -8404,19 +7671,17 @@ function script Func_MilkCow { close; } -// Odin Temple Excavation Quest +// Odin Temple Excavation Quest :: hg_tem //============================================================ hugel,91,152,1 script Sign 837,{ - mes "**Recruitment Notice**"; mes " "; - if(hg_odin < 60) - { + if (hg_odin < 60) { mes "We are now hiring recruits"; mes "for the Odin Shrine Expedition."; mes " "; mes "- Shrine Expedition Dept."; - if(!hg_odin) set hg_odin,1; + if (!hg_odin) set hg_odin,1; close; } mes "Join our magician"; @@ -8428,66 +7693,57 @@ hugel,91,152,1 script Sign 837,{ } hu_in01,19,161,0 script Alex 803,{ - - if(!hg_odin) - { + if (!hg_odin) { mes "[Alex]"; mes "Whatever you're"; mes "trying to sell me,"; mes "I'm not interested!"; mes "Now get out of here!"; close; - } - else if(hg_odin == 1) - { + } else if (hg_odin == 1) { cutin "hu_alex01.bmp",2; mes "[Alex]"; mes "Huh...?"; mes "What do you want?"; next; - switch( select( "Excuse me...","I saw the recruitment notice and..." ) ) - { - case 1: + switch(select("Excuse me...:I saw the recruitment notice and...")) { + case 1: + mes "[Alex]"; + mes "Whatever you're"; + mes "trying to sell me,"; + mes "I'm not interested!"; + mes "Now get out of here!"; + close2; + cutin "",255; + end; + case 2: + mes "[Alex]"; + mes "Oh, so you saw the"; + mes "recruitment notice for the"; + mes "Odin Shrine Expedition, eh?"; + if (BaseLevel > 59) { + mes "Hmmm... Alright, you look"; + mes "like you're strong enough."; + mes "Yeah, I think you qualify."; + next; + } else { + cutin "hu_alex02.bmp",2; + mes "Well, I dunno. I think that"; + mes "kind of expedition would"; + mes "eat you alive. No offense..."; + next; mes "[Alex]"; - mes "Whatever you're"; - mes "trying to sell me,"; - mes "I'm not interested!"; - mes "Now get out of here!"; + mes "Look, I'll reconsider"; + mes "whether you qualify after"; + mes "you get train a little more,"; + mes "develop your skills, you know,"; + mes "get stronger. For now, though,"; + mes "I don't think we can use you."; close2; cutin "",255; end; - - case 2: - mes "[Alex]"; - mes "Oh, so you saw the"; - mes "recruitment notice for the"; - mes "Odin Shrine Expedition, eh?"; - if(BaseLevel > 59) - { - mes "Hmmm... Alright, you look"; - mes "like you're strong enough."; - mes "Yeah, I think you qualify."; - next; - } - else - { - cutin "hu_alex02.bmp",2; - mes "Well, I dunno. I think that"; - mes "kind of expedition would"; - mes "eat you alive. No offense..."; - next; - mes "[Alex]"; - mes "Look, I'll reconsider"; - mes "whether you qualify after"; - mes "you get train a little more,"; - mes "develop your skills, you know,"; - mes "get stronger. For now, though,"; - mes "I don't think we can use you."; - close2; - cutin "",255; - end; - } - break; + } + break; } cutin "hu_alex03.bmp",2; mes "[Alex]"; @@ -8516,9 +7772,7 @@ hu_in01,19,161,0 script Alex 803,{ close2; cutin "",255; end; - } - else if(hg_odin == 2) - { + } else if (hg_odin == 2) { cutin "hu_alex03.bmp",2; mes "[Alex]"; mes "You really oughtta"; @@ -8529,9 +7783,7 @@ hu_in01,19,161,0 script Alex 803,{ close2; cutin "",255; end; - } - else if(hg_odin == 3) - { + } else if (hg_odin == 3) { cutin "hu_alex01.bmp",2; mes "[Alex]"; mes "Oh, so you've gone"; @@ -8539,74 +7791,69 @@ hu_in01,19,161,0 script Alex 803,{ mes "already. So will you help"; mes "us in our expedition?"; next; - switch( select( "Who are the people in the next room?","Well...","Yes, I do." ) ) - { - case 1: - cutin "hu_alex02.bmp",2; - mes "[Alex]"; - mes "Oh... Them."; - mes "They're officially my"; - mes "co-workers, but quite"; - mes "frankly, they were forced"; - mes "upon me by the Rune-Midgarts"; - mes "Kingdom. It can't be helped..."; - next; - mes "[Alex]"; - mes "Anyway, I have to accept"; - mes "them to help international"; - mes "relations or something silly"; - mes "like that. They say they're here^FFFFFF ^000000 to research religious relics,"; - mes "but I just don't trust them."; - next; - cutin "hu_alex04.bmp",2; - mes "[Alex]"; - mes "In fact, I think it's"; - mes "obvious that they're here"; - mes "for something else, though"; - mes "I'm not sure what it may be."; - mes "And that gray haired lady..."; - mes "She totally creeps me out!"; - close2; - cutin "",255; - end; - - case 2: - mes "[Alex]"; - mes "Yeah, well, I know"; - mes "it might be a tough"; - mes "decision to make. Well,"; - mes "take your time. I understand"; - mes "that you have to weigh the"; - mes "risks and everything."; - close2; - cutin "",255; - end; - - case 3: - mes "[Alex]"; - mes "Great! In that case, your"; - mes "first assignment is to bring"; - mes "me ^3355FF5 Runes of the Darkness^000000"; - mes "from the shrine. Don't worry,"; - mes "I'll make sure that you're"; - mes "rewarded for your efforts."; - set hg_odin,4; - changequest 11000,11001; - next; - mes "[Alex]"; - mes "This is your chance"; - mes "to show me that your"; - mes "dependability and sense"; - mes "of responsibility. Then,"; - mes "we can move on to the"; - mes "more important stuff."; - close2; - cutin "",255; - end; + switch(select("Who are the people in the next room?:Well...:Yes, I do.")) { + case 1: + cutin "hu_alex02.bmp",2; + mes "[Alex]"; + mes "Oh... Them."; + mes "They're officially my"; + mes "co-workers, but quite"; + mes "frankly, they were forced"; + mes "upon me by the Rune-Midgarts"; + mes "Kingdom. It can't be helped..."; + next; + mes "[Alex]"; + mes "Anyway, I have to accept"; + mes "them to help international"; + mes "relations or something silly"; + mes "like that. They say they're here^FFFFFF ^000000 to research religious relics,"; + mes "but I just don't trust them."; + next; + cutin "hu_alex04.bmp",2; + mes "[Alex]"; + mes "In fact, I think it's"; + mes "obvious that they're here"; + mes "for something else, though"; + mes "I'm not sure what it may be."; + mes "And that gray haired lady..."; + mes "She totally creeps me out!"; + close2; + cutin "",255; + end; + case 2: + mes "[Alex]"; + mes "Yeah, well, I know"; + mes "it might be a tough"; + mes "decision to make. Well,"; + mes "take your time. I understand"; + mes "that you have to weigh the"; + mes "risks and everything."; + close2; + cutin "",255; + end; + case 3: + mes "[Alex]"; + mes "Great! In that case, your"; + mes "first assignment is to bring"; + mes "me ^3355FF5 Runes of the Darkness^000000"; + mes "from the shrine. Don't worry,"; + mes "I'll make sure that you're"; + mes "rewarded for your efforts."; + set hg_odin,4; + changequest 11000,11001; + next; + mes "[Alex]"; + mes "This is your chance"; + mes "to show me that your"; + mes "dependability and sense"; + mes "of responsibility. Then,"; + mes "we can move on to the"; + mes "more important stuff."; + close2; + cutin "",255; + end; } - } - else if(hg_odin == 4) - { + } else if (hg_odin == 4) { cutin "hu_alex02.bmp",2; mes "[Alex]"; mes "What are you still"; @@ -8614,35 +7861,31 @@ hu_in01,19,161,0 script Alex 803,{ mes "you be headed to the"; mes "shrine already?"; next; - switch( select( "What was I supposed to gather?","I'm leaving, I'm leaving!" ) ) - { - case 1: - cutin "hu_alex03.bmp",2; - mes "[Alex]"; - mes "You've forgotten"; - mes "already? I asked you"; - mes "to bring me ^3355FF5 Runes"; - mes "of the Darkness^000000. Okay,"; - mes "now hurry up and get to it."; - close2; - cutin "",255; - end; - - case 2: - mes "[Alex]"; - mes "That's fine..."; - mes "Just keep in mind that"; - mes "we're running behind"; - mes "schedule. If only that"; - mes "grey haired crone wasn't"; - mes "here... We'd be done by now!"; - close2; - cutin "",255; - end; + switch(select("What was I supposed to gather?:I'm leaving, I'm leaving!")) { + case 1: + cutin "hu_alex03.bmp",2; + mes "[Alex]"; + mes "You've forgotten"; + mes "already? I asked you"; + mes "to bring me ^3355FF5 Runes"; + mes "of the Darkness^000000. Okay,"; + mes "now hurry up and get to it."; + close2; + cutin "",255; + end; + case 2: + mes "[Alex]"; + mes "That's fine..."; + mes "Just keep in mind that"; + mes "we're running behind"; + mes "schedule. If only that"; + mes "grey haired crone wasn't"; + mes "here... We'd be done by now!"; + close2; + cutin "",255; + end; } - } - else if(hg_odin == 5) - { + } else if (hg_odin == 5) { cutin "hu_alex01.bmp",2; mes "[Alex]"; mes "Well, it's about"; @@ -8650,129 +7893,124 @@ hu_in01,19,161,0 script Alex 803,{ mes "So did you bring me"; mes "^3355FF5 Runes of the Darkness^000000?"; next; - switch( select( "Er, not yet...:There you go!" ) ) - { - case 1: - cutin "hu_alex02.bmp",2; + switch(select("Er, not yet...:There you go!")) { + case 1: + cutin "hu_alex02.bmp",2; + mes "[Alex]"; + mes "Wh-what?!"; + mes "You came here just to"; + mes "tell me that? Come back"; + mes "when you're done and"; + mes "don't waste my time!"; + next; + emotion e_ho,0,"Julian"; + mes "[Julian]"; + mes "Hey, you know what,"; + mes "Alex? You can't push"; + mes "people around like that."; + mes "Besides, this adventurer"; + mes "isn't a pushover, you know?"; + next; + cutin "hu_alex03.bmp",2; + emotion e_an; + mes "[Alex]"; + mes "What was that...?"; + mes "Are you trying to"; + mes "make me mad, Julian?"; + next; + cutin "hu_alex02.bmp",2; + mes "[Julian]"; + mes "All I'm saying is that"; + mes "most adventurers know that"; + mes "you can't pay them what they're"; + mes "worth. That's why so many of"; + mes "them are going in and out"; + mes "of the other room, you know."; + next; + cutin "hu_alex04.bmp",2; + mes "[Alex]"; + mes "That... grey... haired...!"; + mes "N-no... Calm down, Alex..."; + mes "Lose your head, you lose"; + mes "everything... D-don't stoop"; + mes "down to her level."; + next; + cutin "hu_alex01.bmp",2; + mes "[Alex]"; + mes "Alright, I'm not in any"; + mes "position to make demands"; + mes "of you... But I would really"; + mes "appreciate it if you would"; + mes "bring me 5 Runes of the"; + mes "Darkness as soon as possible."; + close2; + cutin "",255; + end; + case 2: + if (countitem(7511) > 4) { + delitem 7511,5; //Rune_Of_Darkness + set hg_odin,6; //Old_Blue_Box + changequest 11000,11002; + getitem 603,1; mes "[Alex]"; - mes "Wh-what?!"; - mes "You came here just to"; - mes "tell me that? Come back"; - mes "when you're done and"; - mes "don't waste my time!"; + mes "Oh! Thank you"; + mes "so much, I'm sure"; + mes "these Runes will help"; + mes "us in our research. I know"; + mes "this isn't much, but please"; + mes "accept this Old Blue Box."; next; - emotion e_ho,0,"Julian"; mes "[Julian]"; - mes "Hey, you know what,"; - mes "Alex? You can't push"; - mes "people around like that."; - mes "Besides, this adventurer"; - mes "isn't a pushover, you know?"; + mes "Wait..."; + mes "Research?"; + mes "Since when did"; + mes "you do research?"; next; cutin "hu_alex03.bmp",2; - emotion e_an; mes "[Alex]"; - mes "What was that...?"; - mes "Are you trying to"; - mes "make me mad, Julian?"; + mes "Gosh, Julian,"; + mes "will you just"; + mes "shut up for a bit?"; next; - cutin "hu_alex02.bmp",2; mes "[Julian]"; - mes "All I'm saying is that"; - mes "most adventurers know that"; - mes "you can't pay them what they're"; - mes "worth. That's why so many of"; - mes "them are going in and out"; - mes "of the other room, you know."; + mes "Why? I'm the one who"; + mes "does all the grunt work"; + mes "and actual research."; + mes "You think you're so"; + mes "big just ''supervising...''"; next; cutin "hu_alex04.bmp",2; mes "[Alex]"; - mes "That... grey... haired...!"; - mes "N-no... Calm down, Alex..."; - mes "Lose your head, you lose"; - mes "everything... D-don't stoop"; - mes "down to her level."; + mes "J-Julian!"; + next; + mes "[Julian]"; + mes "Right, right, we've"; + mes "got a visitor. Yeah,"; + mes "okay, sorry about that."; next; - cutin "hu_alex01.bmp",2; - mes "[Alex]"; - mes "Alright, I'm not in any"; - mes "position to make demands"; - mes "of you... But I would really"; - mes "appreciate it if you would"; - mes "bring me 5 Runes of the"; - mes "Darkness as soon as possible."; - close2; - cutin "",255; - end; - - case 2: - if(countitem(7511) > 4) - { - delitem 7511,5; //Rune_Of_Darkness - set hg_odin,6; //Old_Blue_Box - changequest 11000,11002; - getitem 603,1; - mes "[Alex]"; - mes "Oh! Thank you"; - mes "so much, I'm sure"; - mes "these Runes will help"; - mes "us in our research. I know"; - mes "this isn't much, but please"; - mes "accept this Old Blue Box."; - next; - mes "[Julian]"; - mes "Wait..."; - mes "Research?"; - mes "Since when did"; - mes "you do research?"; - next; - cutin "hu_alex03.bmp",2; - mes "[Alex]"; - mes "Gosh, Julian,"; - mes "will you just"; - mes "shut up for a bit?"; - next; - mes "[Julian]"; - mes "Why? I'm the one who"; - mes "does all the grunt work"; - mes "and actual research."; - mes "You think you're so"; - mes "big just ''supervising...''"; - next; - cutin "hu_alex04.bmp",2; - mes "[Alex]"; - mes "J-Julian!"; - next; - mes "[Julian]"; - mes "Right, right, we've"; - mes "got a visitor. Yeah,"; - mes "okay, sorry about that."; - next; - cutin "hu_alex02.bmp",2; - mes "[Alex]"; - mes "I'm sorry about all"; - mes "this. If you don't mind,"; - mes "we'll continue our research"; - mes "and hopefully finish our"; - mes "project soon. Thanks once"; - mes "again for all of your help."; - close2; - cutin "",255; - end; - } cutin "hu_alex02.bmp",2; mes "[Alex]"; - mes "Hm? Oh, this isn't"; - mes "enough Runes of the"; - mes "Darkness. I asked you"; - mes "to bring me 5 of them..."; + mes "I'm sorry about all"; + mes "this. If you don't mind,"; + mes "we'll continue our research"; + mes "and hopefully finish our"; + mes "project soon. Thanks once"; + mes "again for all of your help."; close2; cutin "",255; end; + } + cutin "hu_alex02.bmp",2; + mes "[Alex]"; + mes "Hm? Oh, this isn't"; + mes "enough Runes of the"; + mes "Darkness. I asked you"; + mes "to bring me 5 of them..."; + close2; + cutin "",255; + end; } - } - else if(hg_odin == 6) - { + } else if (hg_odin == 6) { cutin "hu_alex02.bmp",2; mes "[Alex]"; mes "...Darn it! I think I might"; @@ -8794,9 +8032,7 @@ hu_in01,19,161,0 script Alex 803,{ close2; cutin "",255; end; - } - else if(hg_odin > 11 && hg_odin < 17) - { + } else if (hg_odin > 11 && hg_odin < 17) { cutin "hu_alex03.bmp",2; mes "[Alex]"; mes "Excuse me?"; @@ -8839,9 +8075,7 @@ hu_in01,19,161,0 script Alex 803,{ close2; cutin "",255; end; - } - else - { + } else { cutin "hu_alex02.bmp",2; mes "[Alex]"; mes "Hm? Did you need"; @@ -8857,9 +8091,7 @@ hu_in01,19,161,0 script Alex 803,{ } hu_in01,14,11,4 script Laura 70,{ - - if(!hg_odin) - { + if (!hg_odin) { cutin "hu_laura02.bmp",2; mes "[Laura]"; mes "Hm? What are you doing"; @@ -8869,16 +8101,13 @@ hu_in01,14,11,4 script Laura 70,{ cutin "",255; warp "hu_in01",15,76; end; - } - else if(hg_odin == 1) - { + } else if (hg_odin == 1) { cutin "hu_laura04.bmp",2; mes "[Laura]"; mes "Hm? Oh, you must be"; mes "here in response to our"; mes "recruitment notice, yes?"; - if(BaseLevel < 60) - { + if (BaseLevel < 60) { cutin "hu_laura01.bmp",2; mes "Let me take a look at you..."; mes "Oh, you're all skin and bone!"; @@ -8933,68 +8162,63 @@ hu_in01,14,11,4 script Laura 70,{ mes "when the gods showed"; mes "themselves to humans!"; next; - switch( select( "Nah, forget it.","Yes, I'll do it!" ) ) - { - case 1: + switch(select("Nah, forget it.:Yes, I'll do it!")) { + case 1: + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "W-Wait! Think about"; + mes "the importance of learning"; + mes "about the age of gods! If you"; + mes "don't help us, then who will?"; + mes "We need to work together to"; + mes "build a better future, right?"; + next; + if(select("But you can't pay me.:Alright, I'll do it.") == 1) { + cutin "hu_laura04.bmp",2; + mes "[Laura]"; + mes "You're right."; + mes "It's like I said"; + mes "before. I don't have"; + mes "anything to pay you."; + mes "..............................."; + next; cutin "hu_laura01.bmp",2; mes "[Laura]"; - mes "W-Wait! Think about"; - mes "the importance of learning"; - mes "about the age of gods! If you"; - mes "don't help us, then who will?"; - mes "We need to work together to"; - mes "build a better future, right?"; + mes "Curses! If this project had"; + mes "more funding, we'd have more"; + mes "than a cheesy recruitment ad,"; + mes "and some professional staff"; + mes "like those rich Schwaltzvalt"; + mes "Republic boys in the next room!"; next; - if( select( "But you can't pay me.","Alright, I'll do it." ) == 1 ) - { - cutin "hu_laura04.bmp",2; - mes "[Laura]"; - mes "You're right."; - mes "It's like I said"; - mes "before. I don't have"; - mes "anything to pay you."; - mes "..............................."; - next; - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "Curses! If this project had"; - mes "more funding, we'd have more"; - mes "than a cheesy recruitment ad,"; - mes "and some professional staff"; - mes "like those rich Schwaltzvalt"; - mes "Republic boys in the next room!"; - next; - cutin "hu_laura02.bmp",2; - mes "[Laura]"; - mes "Fine, it's your choice"; - mes "whether you want to work"; - mes "for us. I'm just disappointed"; - mes "that someone like you won't"; - mes "help us. I mean, don't you"; - mes "have any patriotism at all?"; - close2; - cutin "hu_laura02.bmp",255; - end; - } - // Allow fall-through into the next case statment as this is a minor bug in aegis. - //break; - - case 2: + cutin "hu_laura02.bmp",2; mes "[Laura]"; - mes "Perfect! Now, you first"; - mes "you need to go to the shrine"; - mes "and survey the area for your"; - mes "own benefit. Talk to the Boatman,^FFFFFF ^000000 and he'll take you there, okay?"; - mes "Hurry up and come back soon!"; - set hg_odin,12; - setquest 11003; + mes "Fine, it's your choice"; + mes "whether you want to work"; + mes "for us. I'm just disappointed"; + mes "that someone like you won't"; + mes "help us. I mean, don't you"; + mes "have any patriotism at all?"; close2; - cutin "hu_laura04.bmp",255; + cutin "hu_laura02.bmp",255; end; + } + // Allow fall-through into the next case statment as this is a minor bug in aegis. + //break; + case 2: + mes "[Laura]"; + mes "Perfect! Now, you first"; + mes "you need to go to the shrine"; + mes "and survey the area for your"; + mes "own benefit. Talk to the Boatman,^FFFFFF ^000000 and he'll take you there, okay?"; + mes "Hurry up and come back soon!"; + set hg_odin,12; + setquest 11003; + close2; + cutin "hu_laura04.bmp",255; + end; } - } - else if(hg_odin > 1 && hg_odin < 6) - { + } else if (hg_odin > 1 && hg_odin < 6) { mes "["+strcharinfo(0)+"]"; mes "Excuse me, but"; mes "what are you guys"; @@ -9009,61 +8233,56 @@ hu_in01,14,11,4 script Laura 70,{ mes "in the Odin Shrine on behalf"; mes "of the Rune-Midgarts Kingdom."; next; - switch( select( "About Alex and Julian","Alright, now I understand." ) ) - { - case 1: - cutin "hu_laura01.bmp",2; - mes "["+strcharinfo(0)+"]"; - mes "These people in the other"; - mes "room, Alex and Julian, are"; - mes "they also working in this same"; - mes "expedition in the Odin Shrine?"; - next; - cutin "hu_laura02.bmp",2; - mes "[Laura]"; - mes "...Oh. You must be working"; - mes "for those rich Schwaltvalt"; - mes "Republic kids. I can't work"; - mes "with that impudent girl, at"; - mes "all, so we're actually working"; - mes "in separate offices."; - next; - cutin "hu_laura04.bmp",2; - mes "[Laura]"; - mes "Sorry, let me introduce"; - mes "myself. I'm Laura Laurence,"; - mes "the leader of the Odin Shrine"; - mes "expedition for the Rune Midgarts^FFFFFF ^000000 Kingdom. Ashe Milton is my"; - mes "assistant for this excavation."; - next; - emotion e_heh,0,"Ashe"; - mes "[Ashe]"; - mes "Hello!"; - next; - mes "[Laura]"; - mes "If you'd rather do"; - mes "a service for your"; - mes "country and quit working"; - mes "for those wealthy snobs, then"; - mes "come back here and let me know."; - close2; - cutin "hu_laura04.bmp",255; - end; - - case 2: - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "......"; - mes "........."; - mes "............"; - close2; - cutin "hu_laura01.bmp",255; - end; - + switch(select("About Alex and Julian:Alright, now I understand.")) { + case 1: + cutin "hu_laura01.bmp",2; + mes "["+strcharinfo(0)+"]"; + mes "These people in the other"; + mes "room, Alex and Julian, are"; + mes "they also working in this same"; + mes "expedition in the Odin Shrine?"; + next; + cutin "hu_laura02.bmp",2; + mes "[Laura]"; + mes "...Oh. You must be working"; + mes "for those rich Schwaltvalt"; + mes "Republic kids. I can't work"; + mes "with that impudent girl, at"; + mes "all, so we're actually working"; + mes "in separate offices."; + next; + cutin "hu_laura04.bmp",2; + mes "[Laura]"; + mes "Sorry, let me introduce"; + mes "myself. I'm Laura Laurence,"; + mes "the leader of the Odin Shrine"; + mes "expedition for the Rune Midgarts^FFFFFF ^000000 Kingdom. Ashe Milton is my"; + mes "assistant for this excavation."; + next; + emotion e_heh,0,"Ashe"; + mes "[Ashe]"; + mes "Hello!"; + next; + mes "[Laura]"; + mes "If you'd rather do"; + mes "a service for your"; + mes "country and quit working"; + mes "for those wealthy snobs, then"; + mes "come back here and let me know."; + close2; + cutin "hu_laura04.bmp",255; + end; + case 2: + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "......"; + mes "........."; + mes "............"; + close2; + cutin "hu_laura01.bmp",255; + end; } - } - else if(hg_odin == 6) - { + } else if (hg_odin == 6) { cutin "hu_laura04.bmp",2; mes "[Laura]"; mes "Hey, I know you..."; @@ -9107,7 +8326,7 @@ hu_in01,14,11,4 script Laura 70,{ mes "[Laura]"; mes "RIGHT?!"; next; - select("Yeah, yeah, whatever.","Sure thing.","I s-s-s-suppose...!","Yes, Ma'am!"); + select("Yeah, yeah, whatever.:Sure thing.:I s-s-s-suppose...!:Yes, Ma'am!"); set hg_odin,17; cutin "hu_laura04.bmp",2; mes "[Laura]"; @@ -9116,9 +8335,7 @@ hu_in01,14,11,4 script Laura 70,{ close2; cutin "hu_laura04.bmp",255; end; - } - else if(hg_odin == 12) - { + } else if (hg_odin == 12) { cutin "hu_laura02.bmp",2; mes "[Laura]"; mes "Ask the Boatman to take"; @@ -9129,9 +8346,7 @@ hu_in01,14,11,4 script Laura 70,{ close2; cutin "hu_laura02.bmp",255; end; - } - else if(hg_odin == 13) - { + } else if (hg_odin == 13) { cutin "hu_laura04.bmp",2; mes "[Laura]"; mes "Have you been to the"; @@ -9140,35 +8355,33 @@ hu_in01,14,11,4 script Laura 70,{ mes "need to finish our research"; mes "for the good of mankind."; next; - select("Yeah, yeah, whatever.","I see.","You're right, Ma'am."); + select("Yeah, yeah, whatever.:I see.:You're right, Ma'am."); mes "[Laura]"; mes "Well, then."; mes "Did you happen to"; mes "find anything while"; mes "you were there?"; next; - switch( select( "Jellopies.","No." ) ) - { - case 1: - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "You can freakin' find"; - mes "Jellopy anywhere! I meant,"; - mes "did you find anything special"; - mes "while you were at the shrine!"; - next; - break; - - case 2: - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "Well, that's fine."; - mes "I did tell you to just"; - mes "take a look around, so"; - mes "I didn't expect you to"; - mes "bring me anything."; - next; - break; + switch(select("Jellopies.:No.")) { + case 1: + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "You can freakin' find"; + mes "Jellopy anywhere! I meant,"; + mes "did you find anything special"; + mes "while you were at the shrine!"; + next; + break; + case 2: + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "Well, that's fine."; + mes "I did tell you to just"; + mes "take a look around, so"; + mes "I didn't expect you to"; + mes "bring me anything."; + next; + break; } cutin "hu_laura04.bmp",2; mes "[Laura]"; @@ -9178,288 +8391,266 @@ hu_in01,14,11,4 script Laura 70,{ mes "be fair, I can offer you something from my special collection."; mes "How does that sound?"; next; - switch( select( "Who are the guys in the other room?","Well...","Yes!" ) ) - { - case 1: - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "Oh, those are the"; - mes "Schwartzvalt Republic"; - mes "representatives for this"; - mes "Odin Shrine expedition."; - mes "Personally, I think they're"; - mes "just a bunch of rich phonies."; - next; - cutin "hu_laura03.bmp",2; - mes "[Laura]"; - mes "And that Alex girl..."; - mes "She may seem polite,"; - mes "but she's always giving"; - mes "these dirty looks, and"; - mes "greets me with a fake"; - mes "smile. I hate her!"; - next; - emotion e_swt2,0,"Ashe"; - mes "[Ashe]"; - mes "Ms. Laurence...!"; - mes "Stop it, please!"; - mes "It's embarassing to"; - mes "hear you talk about"; - mes "a colleague like that."; - next; - mes "[Laura]"; - mes "C-colleague?! No way!"; - mes "I despise that spoiled brat,"; - mes "and she doesn't deserve the"; - mes "position that her rich daddy"; - mes "probably bought for her! Grrr!"; - mes "Come back later, I'm too mad!"; - close2; - cutin "hu_laura03.bmp",255; - end; - - case 2: - mes "[Laura]"; - mes "If you're having second"; - mes "thoughts, it might not be"; - mes "the best idea to work for me."; - mes "I mean, I believe in following"; - mes "your gut instincts, you know?"; - close2; - cutin "hu_laura04.bmp",255; - end; - - case 3: - set hg_odin,14; - changequest 11003,11004; - mes "[Laura]"; - mes "That's what I've been"; - mes "waiting to hear! Alright,"; - mes "please fetch me ^3355FF5 Runes of"; - mes "the Darkness^000000 from the Odin"; - mes "Shrine. Go now, adventurer~"; - close2; - cutin "hu_laura04.bmp",255; - end; + switch(select("Who are the guys in the other room?:Well...:Yes!")) { + case 1: + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "Oh, those are the"; + mes "Schwartzvalt Republic"; + mes "representatives for this"; + mes "Odin Shrine expedition."; + mes "Personally, I think they're"; + mes "just a bunch of rich phonies."; + next; + cutin "hu_laura03.bmp",2; + mes "[Laura]"; + mes "And that Alex girl..."; + mes "She may seem polite,"; + mes "but she's always giving"; + mes "these dirty looks, and"; + mes "greets me with a fake"; + mes "smile. I hate her!"; + next; + emotion e_swt2,0,"Ashe"; + mes "[Ashe]"; + mes "Ms. Laurence...!"; + mes "Stop it, please!"; + mes "It's embarassing to"; + mes "hear you talk about"; + mes "a colleague like that."; + next; + mes "[Laura]"; + mes "C-colleague?! No way!"; + mes "I despise that spoiled brat,"; + mes "and she doesn't deserve the"; + mes "position that her rich daddy"; + mes "probably bought for her! Grrr!"; + mes "Come back later, I'm too mad!"; + close2; + cutin "hu_laura03.bmp",255; + end; + case 2: + mes "[Laura]"; + mes "If you're having second"; + mes "thoughts, it might not be"; + mes "the best idea to work for me."; + mes "I mean, I believe in following"; + mes "your gut instincts, you know?"; + close2; + cutin "hu_laura04.bmp",255; + end; + case 3: + set hg_odin,14; + changequest 11003,11004; + mes "[Laura]"; + mes "That's what I've been"; + mes "waiting to hear! Alright,"; + mes "please fetch me ^3355FF5 Runes of"; + mes "the Darkness^000000 from the Odin"; + mes "Shrine. Go now, adventurer~"; + close2; + cutin "hu_laura04.bmp",255; + end; } - } - else if(hg_odin == 14) - { + } else if (hg_odin == 14) { cutin "hu_laura02.bmp",2; mes "[Laura]"; mes "Hm? You've got a job"; mes "to do, don't you? What"; mes "are you still doing here?"; next; - switch( select( "What was I supposed to gather?","Don't worry, I'm leaving." ) ) - { - case 1: - mes "[Laura]"; - mes "You're supposed"; - mes "to bring me ^3355FF5 Runes"; - mes "of the Darkness^000000. Now,"; - mes "don't forget this time!"; - close2; - cutin "hu_laura02.bmp",255; - end; - - case 2: - mes "[Laura]"; - mes "Well, try to hurry up"; - mes "if you can. I'm already"; - mes "behind schedule because"; - mes "we have to work with those"; - mes "snobby rich kids in the"; - mes "other office. ^333333*Sigh...*^000000"; - close2; - cutin "hu_laura02.bmp",255; - end; + switch(select("What was I supposed to gather?:Don't worry, I'm leaving.")) { + case 1: + mes "[Laura]"; + mes "You're supposed"; + mes "to bring me ^3355FF5 Runes"; + mes "of the Darkness^000000. Now,"; + mes "don't forget this time!"; + close2; + cutin "hu_laura02.bmp",255; + end; + case 2: + mes "[Laura]"; + mes "Well, try to hurry up"; + mes "if you can. I'm already"; + mes "behind schedule because"; + mes "we have to work with those"; + mes "snobby rich kids in the"; + mes "other office. ^333333*Sigh...*^000000"; + close2; + cutin "hu_laura02.bmp",255; + end; } - } - else if(hg_odin == 15) - { + } else if (hg_odin == 15) { cutin "hu_laura04.bmp",2; mes "[Laura]"; mes "Oh, you've come back."; mes "So where are the Runes"; mes "of the Darkness you brought?"; next; - switch( select( "Er, I don't have them yet...","Right here!" ) ) - { - case 1: + switch(select("Er, I don't have them yet...:Right here!")) { + case 1: + cutin "hu_laura03.bmp",2; + mes "[Laura]"; + mes "This isn't really one"; + mes "of those jobs where you"; + mes "can take your time. Sure,^FFFFFF ^000000 I didn't give you a deadline, but"; + mes "we can't make progress on our^FFFFFF ^000000 research until you make progress."; + close2; + cutin "hu_laura03.bmp",255; + end; + case 2: + if (countitem(7511) > 4) { + delitem 7511,5; //Rune_Of_Darkness + set hg_odin,16; + changequest 11004,11005; + getitem 603,1; //Old_Blue_Box + mes "[Laura]"; + mes "Oooh, nice job. It's good"; + mes "that we have more of these"; + mes "to study. Though, it seems"; + mes "that the more we research,"; + mes "the quicker it seems that"; + mes "we're not getting anywhere..."; + next; + mes "[Laura]"; + mes "Hey..."; + mes "Ashe. Why aren't we"; + mes "making any progress?"; + mes "What exactly have you"; + mes "been doing? None of those"; + mes "runes have any writing?"; + next; + mes "[Ashe]"; + mes "Well, I think there's"; + mes "supposed to be writing,"; + mes "but these runes are pretty"; + mes "old. I've got to polish this"; + mes "gunk off without damaging"; + mes "any writing that's there..."; + next; + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "By the way, what have the other guys been doing?"; + mes "What, they don't do anything but wasting their time?"; + mes "Ah~ I see. They are thinking that this is the perfect excuse"; + mes "for them to relax and rest."; + mes "Well, somehow they are the citizens of this country, you know."; + next; + cutin "hu_laura02.bmp",2; + mes "[Laura]"; + mes "What do you think those"; + mes "Schwaltzvalt snobs are doing?"; + mes "They must think this project"; + mes "is an excuse for them to relax"; + mes "and slack off! They can afford^FFFFFF ^000000 to, obviously. Hmpf! Rich people!"; + next; cutin "hu_laura03.bmp",2; mes "[Laura]"; - mes "This isn't really one"; - mes "of those jobs where you"; - mes "can take your time. Sure,^FFFFFF ^000000 I didn't give you a deadline, but"; - mes "we can't make progress on our^FFFFFF ^000000 research until you make progress."; + mes "They've got things so easy,"; + mes "while we're barely covering"; + mes "our research expenses!"; + mes "In fact, we've had to cut"; + mes "so many corners, skip"; + mes "meals and amenities..."; + next; + mes "[Ashe]"; + mes "I know! How can we"; + mes "carry on professional"; + mes "research in a shack?"; + mes "We're literally living at"; + mes "poverty standards here..."; + mes "Are we still researchers?"; + next; + cutin "hu_laura02.bmp",2; + mes "[Laura]"; + mes "I know that!"; + mes "I know that already!"; + mes "S-stop bringing it up!"; + next; + cutin "hu_laura01.bmp",2; + mes "[Laura]"; + mes "This is pathetic."; + mes "I can't even afford the"; + mes "energy to continue this"; + mes "conversation. You too,"; + mes "why don't you take a rest?"; + close2; + cutin "hu_laura01.bmp",255; + end; + } else if (!countitem(7511)) { + cutin "hu_laura02.bmp",2; + mes "[Laura]"; + mes ".................."; + mes "What is this?!"; + mes "You're supposed to"; + mes "bring me 5 of them!"; + next; + cutin "hu_laura03.bmp",2; + mes "[Laura]"; + mes "Is this your way of"; + mes "saying that you don't"; + mes "want to work for us?"; + mes "Why don't you say it"; + mes "to my face, eh?"; + next; + mes "[Ashe]"; + mes "Ms. Laurence, please,"; + mes "calm down! We're in no"; + mes "position to yell at anyone,"; + mes "especially volunteers! You"; + mes "of all people should know"; + mes "that they're doing us a favor!"; + next; + cutin "hu_laura02.bmp",2; + mes "[Laura]"; + mes "Okay, Ashe, I get it!"; + mes "And as for you, I'll give"; + mes "you another chance. Next"; + mes "time you see me, bring"; + mes "5 Runes of the Darkness!"; + close2; + cutin "hu_laura02.bmp",255; + end; + } else if (countitem(7511) == 1) { + cutin "hu_laura03.bmp",2; + mes "[Laura]"; + mes "...Only one?"; + mes "Look at me. I asked"; + mes "you for five. I know that"; + mes "one is better than nothing..."; + mes "But it's pretty darn close. Go"; + mes "get me 4 more this instant!"; close2; cutin "hu_laura03.bmp",255; end; - - case 2: - if (countitem(7511) > 4) - { - delitem 7511,5; //Rune_Of_Darkness - set hg_odin,16; - changequest 11004,11005; - getitem 603,1; //Old_Blue_Box - mes "[Laura]"; - mes "Oooh, nice job. It's good"; - mes "that we have more of these"; - mes "to study. Though, it seems"; - mes "that the more we research,"; - mes "the quicker it seems that"; - mes "we're not getting anywhere..."; - next; - mes "[Laura]"; - mes "Hey..."; - mes "Ashe. Why aren't we"; - mes "making any progress?"; - mes "What exactly have you"; - mes "been doing? None of those"; - mes "runes have any writing?"; - next; - mes "[Ashe]"; - mes "Well, I think there's"; - mes "supposed to be writing,"; - mes "but these runes are pretty"; - mes "old. I've got to polish this"; - mes "gunk off without damaging"; - mes "any writing that's there..."; - next; - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "By the way, what have the other guys been doing?"; - mes "What, they don't do anything but wasting their time?"; - mes "Ah~ I see. They are thinking that this is the perfect excuse"; - mes "for them to relax and rest."; - mes "Well, somehow they are the citizens of this country, you know."; - next; - cutin "hu_laura02.bmp",2; - mes "[Laura]"; - mes "What do you think those"; - mes "Schwaltzvalt snobs are doing?"; - mes "They must think this project"; - mes "is an excuse for them to relax"; - mes "and slack off! They can afford^FFFFFF ^000000 to, obviously. Hmpf! Rich people!"; - next; - cutin "hu_laura03.bmp",2; - mes "[Laura]"; - mes "They've got things so easy,"; - mes "while we're barely covering"; - mes "our research expenses!"; - mes "In fact, we've had to cut"; - mes "so many corners, skip"; - mes "meals and amenities..."; - next; - mes "[Ashe]"; - mes "I know! How can we"; - mes "carry on professional"; - mes "research in a shack?"; - mes "We're literally living at"; - mes "poverty standards here..."; - mes "Are we still researchers?"; - next; - cutin "hu_laura02.bmp",2; - mes "[Laura]"; - mes "I know that!"; - mes "I know that already!"; - mes "S-stop bringing it up!"; - next; - cutin "hu_laura01.bmp",2; - mes "[Laura]"; - mes "This is pathetic."; - mes "I can't even afford the"; - mes "energy to continue this"; - mes "conversation. You too,"; - mes "why don't you take a rest?"; - close2; - cutin "hu_laura01.bmp",255; - end; - } - else if(!countitem(7511)) - { - cutin "hu_laura02.bmp",2; - mes "[Laura]"; - mes ".................."; - mes "What is this?!"; - mes "You're supposed to"; - mes "bring me 5 of them!"; - next; - cutin "hu_laura03.bmp",2; - mes "[Laura]"; - mes "Is this your way of"; - mes "saying that you don't"; - mes "want to work for us?"; - mes "Why don't you say it"; - mes "to my face, eh?"; - next; - mes "[Ashe]"; - mes "Ms. Laurence, please,"; - mes "calm down! We're in no"; - mes "position to yell at anyone,"; - mes "especially volunteers! You"; - mes "of all people should know"; - mes "that they're doing us a favor!"; - next; - cutin "hu_laura02.bmp",2; - mes "[Laura]"; - mes "Okay, Ashe, I get it!"; - mes "And as for you, I'll give"; - mes "you another chance. Next"; - mes "time you see me, bring"; - mes "5 Runes of the Darkness!"; - close2; - cutin "hu_laura02.bmp",255; - end; - } - else if(countitem(7511) == 1) - { - cutin "hu_laura03.bmp",2; - mes "[Laura]"; - mes "...Only one?"; - mes "Look at me. I asked"; - mes "you for five. I know that"; - mes "one is better than nothing..."; - mes "But it's pretty darn close. Go"; - mes "get me 4 more this instant!"; - close2; - cutin "hu_laura03.bmp",255; - end; - } - else if(countitem(7511) == 2) - { - cutin "hu_laura03.bmp",2; - mes "[Laura]"; - mes "One, two..."; - mes "Huh? Th-that's all?!"; - mes "When I ask for 5 Runes"; - mes "of the Darkness, I mean"; - mes "5, not 2. Now hurry up"; - mes "and just do what I asked!"; - close2; - cutin "hu_laura03.bmp",255; - end; - } - else - { - mes "[Laura]"; - mes "One, two, three..."; - mes "That's it? Don't you"; - mes "know how to count to 5?"; - mes "Go and get me more of those"; - mes "Runes of the Darkness now!"; - next; - cutin "hu_laura03.bmp",2; - close2; - cutin "hu_laura03.bmp",255; - end; - } + } else if (countitem(7511) == 2) { + cutin "hu_laura03.bmp",2; + mes "[Laura]"; + mes "One, two..."; + mes "Huh? Th-that's all?!"; + mes "When I ask for 5 Runes"; + mes "of the Darkness, I mean"; + mes "5, not 2. Now hurry up"; + mes "and just do what I asked!"; + close2; + cutin "hu_laura03.bmp",255; + end; + } else { + mes "[Laura]"; + mes "One, two, three..."; + mes "That's it? Don't you"; + mes "know how to count to 5?"; + mes "Go and get me more of those"; + mes "Runes of the Darkness now!"; + next; + cutin "hu_laura03.bmp",2; + close2; + cutin "hu_laura03.bmp",255; + end; + } } - } - else if(hg_odin == 16) - { + } else if (hg_odin == 16) { cutin "hu_laura02.bmp",2; mes "[Laura]"; mes "I wonder how much progress"; @@ -9480,7 +8671,7 @@ hu_in01,14,11,4 script Laura 70,{ mes "[Laura]"; mes "...Hey, you."; next; - if( select( "...","...Me?" ) == 1) + if ( select( "...:...Me?" ) == 1) { mes "[Laura]"; mes "Hey, hey!"; @@ -9515,7 +8706,7 @@ hu_in01,14,11,4 script Laura 70,{ mes "[Laura]"; mes "RIGHT?!"; next; - select("Yeah, yeah, whatever.","Sure thing.","I s-s-s-suppose...!","Yes, Ma'am!"); + select("Yeah, yeah, whatever.:Sure thing.:I s-s-s-suppose...!:Yes, Ma'am!"); set hg_odin,17; for(set .@i,11002; .@i<=11005; set .@i,.@i+1) { if (checkquest(.@i) > -1 && checkquest(.@i) < 2) @@ -9529,9 +8720,7 @@ hu_in01,14,11,4 script Laura 70,{ close2; cutin "hu_laura04.bmp",255; end; - } - else if(hg_odin == 17) - { + } else if (hg_odin == 17) { cutin "hu_laura02.bmp",2; mes "[Laura]"; mes "What are you standing"; @@ -9542,9 +8731,7 @@ hu_in01,14,11,4 script Laura 70,{ close2; cutin "hu_laura02.bmp",255; end; - } - else if(hg_odin == 18 || hg_odin == 19) - { + } else if (hg_odin == 18 || hg_odin == 19) { cutin "hu_laura01.bmp",2; mes "[Laura]"; mes "Frankly, I know I'm paying"; @@ -9553,8 +8740,7 @@ hu_in01,14,11,4 script Laura 70,{ mes "learned about the Schwaltzvalt"; mes "Republic Research Team."; next; - switch( select( "Giantes","Ymir's Heart","Nothing" ) ) - { + switch(select("Giantes:Ymir's Heart:Nothing")) { case 1: cutin "hu_laura04.bmp",2; mes "["+strcharinfo(0)+"]"; @@ -9588,7 +8774,7 @@ hu_in01,14,11,4 script Laura 70,{ mes "this? What exactly"; mes "is Ymir's Heart?"; next; - switch( select( "It's candy.","It's a book.","It's a place.","Ymir was a giant..." ) ) + switch(select("It's candy.:It's a book.:It's a place.:Ymir was a giant...")) { case 1: mes "["+strcharinfo(0)+"]"; @@ -9669,9 +8855,7 @@ hu_in01,14,11,4 script Laura 70,{ cutin "hu_laura01.bmp",255; end; } - } - else if(hg_odin == 20) - { + } else if (hg_odin == 20) { cutin "hu_laura01.bmp",2; mes "[Laura]"; mes "I wonder..."; @@ -9685,15 +8869,11 @@ hu_in01,14,11,4 script Laura 70,{ } hu_in01,18,167,4 script Julian 86,{ - - if(!hg_odin) - { + if (!hg_odin) { mes "[Julian]"; mes "^333333*Sigh...*^000000"; close; - } - else if(hg_odin == 1) - { + } else if (hg_odin == 1) { mes "[Julian]"; mes "Say, are you here"; mes "for a job? We're looking"; @@ -9717,9 +8897,7 @@ hu_in01,18,167,4 script Julian 86,{ mes "to find any relics from the Odin ^FFFFFF ^000000 Shrine. We'd appreciate it if you"; mes "brought as many as you can!"; close; - } - else if(hg_odin == 2) - { + } else if (hg_odin == 2) { mes "[Julian]"; mes "You sure you want"; mes "to work for someone"; @@ -9734,18 +8912,14 @@ hu_in01,18,167,4 script Julian 86,{ mes "[Julian]"; mes "See what I mean?"; close; - } - else if(hg_odin == 3) - { + } else if (hg_odin == 3) { mes "[Julian]"; mes "Wow, you must really"; mes "like this kind of work,"; mes "huh? I didn't really expect"; mes "that you'd go to the shrine..."; close; - } - else if(hg_odin == 4) - { + } else if (hg_odin == 4) { mes "[Julian]"; mes "I'm amazed to see you"; mes "working so hard. You must"; @@ -9753,9 +8927,7 @@ hu_in01,18,167,4 script Julian 86,{ mes "I guess, but try not to be too"; mes "kind. Wouldn't want that..."; close; - } - else if(hg_odin == 5) - { + } else if (hg_odin == 5) { mes "[Julian]"; mes "Geez..."; mes "You're a really nice"; @@ -9763,9 +8935,7 @@ hu_in01,18,167,4 script Julian 86,{ mes "Just try not to be taken"; mes "for a sucker, okay?"; close; - } - else - { + } else { mes "[Julian]"; mes "Why are both of our"; mes "team leaders so bull"; @@ -9778,10 +8948,8 @@ hu_in01,18,167,4 script Julian 86,{ } hu_in01,16,21,0 script Ashe#5 139,2,2,{ - OnTouch: - if (hg_odin == 18) - { + if (hg_odin == 18) { mes "[Ashe]"; mes "......?"; next; @@ -9794,9 +8962,7 @@ OnTouch: } hu_in01,16,20,4 script Ashe 95,{ - - switch(hg_odin) - { + switch(hg_odin) { case 0: mes "[Ashe]"; mes "Hello, may I help you?"; @@ -9894,7 +9060,7 @@ hu_in01,16,20,4 script Ashe 95,{ close; case 15: - if(countitem(7511) > 4) + if (countitem(7511) > 4) { mes "[Ashe]"; mes "Well, it looks like"; @@ -9945,10 +9111,8 @@ hu_in01,16,20,4 script Ashe 95,{ } hu_in01,174,90,0 script Entrance 139,2,2,{ - OnTouch: - if(hg_odin == 22 || hg_odin == 23) - { + if (hg_odin == 22 || hg_odin == 23) { mes "[Laura]"; mes "So it means that everyone fooled me!"; next; @@ -9958,9 +9122,7 @@ OnTouch: } hu_in01,159,84,3 script Laura#2 70,{ - - if(hg_odin == 22 || hg_odin == 23) - { + if (hg_odin == 22 || hg_odin == 23) { cutin "hu_laura03.bmp",2; emotion e_an,0,"Laura#2"; mes "[Laura]"; @@ -10109,9 +9271,7 @@ hu_in01,159,84,3 script Laura#2 70,{ close2; cutin "hu_alex04.bmp",255; end; - } - else if(hg_odin > 23) - { + } else if (hg_odin > 23) { cutin "hu_laura03.bmp",2; emotion e_an,0,"Laura#2"; mes "[Laura]"; @@ -10132,17 +9292,13 @@ hu_in01,159,84,3 script Laura#2 70,{ hu_in01,158,84,5 duplicate(Laura#2) Alex#2 803,0,0 hu_in01,162,85,4 script Ashe#2 95,{ - - if(hg_odin == 22 || hg_odin == 23) - { + if (hg_odin == 22 || hg_odin == 23) { mes "[Ashe]"; mes "This..."; mes "This doesn't"; mes "look good at all!"; close; - } - else if(hg_odin == 25) - { + } else if (hg_odin == 25) { mes "^3355FFAshe picked up"; mes "the file that Laura"; mes "tossed away.^000000"; @@ -10170,9 +9326,7 @@ hu_in01,162,85,4 script Ashe#2 95,{ mes "explain everything once you"; mes "find him. Please hurry!"; close; - } - else if(hg_odin == 59) - { + } else if (hg_odin == 59) { mes "[Ashe]"; mes "Don't worry, my comrade"; mes "at Morroc's South Gate will"; @@ -10184,10 +9338,8 @@ hu_in01,162,85,4 script Ashe#2 95,{ } hu_in01,171,90,0 script Ashe#3 139,2,2,{ - OnTouch: - if(hg_odin == 25) - { + if (hg_odin == 25) { mes "^3355FFAshe picked up"; mes "the file that Laura"; mes "tossed away.^000000"; @@ -10218,9 +9370,7 @@ OnTouch: } hu_in01,155,82,4 script Julian#2 86,{ - - if (hg_odin == 22 || hg_odin == 23) - { + if (hg_odin == 22 || hg_odin == 23) { mes "[Julian]"; mes "I..."; mes "I don't know"; @@ -10241,10 +9391,8 @@ moc_fild12,160,372,0 script Hit 139,{ } moc_fild12,160,365,0 script Ashe#4 139,4,4,{ - OnTouch: - if(hg_odin == 59) - { + if (hg_odin == 59) { mes "[???]"; mes "...Silence."; next; @@ -10278,8 +9426,7 @@ OnTouch: mes "I leave, have you got any"; mes "questions? Otherwise, I'll go."; next; - switch( select( "Who's Ashe?","What happened to Laura?" ) ) - { + switch(select("Who's Ashe?:What happened to Laura?")) { case 1: mes "[???]"; mes "You'll never see her"; @@ -10342,7 +9489,6 @@ OnTouch: } hugel,209,109,2 script Boatman#hugel 709,{ - mes "[Boatman]"; mes "Ah, hello~"; mes "Would you like to sail"; @@ -10350,8 +9496,7 @@ hugel,209,109,2 script Boatman#hugel 709,{ mes "fare for 1 passenger is"; mes "800 zeny. Shall we board?"; next; - switch( select( "No, thanks.","Sure!" ) ) - { + switch(select("No, thanks.:Sure!")) { case 1: mes "[Boatman]"; mes "Ah, alright."; @@ -10380,24 +9525,22 @@ hugel,209,109,2 script Boatman#hugel 709,{ close2; set Zeny,Zeny -800; if (hg_odin == 2) set hg_odin,3; - else if(hg_odin == 4) set hg_odin,5; - else if(hg_odin == 12) set hg_odin,13; - else if(hg_odin == 14) set hg_odin,15; + else if (hg_odin == 4) set hg_odin,5; + else if (hg_odin == 12) set hg_odin,13; + else if (hg_odin == 14) set hg_odin,15; warp "odin_tem01",100,146; end; } } odin_tem01,93,146,4 script Boatman 709,{ - mes "[Boatman]"; mes "Ah, would you"; mes "like to sail back to"; mes "Hugel now, or did you"; mes "want to explore a bit more?"; next; - switch( select( "I still need to look around...","Yes, take me back to Hugel." ) ) - { + switch(select("I still need to look around...:Yes, take me back to Hugel.")) { case 1: mes "[Boatman]"; mes "Well, alright."; @@ -10419,35 +9562,32 @@ odin_tem01,93,146,4 script Boatman 709,{ } odin_tem03,4,2,0 script OdinInit -1,{ - OnInit: initnpctimer; end; OnTimer100000: stopnpctimer; - switch(rand(1,5)) - { - case 1: - donpcevent "warpinside#1::OnEnter"; - end; - case 2: - donpcevent "warpinside#2::OnEnter"; - end; - case 3: - donpcevent "warpinside#3::OnEnter"; - end; - case 4: - donpcevent "warpinside#4::OnEnter"; - end; - case 5: - donpcevent "warpinside#5::OnEnter"; - end; + switch(rand(1,5)) { + case 1: + donpcevent "warpinside#1::OnEnter"; + end; + case 2: + donpcevent "warpinside#2::OnEnter"; + end; + case 3: + donpcevent "warpinside#3::OnEnter"; + end; + case 4: + donpcevent "warpinside#4::OnEnter"; + end; + case 5: + donpcevent "warpinside#5::OnEnter"; + end; } } odin_tem03,266,302,0 script warpinside#1 139,3,3,{ - OnInit: disablenpc "warpinside#1"; end; @@ -10457,25 +9597,20 @@ OnEnter: end; OnTouch: - if(hg_odin > 19 && hg_odin < 23) - { - switch(rand(1,4)) - { - case 1: - donpcevent "warpinside#2::OnEnter"; - break; - - case 2: - donpcevent "warpinside#3::OnEnter"; - break; - - case 3: - donpcevent "warpinside#4::OnEnter"; - break; - - case 4: - donpcevent "warpinside#5::OnEnter"; - break; + if (hg_odin > 19 && hg_odin < 23) { + switch(rand(1,4)) { + case 1: + donpcevent "warpinside#2::OnEnter"; + break; + case 2: + donpcevent "warpinside#3::OnEnter"; + break; + case 3: + donpcevent "warpinside#4::OnEnter"; + break; + case 4: + donpcevent "warpinside#5::OnEnter"; + break; } disablenpc "warpinside#1"; set hg_odin,21; @@ -10485,7 +9620,6 @@ OnTouch: } odin_tem03,288,271,0 script warpinside#2 139,3,3,{ - OnInit: disablenpc "warpinside#2"; end; @@ -10495,25 +9629,20 @@ OnEnter: end; OnTouch: - if(hg_odin > 19 && hg_odin < 23) - { - switch(rand(1,4)) - { - case 1: - donpcevent "warpinside#1::OnEnter"; - break; - - case 2: - donpcevent "warpinside#3::OnEnter"; - break; - - case 3: - donpcevent "warpinside#4::OnEnter"; - break; - - case 4: - donpcevent "warpinside#5::OnEnter"; - break; + if (hg_odin > 19 && hg_odin < 23) { + switch(rand(1,4)) { + case 1: + donpcevent "warpinside#1::OnEnter"; + break; + case 2: + donpcevent "warpinside#3::OnEnter"; + break; + case 3: + donpcevent "warpinside#4::OnEnter"; + break; + case 4: + donpcevent "warpinside#5::OnEnter"; + break; } disablenpc "warpinside#2"; set hg_odin,21; @@ -10523,7 +9652,6 @@ OnTouch: } odin_tem03,283,241,0 script warpinside#3 139,3,3,{ - OnInit: disablenpc "warpinside#3"; end; @@ -10533,25 +9661,20 @@ OnEnter: end; OnTouch: - if(hg_odin > 19 && hg_odin < 23) - { - switch(rand(1,4)) - { - case 1: - donpcevent "warpinside#1::OnEnter"; - break; - - case 2: - donpcevent "warpinside#2::OnEnter"; - break; - - case 3: - donpcevent "warpinside#4::OnEnter"; - break; - - case 4: - donpcevent "warpinside#5::OnEnter"; - break; + if (hg_odin > 19 && hg_odin < 23) { + switch(rand(1,4)) { + case 1: + donpcevent "warpinside#1::OnEnter"; + break; + case 2: + donpcevent "warpinside#2::OnEnter"; + break; + case 3: + donpcevent "warpinside#4::OnEnter"; + break; + case 4: + donpcevent "warpinside#5::OnEnter"; + break; } disablenpc "warpinside#3"; set hg_odin,21; @@ -10561,7 +9684,6 @@ OnTouch: } odin_tem03,179,275,0 script warpinside#4 139,3,3,{ - OnInit: disablenpc "warpinside#4"; end; @@ -10571,25 +9693,20 @@ OnEnter: end; OnTouch: - if(hg_odin > 19 && hg_odin < 23) - { - switch(rand(1,4)) - { - case 1: - donpcevent "warpinside#1::OnEnter"; - break; - - case 2: - donpcevent "warpinside#2::OnEnter"; - break; - - case 3: - donpcevent "warpinside#3::OnEnter"; - break; - - case 4: - donpcevent "warpinside#5::OnEnter"; - break; + if (hg_odin > 19 && hg_odin < 23) { + switch(rand(1,4)) { + case 1: + donpcevent "warpinside#1::OnEnter"; + break; + case 2: + donpcevent "warpinside#2::OnEnter"; + break; + case 3: + donpcevent "warpinside#3::OnEnter"; + break; + case 4: + donpcevent "warpinside#5::OnEnter"; + break; } disablenpc "warpinside#4"; set hg_odin,21; @@ -10599,7 +9716,6 @@ OnTouch: } odin_tem03,320,264,0 script warpinside#5 139,3,3,{ - OnInit: disablenpc "warpinside#5"; end; @@ -10609,25 +9725,20 @@ OnEnter: end; OnTouch: - if(hg_odin > 19 && hg_odin < 23) - { - switch(rand(1,4)) - { - case 1: - donpcevent "warpinside#1::OnEnter"; - break; - - case 2: - donpcevent "warpinside#2::OnEnter"; - break; - - case 3: - donpcevent "warpinside#3::OnEnter"; - break; - - case 4: - donpcevent "warpinside#4::OnEnter"; - break; + if (hg_odin > 19 && hg_odin < 23) { + switch(rand(1,4)) { + case 1: + donpcevent "warpinside#1::OnEnter"; + break; + case 2: + donpcevent "warpinside#2::OnEnter"; + break; + case 3: + donpcevent "warpinside#3::OnEnter"; + break; + case 4: + donpcevent "warpinside#4::OnEnter"; + break; } disablenpc "warpinside#5"; set hg_odin,21; @@ -10637,7 +9748,6 @@ OnTouch: } hu_in01,99,90,0 script Empty 139,3,3,{ - OnTouch: mes "^3355FFThis place is empty."; mes "Everyone must"; @@ -10646,10 +9756,8 @@ OnTouch: } que_hugel,35,29,5 script object#1 139,2,2,{ - OnTouch: - if(hg_odin == 21) - { + if (hg_odin == 21) { mes "^3355FFA weathered structure"; mes "of the Odin Shrine is"; mes "half buried beneath the"; @@ -10660,62 +9768,58 @@ OnTouch: mes "......"; mes "........."; next; - switch( select( "Pass","Explore" ) ) - { - case 1: - mes "^3355FFYou decided to pass"; - mes "by the shrine's remnants.^000000"; - close; - - case 2: - if (rand(1,3) == 1) - { - mes "^3355FFYou catch a bright"; - mes "shimmer among the"; - mes "remnants of the shrine.^000000"; + switch(select("Pass:Explore")) { + case 1: + mes "^3355FFYou decided to pass"; + mes "by the shrine's remnants.^000000"; + close; + case 2: + if (rand(1,3) == 1) { + mes "^3355FFYou catch a bright"; + mes "shimmer among the"; + mes "remnants of the shrine.^000000"; + next; + switch(select("Ignore:Pick it up")) { + case 1: + mes "^3355FFYou decide to continue"; + mes "searching through the"; + mes "shrine's ruins.^000000"; + close; + case 2: + mes "^3355FFYou find a shining stone"; + mes "within the ruins, and carefully"; + mes "put it into your bag.^000000"; next; - switch( select( "Ignore","Pick it up" ) ) - { - case 1: - mes "^3355FFYou decide to continue"; - mes "searching through the"; - mes "shrine's ruins.^000000"; - close; - - case 2: - mes "^3355FFYou find a shining stone"; - mes "within the ruins, and carefully"; - mes "put it into your bag.^000000"; - next; - mes "^FF0000Thud!^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "What...?"; - mes "What was"; - mes "that noise?!"; - next; - specialeffect EF_LORD; - specialeffect EF_LORD; - specialeffect EF_LORD; - mes "["+strcharinfo(0)+"]"; - mes "Wa...waaaahhhh!"; - close2; - set hg_odin,22; - warp "que_hugel",163,31; - end; - } + mes "^FF0000Thud!^000000"; + next; + mes "["+strcharinfo(0)+"]"; + mes "What...?"; + mes "What was"; + mes "that noise?!"; + next; + specialeffect EF_LORD; + specialeffect EF_LORD; + specialeffect EF_LORD; + mes "["+strcharinfo(0)+"]"; + mes "Wa...waaaahhhh!"; + close2; + set hg_odin,22; + warp "que_hugel",163,31; + end; } - mes "^3355FFUnfortunately, you"; - mes "were unable to find"; - mes "anything in the ruins.^000000"; - close; + } + mes "^3355FFUnfortunately, you"; + mes "were unable to find"; + mes "anything in the ruins.^000000"; + close; } + } else if (hg_odin == 22) { + warp "que_hugel",163,31; + end; } - else if(hg_odin == 22) { warp "que_hugel",163,31; end; } } que_hugel,163,31,0 script object#2 139,3,3,{ - OnTouch: mes "^3355FFWhen you come back"; mes "to your senses, you"; @@ -10725,10 +9829,8 @@ OnTouch: } que_hugel,163,178,0 script object#3 139,3,3,{ - OnTouch: - if(hg_odin == 22) - { + if (hg_odin == 22) { mes "["+strcharinfo(0)+"]"; mes "Huh?"; mes "What's happening?"; @@ -10743,10 +9845,8 @@ OnTouch: } hu_in01,15,108,0 script alex#warp 45,1,1,{ - OnTouch: - if(hg_odin == 17) - { + if (hg_odin == 17) { mes "[Alex]"; mes "Haven't you found it yet?"; mes "You said that it'd be here!"; @@ -10824,38 +9924,31 @@ OnTouch: mes "We'll continue this"; mes "conversation later."; close; - } - else if(hg_odin == 18) - { + } else if (hg_odin == 18) { mes "......"; mes "........."; close; - } - else - { + } else { warp "hu_in01",15,155; end; } } hugel,52,90,0 script alex#warp2 45,1,1,{ - OnTouch: - if(hg_odin > 59) warp "hu_in01",102,90; - else if(hg_odin > 21 && hg_odin < 60) warp "hu_in01",173,90; + if (hg_odin > 59) warp "hu_in01",102,90; + else if (hg_odin > 21 && hg_odin < 60) warp "hu_in01",173,90; else warp "hu_in01",33,90; end; } hu_in01,155,70,0 script alex#warp3 45,1,1,{ - OnTouch: mes "^3355FFThe door is locked.^000000"; close; } hu_in01,155,108,0 script alex#warp4 45,1,1,{ - OnTouch: mes "^3355FFThe door is locked.^000000"; close; diff --git a/npc/quests/quests_izlude.txt b/npc/quests/quests_izlude.txt index 603fe8ae8e..f97ac95b99 100644 --- a/npc/quests/quests_izlude.txt +++ b/npc/quests/quests_izlude.txt @@ -16,7 +16,7 @@ //= 1.1 Updated to 10.3 standard. [L0ne_W0lf] //============================================================ -// Edgar's Offer +// Edgar's Offer :: iz_npc //============================================================ - script ::Edgar_izlude -1,{ if (MISC_QUEST & 16) { @@ -34,7 +34,7 @@ mes "get some more cash?"; close ; } - set zeny,zeny-250; + set Zeny, Zeny-250; warp "alberta",195,164; end; } @@ -43,7 +43,7 @@ close; } mes "[Edgar]"; - mes "My town, Izlude, is connected to Alberta by the harbor in the West. There is so much traffic between us, I almost become an Albertian. Hehehe~"; + mes "My town, Izlude, is connected to Alberta by the harbor in the West. There is so much traffic between us, I almost become an Albertian. Hehehe~"; next; mes "[Edgar]"; mes "There's this guy I know pretty well, Phelix, who lives in Alberta. That guy is really stingy... He charges for everything!"; @@ -81,7 +81,7 @@ mes "some more."; close; } - set zeny,zeny-250; + set Zeny, Zeny-250; warp "alberta",195,164; end; } diff --git a/npc/quests/quests_juperos.txt b/npc/quests/quests_juperos.txt index 2a991b0d6f..e5fc86db14 100644 --- a/npc/quests/quests_juperos.txt +++ b/npc/quests/quests_juperos.txt @@ -27,1198 +27,924 @@ //============================================================ yuno_in04,190,125,4 script Scholar 700,{ - - switch(yuno_hist) - { - case 0: - mes "[Scholar]"; - mes "...Mm? "; - mes "...Yes?"; - next; - mes "[Scholar]"; - mes "..."; - mes "......"; - mes "May I help you?"; - next; - switch( select( "Oh! N-Nothing!","Excuse me..." ) ) - { - case 1: - mes "[Scholar]"; - mes "..."; - mes "......"; - mes "Hmm?"; - mes "..........."; - mes "Hmpf."; - close; - - case 2: - mes "[Scholar]"; - mes "..."; - mes "......"; - mes "Hmm?"; - mes "..........."; - mes "Hmmm..."; - next; - mes "[Scholar]"; - mes "You must be lost."; - mes "This is the scholarly"; - mes "research section, you know,"; - mes "content you couldn't possibly"; - mes "fathom. The popular novels and picture books are someplace else."; - next; - mes "["+strcharinfo(0)+"]"; - mes "..."; - mes "......"; - next; - mes "[Scholar]"; - mes "Why don't you rummage"; - mes "through the bookshelves?"; - mes "I'm sure you can find some"; - mes "book there that can hold your"; - mes "interest. Well, depending on"; - mes "your actual attention span..."; - next; - mes "["+strcharinfo(0)+"]"; - mes "(What's her damage?!"; - mes "Does she have an attitude problem or is she just stuck-up?)"; - close; - } - + switch(yuno_hist) { + case 0: + mes "[Scholar]"; + mes "...Mm? "; + mes "...Yes?"; + next; + mes "[Scholar]"; + mes "..."; + mes "......"; + mes "May I help you?"; + next; + switch(select("Oh! N-Nothing!:Excuse me...")) { case 1: mes "[Scholar]"; - mes "...Mm? "; - mes "...Yes?"; - next; + mes "..."; + mes "......"; + mes "Hmm?"; + mes "..........."; + mes "Hmpf."; + close; + case 2: mes "[Scholar]"; mes "..."; mes "......"; - mes "May I help you?"; + mes "Hmm?"; + mes "..........."; + mes "Hmmm..."; next; - switch( select( "Oh! N-Nothing!","By any chance..." ) ) - { - case 1: - mes "[Scholar]"; - mes "..."; - mes "......"; - mes "Hmm?"; - mes "..........."; - mes "Hmpf."; - close; - - case 2: - mes "["+strcharinfo(0)+"]"; - mes "By any chance..."; - mes "Are you conducting"; - mes "research about Juperos?"; - next; - mes "[Scholar]"; - mes "Why yes, that is"; - mes "correct. But how did"; - mes "you come to learn about"; - mes "my current research project?"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Oh, I managed to read"; - mes "a thesis paper entitled,"; - mes "''The Fall of Juperos,'' and"; - mes "I just thought that the writing"; - mes "style and your personality"; - mes "seem to match for some reason."; - next; - mes "[Scholar]"; - mes "Oh...! You read my"; - mes "thesis? So what did"; - mes "you think about it?"; - next; - mes "["+strcharinfo(0)+"]"; - mes "So far, it's alright, but"; - mes "quite frankly it's incomplete."; - mes "I mean, you don't have much in"; - mes "in the way of conjecture, much"; - mes "less any evidence to back up"; - mes "any of your statements."; - next; - mes "[Scholar]"; - mes "...."; - mes "Let me apologize for"; - mes "being rude to you earlier."; - mes "As you know, my name is"; - mes "Fayruz Khrhiyha. May I ask"; - mes "what your name might be?"; - next; - mes "["+strcharinfo(0)+"]"; - mes "I'm "+strcharinfo(0)+","; - mes "a brave adventurer in the"; - mes "service of his royal majesty,"; - mes "the wise and benevolent"; - mes "King Tristram III."; - set yuno_hist,2; - next; - mes "[Fayruz]"; - mes "Well, "+strcharinfo(0)+","; - mes "I understand that my thesis"; - mes "still requires more evidence."; - mes "But I'd need some ancient"; - mes "documents from Juperos"; - mes "to complete my research..."; - next; - mes "[Fayruz]"; - mes "If you happen to travel"; - mes "through Juperos and find"; - mes "any ancient documents, would"; - mes "you bring them to me? Having"; - mes "those would help my research"; - mes "efforts immensely. Thank you..."; - close; - } - + mes "[Scholar]"; + mes "You must be lost."; + mes "This is the scholarly"; + mes "research section, you know,"; + mes "content you couldn't possibly"; + mes "fathom. The popular novels and picture books are someplace else."; + next; + mes "["+strcharinfo(0)+"]"; + mes "..."; + mes "......"; + next; + mes "[Scholar]"; + mes "Why don't you rummage"; + mes "through the bookshelves?"; + mes "I'm sure you can find some"; + mes "book there that can hold your"; + mes "interest. Well, depending on"; + mes "your actual attention span..."; + next; + mes "["+strcharinfo(0)+"]"; + mes "(What's her damage?!"; + mes "Does she have an attitude problem or is she just stuck-up?)"; + close; + } + case 1: + mes "[Scholar]"; + mes "...Mm? "; + mes "...Yes?"; + next; + mes "[Scholar]"; + mes "..."; + mes "......"; + mes "May I help you?"; + next; + switch(select("Oh! N-Nothing!:By any chance...")) { + case 1: + mes "[Scholar]"; + mes "..."; + mes "......"; + mes "Hmm?"; + mes "..........."; + mes "Hmpf."; + close; case 2: - if((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) - { + mes "["+strcharinfo(0)+"]"; + mes "By any chance..."; + mes "Are you conducting"; + mes "research about Juperos?"; + next; + mes "[Scholar]"; + mes "Why yes, that is"; + mes "correct. But how did"; + mes "you come to learn about"; + mes "my current research project?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Oh, I managed to read"; + mes "a thesis paper entitled,"; + mes "''The Fall of Juperos,'' and"; + mes "I just thought that the writing"; + mes "style and your personality"; + mes "seem to match for some reason."; + next; + mes "[Scholar]"; + mes "Oh...! You read my"; + mes "thesis? So what did"; + mes "you think about it?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "So far, it's alright, but"; + mes "quite frankly it's incomplete."; + mes "I mean, you don't have much in"; + mes "in the way of conjecture, much"; + mes "less any evidence to back up"; + mes "any of your statements."; + next; + mes "[Scholar]"; + mes "...."; + mes "Let me apologize for"; + mes "being rude to you earlier."; + mes "As you know, my name is"; + mes "Fayruz Khrhiyha. May I ask"; + mes "what your name might be?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "I'm "+strcharinfo(0)+","; + mes "a brave adventurer in the"; + mes "service of his royal majesty,"; + mes "the wise and benevolent"; + mes "King Tristram III."; + set yuno_hist,2; + next; + mes "[Fayruz]"; + mes "Well, "+strcharinfo(0)+","; + mes "I understand that my thesis"; + mes "still requires more evidence."; + mes "But I'd need some ancient"; + mes "documents from Juperos"; + mes "to complete my research..."; + next; + mes "[Fayruz]"; + mes "If you happen to travel"; + mes "through Juperos and find"; + mes "any ancient documents, would"; + mes "you bring them to me? Having"; + mes "those would help my research"; + mes "efforts immensely. Thank you..."; + close; + } + case 2: + if ((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) { + mes "[Fayruz]"; + mes "Ah, it's you! Listen,"; + mes "I just found a record of"; + mes "an adventurer who explored"; + mes "Juperos. There's mention"; + mes "of a stone statue here that"; + mes "just might be noteworthy..."; + next; + mes "[Fayruz]"; + mes "If you happen to find"; + mes "yourself in Juperos,"; + mes "would you find the stone"; + mes "statue at the entrance of"; + mes "its dungeon and read the"; + mes "engraved message for me?"; + next; + mes "[Fayruz]"; + mes "According to my notes,"; + mes "there's a spell that will"; + mes "make its reader memorize"; + mes "its message, even if they don't"; + mes "know the language. So come"; + mes "to me if you manage to read it."; + close; + } + mes "[Fayruz]"; + mes "If you ever chance to"; + mes "travel through Juperos,"; + mes "would you let me know if you"; + mes "find anything that might help"; + mes "my research there? I'd be"; + mes "very grateful for your help."; + close; + case 3: + mes "[Fayruz]"; + mes "Well, you look"; + mes "quite pleased."; + mes "May I asked what"; + mes "happened to put that"; + mes "expression on your face?"; + next; + switch(select("I found something in Juperos.:Nothing much.")) { + case 1: + mes "[" +strcharinfo(0)+"]"; + mes "I went to Juperos like"; + mes "you asked and found that"; + mes "stone statue you were talking"; + mes "about. Just like you said, there was an engraved message on it."; + next; + mes "[Fayruz]"; + mes "Fascinating!"; + mes "So is it really enchanted"; + mes "so anyone can memorize it?"; + mes "Wh-what does the message say?"; + next; + mes "^3355FFYou recite the message"; + mes "engraved on the stone"; + mes "statue, unable to interpret"; + mes "the sounds you're uttering,"; + mes "but weirdly enough, you can"; + mes "easily recall them from memory.^000000"; + next; + mes "[Fayruz]"; + mes "Ah, I see! Wait,"; + mes "give me a moment to"; + mes "properly translate this..."; + next; + mes "..."; + mes "......"; + mes "........."; + next; + mes "[Fayruz]"; + mes "It means, ''Do you wish to"; + mes "see the end of the madness?"; + mes "He is waiting where the three"; + mes "columns were destroyed, where"; + mes "two hundred illusions wander.''"; + next; + mes "[Fayruz]"; + mes "''You will see him, the one"; + mes "who was vain and extravagant,"; + mes "with your own eyes at the place where the light passes through."; + set yuno_hist,4; + next; + mes "[Fayruz]"; + mes "Ah, usually, descriptions"; + mes "of the ''vain and extravagant"; + mes "one'' refer to the mad scientist rumored to have lived in that"; + mes "ancient era. But if this is true, I may have to rework my thesis..."; + next; + mes "[Fayruz]"; + mes "I have another favor to"; + mes "ask of you. If you find any"; + mes "object of historical significance in Juperos, would you bring it to"; + mes "me? I'll reward you, of course."; + next; + mes "[Fayruz]"; + mes "It would be most helpful"; + mes "if you could manage to find"; + mes "documents that existed from that era. Fortunately, back then,"; + mes "they made all their records on material more durable than paper."; + close; + case 2: + mes "[Fayruz]"; + mes "Nothing, huh?"; + mes "My life is also fairly"; + mes "uneventful, but somehow,"; + mes "I'm don't think I'm content."; + close; + } + case 4: + mes "[Fayruz]"; + mes "Oh hello, "+strcharinfo(0)+"."; + mes "So what brings you to"; + mes "the Juno Library today?"; + next; + switch(select("Nice weather today, isn't it?:I found something in Juperos.:Nothing much.")) { + case 1: + mes "[Fayruz]"; + mes "Well, I wouldn't know."; + mes "It's late whenever I go"; + mes "out, so I always happen to"; + mes "miss the sunlight. I guess"; + mes "I really miss nice weather"; + mes "sometimes, you know?"; + close; + case 2: + if ((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) { mes "[Fayruz]"; - mes "Ah, it's you! Listen,"; - mes "I just found a record of"; - mes "an adventurer who explored"; - mes "Juperos. There's mention"; - mes "of a stone statue here that"; - mes "just might be noteworthy..."; + mes "Oh, really?!"; + mes "That's great news!"; + mes "W-what did you find?"; + next; + mes "^3355FFIn her excitement,"; + mes "Fayruz begins to"; + mes "rummage through your"; + mes "things before you get"; + mes "the chance to answer her.^000000"; next; mes "[Fayruz]"; - mes "If you happen to find"; - mes "yourself in Juperos,"; - mes "would you find the stone"; - mes "statue at the entrance of"; - mes "its dungeon and read the"; - mes "engraved message for me?"; + mes "Oh, this must be it!"; + mes "Would you mind if I keep"; + mes "this Transparent Plate for"; + mes "my research? In return, I'll"; + mes "tell you some tales about"; + mes "Juperos that I've learned."; next; - mes "[Fayruz]"; - mes "According to my notes,"; - mes "there's a spell that will"; - mes "make its reader memorize"; - mes "its message, even if they don't"; - mes "know the language. So come"; - mes "to me if you manage to read it."; - close; + switch(select("Please, be my guest.:No way, you can't have it.")) { + case 1: + if (countitem(7352)) callfunc "Func_JupHist",7352,1; + else if (countitem(7353)) callfunc "Func_JupHist",7353,2; + else if (countitem(7354)) callfunc "Func_JupHist",7354,4; + else if (countitem(7355)) callfunc "Func_JupHist",7352,8; + case 2: + mes "[Fayruz]"; + mes "Mm? Are you serious?"; + mes "This object is very valuable"; + mes "to a researcher like me, but"; + mes "I have no idea what use it"; + mes "would be for an adventurer."; + mes "Well, you have your reasons..."; + close; + } } mes "[Fayruz]"; - mes "If you ever chance to"; - mes "travel through Juperos,"; - mes "would you let me know if you"; - mes "find anything that might help"; - mes "my research there? I'd be"; - mes "very grateful for your help."; + mes "Oh, really?!"; + mes "That's great news!"; + mes "W-what did you find?"; + next; + mes "^3355FFIn her excitement,"; + mes "Fayruz begins to"; + mes "rummage through your"; + mes "things before you get"; + mes "the chance to answer her.^000000"; + next; + mes "[Fayruz]"; + mes "Oh. There isn't anything"; + mes "here that would help in my"; + mes "research, but thank you anyway."; + mes "If you find anything else while"; + mes "you're in Juperos, please come back and show it to me, alright?"; close; - case 3: mes "[Fayruz]"; - mes "Well, you look"; - mes "quite pleased."; - mes "May I asked what"; - mes "happened to put that"; - mes "expression on your face?"; + mes "Ah, I see. Well, while"; + mes "you're here, why don't you"; + mes "read something? There are"; + mes "many books that cover some"; + mes "interesting topics, like the"; + mes "Schwaltzvalt economy..."; next; - switch( select( "I found something in Juperos.","Nothing much." ) ) - { - - case 1: - mes "[" +strcharinfo(0)+"]"; - mes "I went to Juperos like"; - mes "you asked and found that"; - mes "stone statue you were talking"; - mes "about. Just like you said, there was an engraved message on it."; - next; - mes "[Fayruz]"; - mes "Fascinating!"; - mes "So is it really enchanted"; - mes "so anyone can memorize it?"; - mes "Wh-what does the message say?"; - next; - mes "^3355FFYou recite the message"; - mes "engraved on the stone"; - mes "statue, unable to interpret"; - mes "the sounds you're uttering,"; - mes "but weirdly enough, you can"; - mes "easily recall them from memory.^000000"; - next; - mes "[Fayruz]"; - mes "Ah, I see! Wait,"; - mes "give me a moment to"; - mes "properly translate this..."; - next; - mes "..."; - mes "......"; - mes "........."; - next; - mes "[Fayruz]"; - mes "It means, ''Do you wish to"; - mes "see the end of the madness?"; - mes "He is waiting where the three"; - mes "columns were destroyed, where"; - mes "two hundred illusions wander.''"; - next; - mes "[Fayruz]"; - mes "''You will see him, the one"; - mes "who was vain and extravagant,"; - mes "with your own eyes at the place where the light passes through."; - set yuno_hist,4; - next; - mes "[Fayruz]"; - mes "Ah, usually, descriptions"; - mes "of the ''vain and extravagant"; - mes "one'' refer to the mad scientist rumored to have lived in that"; - mes "ancient era. But if this is true, I may have to rework my thesis..."; - next; - mes "[Fayruz]"; - mes "I have another favor to"; - mes "ask of you. If you find any"; - mes "object of historical significance in Juperos, would you bring it to"; - mes "me? I'll reward you, of course."; - next; - mes "[Fayruz]"; - mes "It would be most helpful"; - mes "if you could manage to find"; - mes "documents that existed from that era. Fortunately, back then,"; - mes "they made all their records on material more durable than paper."; - close; - - case 2: - mes "[Fayruz]"; - mes "Nothing, huh?"; - mes "My life is also fairly"; - mes "uneventful, but somehow,"; - mes "I'm don't think I'm content."; - close; - } - - case 4: mes "[Fayruz]"; - mes "Oh hello, "+strcharinfo(0)+"."; - mes "So what brings you to"; - mes "the Juno Library today?"; - next; - switch( select ( "Nice weather today, isn't it?","I found something in Juperos.","Nothing much.") ) - { - case 1: - mes "[Fayruz]"; - mes "Well, I wouldn't know."; - mes "It's late whenever I go"; - mes "out, so I always happen to"; - mes "miss the sunlight. I guess"; - mes "I really miss nice weather"; - mes "sometimes, you know?"; - close; - - case 2: - if((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) - { - mes "[Fayruz]"; - mes "Oh, really?!"; - mes "That's great news!"; - mes "W-what did you find?"; - next; - mes "^3355FFIn her excitement,"; - mes "Fayruz begins to"; - mes "rummage through your"; - mes "things before you get"; - mes "the chance to answer her.^000000"; - next; - mes "[Fayruz]"; - mes "Oh, this must be it!"; - mes "Would you mind if I keep"; - mes "this Transparent Plate for"; - mes "my research? In return, I'll"; - mes "tell you some tales about"; - mes "Juperos that I've learned."; - next; - switch( select ("Please, be my guest.","No way, you can't have it.") ) - { - case 1: - if(countitem(7352)) callfunc "Func_JupHist",7352,1; - else if(countitem(7353)) callfunc "Func_JupHist",7353,2; - else if(countitem(7354)) callfunc "Func_JupHist",7354,4; - else if(countitem(7355)) callfunc "Func_JupHist",7352,8; - - - case 2: - mes "[Fayruz]"; - mes "Mm? Are you serious?"; - mes "This object is very valuable"; - mes "to a researcher like me, but"; - mes "I have no idea what use it"; - mes "would be for an adventurer."; - mes "Well, you have your reasons..."; - close; - } - } - mes "[Fayruz]"; - mes "Oh, really?!"; - mes "That's great news!"; - mes "W-what did you find?"; - next; - mes "^3355FFIn her excitement,"; - mes "Fayruz begins to"; - mes "rummage through your"; - mes "things before you get"; - mes "the chance to answer her.^000000"; - next; - mes "[Fayruz]"; - mes "Oh. There isn't anything"; - mes "here that would help in my"; - mes "research, but thank you anyway."; - mes "If you find anything else while"; - mes "you're in Juperos, please come back and show it to me, alright?"; - close; - - case 3: - mes "[Fayruz]"; - mes "Ah, I see. Well, while"; - mes "you're here, why don't you"; - mes "read something? There are"; - mes "many books that cover some"; - mes "interesting topics, like the"; - mes "Schwaltzvalt economy..."; - next; - mes "[Fayruz]"; - mes "Oh, in any case, please"; - mes "don't forget the favor I asked"; - mes "of you. If you find anything"; - mes "in Juperos that's historically"; - mes "significant, I'd appreciate it"; - mes "if you bring it right away."; - close; - + mes "Oh, in any case, please"; + mes "don't forget the favor I asked"; + mes "of you. If you find anything"; + mes "in Juperos that's historically"; + mes "significant, I'd appreciate it"; + mes "if you bring it right away."; + close; + } + case 5: + mes "[Fayruz]"; + mes "Oh, "+strcharinfo(0)+"!"; + mes "Have you come back with"; + mes "something from Juperos?"; + mes "I've been hoping you'd come"; + mes "back with something that'd"; + mes "help me in my research!"; + next; + switch(select("Take a look at this.:Oh, I'm sorry...")) { + case 1: + switch(jupe_hist) { + case 1: callfunc "Func_JupHist",7353,7354,7355,7352; + case 2: callfunc "Func_JupHist",7352,7354,7355,7353; + case 4: callfunc "Func_JupHist",7352,7353,7355,7354; + case 8: callfunc "Func_JupHist",7352,7353,7354,7355; } - - case 5: + case 2: mes "[Fayruz]"; - mes "Oh, "+strcharinfo(0)+"!"; - mes "Have you come back with"; - mes "something from Juperos?"; - mes "I've been hoping you'd come"; - mes "back with something that'd"; - mes "help me in my research!"; + mes "Ah, I see. Well, while"; + mes "you're here, why don't you"; + mes "read something? There are"; + mes "many books that cover some"; + mes "interesting topics, like..."; + mes "like... Self-Honesty (?)."; next; - switch( select( "Take a look at this.","Oh, I'm sorry...") ) - { - case 1: - switch(jupe_hist) - { - case 1: - callfunc "Func_JupHist",7353,7354,7355,7352; - - case 2: - callfunc "Func_JupHist",7352,7354,7355,7353; - - case 4: - callfunc "Func_JupHist",7352,7353,7355,7354; - - case 8: - callfunc "Func_JupHist",7352,7353,7354,7355; - } - - case 2: - mes "[Fayruz]"; - mes "Ah, I see. Well, while"; - mes "you're here, why don't you"; - mes "read something? There are"; - mes "many books that cover some"; - mes "interesting topics, like..."; - mes "like... Self-Honesty (?)."; + mes "[Fayruz]"; + mes "Oh, in any case, please"; + mes "don't forget the favor I asked"; + mes "of you. If you find anything"; + mes "in Juperos that's historically"; + mes "significant, I'd appreciate it"; + mes "if you bring it right away."; + close; + } + case 6: + mes "[Fayruz]"; + mes "Oh, "+strcharinfo(0)+"!"; + mes "The Transparent Plate"; + mes "that you brought for me"; + mes "last time is really helping me"; + mes "in my research. If you get the"; + mes "chance, please bring me more!"; + set yuno_hist,7; + next; + mes "[Fayruz]"; + mes "This new data is adding"; + mes "a lot more credibility to my"; + mes "thesis. Oh, I'll be with you"; + mes "in a moment, let me finish"; + mes "translating this one last"; + mes "passage really quickly..."; + close; + case 7: + mes "[Fayruz]"; + mes "Hello, "+strcharinfo(0)+"~"; + mes "Oh, were you able to look"; + mes "in Juperos for anything that"; + mes "might help me in my research?"; + next; + switch(select("Yeah, take a look at this.:No, I'm sorry...")) { + case 1: + switch(jupe_hist) { + case 3: callfunc "Func_JupHist",7354,7355,7352,7353; + case 5: callfunc "Func_JupHist",7353,7355,7352,7354; + case 6: callfunc "Func_JupHist",7352,7355,7353,7354; + case 9: callfunc "Func_JupHist",7353,7354,7352,7355; + case 10: callfunc "Func_JupHist",7352,7354,7353,7355; + case 12: callfunc "Func_JupHist",7352,7353,7354,7355; + } + case 2: + mes "[Fayruz]"; + mes "Oh, that's fine."; + mes "Besides, I don't really"; + mes "have a deadline to complete"; + mes "this research project. Still,"; + mes "I just want you to know that"; + mes "I really appreciate your help."; + close; + } + case 8: + mes "[Fayruz]"; + mes ""+strcharinfo(0)+"..."; + mes "I'm having great difficulty in"; + mes "translating that Transparent"; + mes "Plate you brought for me that"; + mes "last time. I'm so frustrated..."; + next; + mes "[Fayruz]"; + mes "Wait a minute..."; + mes "This here means..."; + mes "Alright. Okay. Yes."; + mes "Yes! Of course, how"; + mes "could I not see it before!"; + set yuno_hist,9; + next; + mes "[Fayruz]"; + mes "I'll be with you"; + mes "in just a second!"; + mes "I think I just made"; + mes "a real through...!"; + next; + case 9: + mes "[Fayruz]"; + mes "Ah, I've been"; + mes "expecting you, "+strcharinfo(0)+"."; + mes "So did you have been to Juperos again? I'm really hoping that you"; + mes "were able to find something new that would help in my research..."; + next; + switch(select("Actually, I did find this...:I'm sorry, I haven't...")) { + case 1: + switch(jupe_hist) { + case 7: callfunc "Func_JupHist",7355,7352,7353,7354; + case 11: callfunc "Func_JupHist",7354,7352,7353,7355; + case 13: callfunc "Func_JupHist",7353,7352,7354,7355; + case 14: callfunc "Func_JupHist",7352,7353,7354,7355; + } + case 2: + mes "[Fayruz]"; + mes "Ah, I see. Well, while"; + mes "you're here, why don't you"; + mes "read something? There are"; + mes "many books that cover some"; + mes "interesting topics, like"; + mes "modern adventure history."; + next; + mes "[Fayruz]"; + mes "Oh, in any case, please"; + mes "don't forget the favor I asked"; + mes "of you. If you find anything"; + mes "in Juperos that's historically"; + mes "significant, I'd appreciate it"; + mes "if you bring it right away."; + close; + } + case 10: + mes "[Fayruz]"; + mes "Oh hello, "+strcharinfo(0)+"..."; + mes "So what exactly brings you"; + mes "to the Juno Library this time?"; + next; + switch(select("I found another Transparent Plate.:Just visiting, really.")) { + case 1: + if ((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) { + mes "[Fayruz]"; + mes "Hmm, well, we've made as"; + mes "much headway as we can"; + mes "with the Transparent Plates"; + mes "you've already given me, but"; + mes "it can't hurt to have too much"; + mes "evidence to back my theories."; next; mes "[Fayruz]"; - mes "Oh, in any case, please"; - mes "don't forget the favor I asked"; - mes "of you. If you find anything"; - mes "in Juperos that's historically"; - mes "significant, I'd appreciate it"; - mes "if you bring it right away."; + mes "I really appreciate"; + mes "your continuing efforts"; + mes "to help me. Please, would"; + mes "you take this as my way"; + mes "saying ''Thanks?'' You've been"; + mes "great, "+strcharinfo(0)+"..."; + if (countitem(7352)) delitem 7352,1; + else if (countitem(7353)) delitem 7353,1; + else if (countitem(7354)) delitem 7354,1; + else delitem 7355,1; + getitem 644,1; close; } - - case 6: mes "[Fayruz]"; - mes "Oh, "+strcharinfo(0)+"!"; - mes "The Transparent Plate"; - mes "that you brought for me"; - mes "last time is really helping me"; - mes "in my research. If you get the"; - mes "chance, please bring me more!"; - set yuno_hist,7; - next; - mes "[Fayruz]"; - mes "This new data is adding"; - mes "a lot more credibility to my"; - mes "thesis. Oh, I'll be with you"; - mes "in a moment, let me finish"; - mes "translating this one last"; - mes "passage really quickly..."; + mes "Mmm...?"; + mes "It doesn't look like"; + mes "you brought another"; + mes "Transparent Plate."; + mes "Are you sure that you"; + mes "didn't misplace it?"; close; - - case 7: + case 2: mes "[Fayruz]"; - mes "Hello, "+strcharinfo(0)+"~"; - mes "Oh, were you able to look"; - mes "in Juperos for anything that"; - mes "might help me in my research?"; - next; - switch( select( "Yeah, take a look at this.","No, I'm sorry...") ) - { - case 1: - switch(jupe_hist) - { - case 3: - callfunc "Func_JupHist",7354,7355,7352,7353; - - case 5: - callfunc "Func_JupHist",7353,7355,7352,7354; - - case 6: - callfunc "Func_JupHist",7352,7355,7353,7354; - - case 9: - callfunc "Func_JupHist",7353,7354,7352,7355; - - case 10: - callfunc "Func_JupHist",7352,7354,7353,7355; - - case 12: - callfunc "Func_JupHist",7352,7353,7354,7355; - } - - case 2: - mes "[Fayruz]"; - mes "Oh, that's fine."; - mes "Besides, I don't really"; - mes "have a deadline to complete"; - mes "this research project. Still,"; - mes "I just want you to know that"; - mes "I really appreciate your help."; - close; - } - - case 8: - mes "[Fayruz]"; - mes ""+strcharinfo(0)+"..."; - mes "I'm having great difficulty in"; - mes "translating that Transparent"; - mes "Plate you brought for me that"; - mes "last time. I'm so frustrated..."; - next; - mes "[Fayruz]"; - mes "Wait a minute..."; - mes "This here means..."; - mes "Alright. Okay. Yes."; - mes "Yes! Of course, how"; - mes "could I not see it before!"; - set yuno_hist,9; - next; - mes "[Fayruz]"; - mes "I'll be with you"; - mes "in just a second!"; - mes "I think I just made"; - mes "a real through...!"; - next; - - case 9: - mes "[Fayruz]"; - mes "Ah, I've been"; - mes "expecting you, "+strcharinfo(0)+"."; - mes "So did you have been to Juperos again? I'm really hoping that you"; - mes "were able to find something new that would help in my research..."; - next; - switch( select("Actually, I did find this...","I'm sorry, I haven't...") ) - { - case 1: - switch(jupe_hist) - { - case 7: - callfunc "Func_JupHist",7355,7352,7353,7354; - - case 11: - callfunc "Func_JupHist",7354,7352,7353,7355; - - case 13: - callfunc "Func_JupHist",7353,7352,7354,7355; - - case 14: - callfunc "Func_JupHist",7352,7353,7354,7355; - } - - case 2: - mes "[Fayruz]"; - mes "Ah, I see. Well, while"; - mes "you're here, why don't you"; - mes "read something? There are"; - mes "many books that cover some"; - mes "interesting topics, like"; - mes "modern adventure history."; - next; - mes "[Fayruz]"; - mes "Oh, in any case, please"; - mes "don't forget the favor I asked"; - mes "of you. If you find anything"; - mes "in Juperos that's historically"; - mes "significant, I'd appreciate it"; - mes "if you bring it right away."; - close; - } - - case 10: - mes "[Fayruz]"; - mes "Oh hello, "+strcharinfo(0)+"..."; - mes "So what exactly brings you"; - mes "to the Juno Library this time?"; - next; - switch( select("I found another Transparent Plate.","Just visiting, really.") ) - { - case 1: - if((countitem(7352)) || (countitem(7353)) || (countitem(7354)) || (countitem(7355))) - { - mes "[Fayruz]"; - mes "Hmm, well, we've made as"; - mes "much headway as we can"; - mes "with the Transparent Plates"; - mes "you've already given me, but"; - mes "it can't hurt to have too much"; - mes "evidence to back my theories."; - next; - mes "[Fayruz]"; - mes "I really appreciate"; - mes "your continuing efforts"; - mes "to help me. Please, would"; - mes "you take this as my way"; - mes "saying ''Thanks?'' You've been"; - mes "great, "+strcharinfo(0)+"..."; - if(countitem(7352)) delitem 7352,1; - else if(countitem(7353)) delitem 7353,1; - else if(countitem(7354)) delitem 7354,1; - else delitem 7355,1; - getitem 644,1; - close; - } - mes "[Fayruz]"; - mes "Mmm...?"; - mes "It doesn't look like"; - mes "you brought another"; - mes "Transparent Plate."; - mes "Are you sure that you"; - mes "didn't misplace it?"; - close; - - case 2: - mes "[Fayruz]"; - mes "Ah, I see. Well,"; - mes "thanks to your help,"; - mes "I've made a great deal"; - mes "of progress on my thesis."; - mes "I really appreciate what you"; - mes "have done for me, adventurer."; - close; - } + mes "Ah, I see. Well,"; + mes "thanks to your help,"; + mes "I've made a great deal"; + mes "of progress on my thesis."; + mes "I really appreciate what you"; + mes "have done for me, adventurer."; + close; + } } - - } function script Func_JupHist { - - switch(yuno_hist) - { - case 4: + switch(yuno_hist) { + case 4: + mes "[Fayruz]"; + mes "Thank you so much,"; + mes "you don't know what"; + mes "this means to me! Okay,"; + mes "please relax and take a"; + mes "seat. Close your eyes while"; + mes "I tell you this ancient story."; + next; + mes "^3355FFFayruz begins to"; + mes "relate an ancient tale"; + mes "about Juperos that seems"; + mes "typical for a classic story, but her way of storytelling subtly"; + mes "draws you into a vicarious, yet extremely vivid experience."; + next; + mes "^3355FFYou feel the protagonist's"; + mes "glories and tragedies as if"; + mes "you were actually there with"; + mes "the hero on his journeys. The"; + mes "tale eventually comes to an end"; + mes "and you awaken from the trance,"; + mes "gently brought back to reality.^000000"; + delitem getarg(0),1; + set yuno_hist,5; + set jupe_hist,getarg(1); + getexp (checkre(3))?10000:100000,0; + next; + mes "[Fayruz]"; + mes "Everyone can relate"; + mes "to these old, classic"; + mes "stories. I hope this tale had"; + mes "as meaning for you as it did"; + mes "for me when I first heard it."; + next; + mes "[Fayruz]"; + mes "If you can find me"; + mes "another artifact from"; + mes "Juperos, I'll share another"; + mes "tale like that with you. Now"; + mes "how does that sound? Okay"; + mes "then, I'll see you, adventurer~"; + close; + case 5: + if ((countitem(getarg(0))) || (countitem(getarg(1))) || (countitem(getarg(2)))) { mes "[Fayruz]"; - mes "Thank you so much,"; - mes "you don't know what"; - mes "this means to me! Okay,"; - mes "please relax and take a"; - mes "seat. Close your eyes while"; - mes "I tell you this ancient story."; + mes "Oh, that's unexpected."; + mes "This Transparent Plate"; + mes "seems to have been made"; + mes "in a different era than the"; + mes "one you gave me earlier."; + mes "How intriguing..."; next; - mes "^3355FFFayruz begins to"; - mes "relate an ancient tale"; - mes "about Juperos that seems"; - mes "typical for a classic story, but her way of storytelling subtly"; - mes "draws you into a vicarious, yet extremely vivid experience."; + mes "[Fayruz]"; + mes "*Sigh* I really wish"; + mes "that I could explore"; + mes "Juperos on my own, but"; + mes "I'm just not strong enough."; + mes "In a way, I'm quite jealous of you. But it can't be helped..."; next; - mes "^3355FFYou feel the protagonist's"; - mes "glories and tragedies as if"; - mes "you were actually there with"; - mes "the hero on his journeys. The"; - mes "tale eventually comes to an end"; - mes "and you awaken from the trance,"; - mes "gently brought back to reality.^000000"; - delitem getarg(0),1; - set yuno_hist,5; - set jupe_hist,getarg(1); + mes "[Fayruz]"; + mes "You know, that reminds"; + mes "me of this great story of"; + mes "a tragic hero that I'd like to"; + mes "share with you. Let your"; + mes "mind wander as I relate this ageless, yet bittersweet tale..."; + next; + mes "^3355FFFayruz tells you a story"; + mes "with a bright beginning, full"; + mes "of hope that fills you with the"; + mes "bliss of the heavens, but then"; + mes "suddenly plummets you into all the despair and torment of hell.^000000"; + next; + mes "^3355FFThe story finally"; + mes "reaches its ending"; + mes "and you're surprised"; + mes "to find yourself sitting"; + mes "in the Juno Library.^000000"; + next; + mes "[Fayruz]"; + mes "I know it's a very"; + mes "depressing story, but"; + mes "I hope you enjoyed it."; + mes "I think you'd agree that"; + mes "it contains a truth about"; + mes "mankind that can't be ignored."; + if (countitem(getarg(0))) { + delitem getarg(0),1; + if (getarg(0) == 7352) set jupe_hist,jupe_hist +1; + else set jupe_hist,jupe_hist +2; + } + else if (countitem(getarg(1))) { + delitem getarg(1),1; + if (getarg(1) == 7353) set jupe_hist,jupe_hist +2; + else set jupe_hist,jupe_hist +4; + } + else { + delitem getarg(2),1; + if (getarg(2) == 7354) set jupe_hist,jupe_hist +4; + else set jupe_hist,jupe_hist +8; + } + set yuno_hist,6; getexp (checkre(3))?10000:100000,0; next; mes "[Fayruz]"; - mes "Everyone can relate"; - mes "to these old, classic"; - mes "stories. I hope this tale had"; - mes "as meaning for you as it did"; - mes "for me when I first heard it."; + mes "By now I'm sure you've"; + mes "figured that these classic"; + mes "tales are like condensed"; + mes "experiences, refined and"; + mes "immutable truths that we"; + mes "can see in our own reality."; next; mes "[Fayruz]"; - mes "If you can find me"; - mes "another artifact from"; - mes "Juperos, I'll share another"; - mes "tale like that with you. Now"; - mes "how does that sound? Okay"; - mes "then, I'll see you, adventurer~"; + mes "If you find more of"; + mes "these Transparent"; + mes "Plates in Juperos, I'd be"; + mes "very happy to share another"; + mes "story with you, "+strcharinfo(0)+"."; close; - - case 5: - if((countitem(getarg(0))) || (countitem(getarg(1))) || (countitem(getarg(2)))) - { - mes "[Fayruz]"; - mes "Oh, that's unexpected."; - mes "This Transparent Plate"; - mes "seems to have been made"; - mes "in a different era than the"; - mes "one you gave me earlier."; - mes "How intriguing..."; - next; - mes "[Fayruz]"; - mes "*Sigh* I really wish"; - mes "that I could explore"; - mes "Juperos on my own, but"; - mes "I'm just not strong enough."; - mes "In a way, I'm quite jealous of you. But it can't be helped..."; - next; - mes "[Fayruz]"; - mes "You know, that reminds"; - mes "me of this great story of"; - mes "a tragic hero that I'd like to"; - mes "share with you. Let your"; - mes "mind wander as I relate this ageless, yet bittersweet tale..."; - next; - mes "^3355FFFayruz tells you a story"; - mes "with a bright beginning, full"; - mes "of hope that fills you with the"; - mes "bliss of the heavens, but then"; - mes "suddenly plummets you into all the despair and torment of hell.^000000"; - next; - mes "^3355FFThe story finally"; - mes "reaches its ending"; - mes "and you're surprised"; - mes "to find yourself sitting"; - mes "in the Juno Library.^000000"; - next; - mes "[Fayruz]"; - mes "I know it's a very"; - mes "depressing story, but"; - mes "I hope you enjoyed it."; - mes "I think you'd agree that"; - mes "it contains a truth about"; - mes "mankind that can't be ignored."; - if(countitem(getarg(0))) - { - delitem getarg(0),1; - if(getarg(0) == 7352) set jupe_hist,jupe_hist +1; - else set jupe_hist,jupe_hist +2; - } - else if(countitem(getarg(1))) - { - delitem getarg(1),1; - if(getarg(1) == 7353) set jupe_hist,jupe_hist +2; - else set jupe_hist,jupe_hist +4; - } - else - { - delitem getarg(2),1; - if(getarg(2) == 7354) set jupe_hist,jupe_hist +4; - else set jupe_hist,jupe_hist +8; - } - set yuno_hist,6; - getexp (checkre(3))?10000:100000,0; - next; - mes "[Fayruz]"; - mes "By now I'm sure you've"; - mes "figured that these classic"; - mes "tales are like condensed"; - mes "experiences, refined and"; - mes "immutable truths that we"; - mes "can see in our own reality."; - next; - mes "[Fayruz]"; - mes "If you find more of"; - mes "these Transparent"; - mes "Plates in Juperos, I'd be"; - mes "very happy to share another"; - mes "story with you, "+strcharinfo(0)+"."; - close; - } - else if(countitem(getarg(3))) - { - mes "[Fayruz]"; - mes "Oh, this one seems"; - mes "to have been created"; - mes "in a similar era as the"; - mes "one you gave me earlier."; - mes "I'm not sure how much new"; - mes "information this may provide..."; - next; - mes "[Fayruz]"; - mes "Still, I'm sure this will"; - mes "helpful in my research. I just"; - mes "won't be as making progress"; - mes "as quickly as I had projected."; - mes "Please, I'd like you to take this as a token of my gratitude."; - delitem getarg(3),1; - getitem 644,1; - next; - mes "[Fayruz]"; - mes "Now if you'll excuse"; - mes "me, I need to go back"; - mes "to compiling my research..."; - mes "Thank you so much for"; - mes "your help, "+strcharinfo(0)+"."; - close; - } - else - { - mes "[Fayruz]"; - mes "Oh. There isn't anything"; - mes "here that would help in my"; - mes "research, but thank you anyway."; - mes "If you find anything else while"; - mes "you're in Juperos, please come back and show it to me, alright?"; - close; - } - - case 7: - if((countitem(getarg(0))) || (countitem(getarg(1)))) - { - mes "[Fayruz]"; - mes "Is this another"; - mes "Transparent Plate?"; - mes "Yes, it's quite different"; - mes "than the last one you"; - mes "brought over to me..."; - mes "This is so exciting!"; - next; - mes "[Fayruz]"; - mes "Oh. You must be thinking"; - mes "that I'm a complete academia"; - mes "addict. Well, my life might be"; - mes "a little uneventful, but there"; - mes "are other things I think about!"; - mes "Like, well... It's weird but..."; - next; - mes "[Fayruz]"; - mes "You see, there's this"; - mes "guy that I like. I'm not sure"; - mes "where he might be now, but"; - mes "his name is Nadim Amal. He's"; - mes "my friend's brother who I first"; - mes "met 10 years ago. ^333333*Sigh...*^000000"; - next; - mes "[Fayruz]"; - mes "Just recently, I saw"; - mes "him with his sister, my"; - mes "friend from Morroc. It's"; - mes "weird to think that I'd have"; - mes "these feelings for him after"; - mes "all this time, isn't it? Oh...!"; - next; - mes "[Fayruz]"; - mes "I really should repay"; - mes "you for this Transparent"; - mes "Plate. Why don't I tell you"; - mes "the scariest story that I know?"; - next; - mes "^3355FFFayruz tells you a"; - mes "creepy horror story that"; - mes "makes you shiver with fear."; - mes "You've heard other ghost"; - mes "stories, but you've never been"; - mes "so deeply immersed in one before.^000000"; - next; - mes "It is only when the"; - mes "story ends and you return"; - mes "to your senses that you notice that you're soaked in cold sweat.^000000"; - next; - mes "[Fayruz]"; - mes "It may be a natural"; - mes "response, but all people"; - mes "fear the unknown in one way"; - mes "or another. Scary stories are"; - mes "appealing because we actually"; - mes "like the strange and grotesque."; - if(countitem(getarg(0))) - { - delitem getarg(0),1; - if(getarg(0) == 7352) set jupe_hist,jupe_hist +1; - else if(getarg(0) == 7353) set jupe_hist,jupe_hist +2; - else set jupe_hist,jupe_hist +4; - } - else if(countitem(getarg(1))) - { - delitem getarg(1),1; - if(getarg(1) == 7353) set jupe_hist,jupe_hist +2; - else if(getarg(1) == 7354) set jupe_hist,jupe_hist +4; - else set jupe_hist,jupe_hist +8; - } - set yuno_hist,8; - getexp (checkre(3))?10000:100000,0; - next; - mes "[Fayruz]"; - mes "Well... That's just my"; - mes "opinion. Anyway, if you"; - mes "find anything else in Juperos"; - mes "that may help in my research,"; - mes "please come back and show it"; - mes "to me, alright? See you later~"; - close; - } - else if((countitem(getarg(2))) || (countitem(getarg(3)))) - { - mes "[Fayruz]"; - mes "Oh, this one seems"; - mes "to have been created"; - mes "in a similar era as the"; - mes "one you gave me earlier."; - mes "I'm not sure how much new"; - mes "information this may provide..."; - next; - mes "[Fayruz]"; - mes "Still, I'm sure this will"; - mes "helpful in my research. I just"; - mes "won't be as making progress"; - mes "as quickly as I had projected."; - mes "Please, I'd like you to take this as a token of my gratitude."; - next; - mes "[Fayruz]"; - mes "Now if you'll excuse"; - mes "me, I need to go back"; - mes "to compiling my research..."; - mes "Thank you so much for"; - mes "your help, "+strcharinfo(0)+"."; - if(countitem(getarg(2))) delitem getarg(2),1; - else if(countitem(getarg(3))) delitem getarg(3),1; - getitem 644,1; - close; - } - else - { - mes "[Fayruz]"; - mes "Oh. There isn't anything"; - mes "here that would help in my"; - mes "research, but thank you anyway."; - mes "If you find anything else while"; - mes "you're in Juperos, please come back and show it to me, alright?"; - close; - } - - case 9: - if(countitem(getarg(0))) - { - mes "[Fayruz]"; - mes "Oooh...! This one is"; - mes "much different than the"; - mes "other ones you gave me"; - mes "before. This should provide"; - mes "a wealth of brand new insights"; - mes "into the Juperos civilization!"; - next; - mes "[Fayruz]"; - mes "All the Transparent"; - mes "Plates you've given me"; - mes "should contain more than"; - mes "enough data for me to fully"; - mes "complete my research thesis."; - mes "Once again, thank you so much~"; - next; - mes "[Fayruz]"; - mes "Still, that doesn't mean that"; - mes "I will stop collecting data for"; - mes "my research. Anyway, I have one last story to tell you, about"; - mes "a man of pure heart chosen by the gods to serve and protect mankind."; - next; - mes "[Fayruz]"; - mes "For this purpose he was given"; - mes "gaudy armor which contained"; - mes "amazing powers, as well as a"; - mes "book detailing the instructions"; - mes "for its use. However, he promptly"; - mes "lost these instructions..."; - next; - mes "^3355FFThe story about the"; - mes "greatest Juperosian hero"; - mes "that Fayruz tells you is very"; - mes "humorous at first, but then it"; - mes "covers the entire spectrum"; - mes "of emotion and humanity..."; - next; - mes "^3355FFThe story ends and you"; - mes "are left with a swelling"; - mes "feeling of indefatigable"; - mes "hope and inspiration..."; - mes "You can make it if you try!^000000"; - if(getarg(0) == 7352) set jupe_hist,jupe_hist+1; - else if(getarg(0) == 7353) set jupe_hist,jupe_hist+2; - else if(getarg(0) == 7354) set jupe_hist,jupe_hist+4; - else set jupe_hist,jupe_hist+8; - set yuno_hist,10; + } + else if (countitem(getarg(3))) { + mes "[Fayruz]"; + mes "Oh, this one seems"; + mes "to have been created"; + mes "in a similar era as the"; + mes "one you gave me earlier."; + mes "I'm not sure how much new"; + mes "information this may provide..."; + next; + mes "[Fayruz]"; + mes "Still, I'm sure this will"; + mes "helpful in my research. I just"; + mes "won't be as making progress"; + mes "as quickly as I had projected."; + mes "Please, I'd like you to take this as a token of my gratitude."; + delitem getarg(3),1; + getitem 644,1; + next; + mes "[Fayruz]"; + mes "Now if you'll excuse"; + mes "me, I need to go back"; + mes "to compiling my research..."; + mes "Thank you so much for"; + mes "your help, "+strcharinfo(0)+"."; + close; + } + else { + mes "[Fayruz]"; + mes "Oh. There isn't anything"; + mes "here that would help in my"; + mes "research, but thank you anyway."; + mes "If you find anything else while"; + mes "you're in Juperos, please come back and show it to me, alright?"; + close; + } + case 7: + if ((countitem(getarg(0))) || (countitem(getarg(1)))) { + mes "[Fayruz]"; + mes "Is this another"; + mes "Transparent Plate?"; + mes "Yes, it's quite different"; + mes "than the last one you"; + mes "brought over to me..."; + mes "This is so exciting!"; + next; + mes "[Fayruz]"; + mes "Oh. You must be thinking"; + mes "that I'm a complete academia"; + mes "addict. Well, my life might be"; + mes "a little uneventful, but there"; + mes "are other things I think about!"; + mes "Like, well... It's weird but..."; + next; + mes "[Fayruz]"; + mes "You see, there's this"; + mes "guy that I like. I'm not sure"; + mes "where he might be now, but"; + mes "his name is Nadim Amal. He's"; + mes "my friend's brother who I first"; + mes "met 10 years ago. ^333333*Sigh...*^000000"; + next; + mes "[Fayruz]"; + mes "Just recently, I saw"; + mes "him with his sister, my"; + mes "friend from Morroc. It's"; + mes "weird to think that I'd have"; + mes "these feelings for him after"; + mes "all this time, isn't it? Oh...!"; + next; + mes "[Fayruz]"; + mes "I really should repay"; + mes "you for this Transparent"; + mes "Plate. Why don't I tell you"; + mes "the scariest story that I know?"; + next; + mes "^3355FFFayruz tells you a"; + mes "creepy horror story that"; + mes "makes you shiver with fear."; + mes "You've heard other ghost"; + mes "stories, but you've never been"; + mes "so deeply immersed in one before.^000000"; + next; + mes "It is only when the"; + mes "story ends and you return"; + mes "to your senses that you notice that you're soaked in cold sweat.^000000"; + next; + mes "[Fayruz]"; + mes "It may be a natural"; + mes "response, but all people"; + mes "fear the unknown in one way"; + mes "or another. Scary stories are"; + mes "appealing because we actually"; + mes "like the strange and grotesque."; + if (countitem(getarg(0))) { delitem getarg(0),1; - getexp (checkre(3))?10000:100000,0; - next; - mes "[Fayruz]"; - mes "Well, that is the"; - mes "last and the best story"; - mes "that I have to share"; - mes "with you. Perhaps next"; - mes "time, I'll fill you in on my"; - mes "research progress~"; - close; + if (getarg(0) == 7352) set jupe_hist,jupe_hist +1; + else if (getarg(0) == 7353) set jupe_hist,jupe_hist +2; + else set jupe_hist,jupe_hist +4; } - else if((countitem(getarg(1))) || (countitem(getarg(2))) || (countitem(getarg(3)))) - { - mes "[Fayruz]"; - mes "Hmm..."; - mes "This one seems to be created in a similar time"; - mes "as the previous one."; - next; - mes "[Fayruz]"; - mes "Don't you worry."; - mes "This will help my research of course,"; - mes "although I do not think this will"; - mes "help me in advancing my research"; - mes "with a great speed unlike this other one."; - next; - mes "[Fayruz]"; - mes "Please take this as a token of my gratitude."; - next; - mes "[Fayruz]"; - mes "Now, excuse me. I need to go back to my research."; - if(countitem(getarg(1))) delitem getarg(1),1; - else if(countitem(getarg(2))) delitem getarg(2),1; - else delitem getarg(3),1; - getitem 644,1; - close; - } - else - { - mes "[Fayruz]"; - mes "Oh. There isn't anything"; - mes "here that would help in my"; - mes "research, but thank you anyway."; - mes "If you find anything else while"; - mes "you're in Juperos, please come back and show it to me, alright?"; - close; + else if (countitem(getarg(1))) { + delitem getarg(1),1; + if (getarg(1) == 7353) set jupe_hist,jupe_hist +2; + else if (getarg(1) == 7354) set jupe_hist,jupe_hist +4; + else set jupe_hist,jupe_hist +8; } + set yuno_hist,8; + getexp (checkre(3))?10000:100000,0; + next; + mes "[Fayruz]"; + mes "Well... That's just my"; + mes "opinion. Anyway, if you"; + mes "find anything else in Juperos"; + mes "that may help in my research,"; + mes "please come back and show it"; + mes "to me, alright? See you later~"; + close; + } + else if ((countitem(getarg(2))) || (countitem(getarg(3)))) { + mes "[Fayruz]"; + mes "Oh, this one seems"; + mes "to have been created"; + mes "in a similar era as the"; + mes "one you gave me earlier."; + mes "I'm not sure how much new"; + mes "information this may provide..."; + next; + mes "[Fayruz]"; + mes "Still, I'm sure this will"; + mes "helpful in my research. I just"; + mes "won't be as making progress"; + mes "as quickly as I had projected."; + mes "Please, I'd like you to take this as a token of my gratitude."; + next; + mes "[Fayruz]"; + mes "Now if you'll excuse"; + mes "me, I need to go back"; + mes "to compiling my research..."; + mes "Thank you so much for"; + mes "your help, "+strcharinfo(0)+"."; + if (countitem(getarg(2))) delitem getarg(2),1; + else if (countitem(getarg(3))) delitem getarg(3),1; + getitem 644,1; + close; + } + else { + mes "[Fayruz]"; + mes "Oh. There isn't anything"; + mes "here that would help in my"; + mes "research, but thank you anyway."; + mes "If you find anything else while"; + mes "you're in Juperos, please come back and show it to me, alright?"; + close; + } + case 9: + if (countitem(getarg(0))) { + mes "[Fayruz]"; + mes "Oooh...! This one is"; + mes "much different than the"; + mes "other ones you gave me"; + mes "before. This should provide"; + mes "a wealth of brand new insights"; + mes "into the Juperos civilization!"; + next; + mes "[Fayruz]"; + mes "All the Transparent"; + mes "Plates you've given me"; + mes "should contain more than"; + mes "enough data for me to fully"; + mes "complete my research thesis."; + mes "Once again, thank you so much~"; + next; + mes "[Fayruz]"; + mes "Still, that doesn't mean that"; + mes "I will stop collecting data for"; + mes "my research. Anyway, I have one last story to tell you, about"; + mes "a man of pure heart chosen by the gods to serve and protect mankind."; + next; + mes "[Fayruz]"; + mes "For this purpose he was given"; + mes "gaudy armor which contained"; + mes "amazing powers, as well as a"; + mes "book detailing the instructions"; + mes "for its use. However, he promptly"; + mes "lost these instructions..."; + next; + mes "^3355FFThe story about the"; + mes "greatest Juperosian hero"; + mes "that Fayruz tells you is very"; + mes "humorous at first, but then it"; + mes "covers the entire spectrum"; + mes "of emotion and humanity..."; + next; + mes "^3355FFThe story ends and you"; + mes "are left with a swelling"; + mes "feeling of indefatigable"; + mes "hope and inspiration..."; + mes "You can make it if you try!^000000"; + if (getarg(0) == 7352) set jupe_hist,jupe_hist+1; + else if (getarg(0) == 7353) set jupe_hist,jupe_hist+2; + else if (getarg(0) == 7354) set jupe_hist,jupe_hist+4; + else set jupe_hist,jupe_hist+8; + set yuno_hist,10; + delitem getarg(0),1; + getexp (checkre(3))?10000:100000,0; + next; + mes "[Fayruz]"; + mes "Well, that is the"; + mes "last and the best story"; + mes "that I have to share"; + mes "with you. Perhaps next"; + mes "time, I'll fill you in on my"; + mes "research progress~"; + close; + } + else if ((countitem(getarg(1))) || (countitem(getarg(2))) || (countitem(getarg(3)))) { + mes "[Fayruz]"; + mes "Hmm..."; + mes "This one seems to be created in a similar time"; + mes "as the previous one."; + next; + mes "[Fayruz]"; + mes "Don't you worry."; + mes "This will help my research of course,"; + mes "although I do not think this will"; + mes "help me in advancing my research"; + mes "with a great speed unlike this other one."; + next; + mes "[Fayruz]"; + mes "Please take this as a token of my gratitude."; + next; + mes "[Fayruz]"; + mes "Now, excuse me. I need to go back to my research."; + if (countitem(getarg(1))) delitem getarg(1),1; + else if (countitem(getarg(2))) delitem getarg(2),1; + else delitem getarg(3),1; + getitem 644,1; + close; + } + else { + mes "[Fayruz]"; + mes "Oh. There isn't anything"; + mes "here that would help in my"; + mes "research, but thank you anyway."; + mes "If you find anything else while"; + mes "you're in Juperos, please come back and show it to me, alright?"; + close; + } } } yuno_in04,186,125,4 script Bundle of Files 111,{ - mes "^8B6914*Thesis: The Fall of Juperos*"; mes "By Fayruz Khrhiyha"; mes "Sage Castle Researcher^000000"; next; - switch( select("Table of Contents.","Leave it alone.") ) - { - case 1: - if(yuno_hist > 4) - { - mes "^8B6914 1. Preface"; - mes " 2. Juperos Background"; - mes " 3. Theory Behind Its Fall^000000"; - next; - switch( select("Preface","Juperos Background","Theory Behind Its Fall","Leave it alone.") ) - { - case 1: - mes "^8B6914Scholars are certain"; - mes "that the Juperos civilization"; - mes "used to be located above the"; - mes "ground, but it is now buried"; - mes "beneath the El Mes Plateau."; - mes "The reasons for the city's"; - if(yuno_hist < 9) - { - mes "ruin are still nebulous...^000000"; - next; - mes "^8B6914There is much speculation"; - mes "about the reasons for Jupero's"; - mes "downfall, but any documentation"; - mes "from that time period has been"; - mes "difficult to find. As for now, any evidence we have regarding"; - mes "Juperos is inconclusive.^000000"; - next; - mes "^8B6914In spite of this lack"; - mes "of empirical or concrete"; - mes "data on the civilization of"; - mes "Juperos, our modern world"; - mes "may be able to learn much"; - mes "from that ancient city's ruins."; - mes "..................^000000"; - if(yuno_hist < 7) - { - next; - mes "["+strcharinfo(0)+"]"; - mes "Hmmm..."; - mes "A whole chapter"; - mes "dedicated to saying,"; - mes "''We know absolutely"; - mes "nothing about something.''"; - mes "I should write a book~"; - } - close; - } - mes "ruin are still in debate...^000000"; - next; - mes "^8B6914However, new findings"; - mes "regarding the history"; - mes "of Juperos have allowed"; - mes "us to make a few conclusions.^000000"; - close; - - case 2: - if(yuno_hist < 9) - { - mes "^8B6914..."; - mes "......"; - mes "..........^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "This is all just idle"; - mes "conjecture! This paper"; - mes "isn't developed enough"; - mes "yet to be a real thesis..."; - close; - } - else if(yuno_hist == 9) - { - mes "^8B6914Juperos was built over"; - mes "a thousand years ago in"; - mes "an era of peace just after"; - mes "a major war. Contrary to"; - mes "popular belief, there isn't any"; - mes "evidence proving that Juno may"; - mes "have descended from Juperos.^000000"; - next; - mes "^8B6914In fact, there is a"; - mes "strong possibility that"; - mes "another war, between Juno"; - mes "and Juperos, resulted in Juno's"; - mes "independence from Juperos and"; - mes "the destruction of any existing"; - mes "documentation from that era.^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Yes... Of course!"; - mes "It all makes sense now!"; - close; - } - mes "^8B6914Juperos was built over"; - mes "a thousand years ago in"; - mes "an era of peace just after"; - mes "a major war. There is now"; - mes "direct evidence linking Juno"; - mes "to Juperos proving that Juno"; - mes "was but a part of Juperos.^000000"; - next; - mes "^8B6914Just like Juno, Juperos"; - mes "was a society that prided"; - mes "itself on its advancement"; - mes "in the sciences which played"; - mes "a permeating role in civilized"; - mes "life. Science was reponsible for Juperos's rise and downfall."; - close; - - case 3: - if(yuno_hist < 10) - { - mes "^8B6914..."; - mes "......"; - mes "..........^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Huh. This writer keeps"; - mes "talking about theories,"; - mes "but the more I read, the"; - mes "less clear I am on what"; - mes "the theory actually is."; - mes "I don't think there is one..."; - emotion 4,1; - close; - } - mes "^8B6914What is most unsettling"; - mes "is recent evidence, including"; - mes "a first hand written account,"; - mes "regarding the role of one of"; - mes "Jupero's foremost scientists"; - mes "in that city's rise and fall."; - next; - mes "^8B6914If these writings are"; - mes "authentic, then what actually"; - mes "happened was that a scientific"; - mes "revolution occurred as a direct"; - mes "result of one scientist's effort to manipulate the energies of the"; - mes "artifact known as Ymir's heart."; - next; - mes "^8B6914This one man and Ymir's"; - mes "Heart are credited with"; - mes "the success and prosperity"; - mes "of the Jupero's civilization."; - mes "However, there are various accounts prior to Jupero's fall"; - mes "detailing his work with chimera...^000000"; - next; - mes "^8B6914This scientist, supposedly"; - mes "in his passion to benefit his"; - mes "people by finding a scientific"; - mes "method for immortality by using"; - mes "chimera for testing, was driven"; - mes "insane. He experimented on"; - mes "himself with disatrous results.^000000"; - next; - mes "^8B6914There was an error in the"; - mes "energy calibration of Ymir's"; - mes "Heart and the scientist was"; - mes "transformed into the monster"; - mes "we now know as Chimera. He"; - mes "and his test subjects were set"; - mes "loose into the city of Juperos.^000000"; - next; - mes "^8B6914These immortal Chimeras"; - mes "razed the entire city, killing"; - mes "countless people. Apparently,"; - mes "a team of scientists were able"; - mes "to salvage a fragment of Ymir's"; - mes "Heart, and use it to lauch part"; - mes "of Juperos into the sky.^000000"; - next; - mes "^8B6914That section of Juperos"; - mes "eventually developed into"; - mes "the city of Juno. Since the"; - mes "scientists who launched Juno into the sky all immediately died"; - mes "afterwards from an unknown cause, they left no documentation.^000000"; - next; - mes "^8B6914The Chimera, and the"; - mes "laboratory in which it"; - mes "was created, is rumored to"; - mes "remain beneath the ruins of"; - mes "the once great city of Juperos.^000000"; - close; - - case 4: - mes "["+strcharinfo(0)+"]"; - mes "Ugh... My head hurts"; - mes "too much from reading"; - mes "a book for smarty people."; - mes "I know! I'll play videogames!"; - close; - } - } - switch( select( "Preface","Close the file.") ) - { - case 1: - mes "^8B6914Scholars are certain"; - mes "that the Juperos civilization"; - mes "used to be located above the"; - mes "ground, but it is now buried"; - mes "beneath the El Mes Plateau."; - mes "The reasons for the city's"; + switch(select("Table of Contents.:Leave it alone.")) { + case 1: + if (yuno_hist > 4) { + mes "^8B6914 1. Preface"; + mes " 2. Juperos Background"; + mes " 3. Theory Behind Its Fall^000000"; + next; + switch(select("Preface:Juperos Background:Theory Behind Its Fall:Leave it alone.")) { + case 1: + mes "^8B6914Scholars are certain"; + mes "that the Juperos civilization"; + mes "used to be located above the"; + mes "ground, but it is now buried"; + mes "beneath the El Mes Plateau."; + mes "The reasons for the city's"; + if (yuno_hist < 9) { mes "ruin are still nebulous...^000000"; next; mes "^8B6914There is much speculation"; @@ -1235,72 +961,239 @@ yuno_in04,186,125,4 script Bundle of Files 111,{ mes "may be able to learn much"; mes "from that ancient city's ruins."; mes "..................^000000"; - if(!yuno_hist) set yuno_hist,1; + if (yuno_hist < 7) { + next; + mes "["+strcharinfo(0)+"]"; + mes "Hmmm..."; + mes "A whole chapter"; + mes "dedicated to saying,"; + mes "''We know absolutely"; + mes "nothing about something.''"; + mes "I should write a book~"; + } + close; + } + mes "ruin are still in debate...^000000"; + next; + mes "^8B6914However, new findings"; + mes "regarding the history"; + mes "of Juperos have allowed"; + mes "us to make a few conclusions.^000000"; + close; + case 2: + if (yuno_hist < 9) { + mes "^8B6914..."; + mes "......"; + mes "..........^000000"; next; mes "["+strcharinfo(0)+"]"; - mes "This..."; - mes "This is supposed to"; - mes "be a research thesis?"; - mes "There's barely any"; - mes "research in it..."; + mes "This is all just idle"; + mes "conjecture! This paper"; + mes "isn't developed enough"; + mes "yet to be a real thesis..."; close; - - case 2: + } + else if (yuno_hist == 9) { + mes "^8B6914Juperos was built over"; + mes "a thousand years ago in"; + mes "an era of peace just after"; + mes "a major war. Contrary to"; + mes "popular belief, there isn't any"; + mes "evidence proving that Juno may"; + mes "have descended from Juperos.^000000"; + next; + mes "^8B6914In fact, there is a"; + mes "strong possibility that"; + mes "another war, between Juno"; + mes "and Juperos, resulted in Juno's"; + mes "independence from Juperos and"; + mes "the destruction of any existing"; + mes "documentation from that era.^000000"; + next; mes "["+strcharinfo(0)+"]"; - mes "Hmm..."; - mes "This isn't heavy"; - mes "enough to be a real"; - mes "academic work. It must"; - mes "not even be finished yet."; + mes "Yes... Of course!"; + mes "It all makes sense now!"; close; + } + mes "^8B6914Juperos was built over"; + mes "a thousand years ago in"; + mes "an era of peace just after"; + mes "a major war. There is now"; + mes "direct evidence linking Juno"; + mes "to Juperos proving that Juno"; + mes "was but a part of Juperos.^000000"; + next; + mes "^8B6914Just like Juno, Juperos"; + mes "was a society that prided"; + mes "itself on its advancement"; + mes "in the sciences which played"; + mes "a permeating role in civilized"; + mes "life. Science was reponsible for Juperos's rise and downfall."; + close; + case 3: + if (yuno_hist < 10) { + mes "^8B6914..."; + mes "......"; + mes "..........^000000"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh. This writer keeps"; + mes "talking about theories,"; + mes "but the more I read, the"; + mes "less clear I am on what"; + mes "the theory actually is."; + mes "I don't think there is one..."; + emotion e_swt,1; + close; + } + mes "^8B6914What is most unsettling"; + mes "is recent evidence, including"; + mes "a first hand written account,"; + mes "regarding the role of one of"; + mes "Jupero's foremost scientists"; + mes "in that city's rise and fall."; + next; + mes "^8B6914If these writings are"; + mes "authentic, then what actually"; + mes "happened was that a scientific"; + mes "revolution occurred as a direct"; + mes "result of one scientist's effort to manipulate the energies of the"; + mes "artifact known as Ymir's heart."; + next; + mes "^8B6914This one man and Ymir's"; + mes "Heart are credited with"; + mes "the success and prosperity"; + mes "of the Jupero's civilization."; + mes "However, there are various accounts prior to Jupero's fall"; + mes "detailing his work with chimera...^000000"; + next; + mes "^8B6914This scientist, supposedly"; + mes "in his passion to benefit his"; + mes "people by finding a scientific"; + mes "method for immortality by using"; + mes "chimera for testing, was driven"; + mes "insane. He experimented on"; + mes "himself with disatrous results.^000000"; + next; + mes "^8B6914There was an error in the"; + mes "energy calibration of Ymir's"; + mes "Heart and the scientist was"; + mes "transformed into the monster"; + mes "we now know as Chimera. He"; + mes "and his test subjects were set"; + mes "loose into the city of Juperos.^000000"; + next; + mes "^8B6914These immortal Chimeras"; + mes "razed the entire city, killing"; + mes "countless people. Apparently,"; + mes "a team of scientists were able"; + mes "to salvage a fragment of Ymir's"; + mes "Heart, and use it to lauch part"; + mes "of Juperos into the sky.^000000"; + next; + mes "^8B6914That section of Juperos"; + mes "eventually developed into"; + mes "the city of Juno. Since the"; + mes "scientists who launched Juno into the sky all immediately died"; + mes "afterwards from an unknown cause, they left no documentation.^000000"; + next; + mes "^8B6914The Chimera, and the"; + mes "laboratory in which it"; + mes "was created, is rumored to"; + mes "remain beneath the ruins of"; + mes "the once great city of Juperos.^000000"; + close; + case 4: + mes "["+strcharinfo(0)+"]"; + mes "Ugh... My head hurts"; + mes "too much from reading"; + mes "a book for smarty people."; + mes "I know! I'll play videogames!"; + close; } + } + switch(select("Preface:Close the file.")) { + case 1: + mes "^8B6914Scholars are certain"; + mes "that the Juperos civilization"; + mes "used to be located above the"; + mes "ground, but it is now buried"; + mes "beneath the El Mes Plateau."; + mes "The reasons for the city's"; + mes "ruin are still nebulous...^000000"; + next; + mes "^8B6914There is much speculation"; + mes "about the reasons for Jupero's"; + mes "downfall, but any documentation"; + mes "from that time period has been"; + mes "difficult to find. As for now, any evidence we have regarding"; + mes "Juperos is inconclusive.^000000"; + next; + mes "^8B6914In spite of this lack"; + mes "of empirical or concrete"; + mes "data on the civilization of"; + mes "Juperos, our modern world"; + mes "may be able to learn much"; + mes "from that ancient city's ruins."; + mes "..................^000000"; + if (!yuno_hist) set yuno_hist,1; + next; + mes "["+strcharinfo(0)+"]"; + mes "This..."; + mes "This is supposed to"; + mes "be a research thesis?"; + mes "There's barely any"; + mes "research in it..."; + close; case 2: - if(yuno_hist < 5) - { - mes "["+strcharinfo(0)+"]"; - mes "Nah..."; - mes "I'm tired of reading."; - mes "Ironically enough."; - close; - } - else if(yuno_hist < 7) - { - mes "["+strcharinfo(0)+"]"; - mes "I don't feel like"; - mes "reading this. Not"; - mes "enough pictures..."; - close; - } - else if(yuno_hist < 9) - { - mes "["+strcharinfo(0)+"]"; - mes "It looks very sophisticated..."; - close; - } - else if(yuno_hist < 10) - { - mes "["+strcharinfo(0)+"]"; - mes "I know this book..."; - mes "But I don't feel like"; - mes "reading it right now."; - close; - } - else - { - mes "["+strcharinfo(0)+"]"; - mes "This thesis is"; - mes "looking pretty good~"; - mes "Of course, I did have"; - mes "a hand in making it..."; - close; - } + mes "["+strcharinfo(0)+"]"; + mes "Hmm..."; + mes "This isn't heavy"; + mes "enough to be a real"; + mes "academic work. It must"; + mes "not even be finished yet."; + close; + } + case 2: + if (yuno_hist < 5) { + mes "["+strcharinfo(0)+"]"; + mes "Nah..."; + mes "I'm tired of reading."; + mes "Ironically enough."; + close; + } + else if (yuno_hist < 7) { + mes "["+strcharinfo(0)+"]"; + mes "I don't feel like"; + mes "reading this. Not"; + mes "enough pictures..."; + close; + } + else if (yuno_hist < 9) { + mes "["+strcharinfo(0)+"]"; + mes "It looks very sophisticated..."; + close; + } + else if (yuno_hist < 10) { + mes "["+strcharinfo(0)+"]"; + mes "I know this book..."; + mes "But I don't feel like"; + mes "reading it right now."; + close; + } + else { + mes "["+strcharinfo(0)+"]"; + mes "This thesis is"; + mes "looking pretty good~"; + mes "Of course, I did have"; + mes "a hand in making it..."; + close; + } } } yuno_in04,188,118,4 script Book#juperos 111,{ - - if(yuno_hist > 7) - { + if (yuno_hist > 7) { mes "^8B6914*Self-Honesty*"; mes "*'Benefits Fo' Life!'*"; mes "By Stephen Oyoung"; @@ -1360,9 +1253,7 @@ yuno_in04,188,118,4 script Book#juperos 111,{ // Bronze Statue - juperos_01 99 112 juperos_01,99,112,4 script Bronze Statue#1 844,{ - - if(yuno_hist > 3) - { + if (yuno_hist > 3) { mes "^3355FF''Do you wish to see"; mes "the end of the madness?"; mes "He is waiting where the three"; @@ -1370,8 +1261,7 @@ juperos_01,99,112,4 script Bronze Statue#1 844,{ mes "two hundred illusions wander.''^000000"; close; } - else if(yuno_hist == 3) - { + else if (yuno_hist == 3) { mes "["+strcharinfo(0)+"]"; mes "I better go and"; mes "see Fayruz in the"; @@ -1379,62 +1269,57 @@ juperos_01,99,112,4 script Bronze Statue#1 844,{ mes "her about the inscription."; close; } - else - { + else { mes "^3355FFThere's a peculiar"; mes "engraving on the"; mes "Bronze Statue's rod.^000000"; next; - switch( select( "Investigate","Ignore it" ) ) - { - case 1 : - mes "^3355FFIt's an inscription that's"; - mes "written in an old language"; - mes "that you can't understand,"; - mes "but have no problem reading"; - mes "and making out the sounds"; - mes "for some weird reason.^000000"; - next; + switch(select("Investigate:Ignore it")) { + case 1: + mes "^3355FFIt's an inscription that's"; + mes "written in an old language"; + mes "that you can't understand,"; + mes "but have no problem reading"; + mes "and making out the sounds"; + mes "for some weird reason.^000000"; + next; + mes "["+strcharinfo(0)+"]"; + mes "This is creepy!"; + mes "I know that I'm not"; + mes "supposed to be able"; + mes "to read this, but here"; + mes "I am. I know what sounds"; + mes "all of these letters make..."; + next; + if (yuno_hist == 2) { mes "["+strcharinfo(0)+"]"; - mes "This is creepy!"; - mes "I know that I'm not"; - mes "supposed to be able"; - mes "to read this, but here"; - mes "I am. I know what sounds"; - mes "all of these letters make..."; - next; - if(yuno_hist == 2) - { - mes "["+strcharinfo(0)+"]"; - mes "Then again, Fayruz did"; - mes "say this was enchanted."; - mes "Okay, I guess I'll go back"; - mes "to the Juno Library and"; - mes "tell her what I found."; - set yuno_hist,3; - close; - } - mes "["+strcharinfo(0)+"]"; - mes "Huh. Only a scholar,"; - mes "maybe someone even in"; - mes "Juno, could make sense"; - mes "of what this stuff says."; - close; - - case 2 : + mes "Then again, Fayruz did"; + mes "say this was enchanted."; + mes "Okay, I guess I'll go back"; + mes "to the Juno Library and"; + mes "tell her what I found."; + set yuno_hist,3; close; + } + mes "["+strcharinfo(0)+"]"; + mes "Huh. Only a scholar,"; + mes "maybe someone even in"; + mes "Juno, could make sense"; + mes "of what this stuff says."; + close; + case 2: + close; } } } yuno_in04,169,109,1 script Ambitious Hollgrehenn 111,{ - mes "*Hollgrehenn: The Ambition*"; mes "By Aragham Caul*"; - mes ""; - mes ""; - mes ""; - mes ""; + mes " "; + mes " "; + mes " "; + mes " "; mes "Publisher:"; mes "Muha Books, Co."; next; @@ -1454,7 +1339,6 @@ yuno_in04,169,109,1 script Ambitious Hollgrehenn 111,{ } yuno_in04,174,111,1 script Penniless Hollgrehenn 111,{ - mes "^8B6914*Penniless Hollgrehenn*"; mes " * Pennyless Hollgrehenn * "; mes "By Hollgrehenn"; @@ -1474,7 +1358,6 @@ yuno_in04,174,111,1 script Penniless Hollgrehenn 111,{ } yuno_in04,102,106,1 script Popular Feasts 111,{ - mes "^8B6914*Popular Feasts*"; mes "By Cabbage Pickle Community"; mes " "; @@ -1483,47 +1366,43 @@ yuno_in04,102,106,1 script Popular Feasts 111,{ mes "Publisher:"; mes "Muha Books, Co.^000000"; next; - switch( select( " 1. Fried Yoyo Tails"," 14. Poring Salad"," 252. Beak Soup" ) ) - { - case 1: - mes "^8B6914..."; - mes "If possible, try"; - mes "to use tails cut"; - mes "from live Yoyos."; - mes "Now, as for skinning...^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Um..."; - mes "Barf?"; - close; - - case 2: - mes "["+strcharinfo(0)+"]"; - mes "Hey, this page is gone!"; - mes "I guess Poring Salad is"; - mes "the most popular feast"; - mes "in this entire book."; - close; - - case 3: - mes "^8B6914..."; - mes "Fry the cut beaks"; - mes "using herbal oil until"; - mes "crisp. Then, pour the"; - mes "feathers into a blender...^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Hmm..."; - mes "Sounds a little"; - mes "too gourmet for my"; - mes "taste. And by ''gourmet,''"; - mes "I mean, ''totally gross.''"; - close; + switch(select(" 1. Fried Yoyo Tails: 14. Poring Salad: 252. Beak Soup")) { + case 1: + mes "^8B6914..."; + mes "If possible, try"; + mes "to use tails cut"; + mes "from live Yoyos."; + mes "Now, as for skinning...^000000"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Um..."; + mes "Barf?"; + close; + case 2: + mes "["+strcharinfo(0)+"]"; + mes "Hey, this page is gone!"; + mes "I guess Poring Salad is"; + mes "the most popular feast"; + mes "in this entire book."; + close; + case 3: + mes "^8B6914..."; + mes "Fry the cut beaks"; + mes "using herbal oil until"; + mes "crisp. Then, pour the"; + mes "feathers into a blender...^000000"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Hmm..."; + mes "Sounds a little"; + mes "too gourmet for my"; + mes "taste. And by ''gourmet,''"; + mes "I mean, ''totally gross.''"; + close; } } yuno_in04,111,108,1 script Hamerun, Rat Hunter 111,{ - mes "["+strcharinfo(0)+"]"; mes "I can't..."; mes "reach it...!"; @@ -1531,183 +1410,170 @@ yuno_in04,111,108,1 script Hamerun, Rat Hunter 111,{ } yuno_in04,167,127,1 script Red Book 111,{ - mes "^3355FFYou find a book"; mes "with red binding.^000000"; next; - switch( select( "Read.","Leave it alone." ) ) - { - case 1: - mes "^8B6914...^000000"; - next; - mes "^8B6914..."; - mes "......^000000"; - next; - mes "^8B6914..."; - mes "......"; - mes ".........^000000"; - next; - mes "^8B6914..."; - mes "......"; - mes "........."; - mes "............^000000"; - next; - mes "["+strcharinfo(0)+"]"; - mes "This is..."; - mes "A compilation of"; - mes "Shakespeare in "; - mes "coloring book format?"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Wait..."; - mes "Why would fans of"; - mes "Shakespeare even"; - mes "want a coloring book?"; - next; - mes "["+strcharinfo(0)+"]"; - mes "Hmm... Well..."; - mes "I suppose little kids who"; - mes "read Shakespeare would"; - mes "appreciate something like that."; - next; - mes "["+strcharinfo(0)+"]"; - mes "Hold on..."; - mes "Do little kids who"; - mes "are able to read the"; - mes "works of Shakespeare"; - mes "even exist? I hope not..."; - close; - - case 2: - mes "["+strcharinfo(0)+"]"; - mes "What a strange"; - mes "and mysterious book."; - mes "I'll never know what's"; - mes "inside unless I read it!"; - mes "Come on! Doesn't the red"; - mes "binding mean something?"; - close; + switch(select("Read.:Leave it alone.")) { + case 1: + mes "^8B6914...^000000"; + next; + mes "^8B6914..."; + mes "......^000000"; + next; + mes "^8B6914..."; + mes "......"; + mes ".........^000000"; + next; + mes "^8B6914..."; + mes "......"; + mes "........."; + mes "............^000000"; + next; + mes "["+strcharinfo(0)+"]"; + mes "This is..."; + mes "A compilation of"; + mes "Shakespeare in "; + mes "coloring book format?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Wait..."; + mes "Why would fans of"; + mes "Shakespeare even"; + mes "want a coloring book?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Hmm... Well..."; + mes "I suppose little kids who"; + mes "read Shakespeare would"; + mes "appreciate something like that."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Hold on..."; + mes "Do little kids who"; + mes "are able to read the"; + mes "works of Shakespeare"; + mes "even exist? I hope not..."; + close; + case 2: + mes "["+strcharinfo(0)+"]"; + mes "What a strange"; + mes "and mysterious book."; + mes "I'll never know what's"; + mes "inside unless I read it!"; + mes "Come on! Doesn't the red"; + mes "binding mean something?"; + close; } } yuno_in04,121,109,1 script Scroll 111,{ - mes "^3355FFYou've found an"; mes "antiquated scroll"; mes "that's collected a"; mes "layer of fine dust.^000000"; next; - switch( select( "Peruse","Leave it alone" ) ) - { - case 1: - mes "^8B6914Item Upgrade Introduction"; - mes " "; - mes " "; - mes " "; - mes "1. Item Upgrade Definition"; - mes " "; - mes "The key to success when"; - mes "upgrading items comes from"; - mes "only one place: Your ''Mind.''"; - mes " "; - mes " "; - mes " "; - mes "2. Power of a Positive Attitude"; - mes "Before trying to upgrade"; - mes "an item, plan out how high"; - mes "you want to upgrade and how"; - mes "much you'll spend beforehand."; - mes "But like all ladies, Lady Luck"; - mes "smiles when you fully splurge.^000000"; - mes " "; - mes " "; - next; - mes "["+strcharinfo(0)+"]"; - mes "Wait, wait..."; - mes "This thing IS old."; - mes "I mean, it's obviously"; - mes "written from a patriarchal"; - mes "standpoint that promotes"; - mes "bipartisan gender roles."; - next; - mes "["+strcharinfo(0)+"]"; - mes "I'm..."; - mes "I'm so offended."; - close; - - case 2: - mes "["+strcharinfo(0)+"]"; - mes "This scroll is far too"; - mes "primitive. There's been"; - mes "all sorts of technological"; - mes "reading advances that I can't"; - mes "live without... Like pages."; - close; + switch(select("Peruse:Leave it alone")) { + case 1: + mes "^8B6914Item Upgrade Introduction"; + mes " "; + mes " "; + mes " "; + mes "1. Item Upgrade Definition"; + mes " "; + mes "The key to success when"; + mes "upgrading items comes from"; + mes "only one place: Your ''Mind.''"; + mes " "; + mes " "; + mes " "; + mes "2. Power of a Positive Attitude"; + mes "Before trying to upgrade"; + mes "an item, plan out how high"; + mes "you want to upgrade and how"; + mes "much you'll spend beforehand."; + mes "But like all ladies, Lady Luck"; + mes "smiles when you fully splurge.^000000"; + mes " "; + mes " "; + next; + mes "["+strcharinfo(0)+"]"; + mes "Wait, wait..."; + mes "This thing IS old."; + mes "I mean, it's obviously"; + mes "written from a patriarchal"; + mes "standpoint that promotes"; + mes "bipartisan gender roles."; + next; + mes "["+strcharinfo(0)+"]"; + mes "I'm..."; + mes "I'm so offended."; + close; + case 2: + mes "["+strcharinfo(0)+"]"; + mes "This scroll is far too"; + mes "primitive. There's been"; + mes "all sorts of technological"; + mes "reading advances that I can't"; + mes "live without... Like pages."; + close; } } yuno_in04,118,116,4 script Paper 111,{ - mes "^3355FFIt's a piece of"; mes "paper that looks"; mes "like a personal letter.^000000"; next; - switch( select("Read it.","Leave it alone.") ) - { - case 1: - if(yuno_hist > 7) - { - mes "^8B6914P.S."; - mes "Please..."; - mes "Come back to me."; - mes " "; - mes " "; - mes "Love,"; - mes "Fayruz^000000"; - close; - } - mes "^8B6914..."; - mes "I can't forget your smile."; - mes "No matter what, even if you"; - mes "hate me, I'll always have these"; - mes "feelings just for you. You are"; - mes "the one who is most special,"; - mes "who means the most to my heart.^000000"; - next; - mes "^8B6914I know we've had our"; - mes "differences, but please"; - mes "don't refuse my love. By"; - mes "your hands, I hope that"; - mes "you can forgive me for us."; - mes "- Love, Fayruz^000000"; - next; - if(getpartnerid()) - { - mes "["+strcharinfo(0)+"]"; - mes "Ahhhhhh~"; - mes "Love sure is nice!"; - close; - } - mes "["+strcharinfo(0)+"]"; - mes "What th--?!"; - mes "Booooooooo!"; - mes "Love stinks!"; + switch(select("Read it.:Leave it alone.")) { + case 1: + if (yuno_hist > 7) { + mes "^8B6914P.S."; + mes "Please..."; + mes "Come back to me."; + mes " "; + mes " "; + mes "Love,"; + mes "Fayruz^000000"; close; - - case 2: + } + mes "^8B6914..."; + mes "I can't forget your smile."; + mes "No matter what, even if you"; + mes "hate me, I'll always have these"; + mes "feelings just for you. You are"; + mes "the one who is most special,"; + mes "who means the most to my heart.^000000"; + next; + mes "^8B6914I know we've had our"; + mes "differences, but please"; + mes "don't refuse my love. By"; + mes "your hands, I hope that"; + mes "you can forgive me for us."; + mes "- Love, Fayruz^000000"; + next; + if (getpartnerid()) { mes "["+strcharinfo(0)+"]"; - mes "I guess I better"; - mes "not look at this."; - mes "I mean, I might"; - mes "regret reading it."; + mes "Ahhhhhh~"; + mes "Love sure is nice!"; close; + } + mes "["+strcharinfo(0)+"]"; + mes "What th--?!"; + mes "Booooooooo!"; + mes "Love stinks!"; + close; + case 2: + mes "["+strcharinfo(0)+"]"; + mes "I guess I better"; + mes "not look at this."; + mes "I mean, I might"; + mes "regret reading it."; + close; } } juperos_01,123,92,4 script Stone Statue 844,{ - - if(yuno_hist) - { + if (yuno_hist) { mes "^3355FFIt's a stone statue"; mes "that looks exactly like"; mes "the one in the Juno Library."; @@ -1727,7 +1593,6 @@ juperos_01,123,92,4 script Stone Statue 844,{ } juperos_01,99,71,4 script Bronze Statue#2 844,{ - mes "^3355FFIt's an elaborate"; mes "bronze statue that"; mes "is twice the height of"; @@ -1736,14 +1601,12 @@ juperos_01,99,71,4 script Bronze Statue#2 844,{ } juperos_01,79,92,4 script Sculpture 844,{ - mes "^3355FFIt's a sculpture that"; mes "looks familiar to you.^000000"; close; } juperos_01,215,127,4 script Machine Statue 844,{ - mes "^3355FFThis is the bust of a"; mes "humanoid machine with"; mes "a familiar Crest Piece"; @@ -1914,7 +1777,7 @@ OnTimer483000: OnTimer506000: OnTimer529000: OnTimer552000: - specialeffect 561; + specialeffect EF_BIG_PORTAL; end; OnTimer556000: @@ -1926,7 +1789,7 @@ OnTimer561000: end; OnTimer598000: - specialeffect 561; + specialeffect EF_BIG_PORTAL; end; OnTimer600000: @@ -2069,7 +1932,7 @@ OnInit: OnEnable: enablenpc "Warp#1-1"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -2363,7 +2226,7 @@ OnInit: OnEnable: enablenpc "Warp#1-2"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -2650,7 +2513,7 @@ OnInit: OnEnable: enablenpc "Warp#1-3"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -2939,7 +2802,7 @@ OnInit: OnEnable: enablenpc "Warp#1-4"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -3118,7 +2981,7 @@ jupe_area1,112,162,0 script Lever#ufe 844,{ next; switch(select("Pull.:Cancel.")) { case 1: - if($@JupreArea1InUse == 1) close; + if ($@JupreArea1InUse == 1) close; initnpctimer; donpcevent "LeverWarp#ufe::OnEnable"; disablenpc "Lever#ufe"; @@ -3145,7 +3008,7 @@ OnInit: OnEnable: enablenpc "LeverWarp#ufe"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -3278,7 +3141,7 @@ OnInit: OnEnable: enablenpc "Warp#2-1"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -3572,7 +3435,7 @@ OnInit: OnEnable: enablenpc "Warp#2-2"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -3859,7 +3722,7 @@ OnInit: OnEnable: enablenpc "Warp#2-3"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -4150,7 +4013,7 @@ OnInit: OnEnable: enablenpc "Warp#2-4"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -4331,7 +4194,7 @@ jupe_area2,51,162,0 script Lever#ufe2 844,{ next; switch(select("Pull.:Cancel.")) { case 1: - if($@JupreArea2InUse == 1) close; + if ($@JupreArea2InUse == 1) close; initnpctimer; donpcevent "LeverWarp#ufe2::OnEnable"; disablenpc "Lever#ufe2"; @@ -4358,7 +4221,7 @@ OnInit: OnEnable: enablenpc "LeverWarp#ufe2"; - specialeffect 561; + specialeffect EF_BIG_PORTAL; soundeffectall "jupe_warp.wav",0; initnpctimer; end; @@ -4976,8 +4839,7 @@ OnTimer8000: OnMyMobDead: set .MyMobs,.MyMobs-1; if (.MyMobs < 1) { - if(getvariableofnpc(.MyMobs,"Guard-1#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-2#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-3#ufe") < 1) - { + if (getvariableofnpc(.MyMobs,"Guard-1#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-2#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-3#ufe") < 1) { donpcevent "GuardEnd#ufe::OnEnable"; stopnpctimer; } diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index f0288c1622..9bc0f5c7c6 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -20,7 +20,7 @@ //= Tube just makes sure you have 1 or more permits. //= 4.4 Replaced effect numerics with constants. [L0ne_W0lf] //= 4.5 Corrected an Incorrect check of the Shinokas_Quest. (bugreport:2276) [Samuray22] -//= Replaced effect numerics with constants. +//= Replaced effect numerics with constants. //= 4.5 Official Gangster Alert script. [Gepard] //= 4.6 Added quest log entries for: //= - Cursed Spirit Quest @@ -1721,8 +1721,8 @@ OnTouch: case 1: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 100) { - set zeny,zeny-100; + if (Zeny >= 100) { + set Zeny, Zeny-100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1737,8 +1737,8 @@ OnTouch: case 2: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 200) { - set zeny,zeny-200; + if (Zeny >= 200) { + set Zeny, Zeny-200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1754,8 +1754,8 @@ OnTouch: case 3: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 10) { - set zeny,zeny-10; + if (Zeny >= 10) { + set Zeny, Zeny-10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1794,8 +1794,8 @@ OnTouch: case 1: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 100) { - set zeny,zeny-100; + if (Zeny >= 100) { + set Zeny, Zeny-100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1810,8 +1810,8 @@ OnTouch: case 2: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 200) { - set zeny,zeny-200; + if (Zeny >= 200) { + set Zeny, Zeny-200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1827,8 +1827,8 @@ OnTouch: case 3: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 10) { - set zeny,zeny-10; + if (Zeny >= 10) { + set Zeny, Zeny-10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1867,8 +1867,8 @@ OnTouch: case 2: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 100) { - set zeny,zeny-100; + if (Zeny >= 100) { + set Zeny, Zeny-100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1884,8 +1884,8 @@ OnTouch: case 4: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 200) { - set zeny,zeny-200; + if (Zeny >= 200) { + set Zeny, Zeny-200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1901,8 +1901,8 @@ OnTouch: case 5: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; - if (zeny >= 10) { - set zeny,zeny-10; + if (Zeny >= 10) { + set Zeny, Zeny-10; } next; mes "[" + strcharinfo(0) + "]"; @@ -2019,7 +2019,7 @@ OnTouch: mes "but I hope we never bump"; mes "into each other ever again!"; } - set zeny,zeny-.@price; + set Zeny, Zeny-.@price; getitem 12016,.@number; //Speed_Up_Potion } } @@ -12067,11 +12067,11 @@ airplane_01,10,10,3 script #LyozienSwitch 111,{ //= 1.0a fixed rand(1,10) + comparision. There just can't be 'X < 1' [Lupus] //= 1.1 Changed the mobster spawn to g_mobster to prevent exploits [MasterOfMuppets] //= 1.2 Added the cube room quest by DeNy, translated by vicious_pucca. [MasterOfMuppets] -//= Thanks to Linuxwolf for a grammar check as well =). +//= Thanks to Linuxwolf for a grammar check as well =). //= 1.2a Moved Biolab entrance to lhz_dun warps. [Vicious] //= 1.3 Fixed password bug, fixed endless item exploit, some typos [Lupus] //= 1.4 Fixed password abuse. When people don't read the password under the picture -//= and enter Zero shit 8) (TODO: I saw some "Sticks" abuses, too.. where you could skip a part of quest...) +//= and enter Zero shit 8) (TODO: I saw some "Sticks" abuses, too.. where you could skip a part of quest...) //= 1.5 Fixed Mobster's OnDead event(it has to start with "On"!) [Playtester] //= 1.5a Fixed "free stick" bug, thx 2 Neouni [Lupus] //= 1.6 Added Gywall's Pickpocket Quest @@ -12081,29 +12081,29 @@ airplane_01,10,10,3 script #LyozienSwitch 111,{ //= 2.0 Removed Duplicates [Silent] //= 2.1 Added first part of Bio Ethics Quest [Evera] //= 2.2 Added bit to say Bio Ethics is unfinished, and if a player attempts, it warps them -//= out after finished part... Don't want players getting stuck ;_; [Evera] +//= out after finished part... Don't want players getting stuck ;_; [Evera] //= 2.3 Finished Bio Ethics Quest. Need bug testers before moving to trunk, my -//= mind was somewhere else when writing @_@ [Evera] -//= 2.4 Fixed the bug where a str&int debug was shown in the console for -//= test tube in bio labs quest. [Evera] -//= 2.5 Fixed Kellasus giving you extra skills in Bio Ethics quest [Evera] -//= 2.6 Fixed exploit letting any class get homunculus from Bio Ethics Quest [Evera] +//= mind was somewhere else when writing @_@ [Evera] +//= 2.4 Fixed the bug where a str&int debug was shown in the console for +//= test tube in bio labs quest. [Evera] +//= 2.5 Fixed Kellasus giving you extra skills in Bio Ethics quest [Evera] +//= 2.6 Fixed exploit letting any class get homunculus from Bio Ethics Quest [Evera] //= 2.6a Moved Bio Ethics Quest to Alchemist SKILL QUESTS [Lupus] //= 2.7 fixed bugs that let people bypass some quest parts V_V [Lupus] -//= reused cubekey var for 4 Cube Room key vars +//= reused cubekey var for 4 Cube Room key vars //= 2.8 More optimization. Also fixed bug with "2x short sticks -> long" [Lupus] -//= Now uses MISC_QUEST&512 instead of 'hzdun'. WIP +//= Now uses MISC_QUEST&512 instead of 'hzdun'. WIP //= 2.9 Fixed Friendship Quest levelup exploit (u could get EXP twice) [Lupus] //= 3.0 Added Cursed Spirit Quest. [SinSloth] -//= Moved a book non-related to Lighthalzen quests. +//= Moved a book non-related to Lighthalzen quests. //= 3.1 Added Schwartzvalt Trilogy Quest. [SinSloth] //= 3.2 Updated some NPCs regarding Hugel Rebellion Quest. [SinSloth] //= 3.2 Removed the NPC "#kiz03-4" as I couldn't find any [L0ne_W0lf] -//= reference to it in the Aegis script. +//= reference to it in the Aegis script. //= 3.3 Fixed a wrong negative value checking in Schwartzvalt Trilogy quest. [SinSloth] //= 3.4 Fixed experience gains to match upcoming rate adjustments. [SinSloth] //= 3.5 Touch-ups to the Friendship quest. Added EXP reward. [L0ne_W0lf] -//= Added cutins for "Maku" npc, and changed "set HP" to percentheal. +//= Added cutins for "Maku" npc, and changed "set HP" to percentheal. //= 3.5a Adjusted EXP given by "Benkasttein" to be the same as that given by Maku. [L0ne_W0lf] //= 3.6 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 3.7 Counter-fixed negative value checking to now look for both positive and negative values diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt index 1acd340c15..b40ec69363 100644 --- a/npc/quests/quests_louyang.txt +++ b/npc/quests/quests_louyang.txt @@ -37,7 +37,7 @@ //= 2.4 Added questlog support. [Euphy] //============================================================ -// Soup Quest +// Soup Quest :: lou_tre //============================================================ lou_in02,53,174,7 script Employee#1 822,6,62,{ if (gettime(3) >= 10 && gettime(3) < 22) { @@ -1088,7 +1088,7 @@ louyang,174,150,5 script Jiu Chi Ling#lou 815,{ close; } -// Doctor Quest +// Doctor Quest :: dr_china //============================================================ lou_in02,265,69,5 script Doctor#lyang 814,{ if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) { @@ -1887,7 +1887,7 @@ lou_in02,210,47,0 script City Hall Officer#lou 825,{ mes "[Jin Chiyuan]"; mes "^666666*Whispers*^000000"; mes "^333333When you go up stairs, another officer will give you the document you want.^000000 ^666666*Ahem*^000000 Louyang thanks you!"; - set zeny,zeny-.@input; + set Zeny, Zeny-.@input; if (ch_par == 5) { set ch_par,11; changequest 11046,11051; @@ -2156,8 +2156,7 @@ lou_in02,156,38,0 script Studying Officer#lou 822,{ } lou_in02,204,169,0 script Supply Stack#1lou 111,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FF* Wait a minute! *"; mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again. ^000000"; close; @@ -2207,8 +2206,7 @@ lou_in02,204,169,0 script Supply Stack#1lou 111,{ } lou_in02,207,168,0 script Supply Stack#5lou 111,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FF* Wait a minute !! *"; mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000"; close; @@ -2260,8 +2258,7 @@ lou_in02,207,168,0 script Supply Stack#5lou 111,{ } lou_in02,206,163,0 script Supply Stack#4lou 111,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FF* Wait a minute !! *"; mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000"; close; @@ -2313,8 +2310,7 @@ lou_in02,206,163,0 script Supply Stack#4lou 111,{ } lou_in02,198,170,0 script Supply Stack#3lou 111,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FF* Wait a minute !! *"; mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000"; close; @@ -2366,8 +2362,7 @@ lou_in02,198,170,0 script Supply Stack#3lou 111,{ } lou_in02,192,170,0 script Supply Stack#2 111,{ - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "^3355FF* Wait a minute !! *"; mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000"; close; @@ -2419,7 +2414,7 @@ louyang,125,121,0 warp Storage Warp#2 1,1,lou_in02,198,161; lou_in02,198,159,0 warp Storage Warp#3 1,1,louyang,124,118; lou_in02,203,159,0 warp Storage Warp#4 1,1,louyang,129,118 -// Poison King Quest +// Poison King Quest :: poison_king //============================================================ lou_in02,123,39,4 script Poison King#lou 824,{ // Attempt to preserve prior quest progress. @@ -4131,7 +4126,7 @@ lou_fild01,224,348,0 script Lady#delivery 817,{ mes "[Lady]"; mes "Alright, there you go!"; if (Zeny > 99) { - set zeny,zeny-100; + set Zeny, Zeny-100; } close2; specialeffect EF_BLASTMINEBOMB,AREA," #fire"; @@ -4153,7 +4148,7 @@ lou_fild01,224,348,0 script Lady#delivery 817,{ mes "Alright,"; mes "there you go!"; if (Zeny > 99) { - set zeny,zeny-100; + set Zeny, Zeny-100; } close2; donpcevent " #fire::OnClaymore"; @@ -4183,7 +4178,7 @@ lou_fild01,224,348,0 script Lady#delivery 817,{ mes "delivery fee of 1,000 zeny."; next; if (Zeny > 999) { - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 7126,1; //Large_Jellopy mes "[Lady]"; mes "Thank you~"; @@ -4241,7 +4236,7 @@ lou_fild01,224,348,0 script Lady#delivery 817,{ mes "Alright~"; mes "There you go!"; if (Zeny > 99) { - set zeny,zeny-100; + set Zeny, Zeny-100; } close2; donpcevent " #fire::OnClaymore"; @@ -4593,12 +4588,10 @@ lou_in01,99,144,4 script Soldier#bailong4 825,{ close; } -// Revolution Quest +// Revolution Quest :: lou_zero //============================================================ lou_in02,77,37,7 script Hermit 824,{ - - if(!QL_REVOL) - { + if (!QL_REVOL) { mes "[Sun Mao]"; mes "Where there's a will,"; mes "there's a way. When we"; @@ -4616,75 +4609,66 @@ lou_in02,77,37,7 script Hermit 824,{ mes "is Sun Mao."; mes "This invitation may be sudden, but I am a man of action. I see in your face that you too despise injustice."; next; - switch( select( "What am I supposed to do?","I will join you!","Well, I'm just another tourist..." ) ) - { + switch(select("What am I supposed to do?:I will join you!:Well, I'm just another tourist...")) { + case 1: + mes "[Sun Mao]"; + mes "For now, we must recruit as many members as we can. When we're ready, we'll start a movement that will change Louyang, and even the world!"; + next; + mes "[Sun Mao]"; + mes "However, we currently do not have the manpower to carry out the plans we have laid out. We've been lucky the lord hasn't found us out yet."; + next; + mes "[Sun Mao]"; + mes "I wish everyone would understand our intentions, but the people of this city are disunited. This is not the first time I have approached a foreigner for help..."; + next; + mes "[Sun Mao]"; + mes "I suppose you understand the urgency of our cause, and our need to gather others who see the merit of our goals!"; + close; + case 2: + mes "[Sun Mao]"; + mes "Oh, God must be on my side today and has sent you to me. Thank you for making the big decision..."; + next; + mes "[Sun Mao]"; + mes "I shall then engrave your name"; + mes "on this bloody pledge board. But before I do so, I shall ask once more. Do you truly wish to join us, through pain and bloodshed?"; + next; + switch(select("No, wait!:I am 100% sure.")) { case 1: mes "[Sun Mao]"; - mes "For now, we must recruit as many members as we can. When we're ready, we'll start a movement that will change Louyang, and even the world!"; - next; - mes "[Sun Mao]"; - mes "However, we currently do not have the manpower to carry out the plans we have laid out. We've been lucky the lord hasn't found us out yet."; - next; - mes "[Sun Mao]"; - mes "I wish everyone would understand our intentions, but the people of this city are disunited. This is not the first time I have approached a foreigner for help..."; - next; - mes "[Sun Mao]"; - mes "I suppose you understand the urgency of our cause, and our need to gather others who see the merit of our goals!"; + mes "I understand if you need time to decide. If you do decide to join us, please return. Time is on our side, after all."; close; - case 2: + set QL_REVOL,1; mes "[Sun Mao]"; - mes "Oh, God must be on my side today and has sent you to me. Thank you for making the big decision..."; + mes strcharinfo(0)+ "...!"; + mes "Your name is now engraved on this bloody pledge board. We will fight together to the death for Louyang's future!"; next; - mes "[Sun Mao]"; - mes "I shall then engrave your name"; - mes "on this bloody pledge board. But before I do so, I shall ask once more. Do you truly wish to join us, through pain and bloodshed?"; - next; - switch( select( "No, wait!","I am 100% sure." ) ) - { - case 1: - mes "[Sun Mao]"; - mes "I understand if you need time to decide. If you do decide to join us, please return. Time is on our side, after all."; - close; - - case 2: - set QL_REVOL,1; - mes "[Sun Mao]"; - mes strcharinfo(0)+ "...!"; - mes "Your name is now engraved on this bloody pledge board. We will fight together to the death for Louyang's future!"; - next; - getpartymember(getcharid(1)); - set @partymember,$@partymembercount; - if (getpartyleader(getcharid(1),1) == getcharid(0) || !@partymember) - { - mes "[Sun Mao]"; - mes "Now, the most important thing for our cause is to gather more recruits and increase our numbers. Please find others who will join us in our fight."; - next; - mes "[Sun Mao]"; - mes "However, as to not arouse suspicion, bring only one new recruit at a time. Also, we suggest not to bring a friend in a party with you."; - next; - mes "[Sun Mao]"; - mes "Now, I will wait for you here. Go forth and find others who wish for a better future for Louyang!"; - close; - } - mes "[Sun Mao]"; - mes "Please assist the people who fight behind you. As more are gathered, one of our comrades will inform you of further instructions."; - close; + getpartymember(getcharid(1)); + set @partymember,$@partymembercount; + if (getpartyleader(getcharid(1),1) == getcharid(0) || !@partymember) { + mes "[Sun Mao]"; + mes "Now, the most important thing for our cause is to gather more recruits and increase our numbers. Please find others who will join us in our fight."; + next; + mes "[Sun Mao]"; + mes "However, as to not arouse suspicion, bring only one new recruit at a time. Also, we suggest not to bring a friend in a party with you."; + next; + mes "[Sun Mao]"; + mes "Now, I will wait for you here. Go forth and find others who wish for a better future for Louyang!"; + close; } - - case 3: mes "[Sun Mao]"; - mes "Are you...? I see, you may leave now. Do not reveal what you have seen or heard in this place."; - next; - mes "[Sun Mao]"; - mes "If you're a real tourist, you do not want to get involved in our business, one way or another."; + mes "Please assist the people who fight behind you. As more are gathered, one of our comrades will inform you of further instructions."; close; + } + case 3: + mes "[Sun Mao]"; + mes "Are you...? I see, you may leave now. Do not reveal what you have seen or heard in this place."; + next; + mes "[Sun Mao]"; + mes "If you're a real tourist, you do not want to get involved in our business, one way or another."; + close; } - } - else if(getpartyleader(getcharid(1),2) == getcharid(0)) - { - if(QL_REVOL == 9) - { + } else if (getpartyleader(getcharid(1),2) == getcharid(0)) { + if (QL_REVOL == 9) { mes "[Sun Mao]"; mes "Once again,"; mes "thank you for"; @@ -4694,52 +4678,42 @@ lou_in02,77,37,7 script Hermit 824,{ } getpartymember(getcharid(1)); set @partymember,$@partymembercount; - if(QL_REVOL < 8) - { - if(@partymember == QL_REVOL +1) - { - if(@partymember != 8) - { + if (QL_REVOL < 8) { + if (@partymember == QL_REVOL +1) { + if (@partymember != 8) { set QL_REVOL,QL_REVOL +1; mes "[Sun Mao]"; mes "Oh, you brought a new comrade! Welcome. Please help your friend understand our intentions before joining us."; next; mes "[Sun Mao]"; - switch(QL_REVOL) - { - case 2: - mes "Please bring another friend that both of you can trust. Remember, add one person at a time into your party."; - next; - mes "[Sun Mao]"; - mes "Otherwise, other people may learn of what we are doing, and that will lead to trouble."; - close; - - case 3: - mes "The three of you may all move together for our cause. Please try to find another recruit to be your fourth member, invite him to your party and bring him to this place."; - close; - - case 4: - mes "Ah, now there are four of you. However, we must continue to strengthen our ranks at a cautious pace. Please go and find one new recruit, and only one, to add to your party."; - close; - - case 5: - mes "Now, there are five of you. Needless to say, we still require more manpower. Please go out and seek another new member for our cause. Remember, only add one more person to your party and return to me."; - close; - - case 6: - mes "There are now six of you. So far, so good. Please go forth and find just one more person to add to your party and bring him to me so that we may recruit him."; - close; - - case 7: - mes "Now, there are seven of you, but we still lack the manpower we need. Please go forth and seek out one, and only one, more person to add to your party and then return to me."; - close; + switch(QL_REVOL) { + case 2: + mes "Please bring another friend that both of you can trust. Remember, add one person at a time into your party."; + next; + mes "[Sun Mao]"; + mes "Otherwise, other people may learn of what we are doing, and that will lead to trouble."; + close; + case 3: + mes "The three of you may all move together for our cause. Please try to find another recruit to be your fourth member, invite him to your party and bring him to this place."; + close; + case 4: + mes "Ah, now there are four of you. However, we must continue to strengthen our ranks at a cautious pace. Please go and find one new recruit, and only one, to add to your party."; + close; + case 5: + mes "Now, there are five of you. Needless to say, we still require more manpower. Please go out and seek another new member for our cause. Remember, only add one more person to your party and return to me."; + close; + case 6: + mes "There are now six of you. So far, so good. Please go forth and find just one more person to add to your party and bring him to me so that we may recruit him."; + close; + case 7: + mes "Now, there are seven of you, but we still lack the manpower we need. Please go forth and seek out one, and only one, more person to add to your party and then return to me."; + close; } } mes "[Sun Mao]"; mes "Great work, you've brought another new comrade! Welcome! Please explain our goals and the righteousness of our cause to our new friend so that he may fully join us."; next; - if(BaseLevel < 50) - { + if (BaseLevel < 50) { mes "[Sun Mao]"; mes "It is almost time to take the action..."; next; @@ -4778,88 +4752,70 @@ lou_in02,77,37,7 script Hermit 824,{ mes "Since flammable chemicals are not allowed inside government offices, you must keep them well hidden. If the chemicals are equally divided among the eight of you, we might succeed!"; next; set QL_REVOL,8; - getitem 7068,8; - getitem 7096,8; - getitem 7004,8; + getitem 7068,8; //Burn_Tree + getitem 7096,8; //Cold_Magma + getitem 7004,8; //Mud_Lump mes "[Sun Mao]"; mes "There you go. Now, divide these materials equally among the eight of you. The eight of you must fully cooperate with each other, or our plan will fail. Understood?"; close; - - } - else if(@partymember < QL_REVOL +1) - { + } else if (@partymember < QL_REVOL +1) { mes "[Sun Mao]"; - switch(QL_REVOL) - { - case 1: - mes "You made a party. Now, why don't you go recruit more followers? For now, just add one more person, lest we arouse the suspicion of our enemies."; - close; - - case 2: - mes "Hmmm..."; - mes "Having trouble finding a third person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; - close; - - case 3: - mes "Hmmm..."; - mes "Having trouble finding a forth person to add to your party? I understand that it's important that you find someone you can trust. Be careful and don't get caught!"; - close; - - case 4: - mes "Having trouble finding a fifth person to add to your party? I understand that it's important that you find someone you can trust. Be careful and don't get caught!"; - close; - - case 5: - mes "Having trouble finding a six person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; - close; - - case 6: - mes "Having trouble finding a seventh person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; - close; - - case 7: - mes "Hmmm..."; - mes "Having trouble finding an eighth person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; - close; + switch(QL_REVOL) { + case 1: + mes "You made a party. Now, why don't you go recruit more followers? For now, just add one more person, lest we arouse the suspicion of our enemies."; + close; + case 2: + mes "Hmmm..."; + mes "Having trouble finding a third person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; + close; + case 3: + mes "Hmmm..."; + mes "Having trouble finding a forth person to add to your party? I understand that it's important that you find someone you can trust. Be careful and don't get caught!"; + close; + case 4: + mes "Having trouble finding a fifth person to add to your party? I understand that it's important that you find someone you can trust. Be careful and don't get caught!"; + close; + case 5: + mes "Having trouble finding a six person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; + close; + case 6: + mes "Having trouble finding a seventh person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; + close; + case 7: + mes "Hmmm..."; + mes "Having trouble finding an eighth person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!"; + close; } - } - else - { + } else { mes "[Sun Mao]"; mes "Oh no! You've brought more than one more person to join us! We can't do any recruiting now, it will bring unnecessary attention to our activities!"; next; mes "[Sun Mao]"; - switch(QL_REVOL) - { - case 1: - mes "Please make sure that there is a total of two members in your party so that we can recruit your friend. I believe that will look natural."; - close; - - case 2: - mes "At this stage in our plan, we cannot afford any unnecessary attention to our activities! Please make sure that there is a total of three members in your party so that we can recruit your friend."; - close; - case 3: - mes "Please make sure that there is a total of four members in your party so that we can recruit your friend. I believe that will look natural."; - close; - case 4: - mes "Please make sure that there is a total of five members in your party so that we can recruit your friend. I believe that will look natural."; - close; - case 5: - case 6: - mes "By this time, you should know that you should only bring one more person at a time. You know that it is crucial that we do not attract any undue attention before we can take action!"; - close; - case 7: - mes "At this stage in our plan, we cannot afford any unnecessary attention to our activities! Please make sure that there is a total of eight members in your party so that we can recruit your friend."; - close; + switch(QL_REVOL) { + case 1: + mes "Please make sure that there is a total of two members in your party so that we can recruit your friend. I believe that will look natural."; + close; + case 2: + mes "At this stage in our plan, we cannot afford any unnecessary attention to our activities! Please make sure that there is a total of three members in your party so that we can recruit your friend."; + close; + case 3: + mes "Please make sure that there is a total of four members in your party so that we can recruit your friend. I believe that will look natural."; + close; + case 4: + mes "Please make sure that there is a total of five members in your party so that we can recruit your friend. I believe that will look natural."; + close; + case 5: + case 6: + mes "By this time, you should know that you should only bring one more person at a time. You know that it is crucial that we do not attract any undue attention before we can take action!"; + close; + case 7: + mes "At this stage in our plan, we cannot afford any unnecessary attention to our activities! Please make sure that there is a total of eight members in your party so that we can recruit your friend."; + close; } } - } - else if(QL_REVOL == 8) - { - if(@partymember == 8) - { - if(countitem(7204) > 7) - { + } else if (QL_REVOL == 8) { + if (@partymember == 8) { + if (countitem(7204) > 7) { mes "[Sun Mao]"; mes "Welcome back! I see that the mission has been successfully accomplished! Great work, men!"; next; @@ -4891,11 +4847,8 @@ lou_in02,77,37,7 script Hermit 824,{ mes "Remember that you move together with your comrades. There isn't a traitor amongst you, is there?"; close; } - } - else - { - if(ch_make == 1) - { + } else { + if (ch_make == 1) { set ch_make,0; mes "[Sun Mao]"; mes "Ah..."; @@ -4914,13 +4867,10 @@ lou_in02,77,37,7 script Hermit 824,{ } lou_in01,43,147,3 script Gunpowder Expert 750,{ - - if(ch_make == 0) - { + if (ch_make == 0) { getpartymember(getcharid(1)); set @partymember,$@partymembercount; - if(!QL_REVOL) - { + if (!QL_REVOL) { mes "[Hao Chenryu]"; mes "Who..."; mes "Are you?"; @@ -4928,9 +4878,7 @@ lou_in01,43,147,3 script Gunpowder Expert 750,{ mes "[Hao Chenryu]"; mes "I only trust my comrades in the cause for Louyang, so leave me alone. Death before oppression! Freedom for Louyang!"; close; - } - else if(@partymember != 8) - { + } else if (@partymember != 8) { mes "[Hao Chenryu]"; mes "Mao told me that eight Rune-Midgardians"; mes "would be coming."; @@ -4941,9 +4889,7 @@ lou_in01,43,147,3 script Gunpowder Expert 750,{ mes "Mao's plans are flawless,"; mes "so I'm sticking to the scenario he's drawn up. You're either improvising needlessly, or you're not really my comrade..."; close; - } - else if(countitem(7068) && countitem(7096) && countitem(7004)) - { + } else if (countitem(7068) && countitem(7096) && countitem(7004)) { mes "[Hao Chenryu]"; mes "Ah, I see that Mao"; mes "has sent you. I'm sorry"; @@ -4957,34 +4903,30 @@ lou_in01,43,147,3 script Gunpowder Expert 750,{ mes "I may quickly make"; mes "the gunpowder."; next; - switch( select( "Make Gunpowder.","Cancel." ) ) - { - case 1: - delitem 7068,1; - delitem 7096,1; - delitem 7004,1; - mes "[Hao Chenryu]"; - mes "I don't want you to be caught if the soldiers inspect your goods. It will be better if one of you carry a Cart and hide the gunpowder in there."; - set ch_make,1; - getitem 7204,1; - close; - - case 2: - mes "[Hao Chenryu]"; - mes "Is..."; - mes "Something wrong?!"; - next; - mes "[Hao Chenryu]"; - mes "I guess we must"; - mes "be extra careful,"; - mes "as there is much"; - mes "surveillance in"; - mes "this place."; - close; + switch(select("Make Gunpowder.:Cancel.")) { + case 1: + delitem 7068,1; //Burn_Tree + delitem 7096,1; //Cold_Magma + delitem 7004,1; //Mud_Lump + mes "[Hao Chenryu]"; + mes "I don't want you to be caught if the soldiers inspect your goods. It will be better if one of you carry a Cart and hide the gunpowder in there."; + set ch_make,1; + getitem 7204,1; //Gunpowder + close; + case 2: + mes "[Hao Chenryu]"; + mes "Is..."; + mes "Something wrong?!"; + next; + mes "[Hao Chenryu]"; + mes "I guess we must"; + mes "be extra careful,"; + mes "as there is much"; + mes "surveillance in"; + mes "this place."; + close; } - } - else - { + } else { mes "[Hao Chenryu]"; mes "Hmmm..."; mes "It seems like"; @@ -4997,9 +4939,7 @@ lou_in01,43,147,3 script Gunpowder Expert 750,{ mes "from your party leader."; close; } - } - else if(countitem(7204)) - { + } else if (countitem(7204)) { mes "[Hao Chenryu]"; mes "Be careful!"; mes "It's easy for"; @@ -5008,9 +4948,7 @@ lou_in01,43,147,3 script Gunpowder Expert 750,{ mes "inspection process!"; mes "Hide it well...!"; close; - } - else - { + } else { mes "[Hao Chenryu]"; mes "I hope you bring the gunpowder to Mao safely. The next time you see him, please give him my thanks."; close; @@ -5018,9 +4956,7 @@ lou_in01,43,147,3 script Gunpowder Expert 750,{ } lou_in01,45,138,3 script Soldier#1 825,{ - - if(countitem(7204)) - { + if (countitem(7204)) { mes "[Soldier]"; mes "Hold on there!"; next; @@ -5038,9 +4974,7 @@ lou_in01,45,138,3 script Soldier#1 825,{ } lou_in01,82,139,7 script Soldier#2 825,{ - - if(countitem(7068) || countitem(7096) || countitem(7004)) - { + if (countitem(7068) || countitem(7096) || countitem(7004)) { mes "[Soldier]"; mes "I am sorry, but it is prohibited to enter with some of the products"; mes "you are carrying. I cannot let you in."; diff --git a/npc/quests/quests_lutie.txt b/npc/quests/quests_lutie.txt index 97d5667788..f028597004 100644 --- a/npc/quests/quests_lutie.txt +++ b/npc/quests/quests_lutie.txt @@ -39,18 +39,18 @@ xmas,117,295,4 script Vending Machine Man 704,{ next; mes "[Titicupe]"; mes "Oh, this creation of mine is so magnificent!"; - Emotion e_kis2; + emotion e_kis2; next; mes "[Titicupe]"; mes "And the headgears--! I... I can't contain myself!"; next; mes "^3355FFToy factory manager Titicupe jumps and convulses with joy. Clearly he's insane, but it may be possible that he may be brilliant.^000000"; - Emotion e_gasp; + emotion e_gasp; close; case 2: mes "[Titicupe]"; mes "Oh right! You need to know what kind of items to put into the Vending Machine to get what you want, yes? Go ahead... Ask me~"; - Emotion e_ic; + emotion e_ic; next; switch(select("Raccoon Hat:Spore Hat:Wonder Nutshell:Ranbow Eggshell:Blush:Chef Hat:Candle:Cake Hat:End Conversation")) { case 1: @@ -133,7 +133,7 @@ xmas,117,295,4 script Vending Machine Man 704,{ mes "I love you"; mes "Mister Snowman"; mes "Vending Machine."; - Emotion e_kis2; + emotion e_kis2; next; mes "^3355FFToy factory manager Titicupe begins to jump around and emit screams of unbridled ecstacy. At this point, it's not difficult to doubt his sanity, as well as his genius."; close; @@ -171,7 +171,7 @@ xmas,115,297,4 script Vending Machine 111,{ delitem 1036,20; //Dragon_Scale delitem 7012,200; //Tough_Scalelike_Stem delitem 7065,300; //Sea_Otter_Leather - Emotion e_Oh; + emotion e_Oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -192,7 +192,7 @@ xmas,115,297,4 script Vending Machine 111,{ delitem 7033,850; //Poison_Spore delitem 7068,300; //Burn_Tree delitem 1015,1; //Thin_N'_Long_Tongue - Emotion e_oh; + emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -218,7 +218,7 @@ xmas,115,297,4 script Vending Machine 111,{ mes "*Kapang!*"; mes "*BeepBoopBeepBoop*"; mes "*Beeeeeeoop*^000000"; - Emotion e_oh; + emotion e_oh; getitem 5050,1; // Mystery_Fruit_Shell next; mes "[Audi]"; @@ -235,7 +235,7 @@ xmas,115,297,4 script Vending Machine 111,{ delitem 5015,1; //Egg_Shell delitem 978,1; //Cobaltblue_Dyestuffs delitem 7030,50; //Claw_Of_Desert_Wolf - Emotion e_oh; + emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -254,7 +254,7 @@ xmas,115,297,4 script Vending Machine 111,{ mes "^3355FFYou gingerly place all 100 Aprons into the snowman's mouth.^000000"; next; delitem 7047,100; //Alice's_Apron - Emotion e_oh; + emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -280,7 +280,7 @@ xmas,115,297,4 script Vending Machine 111,{ delitem 982,1; //White_Dyestuffs delitem 949,330; //Feather delitem 1036,450; //Dragon_Scale - Emotion e_oh; + emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -302,7 +302,7 @@ xmas,115,297,4 script Vending Machine 111,{ delitem 2279,1; //Bomb_Wick delitem 7035,50; //Matchstick delitem 526,100; //Royal_Jelly - Emotion e_oh; + emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -325,7 +325,7 @@ xmas,115,297,4 script Vending Machine 111,{ delitem 538,15; //Well_Baked_Cookie delitem 539,20; //Piece_Of_Cake delitem 999,10; //Steel - Emotion e_oh; + emotion e_oh; mes "^3355FF*Vroooooom~~*"; mes "*Bzzzzzt*"; mes "*choogachooga*"; @@ -346,7 +346,7 @@ xmas,115,297,4 script Vending Machine 111,{ mes "Items.^000000"; close; } - Emotion e_x; + emotion e_x; mes "[Audi]"; mes "^555555Error Error!"; mes "Incorrect items!^000000"; diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt index f5229077c2..654c4ee953 100644 --- a/npc/quests/quests_morocc.txt +++ b/npc/quests/quests_morocc.txt @@ -69,7 +69,7 @@ moc_ruins,113,181,4 script William 89,{ if ((countitem(1019) > 49) && (countitem(983) > 0) && (Zeny > 91099)) { delitem 1019,50; //Wooden_Block delitem 983,1; //Black_Dyestuffs - set Zeny,Zeny-91100; + set Zeny, Zeny-91100; mes "[William]"; mes "Here you are~!"; mes "This ^3355FFStop Post^000000 has"; @@ -136,7 +136,7 @@ moc_ruins,118,176,4 script Alchemist 64,{ next; delitem 2243,1; //Spinning_Eyes delitem 999,100; //Steel - set Zeny,Zeny-50000; + set Zeny, Zeny-50000; mes "[Marius]"; mes "Here you are!"; mes "Binoculars !"; @@ -263,7 +263,7 @@ OnTouch: mes "Hey, bartender! Gimme"; mes "the usual! I like your"; mes "style, adventurer..."; - set zeny,zeny-1000; + set Zeny, Zeny-1000; next; mes "[Litheron]"; mes "Alright, you can come"; @@ -408,7 +408,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 46,{ mes "ask you for 800. Enjoy it,"; mes "my friend, and drink it as"; mes "deeply as you would life."; - set zeny,zeny-800; + set Zeny, Zeny-800; getitem 12112,1; //Tropical_Sograt } close; @@ -431,7 +431,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 46,{ mes "hard feelings, but you're"; mes "already lucky to be here."; mes "Hey, enjoy your drink~"; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 12112,1; //Tropical_Sograt close; } @@ -467,7 +467,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 46,{ mes "ask you for 800. Enjoy it,"; mes "my friend, and drink it as"; mes "deeply as you would life."; - set zeny,zeny-800; + set Zeny, Zeny-800; getitem 12113,1; //Vermilion_The_Beach } close; @@ -490,7 +490,7 @@ que_job01,82,95,3 script Bar Master#moc_main01 46,{ mes "hard feelings, but you're"; mes "already lucky to be here."; mes "Hey, enjoy your drink~"; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 12113,1; //Vermilion_The_Beach close; } @@ -2123,7 +2123,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 48,{ next; mes "^660000Watching him makes you giggle, he looks no better than the dried corpses in the pyramid, but he is obviously alive and doesn't appear to be a monster. Somehow, you find yourself compelled to approach this interesting looking man.^000000"; next; - emotion 3; + emotion e_lv; mes "[Book-Touching Man]"; mes "Ah... Mammi..."; next; @@ -2156,7 +2156,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 48,{ mes "[Book-Touching Man]"; mes "What? Don't you know Mammi, one of the three greatest Rune-Midgart's idols?"; next; - emotion 54; + emotion e_sigh; mes "[Book-Touching Man]"; mes "Man, you don't know anything, do you?! Well, judging by the stupid look on your face, I guess you're an adventurer running around on meaningless errands for others. Heh heh!"; next; @@ -2169,7 +2169,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 48,{ mes "[Book-Touching Man]"; mes "She even mentioned in an interview in 'Morroc Times' that she wants to meet a man that loves books."; next; - emotion 38; + emotion e_awsm; mes "[Book-Touching Man]"; mes "That means... She's waiting for someone like me. Hehehe!"; mes "You see, every book in Rune-Midgart's Library has the name Benjamin written on them... That's me!"; @@ -2205,7 +2205,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 48,{ next; mes "["+ strcharinfo(0) +"]"; mes "Huh?"; - emotion 19,1; + emotion e_swt2,1; next; mes "[Benjamin]"; mes "You look bored. You must be waiting for someone to give you something to do!"; @@ -2299,12 +2299,12 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 48,{ next; mes "[Benjamin]"; mes "Grrrr... Mammi! Here I am, following your noble tastes to read such a rare book! Mammi...!"; - emotion 14; + emotion e_lv2; next; mes "[Benjamin]"; mes "I feel so excited to think about having a deep conversation with Mammi about literature! Yay!"; mes "I should go read this book right away. Hehehe!"; - emotion 2; + emotion e_ho; next; mes "[Benjamin]"; mes "Oops, I must not forget to repay you. You know, I'm a polite man."; @@ -3455,7 +3455,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas 111,{ cutin "oliver_smile",2; mes "[Oliver Hilpert]"; mes "Lady Mammi!"; - emotion 14; + emotion e_lv2; next; mes "^660000Yes, it was the picture book of Mammi, an idol whom Benjamin of Morroc insists to be one of the three greatest idols in the Rune-Midgart Kingdom. That must be why Oliver is squealing in delight.^000000"; emotion e_dots,1; @@ -3482,12 +3482,12 @@ yuno_in04,167,120,3 script Worn-out Book#garas 111,{ mes "[Oliver Hilpert]"; mes "...Oh!"; cutin "mami01",4; - emotion 3; + emotion e_lv; next; mes "[Oliver Hilpert]"; mes "...Ooooh!"; cutin "mami02",4; - emotion 3; + emotion e_lv; next; cutin "oliver_smile",2; mes "[Oliver Hilpert]"; @@ -3509,7 +3509,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas 111,{ mes "["+ strcharinfo(0) +"]"; mes "..............."; mes "I... I see..."; - emotion 4,1; + emotion e_swt,1; next; mes "[Oliver Hilpert]"; mes "Umm..."; @@ -3941,7 +3941,7 @@ cave,82,97,3 script Cave Settler#g1 996,3,3,{ mes "Hmm..."; mes "Wait here."; next; - emotion 44; + emotion e_com; mes "[Cave Settler]"; mes "Hey, Jaeda!"; enablenpc "Jaeda#garas1"; @@ -4030,7 +4030,7 @@ OnTouch: mes "Hmm..."; mes "Wait here."; next; - emotion 44; + emotion e_com; mes "[Cave Settler]"; mes "Hey, Jaeda!"; enablenpc "Jaeda#garas1"; diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index 8289e490a8..73317d9589 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -29,7 +29,7 @@ //= 2.3 Added GM management NPC. [Euphy] //============================================================ -// The Moving Island +// The Moving Island :: mos_whale_edq //============================================================ //---------------------------------------------------------------------------- @@ -1511,7 +1511,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 963,{ mes "Are you ready to learn the Gusli?"; mes "Please equip the Gusli."; next; - if(getequipid(EQI_ACC_L) || getequipid(EQI_ACC_R) == 2707) { + if (getequipid(EQI_ACC_L) || getequipid(EQI_ACC_R) == 2707) { mes "[Aged Stranger]"; mes "Hm... Very well."; mes "At first, look at me how I play,"; @@ -1554,7 +1554,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 963,{ mes "[Aged Stranger]"; mes "Are you ready to learn the Gusli?"; next; - if(getequipid(EQI_ACC_L) || getequipid(EQI_ACC_R) == 2707) { + if (getequipid(EQI_ACC_L) || getequipid(EQI_ACC_R) == 2707) { mes "[Aged Stranger]"; mes "Um... You did well."; next; @@ -1635,7 +1635,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 963,{ warp "mosk_fild02",204,54; end; } - }else{ + } else { mes "[Aged Stranger]"; mes "Long time, no see!"; mes "You probably like the island, don't you?"; @@ -2498,7 +2498,7 @@ OnTouch: mes "island...!!! Someday, I hope to go there! Hahaha."; next; warp "mosk_fild01",95,93; - }else{ + } else { mes "["+strcharinfo(0)+"]"; mes "Oh my goodness... Slipped right out"; mes "of my mind... to forget equipping the Gusli."; @@ -2626,7 +2626,7 @@ mosk_ship,3,3,4 duplicate(Baehideun#main) Baehideun2#ship -1 mosk_ship,5,5,4 duplicate(Baehideun#main) Baehideun3#ship -1 mosk_ship,15,15,4 duplicate(Baehideun#main) Baehideun4#ship -1 -// Help Mikhail +// Help Mikhail :: mos_swan & mos_swan_pt2 //============================================================ //---------------------------------------------------------------------------- @@ -3199,12 +3199,12 @@ mosk_in,135,191,5 script Landlord#mos 961,{ case 3: mes "[Landlord]"; emotion e_lv; - mes "Oh~! You look great! Look at the "+((sex)?"solid muscle":"fair skin")+"!"; + mes "Oh~! You look great! Look at the "+((Sex)?"solid muscle":"fair skin")+"!"; mes "But you look tired. Is it because of a long journey?"; next; mes "[Landlord]"; - mes "We've got a room available just for you. "+((sex)?"It's the best in town. How about staying the night?":"It's like a princess' room."); - mes (sex)?"I'll charge you at reasonable price for you, handsome guy.":"How about staying the night? I'll mark down the price for you, beautiful lady."; + mes "We've got a room available just for you. "+((Sex)?"It's the best in town. How about staying the night?":"It's like a princess' room."); + mes (Sex)?"I'll charge you at reasonable price for you, handsome guy.":"How about staying the night? I'll mark down the price for you, beautiful lady."; next; mes "["+strcharinfo(0)+"]"; mes "Oh, I'm sorry but I didn't come to stay here."; @@ -3940,7 +3940,7 @@ mosk_in,211,259,5 script Larissa#mos_01 960,{ close; } -// Acorn Exchange +// Acorn Exchange :: mos_squirrel //============================================================ //---------------------------------------------------------------------------- @@ -4122,7 +4122,7 @@ S_BS_1: mosk_fild01,113,108,3 duplicate(Squirrel#mos_main) Big Squirrel#mos 111 mosk_fild01,113,108,5 duplicate(Squirrel#mos_main) #mos_sq 1104,2,2 -// Banish Winter +// Banish Winter :: mos_nowinter //============================================================ //---------------------------------------------------------------------------- @@ -6479,7 +6479,7 @@ mosk_in,131,92,3 script #Csar -1,7,7,{ end; } -// Shafka Hat +// Shafka Hat :: mos_whale_edq //============================================================ moscovia,211,93,3 script Irina#edq 958,{ if (!checkweight(1201,1)) { @@ -6588,7 +6588,7 @@ moscovia,211,93,3 script Irina#edq 958,{ close; } -// Koshei the Immortal +// Koshei the Immortal :: mos_request //============================================================ //---------------------------------------------------------------------------- @@ -6972,8 +6972,8 @@ mosk_dun01,45,259,0 script Wall#rus04 111,{ close; } else if (rhea_rus_main == 8) { if (rhea_rus_quiz < 3) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -7584,8 +7584,8 @@ moscovia,178,127,0 script The Blacksmith#rus06 63,{ } else if (rhea_rus_main == 8) { if (countitem(724) > 1 && countitem(969) > 2 && countitem(7877) && countitem(7878) > 1 && countitem(7879) > 9) { if (rhea_rus_ring > 8 && rhea_rus_hair > 8 && rhea_rus_quiz > 29) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -7740,8 +7740,8 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 712,{ close; } else if (rhea_rus_main == 8) { if (rhea_rus_ring < 1) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -7813,8 +7813,8 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 712,{ mes "She disappeared soon... after Now all I have is Ryubaba. She is also pretty and smart but nothing can relieve the sadnesss in my heart from losing Mashenka..."; close; } else if (rhea_rus_ring == 8) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8011,8 +8011,8 @@ moscovia,213,216,3 script Ryubaba#rus08 960,{ emotion e_heh; close; } else if (rhea_rus_ring == 1) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8139,8 +8139,8 @@ moscovia,213,216,3 script Ryubaba#rus08 960,{ mes "Right... Let me finish talking. We tried searching for her but we couldn't find her. She must have been wearing the ring when she disappeared around the marsh."; close; } else if (rhea_rus_ring == 7) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8223,7 +8223,7 @@ moscovia,213,216,3 script Ryubaba#rus08 960,{ mes "...Mmmm, what should I do..."; mes "Ok, I will do it."; next; - }else{ + } else { mes "["+ strcharinfo(0) +"]"; mes "...Mmmm, what should I do..."; mes "No, I can't do it!"; @@ -8396,8 +8396,8 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 69,{ mes "I wish that I could listen to music all the time."; close; } else if (rhea_rus_ring == 5) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8427,8 +8427,8 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 69,{ close; } else if (rhea_rus_ring == 6) { if (countitem(7882) > 24) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8568,8 +8568,8 @@ moscovia,166,145,1 script Worried Mother#rus19 961,{ close; } else if (rhea_rus_main == 8) { if (rhea_rus_hair < 1) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8767,8 +8767,8 @@ mosk_fild02,124,202,3 script Lusalka#rus23 971,{ mes "What are you doing here...?"; close; } else if (rhea_rus_hair == 2) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8857,8 +8857,8 @@ mosk_fild02,124,202,3 script Lusalka#rus23 971,{ mes "And please, tell him to stop suffering and to be happy. This is my request."; close; } else if (rhea_rus_hair == 7) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -8996,8 +8996,8 @@ prontera,228,279,3 script Wanderer#rus24 968,{ mes "In your free time, come to see me! The weather here is even more favorable than our the best summer back home."; close; } else if (rhea_rus_hair == 3) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9101,8 +9101,8 @@ morocc,165,82,0 script Morroc Villager#rus25 48,{ mes "But natives, like me, can tell the difference."; close; } else if (rhea_rus_hair == 4) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9168,8 +9168,8 @@ moc_pryd04,126,120,0 script Soldier#rus26 967,{ mes "............................"; close; } else if (rhea_rus_hair == 4 || rhea_rus_hair == 5) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9245,8 +9245,8 @@ moc_pryd04,126,120,0 script Soldier#rus26 967,{ set rhea_rus_hair,6; close; } else if (rhea_rus_hair == 6) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9375,8 +9375,8 @@ OnTouch: mosk_que,45,131,0 script Stone Furnace#rus28 111,{ if (rhea_rus_main == 8) { if (rhea_rus_quiz == 1) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9446,8 +9446,8 @@ OnTimer300000: mosk_que,56,202,0 script Occult Apple Tree#rus29 111,{ if (rhea_rus_main == 8) { if (rhea_rus_quiz == 2) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9497,8 +9497,8 @@ mosk_fild02,243,270,0 script Marozka#rus31 866,{ mes "..........................."; close; } else if (rhea_rus_quiz == 3) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; @@ -9564,8 +9564,8 @@ mosk_fild02,243,270,0 script Marozka#rus31 866,{ set rhea_rus_quiz,29; close; } else if (rhea_rus_quiz == 29) { - if(getequipid(EQI_SHOES) != 2429) { - if(getequipid(EQI_SHOES) != 2430) { + if (getequipid(EQI_SHOES) != 2429) { + if (getequipid(EQI_SHOES) != 2430) { mes "["+ strcharinfo(0) +"]"; mes "...Hmm, did I forget to wear something...?"; close; diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt index 2c8423c1be..d5e1e6c826 100644 --- a/npc/quests/quests_nameless.txt +++ b/npc/quests/quests_nameless.txt @@ -439,7 +439,7 @@ OnTouch: set aru_monas,8; changequest 17003,17004; if (Zeny > 3000) { - set Zeny,Zeny-3000; + set Zeny, Zeny-3000; getitem 12052,4; //Vit_Dish02 } close; @@ -1880,7 +1880,7 @@ ra_temple,165,57,5 script Niren#ss 915,{ mes "High Priestess Niren,"; mes "you must be really tired."; mes "You look pale for some reason."; - emotion 19; + emotion e_swt2; next; mes "[High Priestess Niren]"; mes "I do feel rather drained."; @@ -2344,7 +2344,7 @@ moc_ruins,77,167,4 script Foreign Merchant#aru1 880,5,5,{ mes "^3355FF*Gulp Gulp Gulp Gulp*^000000"; mes "^3355FF*Gulp Gulp Gulp Gulp*^000000"; next; - emotion 3; + emotion e_lv; mes "[Foreign Merchant]"; mes "Ahhh! That hit the spot!"; mes "It's so refreshing and so"; @@ -2382,7 +2382,7 @@ moc_ruins,77,167,4 script Foreign Merchant#aru1 880,5,5,{ mes "You're not really a"; mes "merchant, are you?"; next; - emotion 39; + emotion e_meh; mes "^3355FFThe merchant quietly"; mes "looks at you with a"; mes "mischievous grin.^000000"; @@ -2519,13 +2519,13 @@ moc_ruins,101,133,7 script Foreign Merchant#aru2 929,{ next; mes "["+ strcharinfo(0) +"]"; mes "Oh, no..."; - emotion 57,1; + emotion e_otl,1; next; mes "[Foreign Merchant]"; mes "..............................."; mes "..............................."; mes "..............................."; - emotion 19; + emotion e_swt2; next; emotion e_omg,1; mes "[Foreign Merchant]"; @@ -2548,7 +2548,7 @@ moc_ruins,101,133,7 script Foreign Merchant#aru2 929,{ mes "keep an extra bottle in case"; mes "you want more next time. Take"; mes "care, and I'll see you later!"; - emotion 13; + emotion e_korea; next; mes "^3355FFYou received a bottle"; mes "of the famous fruit wine"; @@ -2685,7 +2685,7 @@ ra_fild03,139,355,5 script Ishmael#em 914,{ mes "just step away? I... I don't"; mes "like being too close to"; mes "other people. Please!"; - emotion 19; + emotion e_swt2; close; } else if (aru_em == 17) { @@ -2695,7 +2695,7 @@ ra_fild03,139,355,5 script Ishmael#em 914,{ mes "just step away? Wait, you"; mes "don't have something you"; mes "need from me, do you?"; - emotion 19; + emotion e_swt2; next; switch(select("Give Her Niren's File:Leave Her Alone")) { case 1: @@ -2709,7 +2709,7 @@ ra_fild03,139,355,5 script Ishmael#em 914,{ mes "Just toss the file over"; mes "to me. I-I don't want"; mes "you coming any closer."; - emotion 19; + emotion e_swt2; next; mes "[Ishmael]"; mes "I'll be glad to help out"; @@ -2783,7 +2783,7 @@ ra_fild03,139,355,5 script Ishmael#em 914,{ mes "I still... Uh... I don't mean"; mes "to be rude... It's just..."; mes "I'm just not good with..."; - emotion 19; + emotion e_swt2; next; mes "[Ishmael]"; mes "If you just toss the"; @@ -6116,7 +6116,7 @@ in_rogue,366,46,3 script Rogue Investigator 828,{ switch(select("Sounds good!:Never mind, I'll find it myself...")) { case 1: if (Zeny > 9999) { - set zeny,zeny-10000; + set Zeny, Zeny-10000; mes "[Investigator]"; mes "Thanks for the money~"; mes "Of course, if you became"; @@ -6194,7 +6194,7 @@ in_rogue,366,46,3 script Rogue Investigator 828,{ switch(select("Sounds good!:Forget it...")) { case 1: if (Zeny > 9999) { - set zeny,zeny-10000; + set Zeny, Zeny-10000; mes "[Investigator]"; mes "Right on, right on."; mes "Alright, I didn't charge"; @@ -7392,7 +7392,7 @@ payon,244,62,3 script Moonho Ahn 897,{ switch(select("Yes, let's play!:How does this game work again?")) { case 1: if (Zeny > 500) { - set zeny,zeny-500; + set Zeny, Zeny-500; mes "[Moonho Ahn]"; mes "Good, let's get started!"; mes "I'll let you go first~"; @@ -9382,7 +9382,7 @@ morocc,143,63,3 script Ragged Man#nd 929,{ close; } else { - set zeny,zeny-1200; + set Zeny, Zeny-1200; mes "[Ragged Man]"; mes "Let's see... I just need"; mes "1,200 zeny. That's enough"; @@ -9461,7 +9461,7 @@ morocc,143,63,3 script Ragged Man#nd 929,{ mes "up the funds. I'll be waiting."; close; } else { - set zeny,zeny-1200; + set Zeny, Zeny-1200; mes "[Ragged Man]"; mes "Remember that hidden"; mes "treasure I was looking for?"; @@ -10501,7 +10501,7 @@ alberta_in,70,109,5 script Shaman 788,{ mes "If all goes well, you'll be"; mes "free of your curse, and I can"; mes "buy some Prontera real estate."; - set zeny,zeny-200000; + set Zeny, Zeny-200000; set jewel_nd,14; next; mes "[Shaman]"; @@ -10552,7 +10552,7 @@ alberta_in,70,109,5 script Shaman 788,{ mes "Hopefully, the"; mes "spirits will be more"; mes "cooperative this time."; - set zeny,zeny-100000; + set Zeny, Zeny-100000; set jewel_nd,16; next; mes "[Shaman]"; diff --git a/npc/quests/quests_niflheim.txt b/npc/quests/quests_niflheim.txt index 6b2bd682a9..2577d2ece7 100644 --- a/npc/quests/quests_niflheim.txt +++ b/npc/quests/quests_niflheim.txt @@ -16,20 +16,20 @@ //= - Variables in use: nif_revive, MISC_QUEST (Bit 16384) //===== Additional Comments: ================================= //= 1.0 Initial release, moved Book of Devil and Piano quest -//= from npc/cities/niflheim.txt [Evera] +//= from npc/cities/niflheim.txt [Evera] //= 1.1 Optimized Book of Devil quest. used bit-wise var, -//= Optimized Piano Quest - now uses 1 variable [Lupus] +//= Optimized Piano Quest - now uses 1 variable [Lupus] //= 1.2 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf] //= 1.3 Moved the Book of Devil quest to custom folder. [L0ne_W0lf] -//= Updated to Aegis 10.3 Standed, added Message Delivery Quest. -//= Rescripted Piano Quest. Prior quest progress will be lost. +//= Updated to Aegis 10.3 Standed, added Message Delivery Quest. +//= Rescripted Piano Quest. Prior quest progress will be lost. //= 1.4 Fixed NPCs using ID 111 when it shoudl have been 139. [L0ne_W0lf] //= 1.5 Swapped NPC IDs back from last change (139 back to 111). [L0ne_W0lf] //= Clicking will do nothing, you have to still "touch" the npc. //= 1.6 Added questlog support. [Euphy] //============================================================ -// Piano Quest +// Piano Quest :: nif_ryu //============================================================ niflheim,224,243,3 script Alreg#nif 795,{ if (nif_piano) set nif_piano,0; @@ -295,7 +295,7 @@ nif_in,188,168,3 script Witch#nif 792,{ end; } -// Message Delivery Quest +// Message Delivery Quest :: nif_npc_lackee //============================================================ prt_in,161,20,3 script Erious#nif 92,{ if (MISC_QUEST & 16384) { diff --git a/npc/quests/quests_payon.txt b/npc/quests/quests_payon.txt index 719e3a5437..1d727dfac9 100644 --- a/npc/quests/quests_payon.txt +++ b/npc/quests/quests_payon.txt @@ -35,7 +35,7 @@ payon_in01,99,72,4 script Granny 103,{ next; switch(select("Alright.:No way!")) { case 1: - delitem 1049,4; //Skirt_Of_Virgin + delitem 1049,4; //Skirt_Of_Virgin mes "[Granny]"; mes "Oh! Thank you so much~ Now I can make some clothes for Kitty Cutty~"; next; @@ -46,7 +46,7 @@ payon_in01,99,72,4 script Granny 103,{ mes "If it's okay..."; mes "I'd like to give you this."; next; - getitem 2293,1; // Pretend_Murdered + getitem 2293,1; //Pretend_Murdered mes "[Granny]"; mes "Goodbye, adventurer~!"; mes "Thank you for making an old woman so happy..."; @@ -79,33 +79,33 @@ payon_in01,18,10,4 script Mystic Lady 76,{ next; mes "[Mystic Lady]"; mes "If you plan to travel to colder regions, I suggest that you bring some ^3355FFEar Muffs^000000..."; - Emotion e_dots; + emotion e_dots; next; mes "[Mystic Lady]"; mes "Ear Muffs are my family's specialty, and we provide it to customers who have ^FF33551 Cursed Ruby^000000, ^3311AA1 Headset,^000000 ^3355FF 200 Feathers^000000 and ^DDDD005000 Zeny^000000."; - Emotion e_dots; + emotion e_dots; next; switch(select("Oh Yeah? That sounds good.:No thank you, Ma'am.")) { case 1: if ((countitem(724) > 0) && (countitem(949) > 199) && (countitem(5001) > 0) && (Zeny > 4999)) { mes "[Mystic Lady]"; - delitem 724,1; //Cardinal_Jewel_ - delitem 949,200; //Feather - delitem 5001,1; //Headset + delitem 724,1; //Cardinal_Jewel_ + delitem 949,200; //Feather + delitem 5001,1; //Headset set Zeny,Zeny-5000; mes "Here, I will give you this pre-made one."; - getitem 2283,1; // Ear_Mufs + getitem 2283,1; //Ear_Mufs next; mes "[Mystic Lady]"; mes "Thank you for buying our product. You won't regret purchasing our Ear Muffs: Satisfaction guaranteed~"; - Emotion e_dots; + emotion e_dots; close; } else { mes "[Mystic Lady]"; mes "Oh dear..."; mes "You don't have enough money or items. Unfortunately, we can't give any discounts. Please understand that we have to make a living..."; - Emotion e_dots; + emotion e_dots; close; } case 2: @@ -114,7 +114,7 @@ payon_in01,18,10,4 script Mystic Lady 76,{ mes "I believe we"; mes "will meet again."; mes "...One of these days."; - Emotion e_dots; + emotion e_dots; close; } } @@ -145,7 +145,7 @@ payon_in02,25,71,4 script Boy 86,{ close; case 2: if (countitem(701) > 4) { - delitem 701,5; //Ora_Ora + delitem 701,5; //Ora_Ora } mes "[Young Man]"; mes "Muhahahahah!!!"; @@ -159,7 +159,7 @@ payon_in02,25,71,4 script Boy 86,{ mes "Huk...Huk..."; mes "Sorry, I was out of control with pleasure for a while. Now, I will give my treasure as promised."; next; - getitem 5004,1; // Oxygen_Mask + getitem 5004,1; //Oxygen_Mask mes "[Young Man]"; mes "When you wear this over your mouth and start to breathe, it filters junk out before getting to your lungs."; next; @@ -248,11 +248,11 @@ payon_in01,56,12,7 script Young man#12 89,{ mes "[Young man]"; mes ".....Hm."; mes "Fine, here's your Helm of Angel. Take it."; - delitem 2229,1; //Helm_ - delitem 2254,1; //Angelic_Chain - delitem 7036,5; //Fang_Of_Garm + delitem 2229,1; //Helm_ + delitem 2254,1; //Angelic_Chain + delitem 7036,5; //Fang_Of_Garm close2; - getitem 5025,1; // Helm_Of_Angel + getitem 5025,1; //Helm_Of_Angel end; } else { @@ -285,10 +285,10 @@ payon_in01,56,12,7 script Young man#12 89,{ if ((countitem(1038) > 599) && (countitem(7048) > 39)) { mes "[Young man]"; mes ".....Hm. Here's your Deviruchi Hat. Please take it."; - delitem 1038,600; //Petite_DiablOfs_Horn - delitem 7048,40; //Talon_Of_Griffin + delitem 1038,600; //Petite_DiablOfs_Horn + delitem 7048,40; //Talon_Of_Griffin close2; - getitem 5038,1; // Deviruchi_Cap + getitem 5038,1; //Deviruchi_Cap end; } else { diff --git a/npc/quests/quests_prontera.txt b/npc/quests/quests_prontera.txt index ff942b5ddb..a661013790 100644 --- a/npc/quests/quests_prontera.txt +++ b/npc/quests/quests_prontera.txt @@ -51,7 +51,7 @@ //= 2.9 Updated Nameless Island addition and added questlog support. [Euphy] //============================================================ -// Prontera Culvert +// Prontera Culvert :: prt_npc //============================================================ prt_in,88,105,2 script Recruiter 105,{ if (MISC_QUEST & 8) { @@ -146,7 +146,7 @@ S_Volunteer: } prt_fild05,270,212,5 script Culvert Guardian 105,{ - if(MISC_QUEST & 8) { + if (MISC_QUEST & 8) { mes "[Culvert Guardian]"; mes "Ah, you're one of our volunteers. This is the entrance of the Prontera Culvert."; mes "Do you wish to"; @@ -166,7 +166,7 @@ prt_fild05,270,212,5 script Culvert Guardian 105,{ close; } -// Ph.D Hat Quest +// Ph.D Hat Quest :: npc_6cript //============================================================ prt_in,38,108,4 script Teacher 53,{ if ((countitem(710) > 0) && (countitem(703) > 0) && (countitem(704) > 0) && (countitem(708) > 0)) { @@ -281,7 +281,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes ".........?"; next; mes "[Busy-Looking Boy]"; - if (sex) { + if (Sex) { mes "Ack! You're that clumsy"; mes "dude who made me drop"; } @@ -292,7 +292,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "all of those books earlier!"; mes "Wait, you ditched me before,"; mes "so why act all concerned now?"; - Emotion e_gasp; + emotion e_gasp; } else { mes "[Busy-Looking Boy]"; @@ -307,7 +307,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ next; select("Well, I, um..."); mes "[Busy-Looking Boy]"; - if (sex) { + if (Sex) { mes "Yeah... A real"; mes "man wouldn't have"; mes "ditched back then"; @@ -330,10 +330,10 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "it was a natural reflex!^000000"; next; Specialeffect EF_HITDARK; - Emotion e_omg; + emotion e_omg; mes "^3355FF*BAM!*^000000"; next; - Emotion e_omg; + emotion e_omg; mes "[Busy-Looking Boy]"; mes "Ack! Those books...!"; mes "It took me so long to"; @@ -345,13 +345,13 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "arrange these nicely"; mes "out of the bottom of"; mes "my freakin' heart."; - Emotion e_lv,1; + emotion e_lv,1; next; mes "[Busy-Looking Boy]"; mes "..."; mes "......"; mes "........."; - Emotion e_dots; + emotion e_dots; next; mes "[Busy-Looking Boy]"; mes "Huh...?"; @@ -373,7 +373,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "easily, so it scares me to"; mes "death to ride the Airship"; mes "all the way to Juno."; - Emotion e_dots; + emotion e_dots; next; mes "[Busy-Looking Boy]"; mes "Now I'm in trouble!"; @@ -381,7 +381,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "time I just can't help it."; mes "There's nothing I can do!"; mes "Oh, I'm gonna lose this job!"; - Emotion e_sob; + emotion e_sob; next; mes "[Busy-Looking Boy]"; mes "Wait... You adventurers"; @@ -397,7 +397,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "It's none of your "; mes "business, I know, but"; mes "I'm just so desperate..."; - Emotion e_sob; + emotion e_sob; set prt_curse,2; close; } @@ -409,7 +409,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "Summon all my courage..."; mes "and b-board that Airship!"; mes "Argh! No, I can't do it!"; - Emotion e_dots; + emotion e_dots; next; callsub S_GetBooks; mes "[Busy-Looking Boy]"; @@ -418,7 +418,7 @@ prontera,248,212,3 script Busy Boy#prt 706,3,3,{ mes "That guy's been waiting"; mes "for me to deliver his books"; mes "for quite a while now..."; - Emotion e_sob; + emotion e_sob; close; } else if (prt_curse == 3) { @@ -458,7 +458,7 @@ OnTouch: mes "Hey, look out!"; mes "Can't you be more"; mes "careful?! Geeeeez!"; - Emotion e_ag; + emotion e_ag; next; mes "["+strcharinfo(0)+"]"; mes "Oops, I'm so sorry."; @@ -507,7 +507,7 @@ OnTouch: mes "easily, so it scares me to"; mes "death to ride the Airship"; mes "all the way to Juno."; - Emotion e_dots; + emotion e_dots; next; mes "[Busy-Looking Boy]"; mes "Now I'm in trouble!"; @@ -515,7 +515,7 @@ OnTouch: mes "time I just can't help it."; mes "There's nothing I can do!"; mes "Oh, I'm gonna lose this job!"; - Emotion e_sob; + emotion e_sob; next; mes "[Busy-Looking Boy]"; mes "Wait... You adventurers"; @@ -531,7 +531,7 @@ OnTouch: mes "It's none of your "; mes "business, I know, but"; mes "I'm just so desperate..."; - Emotion e_sob; + emotion e_sob; set prt_curse,2; close; } @@ -625,7 +625,7 @@ yuno,311,195,3 script Historian#prt01 754,{ mes "[Historian]"; mes "GRRRRRRRRR!"; mes "Where are my books?!"; - Emotion e_ag; + emotion e_ag; next; select("Are you alright?"); mes "[Historian]"; @@ -656,7 +656,7 @@ yuno,311,195,3 script Historian#prt01 754,{ } else { select("Oh, I'm delivering the books for him."); - Emotion e_what; + emotion e_what; mes "[Historian]"; mes "Ah, really?"; mes "Great, you're here!"; @@ -813,7 +813,7 @@ yuno,311,195,3 script Historian#prt01 754,{ mes "ruling the kingdom, the 7 warriors agreed to hold a contest amongst"; mes "their families each generation to prevent royal corruption."; next; - Emotion e_swt2; + emotion e_swt2; mes "[Historian]"; mes "Oh... Not too excited"; mes "about history, huh? Well,"; @@ -958,7 +958,7 @@ morocc_in,45,126,3 script Historian#prt02 702,{ mes "can't be good for my skin..."; mes "Ooh, I wish I were back home"; mes "in the Schwaltzvalt Republic~"; - Emotion e_sob; + emotion e_sob; next; mes "[Historian Rodafrian]"; mes "Hello there."; @@ -1209,11 +1209,11 @@ morocc_in,45,126,3 script Historian#prt02 702,{ mes "that you have learned to"; mes "Rodafrian, choosing not"; mes "to withhold any secrets.^000000"; - Emotion e_ic; + emotion e_ic; next; mes "[Historian Rodafrian]"; mes ".....................!"; - Emotion e_gasp; + emotion e_gasp; next; mes "[Historian Rodafrian]"; mes "Thank you for sharing that"; @@ -1301,7 +1301,7 @@ morocc_in,45,126,3 script Historian#prt02 702,{ close; } else if (prt_curse == 56) { - Emotion e_an; + emotion e_an; mes "[Historian Rodafrian]"; mes "I just paid a visit to"; mes "Karlomoff and gave him"; @@ -1312,7 +1312,7 @@ morocc_in,45,126,3 script Historian#prt02 702,{ close; } else if (prt_curse == 60) { - Emotion e_an; + emotion e_an; mes "[Historian Rodafrian]"; mes "I just aid a visit to"; mes "Karlomoff and gave him"; @@ -1998,7 +1998,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 879,{ mes "with death. But the royal family and the Prontera Church took"; mes "mercy on me, and allowed"; mes "me to live here in exile."; - Emotion e_dots; + emotion e_dots; next; mes "[Bonnie Imbullea]"; mes "I began to sing this song"; @@ -2013,7 +2013,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 879,{ mes "a maid found a fragment of a"; mes "Red Gemstone while cleaning"; mes "the secret ceremonial grounds."; - Emotion e_gasp,1; + emotion e_gasp,1; next; mes "[Bonnie Imbullea]"; mes "I always thought it"; @@ -2262,7 +2262,7 @@ prt_church,185,106,3 script Father Bamph 60,{ mes "sent this adventurer here"; mes "for a favor, it probably means"; mes "she trusts this person. Besides, we need somebody to carry out"; - if (sex) + if (Sex) mes "this task for us. Why not him?"; else mes "this task for us. Why not her?"; @@ -2315,7 +2315,7 @@ prt_church,185,106,3 script Father Bamph 60,{ mes "at a young age^000000. That is"; mes "Jormungand's curse and"; mes "the royal family's secret."; - Emotion e_omg,1; + emotion e_omg,1; next; mes "["+strcharinfo(0)+"]"; mes "What...?!"; @@ -2378,7 +2378,7 @@ prt_church,185,106,3 script Father Bamph 60,{ mes "complicated. Please"; mes "listen to what we have"; mes "to ask from here on..."; - Emotion e_dots; + emotion e_dots; set prt_curse,15; close; } @@ -2390,7 +2390,7 @@ prt_church,185,106,3 script Father Bamph 60,{ mes "looking marks on their bodies."; mes "It almost looked as if they"; mes "were growing snake scales."; - Emotion e_gasp,1; + emotion e_gasp,1; next; mes "["+strcharinfo(0)+"]"; mes "Wait, they grew snake"; @@ -2896,7 +2896,7 @@ prt_church,185,106,3 script Father Bamph 60,{ mes "to cover your Airship fee."; mes "Thank you, and good luck."; set aru_monas,6; - set zeny, zeny + (checkre(0))?5000:1500; + set Zeny, Zeny + (checkre(0))?5000:1500; changequest 17002,17003; close; } @@ -3208,7 +3208,7 @@ prt_church,21,111,5 script #prince2 887,{ mes "curse, we all failed. Those"; mes "involved have begun to believe"; mes "that Odin may have abandoned us... "; - Emotion e_omg,1; + emotion e_omg,1; next; mes "^3355FFYou examine the body of"; mes "the second prince and notice"; @@ -3634,14 +3634,14 @@ prt_in,162,99,4 script Librarian#curse 67,{ mes "we will provide you with"; mes "replacement copies."; next; - if (zeny > 699) { + if (Zeny > 699) { mes "[Librarian]"; mes "Ah, here you are."; mes "Please take these"; mes "replacement copies,"; mes "and try not to lose"; mes "them again. Thank you."; - set zeny,zeny-700; + set Zeny, Zeny-700; getitem 7431,1; //Books close; } diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index e66f161739..eafae60a0f 100644 --- a/npc/quests/quests_rachel.txt +++ b/npc/quests/quests_rachel.txt @@ -40,7 +40,7 @@ //= 3.6 Added questlog support. [Euphy] //============================================================ -// Lost Child Quest (Prerequisite to High Priest quest) +// Lost Child Quest (Prerequisite to High Priest quest) :: rachel_wonjumin //============================================================ ra_in01,384,246,3 script Vincent#ra_in01 47,{ if (BaseLevel < 60) { @@ -1228,7 +1228,7 @@ rachel,263,32,3 script Kid#ra_in01 931,{ } } -// Bruspetti Quest (Perequisite: Lighthalzen "Friendship" quest) +// Bruspetti Quest (Perequisite: Lighthalzen "Friendship" quest) :: rachel_ryu //============================================================ ra_in01,235,194,5 script Katinshuell 931,{ if (rach_vice > 21) { @@ -1240,7 +1240,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "could have had a chance..."; close; } - else if ((rach_vice == 21) && (countitem(1201) > 0)) { mes "[Katinshuell]"; mes "Please... Please just"; @@ -1254,7 +1253,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ changequest 8121,8122; close; } - else if (rach_vice == 21) { mes "[Katinshuell]"; mes "I suppose it's my"; @@ -1264,7 +1262,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "truly happy. Bruspetti..."; close; } - else if ((rach_vice == 20) && (countitem(1201) > 0)) { mes "[Katinshuell]"; mes "I suppose there's"; @@ -1369,7 +1366,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "God! My life sucks!"; close; } - else if (rach_vice == 21) { mes "[Katinshuell]"; mes "^333333*Pant pant*^000000"; @@ -1380,7 +1376,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "h-haunt me... Ha ha ha..."; close; } - else if ((rach_vice == 20) && (countitem(1201) > 0)) { mes "[Katinshuell]"; mes "I..."; @@ -1422,7 +1417,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "Mr. Katinshuell?"; close; } - else if ((rach_vice == 19) || (rach_vice == 20)) { mes "[Katinshuell]"; mes "I..."; @@ -1450,7 +1444,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "him to reveal the truth?^000000)"; close; } - else if (rach_vice == 18) { mes "[" + strcharinfo(0) + "]"; mes "Let's see..."; @@ -1517,7 +1510,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "........."; close; } - else if (rach_vice == 17) { mes "[Katinshuell]"; mes "Damn it! I don't want to"; @@ -1535,7 +1527,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ set rach_vice,18; close; } - else if (rach_vice == 16) { mes "[Katinshuell]"; mes "Ha ha ha..."; @@ -1571,7 +1562,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "I don't know what"; mes "you're talking about!"; close; - case 2: mes "[" + strcharinfo(0) + "]"; mes "You know, I found out"; @@ -1620,7 +1610,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "backfired, so I'm going"; mes "to have to try this again.)^000000"; close; - case 2: mes "[" + strcharinfo(0) + "]"; mes "So while she was away"; @@ -1639,7 +1628,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "backfired, so I'm going"; mes "to have to try this again.)^000000"; close; - case 3: mes "[" + strcharinfo(0) + "]"; mes "Wait a second! Your break-up"; @@ -1675,7 +1663,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "backfired, so I'm going"; mes "to have to try this again.)^000000"; close; - case 2: mes "[" + strcharinfo(0) + "]"; mes "Hmm... Why are you"; @@ -1703,9 +1690,7 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "before I get really angry!"; close; } - } - case 3: mes "[" + strcharinfo(0) + "]"; mes "Freya's Spring."; @@ -1723,7 +1708,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "That's a pretty"; mes "good reason."; close; - case 4: mes "[" + strcharinfo(0) + "]"; mes "If Bruspetti is not"; @@ -1744,11 +1728,8 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "to question him again until"; mes "my gut feeling is satisfied!^000000)"; close; - } - } - else if ((rach_vice == 15) && (countitem(7571))) { mes "[Katinshuell]"; mes "Oh, it's you again."; @@ -1806,7 +1787,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ changequest 8119,8120; close; } - else if ((rach_vice == 10) || (rach_vice == 11)) { mes "[Katinshuell]"; mes "Argh! I'm so depressed."; @@ -1862,7 +1842,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "you came to do, right?"; close; } - else if (rach_vice == 4) { mes "[Katinshuell]"; mes "Uh... "; @@ -1872,7 +1851,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "be left alone. Go away..."; close; } - else if (rach_vice == 3) { mes "[Katinshuell]"; mes "Eh? Oh, it's one of you"; @@ -1892,7 +1870,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ changequest 8107,8108; close; } - else if (rach_vice == 2) { mes "[Katinshuell]"; mes "You're an adventurer,"; @@ -1909,7 +1886,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "of mine never cease to haunt me..."; close; } - else if (rach_vice == 1) { mes "[Katinshuell]"; mes "You're an adventurer,"; @@ -1925,7 +1901,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "left all alone, these thoughts of mine never cease to haunt me..."; close; } - else if (rach_vice == 0) { mes "[Katinshuell]"; mes "You're an adventurer,"; @@ -1981,7 +1956,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "Thanks, adventurer."; close; } - else if (rach_vice == 14) { mes "[Mr. Shendar]"; mes "So you have a pretty"; @@ -2005,7 +1979,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "to hate and distrust him!"; close; } - else if (rach_vice == 13) { mes "[Mr. Shendar]"; mes "Hey! Hey! Are you"; @@ -2088,7 +2061,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ changequest 8117,8118; close; } - else if (rach_vice == 9) { mes "[Mr. Shendar]"; mes "Curses! I should have never"; @@ -2098,7 +2070,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "is naturally too curious...!"; close; } - else if (rach_vice == 8) { mes "[Mr. Shendar]"; mes "What? My daughter went"; @@ -2140,7 +2111,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ changequest 8112,8113; close; } - else if ((rach_vice == 4) || (rach_vice == 5)) { mes "[Mr. Shendar]"; mes "I miss my daughter. Yes,"; @@ -2160,7 +2130,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ changequest 8108,8109; close; } - else if (rach_vice == 2) { mes "[Mr. Shendar]"; mes "Take my advice: never"; @@ -2179,7 +2148,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "little neck! At least, I should..."; close; } - else if (rach_vice == 1) { mes "[Mr. Shendar]"; mes "I just found out that"; @@ -2208,7 +2176,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ setquest 8106; close; } - mes "[Mr. Shendar]"; mes "I just found out that"; mes "my precious daughter has"; @@ -2238,7 +2205,6 @@ rachel,73,244,3 script Lachellen 919,{ mes "I can't wait to see her~"; close; } - else if ((rach_vice == 11) || (rach_vice == 12)) { mes "[Lachellen]"; mes "Oh, hello again~"; @@ -2302,7 +2268,6 @@ rachel,73,244,3 script Lachellen 919,{ mes "just a little bit."; close; } - else if (rach_vice == 7) { mes "[Lachellen]"; mes "Let's see... Bruspetti"; @@ -2321,7 +2286,6 @@ rachel,73,244,3 script Lachellen 919,{ mes "tell her I said ''hi,'' okay?"; close; } - else if (rach_vice == 6) { mes "[Lachellen]"; mes "Oh, Bruspetti's dad"; @@ -2358,7 +2322,6 @@ rachel,73,244,3 script Lachellen 919,{ changequest 8110,8111; close; } - else if ((rach_vice == 2) || (rach_vice == 3)) { mes "[Lachellen]"; mes "Ooh, I'm so jealous"; @@ -2378,7 +2341,6 @@ rachel,73,244,3 script Lachellen 919,{ changequest 8106,8107; close; } - mes "[Lachellen]"; mes "My friend Bruspetti"; mes "is a really nice girl~"; @@ -2455,7 +2417,6 @@ rachel,266,35,3 script Grandma#rachel 918,{ mes "not particularly special."; close; } - else if (rach_vice == 13) { mes "[Grandma]"; mes "When you get to be my"; @@ -2466,7 +2427,6 @@ rachel,266,35,3 script Grandma#rachel 918,{ mes "worry when I could've relaxed."; close; } - else if (rach_vice == 12) { mes "[Grandma]"; mes "Oh, back again, eh?"; @@ -2587,7 +2547,6 @@ OnTouch: mes "forgive himself."; close; } - else if (rach_vice == 22) { mes "[" + strcharinfo(0) + "]"; mes "This must be where"; @@ -2619,7 +2578,6 @@ OnTouch: mes "...What?"; close; } - else if (rach_vice == 8) { mes "[" + strcharinfo(0) + "]"; mes "That old woman told"; @@ -2629,7 +2587,6 @@ OnTouch: mes "make sure I tread carefully."; close; } - else if (rach_vice == 7) { mes "[???]"; mes "Oh, be very careful!"; @@ -2664,7 +2621,6 @@ ra_in01,255,25,0 script Book#ra_in 111,{ mes "you talk to Katinshuell.^000000"; close; } - else if (rach_vice == 14) { set rach_vice,15; changequest 8118,8119; @@ -2677,7 +2633,6 @@ ra_in01,255,25,0 script Book#ra_in 111,{ mes "Katinshuell are connected...^000000"; close; } - else if ((rach_vice == 9) || (rach_vice == 10)) { mes "^3355FFThis must be"; mes "Bruspetti's diary!"; @@ -2692,7 +2647,7 @@ ra_in01,255,25,0 script Book#ra_in 111,{ } -// Ice Necklace/Summon Ktullanux Quest and Glacial Heart buyer +// Ice Necklace/Summon Ktullanux Quest and Glacial Heart buyer :: rachel_tre //============================================================ //iRO Changed this NPC to avoid "offending" people. //To enable how it originally looked, uncomment the @@ -2943,12 +2898,12 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "this ice off of me!."; next; if (getskilllv("MG_FIREBOLT") > 0) { - misceffect EF_FIREBALL; + specialeffect EF_FIREBALL; mes "^3355FFYou cast Fire Bolt at"; mes "the ice..^000000"; } else { - misceffect EF_HIT2; + specialeffect EF_HIT2; mes "^3355FFYou hammer at the"; mes "ice with all your might.^000000"; } @@ -3172,9 +3127,9 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "swung it down at the ice"; mes "with all of your strength.^000000"; next; - misceffect EF_TEIHIT3; - misceffect EF_FREEZE; - misceffect EF_ICECRASH; + specialeffect EF_TEIHIT3; + specialeffect EF_FREEZE; + specialeffect EF_ICECRASH; mes "^3355FF*Pzzzzz*"; mes "*CRASH!*^000000"; next; @@ -3185,7 +3140,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "After all of this"; mes "time! I'm free!"; next; - misceffect EF_BEGINSPELL4; + specialeffect EF_BEGINSPELL4; mes "[Maheo]"; mes "Now, all of the monsters"; mes "in this cave will taste the"; @@ -3198,7 +3153,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ monster "ice_dun02",114,112,"Snowier",1775,1,"Man Stuck in Ice#cave::OnMyMobDead"; monster "ice_dun02",126,105,"Snowier",1775,1,"Man Stuck in Ice#cave::OnMyMobDead"; monster "ice_dun02",121,99,"Snowier",1775,1,"Man Stuck in Ice#cave::OnMyMobDead"; - misceffect EF_LORD; + specialeffect EF_LORD; killmonster "ice_dun02","Man Stuck in Ice#cave::OnMyMobDead"; mes "[Maheo]"; mes "Muhahahahahahahaha!"; @@ -3222,7 +3177,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "[Maheo]"; mes "Let's see, now..."; next; - misceffect EF_FROSTWEAPON; + specialeffect EF_FROSTWEAPON; mes "^3355FF*Ting*^000000"; next; mes "[Maheo]"; @@ -3525,7 +3480,7 @@ rachel,113,96,5 script Mohadian 929,10,10,{ mes "It's always a pleasure"; mes "doing business with you~"; delitem 7561,.@hearts; //Glacial Hearts - set zeny,zeny+.@totalprice; + set Zeny, Zeny+.@totalprice; close; } @@ -3538,7 +3493,6 @@ OnTouch: close; } end; - } ice_dun03,126,126,3 script Blazing Fire#ice1 802,{ @@ -3579,7 +3533,6 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 802,{ OnInit: set $ktullanux_summon,0; end; - } @@ -3621,7 +3574,6 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 802,{ OnInit: set $ktullanux_summon,0; end; - } ice_dun03,172,172,0 script Blazing Fire#ice3 802,{ @@ -3662,7 +3614,6 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 802,{ OnInit: set $ktullanux_summon,0; end; - } ice_dun03,127,172,0 script Blazing Fire#ice4 802,{ @@ -3703,7 +3654,6 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 802,{ OnInit: set $ktullanux_summon,0; end; - } ice_dun03,1,173,5 script ice_boss#broad -1,{ @@ -3743,7 +3693,6 @@ OnTimer21000: stopnpctimer; donpcevent "ice_boss#on::OnStart"; end; - } ice_dun03,1,174,3 script ice_boss#on -1,{ @@ -3783,10 +3732,10 @@ OnStart: enablenpc "#ice_4f_2"; enablenpc "#ice_4f_3"; enablenpc "#ice_4f_4"; - donpcevent "#ice_4f_1::OnEnable"; - donpcevent "#ice_4f_2::OnEnable"; - donpcevent "#ice_4f_3::OnEnable"; - donpcevent "#ice_4f_4::OnEnable"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_1"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_2"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_3"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_4"; end; OnTimer60000: @@ -3806,11 +3755,6 @@ OnTouch: OnInit: disablenpc "#ice_4f_1"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } ice_dun03,138,148,0 script #ice_4f_2 45,2,2,{ @@ -3821,11 +3765,6 @@ OnTouch: OnInit: disablenpc "#ice_4f_2"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } ice_dun03,161,148,0 script #ice_4f_3 45,2,2,{ @@ -3836,11 +3775,6 @@ OnTouch: OnInit: disablenpc "#ice_4f_3"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } ice_dun03,151,162,0 script #ice_4f_4 45,2,2,{ @@ -3851,14 +3785,9 @@ OnTouch: OnInit: disablenpc "#ice_4f_4"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } -// Donation Lottery Quest/High Priest Quest +// Donation Lottery Quest/High Priest Quest :: rachel_oz & rachel_ma1 //============================================================ ra_temple,119,180,0 script Temple Entrance#ra_tem 45,1,1,{ OnTouch: @@ -3917,7 +3846,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "a contribution. Regardless,"; mes "we invite you to celebrate the"; mes "grace of the goddess with us."; - Emotion e_ho; + emotion e_ho; next; mes "[Priestess Nemma]"; mes "There's one High Priest that"; @@ -3961,21 +3890,16 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "of 50,000 zeny, and we can only"; mes "accept up to 150,000 zeny at once. It's a bit complicated, I know..."; next; - switch(select("50,000z - 1 Lottery Ticket:100,000z - 2 Lottery Ticket:150,000z - 3 Lottery Ticket:Cancel")) { - case 1: callsub S_Donate,1,"50,000"; break; - case 2: callsub S_Donate,2,"100,000"; break; - case 3: callsub S_Donate,3,"150,000"; break; - case 4: cutin "ra_nemma02",2; mes "[Priestess Nemma]"; @@ -3985,13 +3909,9 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "zeny. Even so, Freya is always"; mes "protecting you, wherever you go~"; break; - } - goto L_End; - } - else { cutin "ra_nemma03",2; mes "[Priestess Nemma]"; @@ -4001,9 +3921,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "while ago. So what brings you"; mes "to the temple today, hmm?"; next; - switch(select("I've come to donate again.:Just sight-seeing.:I came to attend the service.:I just wanted to see you again.")) { - case 1: mes "[Priestess Nemma]"; mes "You've come to make another"; @@ -4013,21 +3931,16 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "accept donations in increments of"; mes "50,000 zeny up to 150,000 zeny."; next; - switch(select("50,000z - 1 Lottery Ticket:100,000z - 2 Lottery Ticket:150,000z - 3 Lottery Ticket:Cancel")) { - case 1: callsub S_Donate,1,"50,000"; break; - case 2: callsub S_Donate,2,"100,000"; break; - case 3: callsub S_Donate,3,"150,000"; break; - case 4: cutin "ra_nemma02",2; mes "[Priestess Nemma]"; @@ -4037,10 +3950,8 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "zeny. Even so, Freya is always"; mes "protecting you, wherever you go~"; break; - } goto L_End; - case 2: mes "[Priestess Nemma]"; mes "Oh! If you'd like some"; @@ -4056,7 +3967,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Well, anyway, she'll help"; mes "you out. See you later!"; break; - case 3: mes "[Priestess Nemma]"; mes "You're here for the"; @@ -4065,20 +3975,14 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "of calm that you can only"; mes "get from goddess Freya~"; break; - case 4: mes "[Priestess Nemma]"; mes "Oh, how sweet of you~"; break; - } - goto L_End; - } - } - else { if (MISC_QUEST & 8192) { cutin "ra_nemma01",2; @@ -4086,7 +3990,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Welcome to our temple!"; goto L_End; } - if (ra_tem_q < 1) { mes "[Priestess Nemma]"; mes "Hello, there!"; @@ -4120,7 +4023,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ set ra_tem_q,1; goto L_End; } - else if ((ra_tem_q >= 1) && (ra_tem_q < 10)) { mes "[Priestess Nemma]"; mes "If the gate's locked, then"; @@ -4136,7 +4038,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Ooh, Panno, help me!"; goto L_End; } - else if (ra_tem_q == 10) { cutin "ra_nemma04",2; mes "[Priestess Nemma]"; @@ -4163,7 +4064,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Oooh, what should I do?!"; goto L_End; } - else if (ra_tem_q == 11) { emotion e_ho; cutin "ra_nemma03",2; @@ -4176,7 +4076,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Lottery Tickets inside, okay?"; goto L_End; } - else if (ra_tem_q == 12) { mes "[Priestess Nemma]"; mes "Mmm... I know what"; @@ -4204,7 +4103,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ set ra_tem_q,13; goto L_End; } - else if (ra_tem_q == 13) { mes "[Priestess Nemma]"; mes "Hey, did you bring me"; @@ -4249,7 +4147,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "but still. How much fun are"; mes "fireworks if there isn't a lot?"; } - else { cutin "ra_nemma01",2; mes "[Priestess Nemma]"; @@ -4259,16 +4156,13 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "back with, anyway~"; } goto L_End; - } - else { cutin "ra_nemma01",2; mes "[Priestess Nemma]"; mes "Welcome to our temple!"; } goto L_End; - } L_End: @@ -4296,7 +4190,7 @@ S_Donate: mes "generous and rewards the patient!"; return; } - if (zeny >= getarg(0)*50000) { + if (Zeny >= getarg(0)*50000) { if (!checkweight(7570,getarg(0))) { cutin "ra_nemma02",2; mes "[Priestess Nemma]"; @@ -4318,7 +4212,7 @@ S_Donate: } set $rachel_donate,$rachel_donate+getarg(0); getitem 7570,getarg(0); //Temple_Lottery_Ticket - set zeny,zeny-getarg(0)*50000; + set Zeny, Zeny-getarg(0)*50000; set ra_have_donated,1; if ($rachel_donate > 9999) { cutin "ra_nemma03",2; @@ -4361,7 +4255,6 @@ S_Donate: mes "Well, maybe another time, yes?"; return; } - } rachel,243,37,3 script Kid#Candy Addict 921,{ @@ -4398,22 +4291,17 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "[Kid]"; mes "Oh hey, do"; mes "you like candy?"; - if (ra_tem_q == 1) { next; switch(select("Not at all.:Yeah.:Sure, I love the stuff~:Not much.")) { - case 1: mes "[Kid]"; mes "Hmpf! Okay."; close; - case 2: break; - case 3: break; - case 4: mes "[Kid]"; mes "Oh. It's 'cause you're"; @@ -4425,10 +4313,7 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "Tell me, tell"; mes "me, how come?"; close; - } - - if (rand(1,2) != 2) { mes "[Kid]"; mes "Oh yeah...?"; @@ -4445,7 +4330,6 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "I tricked you!"; mes "You big big dummy!"; } - else { mes "[Kid]"; mes "Oh, you do?"; @@ -4561,14 +4445,11 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "cool secret, so promise"; mes "that you won't be mad anymore."; next; - switch(select("No, thanks.:What's that?")) { - case 1: mes "[Kid]"; mes "Please~"; break; - case 2: mes "[Kid]"; mes "Did you know that"; @@ -4593,16 +4474,11 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "be madder at you!"; set ra_tem_q,2; break; - } - } - } close; - } - else if (ra_tem_q == 2) { mes "[Kid]"; mes "You're leaving?"; @@ -4627,7 +4503,6 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "huh? Gosh! Some people!"; close; } - } ra_temple,67,209,0 script zawa00 -1,3,3,{ @@ -4654,7 +4529,6 @@ OnTouch: mes "you don't get caught?^000000"; close; } - else if ((ra_tem_q >= 3) && (ra_tem_q < 10)) { mes "^3355FFWould you like to"; mes "enter the temple"; @@ -4670,12 +4544,11 @@ OnTouch: mes "that you can enter.^000000"; close; } - end; } que_rachel,63,82,0 script Window#ra_temple 111,{ - mes "^3355FFThis window it open^000000"; + mes "^3355FFThis window is open.^000000"; next; if(select("Stay:Exit Through Window") == 2) { close2; @@ -4693,7 +4566,6 @@ OnTouch: set ra_tem_q,3; close; } - end; } @@ -4708,9 +4580,7 @@ OnTouch: set ra_tem_q,4; close; } - end; - } que_rachel,94,139,0 script zawa03 -1,10,10,{ @@ -4721,9 +4591,7 @@ OnTouch: set ra_tem_q,5; close; } - end; - } que_rachel,132,70,0 script zawa04 -1,10,10,{ @@ -4740,9 +4608,7 @@ OnTouch: set ra_tem_q,6; close; } - end; - } que_rachel,28,315,0 script Bloody Spot -1,5,5,{ @@ -4766,16 +4632,13 @@ OnTouch: set ra_tem_q,7; close; } - else { mes "^3355FFYou decide that your"; mes "time would be better spent"; mes "investigating something else.^000000"; close; } - } - else if (ra_tem_q == 7) { mes "^3355FFThis dark spot on the"; mes "ground is really creepy,"; @@ -4799,16 +4662,13 @@ OnTouch: set ra_tem_q,8; close; } - else { mes "^3355FFYou decide that your"; mes "time would be better spent"; mes "investigating something else.^000000"; close; } - } - else if (ra_tem_q == 8) { mes "^3355FFThis blood stain on the"; mes "ground is a pretty bad"; @@ -4818,7 +4678,6 @@ OnTouch: mes "bleeding does the same to you.^000000"; close; } - end; } @@ -4848,7 +4707,6 @@ OnTouch: set ra_tem_q,9; close; } - end; } @@ -4860,9 +4718,7 @@ que_rachel,160,37,0 duplicate(nemma01) nemma05 -1,5,5 que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ mes "^3355FFThe gate is closed.^000000"; next; - switch(select("Push Gate:Examine Gate:Kick Gate:Smash Gate with Weapon")) { - case 1: mes "^3355FFYou push the gate"; mes "with all of your might..."; @@ -4874,7 +4730,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ } mes "But it won't even budge.^000000"; break; - case 2: mes "^3355FFThere's some strange"; mes "machinery installed on"; @@ -4883,7 +4738,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ mes "a card or permit. The lights"; mes "are on, so it must be working.^000000"; break; - case 3: mes "^3355FFYou angrily kick the gate..."; if (ra_tem_q == 9) { @@ -4897,7 +4751,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ mes "gate refuses to open for you."; mes "Oh, and your foot hurts too.^000000."; break; - case 4: mes "^3355FFWait! That's not"; mes "a good idea. You can't"; @@ -4908,7 +4761,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ } close; - } ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ @@ -6066,7 +5918,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "before the other High"; mes "Priests ruin our nation."; next; - Emotion e_omg,1; + emotion e_omg,1; mes "["+strcharinfo(0)+"]"; mes "Y-you're not thinking"; mes "of overthrowing the"; @@ -6074,7 +5926,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "that a bit extreme?"; next; cutin "ra_gman2",2; - Emotion e_swt; + emotion e_swt; mes "[High Priest Zhed]"; mes "What? No, no!"; mes "Don't jump to conclusions"; @@ -6193,7 +6045,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "I already have someone in"; mes "mind that might help us."; next; - Emotion 52,1; + emotion e_flash,1; mes "["+strcharinfo(0)+"]"; mes "That sounds good."; mes "Who is he?"; @@ -6206,7 +6058,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "may even think I deserve"; mes "to be excommunicated..."; next; - Emotion e_no1,1; + emotion e_no1,1; mes "["+strcharinfo(0)+"]"; mes "Come on, it wouldn't"; mes "hurt to try! Besides,"; @@ -7643,11 +7495,11 @@ OnTouch: //= 1.5b Fixed some typos in various quests. [SinSloth] //= 1.6 Fixed a couple bugs with the Pope's Office Guards... [L0ne_W0lf] //= 1.7 Fixed Maheo, he will revert to his frozen state when clicked. [L0ne_W0lf] -//= Replaced instances of "+name+", with "+strcharinfo(0)". +//= Replaced instances of "+name+", with "+strcharinfo(0)". //= 1.8 Various fixes: Hamion will now delete items used for Wind Hammer. [L0ne_W0lf] -//= Fixed EXP reward in Ice Necklace quest, fixed a typo in an NPC header. -//= Another minor fix to Hamion. "< 1" -> "< 2". Added a missing close to -//= the ontouch "key". Thanks to Gepard for pointing them out. +//= Fixed EXP reward in Ice Necklace quest, fixed a typo in an NPC header. +//= Another minor fix to Hamion. "< 1" -> "< 2". Added a missing close to +//= the ontouch "key". Thanks to Gepard for pointing them out. //= 1.9 Fixed a misorder with variable checkings. [SinSloth] //= 2.0 Fixed experience gains to match upcoming rate adjustments. [SinSloth] //= 2.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] diff --git a/npc/quests/quests_umbala.txt b/npc/quests/quests_umbala.txt index 266a7e4462..ae98fe667f 100644 --- a/npc/quests/quests_umbala.txt +++ b/npc/quests/quests_umbala.txt @@ -32,14 +32,14 @@ //= 1.7a Removed all custom quests to custom folder [Lupus] //= 1.8 Added official chance of failure to Create Essence/Dismantle Stone [Lupus] //= 1.9 Added functionality to allow players to dismantle more -//= than a stone at once, up to 10. [SinSloth] +//= than a stone at once, up to 10. [SinSloth] //= 2.0 Updated hack check and added a weight check to dismantling. [SinSloth] //= 2.1 Rescripted to Aegis 10.3 standards. Added strange quest. [L0ne_W0lf] //= 2.2 Readded the ability to dismantle multiple stones at once. [L0ne_W0lf] //= 2.2a Fixed weight check from previous update. [L0ne_w0lf] //============================================================ -// Umbalian Language Quest +// Umbalian Language Quest :: um_trans //============================================================ um_in,39,122,5 script Utan Chief 784,{ if (event_umbala == 0) { @@ -362,7 +362,7 @@ um_in,39,122,5 script Utan Chief 784,{ } } -// Create Essence/Dismantle Stone Quest +// Create Essence/Dismantle Stone Quest :: um_npc //============================================================ um_in,44,71,2 script Utan Shaman 782,{ if (checkweight(908,600) == 0) { @@ -979,7 +979,7 @@ umbala,221,193,1 script #Skulldoor 111,{ } } -// Umbala Domestic Dispute Quest +// Umbala Domestic Dispute Quest :: um_npc_ryu //============================================================ um_in,139,48,5 script Phrenetan 783,{ if (event_umbala >= 3) { diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt index 60c38c6d2c..9a0dc90eaa 100644 --- a/npc/quests/quests_veins.txt +++ b/npc/quests/quests_veins.txt @@ -29,8 +29,8 @@ //= 1.0 First version, Added Veins Stone quest. [L0ne_W0lf] //= 1.1 Added Veins Spy Quest. [L0ne_W0lf] //= 1.2 Added Veins Siblings Quest. [L0ne_W0lf] -//= Added Veins Thor Volcano Base Quest NPC. [L0ne_W0lf] -//= Start NPC is missing, but will be added when I get it. +//= Added Veins Thor Volcano Base Quest NPC. [L0ne_W0lf] +//= Start NPC is missing, but will be added when I get it. //= 1.3 Fixed two typos small in Asbar. [L0ne_W0lf] //= 1.3a More fixes to some of the Base quest NPCs. [L0ne_W0lf] //= 1.4 Added missing checkweights. [L0ne_W0lf] @@ -51,7 +51,7 @@ //= 2.5 Added GM management NPC. [Euphy] //============================================================ -// Stone Quest +// Stone Quest :: veins_stone //============================================================ - script ::WincingOldMan_veins -1,{ if ((MaxWeight - Weight) < 2000 || checkweight(1201,1) == 0) { @@ -643,7 +643,7 @@ ve_in02,68,39,7 script Factory Worker#ve2 943,{ close; } -// Spy Quest +// Spy Quest :: veins_secret //============================================================ prontera,202,122,0 script Kid#sch 703,{ if (que_sch == 0) { @@ -724,7 +724,7 @@ prontera,202,122,0 script Kid#sch 703,{ mes "[Rooney]"; mes "Hey, alright! Thanks"; mes "for the cash! Heh heh~"; - set zeny,zeny-100; + set Zeny, Zeny-100; set que_sch,3; close; } @@ -820,7 +820,7 @@ prt_church,89,108,6 script Bard#sch 741,{ mes "kid that was supposed"; mes "to come find me here."; set que_sch,2; - set zeny,zeny+100; + set Zeny, Zeny+100; next; mes "[Lasda]"; mes "I'd like you to come"; @@ -1583,7 +1583,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 892,{ mes "your Megaphone. Thanks"; mes "for everything, and I'll see"; mes "you around, adventurer~"; - set zeny,zeny-500000; + set Zeny, Zeny-500000; set que_sch,18; getitem 7040,1; //Megaphone close; @@ -1629,7 +1629,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 892,{ mes "so I'm not supposed to let"; mes "you have this. Don't let"; mes "anyone know I gave you this!"; - set zeny,zeny-500000; + set Zeny, Zeny-500000; getitem 7040,1; //Megaphone close; } @@ -2664,7 +2664,7 @@ sec_in02,10,43,4 script Extra Story Patch 809,{ close; } -// Siblings Quest +// Siblings Quest :: veins_camel //============================================================ veins,327,185,3 script Kid#camelcamel 944,{ if (MISC_QUEST & 8192) { @@ -4028,7 +4028,7 @@ veins,181,166,3 script Lockenlock 900,{ mes "The army's rotten to the core"; mes "for doing something like this."; next; - mes " [Locksmith Lockenlock]"; + mes "[Locksmith Lockenlock]"; mes "You're a real good person,"; mes "and I'm glad I got to know"; mes "you. I don't know if we'll"; @@ -5073,9 +5073,8 @@ veins,221,120,5 script Young Town Native 943,{ } } -// Thor Volcano Base Quest +// Thor Volcano Base Quest :: veins_camp //============================================================ - ra_temin,87,133,1 script Rachel Guard#vol1 934,5,2,{ if (aru_vol == 2) { mes "[Guard Karlum]"; @@ -6343,7 +6342,7 @@ thor_camp,250,104,3 script Sahedi#vol 934,{ mes "like this in the past, but..."; mes "Is this... How bad is this?"; next; - emotion 19,1; + emotion e_swt2,1; mes "["+strcharinfo(0)+"]"; mes "Oh... Oh, no!"; mes "Yikes! I guess if it's"; @@ -6434,7 +6433,7 @@ thor_camp,250,104,3 script Sahedi#vol 934,{ mes "It'll be a disaster, just"; mes "like it happened in the past!"; next; - emotion 52,1; + emotion e_flash,1; mes "["+strcharinfo(0)+"]"; mes "Yes, I agree. There's"; mes "a good chance of an..."; @@ -6446,7 +6445,7 @@ thor_camp,250,104,3 script Sahedi#vol 934,{ mes "How much time do we"; mes "have to evacuate?"; next; - emotion 52,1; + emotion e_flash,1; mes "["+strcharinfo(0)+"]"; mes "Well... Uh..."; mes "According to my data..."; @@ -7365,7 +7364,7 @@ ve_in,237,131,1 script Female Customer#ve1 940,{ next; mes "["+strcharinfo(0)+"]"; mes "Meee?"; - emotion 19,1; + emotion e_swt2,1; next; mes "[Female Customer]"; mes "Mmm..."; diff --git a/npc/quests/quests_yuno.txt b/npc/quests/quests_yuno.txt index da9afbc620..77a6031878 100644 --- a/npc/quests/quests_yuno.txt +++ b/npc/quests/quests_yuno.txt @@ -20,13 +20,13 @@ //= - Part 3: Found in Doomed_Swords.txt //= - Variable in use dmdswrd_Q (Max 45) //===== Additional Comments: ================================= -//= v1.1 Re-did the text and re-organized the script. Corrected some items. [kobra_k88] -//= v1.2 Added part to Bro's for alchemist quest [Darkchild] +//= 1.1 Re-did the text and re-organized the script. Corrected some items. [kobra_k88] +//= 1.2 Added part to Bro's for alchemist quest [Darkchild] //= 1.3 fixed that part of Alch Job Quest. [Lupus] //= 1.4 Fixed exploit [Lupus] //= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Merged metto_quest.txt into Juno quest file. -//= Added the Juno portion of the Doomed Swords quest. +//= Merged metto_quest.txt into Juno quest file. +//= Added the Juno portion of the Doomed Swords quest. //= 1.6 Fixed various errors in the Bajin NPC. [L0ne_W0lf] //= 1.7 Changed ALCH_Q check and set to corrispond to new alchemist job quest. [L0ne_W0lf] //= 1.8 Fixed metto_q never reaching 2. Made some names more unique. [L0ne_W0lf] @@ -35,7 +35,7 @@ //= 2.0a Fixed several typos (bugreport:1786) [akrus] //============================================================ -// Metto Quest +// Metto Quest :: yuno_ryusei //============================================================ yuno_in03,26,39,3 script Metto#juno 709,{ mes "[Metto]"; @@ -229,8 +229,7 @@ yuno_in01,17,30,5 script Wagan#juno 85,{ next; mes "[Wagan]"; if (Class == Job_Sage) { - set .@now_weight,maxweight - weight; - if (.@now_weight < 300) { + if (MaxWeight - Weight < 300) { mes "Oh no, it seems that you are carrying too much stuff! Would you make some room?"; close; } @@ -239,8 +238,7 @@ yuno_in01,17,30,5 script Wagan#juno 85,{ getitem 715,10; //Yellow_Gemstone close; } - set .@now_weight,maxweight - weight; - if (.@now_weight < 150) { + if (MaxWeight - Weight < 150) { mes "Oh no, it seems that you are carrying too much! Would you make some room?"; close; } @@ -424,7 +422,7 @@ yuno_in03,178,43,0 script CiCi#juno 121,{ } } -// Alchemist Brothers Quest +// Alchemist Brothers Quest :: yuno_ryusei //============================================================ yuno_in01,103,157,3 script Bain#juno 98,{ if (checkweight(1201,1) == 0) { @@ -533,7 +531,7 @@ S_DelItems: delitem 7043,5; //Fine_Sand delitem 757,3; //Elunium_Stone delitem 756,3; //Oridecon_Stone - set zeny,zeny-2000; + set Zeny, Zeny-2000; getitem getarg(0),getarg(1); //Gold mes "[Bain]"; mes "AHHH, it is a success!"; @@ -661,7 +659,7 @@ S_DelItems: delitem 7043,5; //Fine_Sand delitem 757,3; //Elunium_Stone delitem 756,3; //Oridecon_Stone - set zeny,zeny-2000; + set Zeny, Zeny-2000; getitem getarg(0),getarg(1); //Gold mes "[Bajin]"; mes "AHHH, it is a success!"; @@ -686,7 +684,7 @@ S_DelItems: close; } -// Doomed Swords - Juno Portion +// Doomed Swords - Juno Portion :: matnani_yuno //============================================================ yuno,157,87,4 script A Citizen of Juno#juno 102,{ mes "[Shalima]"; @@ -1098,7 +1096,7 @@ yuno,213,298,4 script Sage Esklah#juno 735,{ mes "^3355FF5 Decayed Nail^000000."; next; mes "[Esklah]"; - mes "For someone seeking the doomed sword, this should be a relatively simple task. Now go, and bring me what I have asked." ; + mes "For someone seeking the doomed sword, this should be a relatively simple task. Now go, and bring me what I have asked."; set dmdswrd_Q,28; close; case 28: diff --git a/npc/quests/skills/acolyte_skills.txt b/npc/quests/skills/acolyte_skills.txt index 2d797d714a..8fc21c6616 100644 --- a/npc/quests/skills/acolyte_skills.txt +++ b/npc/quests/skills/acolyte_skills.txt @@ -112,8 +112,8 @@ prt_church,173,23,4 script Cleric 79,{ //============================================================ // Old changelog //============================================================ -//= v1.0a Now using functions found in "Global_Functions.txt" -//= for class checks. +//= 1.0a Now using functions found in "Global_Functions.txt" +//= for class checks. //= 1.2 Added Baby Class Support [Lupus] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Fixed an exploit [Lupus] diff --git a/npc/quests/skills/archer_skills.txt b/npc/quests/skills/archer_skills.txt index e54a21dd0b..33e36b2d31 100644 --- a/npc/quests/skills/archer_skills.txt +++ b/npc/quests/skills/archer_skills.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Archer Skill Quest //===== By: ================================================== -//= rAthena dev team +//= rAthena Dev Team //===== Current Version: ===================================== //= 1.7 //===== Compatible With: ===================================== @@ -11,7 +11,7 @@ //===== Additional Comments: ================================= //= 1.5 Rescripted to Aegis 10.3 stadards. [L0ne_W0lf] //= 1.6 Updated to latest available official file. -//= also fixed Item issue [bugreport:5607]. [Masao] +//= also fixed Item issue [bugreport:5607]. [Masao] //= 1.7 Fixed JobLevel requirements. [Euphy] //============================================================ @@ -269,11 +269,11 @@ OnTouch: //============================================================ // Old changelog //============================================================ -//= v1.0 Roberto message text is based off RO npc. Jason message -//= text is custom from old version. -//= All items are from official quests though.[kobra_k88] -//= v1.0a Now using functions found in "Global_Functions.txt" -//= for class checks.[kobra_k88] +//= 1.0 Roberto message text is based off RO npc. Jason message +//= text is custom from old version. +//= All items are from official quests though.[kobra_k88] +//= 1.0a Now using functions found in "Global_Functions.txt" +//= for class checks.[kobra_k88] //= 1.2 Added Baby Class Support [Lupus] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Fixed exploits [Lupus] diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt index 46e8141aa7..2479a1ab11 100644 --- a/npc/quests/skills/assassin_skills.txt +++ b/npc/quests/skills/assassin_skills.txt @@ -633,7 +633,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 885,{ mes "the one who invented this"; mes "skill, is also... He's a man"; mes "amongst men, I must say."; - Emotion e_lv; + emotion e_lv; next; break; case 2: @@ -715,7 +715,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 885,{ mes "Have you heard about"; mes "the latest news from"; mes "the Assassin Guild?"; - Emotion e_heh; + emotion e_heh; next; select("News from the Assassin Guild?"); mes "[Assassin]"; @@ -761,7 +761,7 @@ OnTouch: mes "hand really hard!^000000"; sc_start SC_Poison,30000,0; sc_start SC_Bleeding,10000,0; - Emotion e_omg,1; + emotion e_omg,1; close; case 2: mes "^3355FFYou try to peek"; @@ -833,7 +833,7 @@ OnTouch: mes "hand really hard!^000000"; sc_start SC_Poison,30000,0; sc_start SC_Bleeding,10000,0; - Emotion e_omg,1; + emotion e_omg,1; close; } else { @@ -946,13 +946,13 @@ OnTouch: mes "all gas in your lungs in time"; mes "to escape its effects. Sadly,"; mes "all you found was broken glass.^000000"; - Emotion e_omg,1; + emotion e_omg,1; } close; } } -moc_pryd04,85,96,0 script ��#crypt -1,3,3,{ +moc_pryd04,85,96,0 script ¡¡#crypt -1,3,3,{ OnTouch: if (ASSN_SK == 4) { specialeffect EF_CONE; diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt index 947dfdb9b9..043526d244 100644 --- a/npc/quests/skills/bard_skills.txt +++ b/npc/quests/skills/bard_skills.txt @@ -13,14 +13,14 @@ //===== Additional Comments: ================================= //= 1.0 for fully working skills only [Lupus] //= 1.1 Added more new skill quests for more classes [Lupus] -//= Somehow eA engine doesn't let you keep learn't skill +//= Somehow eA engine doesn't let you keep learn't skill //= 1.2 Added to correct locations, correct NPC's, fixed [Reddozen] -//= some of the items required and made them into real -//= quests. +//= some of the items required and made them into real +//= quests. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus] //= 1.3a Tixed an item ID typo. Thanks, 2Spiritual Kid //= 1.3b Split into different files [DracoRPG] -//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] +//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] //= 1.4a Checks the proper variable now. (bard_q -> gef_bard_q) [L0ne_W0lf] //= 1.5 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] //= 1.6 Added missing checkweights. [L0ne_W0lf] @@ -29,7 +29,7 @@ prontera,174,328,3 script Young Man#bard_q1 89,3,3,{ if (BaseJob == Job_Bard) { - Emotion e_omg; + emotion e_omg; mes "[Timid Young Man]"; mes "Eh? Wwwaaaah--!"; mes "Y-you're--it's-it's--"; @@ -374,7 +374,7 @@ prontera,174,328,3 script Young Man#bard_q1 89,3,3,{ OnTouch: if (BaseJob == Job_Bard) { - Emotion e_omg; + emotion e_omg; } end; } @@ -654,7 +654,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 741,3,3,{ mes "[Riott]"; mes "Hmmrmpf!"; mes "Eh heh heh heh!"; - Emotion e_gg; + emotion e_gg; next; mes "[" + strcharinfo(0) + "]"; mes "Um..."; @@ -839,7 +839,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 741,3,3,{ mes "[Riott]"; mes "Hmmrmpf!"; mes "Eh heh heh heh!"; - Emotion e_gg; + emotion e_gg; next; mes "[" + strcharinfo(0) + "]"; mes "Um..."; @@ -898,15 +898,15 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 741,3,3,{ } OnTouch: - Emotion e_gg; + emotion e_gg; end; } // Yhelle the Chicken //============================================================ niflheim,239,70,1 script Yhelle#bard_chick1 800,3,3,{ - Emotion e_omg,1; - Emotion e_omg; + emotion e_omg,1; + emotion e_omg; mes "[Hen Yhelle]"; mes "Cluck-Cluuuck?"; mes "Cluck cluck cluck!"; @@ -938,8 +938,8 @@ OnTouch: } niflheim,185,205,3 script Yhelle#bard_chick2 800,3,3,{ - Emotion e_omg,1; - Emotion e_omg; + emotion e_omg,1; + emotion e_omg; mes "[Hen Yhelle]"; mes "Cluck-Cluuuck?"; mes "Cluck cluck cluck!"; @@ -964,8 +964,8 @@ OnTouch: } niflheim,85,203,5 script Yhelle#bard_chick3 800,3,3,{ - Emotion e_omg,1; - Emotion e_omg; + emotion e_omg,1; + emotion e_omg; mes "[Hen Yhelle]"; mes "Cluck-Cluuuck?"; mes "Cluck cluck cluck!"; @@ -990,8 +990,8 @@ OnTouch: } niflheim,149,81,7 script Yhelle#bard_chick4 800,3,3,{ - Emotion e_omg,1; - Emotion e_omg; + emotion e_omg,1; + emotion e_omg; mes "[Hen Yhelle]"; mes "Cluck-Cluuuck?"; mes "Cluck cluck cluck!"; @@ -1016,8 +1016,8 @@ OnTouch: } niflheim,209,144,3 script Yhelle#bard_chick5 800,3,3,{ - Emotion e_omg,1; - Emotion e_omg; + emotion e_omg,1; + emotion e_omg; mes "[Hen Yhelle]"; mes "Cluck-Cluuuck?"; mes "Cluck cluck cluck!"; @@ -1177,8 +1177,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 46,{ next; switch(select("Tropical Sograt:Vermilion on the Beach:Nothing, thanks.")) { case 1: - set .@now_weight,maxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "[Bartender]"; mes "You sure you can carry"; mes "any more stuff with you?"; @@ -1205,13 +1204,12 @@ morocc_in,166,76,7 script Bartender#bard_qskill 46,{ mes "mild, but if you're not"; mes "careful, you'll pass out"; mes "in no time flat. Take it easy."; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 12112,1; //Tropical_Sograt close; case 2: - set .@now_weight,maxWeight-Weight; - if (.@now_weight < 2000) { + if (MaxWeight - Weight < 2000) { mes "[Bartender]"; mes "You sure you can carry"; mes "any more stuff with you?"; @@ -1236,7 +1234,7 @@ morocc_in,166,76,7 script Bartender#bard_qskill 46,{ mes "Be sure that you"; mes "enjoy your drinking"; mes "without going crazy."; - set zeny,zeny-1000; + set Zeny, Zeny-1000; getitem 12113,1; //Vermilion_The_Beach close; @@ -1251,20 +1249,13 @@ morocc_in,166,76,7 script Bartender#bard_qskill 46,{ // Function //============================================================ function script F_BardSkillYhelle { - //set max_max_c,1201; - //if (max_max_c == 1) { - // mes "^3355FFHold it right there!"; - // mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge."; - // close; - //} - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 2000) { + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { mes "^3355FFHold it right there!"; mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge."; close; } - Emotion e_omg,1; - Emotion e_omg; + emotion e_omg,1; + emotion e_omg; mes "[Hen Yhelle]"; mes "Cluck-Cluuuck?"; mes "Cluck cluck cluck!"; diff --git a/npc/quests/skills/blacksmith_skills.txt b/npc/quests/skills/blacksmith_skills.txt index 6687b6a050..c77fd49a54 100644 --- a/npc/quests/skills/blacksmith_skills.txt +++ b/npc/quests/skills/blacksmith_skills.txt @@ -186,7 +186,7 @@ geffen,178,72,3 script Akkie#qsk_bs 726,{ delitem 999,1; //Steel delitem 971,1; //Detrimindexta delitem 613,1; //Iron_Hammer - set zeny,zeny-500; + set Zeny, Zeny-500; set BLACK_SK,2; close; } @@ -564,8 +564,7 @@ geffen,172,52,1 script Goodman#qsk_bs 826,{ close; } else if (BLACK_SK2 == 1) { - set .@now_weight,MaxWeight-Weight; - if (.@now_weight < 5000) { + if (MaxWeight - Weight < 5000) { mes "[Goodman]"; mes "Back already, eh?"; mes "Alright, let me check"; @@ -657,15 +656,15 @@ geffen,172,52,1 script Goodman#qsk_bs 826,{ //============================================================ //= 1.0 for fully working skills only [Lupus] //= 1.1 Added more new skill quests for more classes [Lupus] -//= Somehow eA engine doesn't let you keep learn't skill V_V' +//= Somehow eA engine doesn't let you keep learn't skill V_V' //= 1.2 Added to correct locations, correct NPC's, fixed -//= some of the items required and made them into real -//= quests. [Reddozen] +//= some of the items required and made them into real +//= quests. [Reddozen] //= 1.3 Fixed bugs and minor typos. Optimized [Lupus] //= 1.3a fixed an item ID typo, thx 2Spiritual Kid //= 1.3b Splitted into different files [DracoRPG] //= 1.3c Inverted the weight check for Greed [DracoRPG] //= 1.4 Updated to the official One [Samuray22] //= 1.5 replaced item "names" with item id. Fixed a bug with -//= item deletion [Lupus] +//= item deletion [Lupus] //============================================================ diff --git a/npc/quests/skills/crusader_skills.txt b/npc/quests/skills/crusader_skills.txt index 123295fb05..e9e0a056a8 100644 --- a/npc/quests/skills/crusader_skills.txt +++ b/npc/quests/skills/crusader_skills.txt @@ -426,7 +426,7 @@ gef_fild13,297,242,3 script Soldier#277 751,{ } else if (CRUS_SK == 5) { mes "[Sloutii]"; - if (upper == 1) { + if (Upper == 1) { mes "Eeearrrgh--!"; mes "My l-legs! Everything"; mes "is starting to h-hurt!"; diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt index bde7456f3a..be06b72c41 100644 --- a/npc/quests/skills/dancer_skills.txt +++ b/npc/quests/skills/dancer_skills.txt @@ -191,7 +191,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ next; mes "^3355FFIt figures that she'd"; mes "keep your mirror.^000000"; - Emotion e_ag,1; + emotion e_ag,1; set DANCER_SK,3; close; } @@ -203,7 +203,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ mes "Oh! It's you. So did my"; mes "sister in Prontera Church"; mes "teach you anything yet?"; - Emotion e_go; + emotion e_go; close; } else if (DANCER_SK == 7) { @@ -266,7 +266,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ mes "Look at me, do it"; mes "like this. Un, deux, trois~"; mes "Now, let me see you try it."; - Emotion e_no1; + emotion e_no1; next; switch(select("Un deux trois~-:Un, doux trois~:Un, deux, trois~")) { default: @@ -286,7 +286,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ case 3: mes "["+ strcharinfo(0) +"]"; mes "Un, deux, trois~"; - Emotion e_no1,1; + emotion e_no1,1; specialeffect2 EF_FLASHER; next; mes "[Canell]"; @@ -296,7 +296,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ mes "of rhythm and naturalness"; mes "are absolutely essential to"; mes "this technique of enticement."; - Emotion e_kis; + emotion e_kis; next; mes "[Canell]"; mes "Now that you've mastered"; @@ -311,7 +311,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ mes "have that drawback. Ho-ho~"; mes "Anyway, it's time for us to part now. I hope that you grow to"; mes "become a more glamorous and charming dancer in days to come."; - Emotion e_heh; + emotion e_heh; next; mes "^3355FFYou have finally learned"; mes "the Charming Wink skill.^000000"; @@ -329,7 +329,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ mes "ask me? Ah, you must"; mes "be mesmerized by my"; mes "beauty, aren't you?"; - Emotion e_pif; + emotion e_pif; next; mes "[Canell]"; mes "Oh, to be so beautiful"; @@ -389,7 +389,7 @@ comodo,204,172,5 script Canell#qsk_dan01 724,{ mes "Hey there,"; mes "handsome~"; mes "^333333*Wink~*^000000"; - Emotion e_kis; + emotion e_kis; specialeffect2 EF_VALLENTINE2; next; mes "^3355FFStrangely enough,"; @@ -540,7 +540,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 79,{ mes "I do it! Wink, j-just"; mes "like this, okay? Y' see?"; mes "^333333*Wiiiiiiiiiiiiiink*^000000"; - Emotion e_no1; + emotion e_no1; next; mes "["+ strcharinfo(0) +"]"; mes "Wh-whoa..."; @@ -555,7 +555,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 79,{ mes "*Urp* It'sh in the--"; mes "Bwahahahaahah!"; mes "It's all spinning!"; - Emotion e_heh; + emotion e_heh; next; mes "^3355FFIn her drunken stupor,"; mes "Aelle pummels you with"; @@ -563,7 +563,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 79,{ mes "maniacally to herself.^000000"; percentheal -10,0; specialeffect2 EF_HIT2; - Emotion e_dots,1; + emotion e_dots,1; delitem 970,1; //Alchol delitem 512,1; //Apple delitem 513,3; //Banana @@ -644,7 +644,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 79,{ mes "[Sober Aelle]"; mes "Ohhh..."; mes "H-headache..."; - Emotion e_an; + emotion e_an; next; mes "[Aelle]"; mes "Oh, wow, look at you!"; @@ -681,14 +681,14 @@ prontera,183,333,1 script Aelle#qsk_dan02 79,{ mes "Oh crap, it's the pastor!"; mes "Shhh, if anybody asks you,"; mes "I wasn't doing anything!"; - Emotion e_omg; + emotion e_omg; next; mes "[Aelle]"; mes "Thanks, hon..."; mes "I know you can"; mes "keep my contraband"; mes "our little secret. ^333333*Wink*^000000"; - Emotion e_no1; + emotion e_no1; close; } } @@ -711,14 +711,14 @@ prontera,183,333,1 script Aelle#qsk_dan02 79,{ mes "Oh crap, it's the pastor!"; mes "Shhh, if anybody asks you,"; mes "I wasn't doing anything!"; - Emotion e_omg; + emotion e_omg; next; mes "[Aelle]"; mes "Thanks, hon..."; mes "I know you can"; mes "keep my contraband"; mes "our little secret. ^333333*Wink*^000000"; - Emotion e_no1; + emotion e_no1; close; } } diff --git a/npc/quests/skills/hunter_skills.txt b/npc/quests/skills/hunter_skills.txt index 6b00367441..b8f2579bb7 100644 --- a/npc/quests/skills/hunter_skills.txt +++ b/npc/quests/skills/hunter_skills.txt @@ -5,16 +5,17 @@ //===== Current Version: ===================================== //= 1.4 //===== Compatible With: ===================================== -//= rAthena Revision 3800+ +//= rAthena SVN //===== Description: ========================================= -//= Temp quests for new skills for 2nd classes +//= [Official Conversion] +//= Quests for skills: Phantasmic Arrow //===== Additional Comments: ================================= //= 1.0 for fully working skills only [Lupus] //= 1.1 Added more new skill quests for more classes [Lupus] -//= Somehow eA engine doesn't let you keep learn't skill V_V' +//= Somehow eA engine doesn't let you keep learn't skill V_V' //= 1.2 Added to correct locations, correct NPC's, fixed -//= some of the items required and made them into real -//= quests. [Reddozen] +//= some of the items required and made them into real +//= quests. [Reddozen] //= 1.3 Fixed bugs and minor typos. Optimized [Lupus] //= 1.3a fixed an item ID typo, thx 2Spiritual Kid //= 1.3b Splitted into different files [DracoRPG] @@ -23,9 +24,6 @@ //= 1.4 Moved Arpesto from tu_archer and added his script. [Kisuka] //============================================================ -//============================================================ -// HUNTER SKILL - PHANTASMIC ARROW -//============================================================ pay_arche,109,169,3 script Arpesto 712,{ if (BaseJob == Job_Hunter) { if (qskill_hunter == 100) { @@ -49,7 +47,7 @@ pay_arche,109,169,3 script Arpesto 712,{ mes "I don't know what"; mes "you're talking about!"; close; - }else{ + } else { mes "[Arpesto]"; mes "I recognize you"; mes "from somewhere,"; @@ -217,7 +215,7 @@ pay_arche,109,169,3 script Arpesto 712,{ set qskill_hunter,100; skill "HT_PHANTASMIC",1,0; close; - }else{ + } else { mes "[Arpesto]"; mes "Hurry up and bring"; mes "^3131FF5 Cursed Rubies^000000,"; @@ -255,7 +253,7 @@ pay_arche,109,169,3 script Arpesto 712,{ mes "be able to grasp what I've been"; mes "teaching Hunters and Snipers."; close; - }else{ + } else { mes "[Arpesto]"; mes "Has the master sent you?"; mes "Ah, you definitely have the"; @@ -358,7 +356,7 @@ pay_arche,109,169,3 script Arpesto 712,{ } } } - }else{ + } else { mes "[Arpesto]"; mes "The sky still looks clear, but recently the winds that have been blowing through the land seem to carry with them an air of misfortune."; next; diff --git a/npc/quests/skills/mage_skills.txt b/npc/quests/skills/mage_skills.txt index 2f9d124fa2..b77137482f 100644 --- a/npc/quests/skills/mage_skills.txt +++ b/npc/quests/skills/mage_skills.txt @@ -159,8 +159,8 @@ geffen_in,151,119,4 script Great Wizard 64,{ //============================================================ // Old changelog //============================================================ -//= v1.0a Now using functions found in "Global_Functions.txt" -//= for class checks.[kobra_k88] +//= 1.0a Now using functions found in "Global_Functions.txt" +//= for class checks.[kobra_k88] //= 1.2 Added Baby Class Support [Lupus] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Fixed exploit [Lupus] diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt index 9fb5961321..e5323f8b47 100644 --- a/npc/quests/skills/merchant_skills.txt +++ b/npc/quests/skills/merchant_skills.txt @@ -724,13 +724,13 @@ alberta,119,221,6 script Charlron 107,{ // Old changelog //============================================================ //= Fully working -//= v1.1 Bug fixes -//= v1.a Now using functions found in "Global_Functions.txt" -//= for class checks.[kobra_k88] +//= 1.1 Bug fixes +//= 1.a Now using functions found in "Global_Functions.txt" +//= for class checks.[kobra_k88] //= 1.2 Added Baby Class Support [Lupus] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Fixed exploits [Lupus] //= 1.4a Fixed some typos [IVBela] 1.4b Gershaun -> Gershuan -//= changed perm. variables to temp ones [Lupus] +//= changed perm. variables to temp ones [Lupus] //= 1.4b Added missing 1 Banana Juice requirement to Cart Revolution [DracoRPG] //============================================================ diff --git a/npc/quests/skills/swordman_skills.txt b/npc/quests/skills/swordman_skills.txt index 355e7647d9..04eca313d2 100644 --- a/npc/quests/skills/swordman_skills.txt +++ b/npc/quests/skills/swordman_skills.txt @@ -478,11 +478,11 @@ prt_in,94,57,3 script Juan 85,4,4,{ //============================================================ //= Fully working //= 1.0a Now using functions found in "Global_Functions.txt" -//= for class checks. +//= for class checks. //= 1.1 Added missing delitem [Lupus] //= 1.2 Added Baby Class Support [Lupus] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Updated the NPC to allow subclasses of swordsman to learn the skills, [MasterOfMuppets] -//= 1.5 Fixed exploits [Lupus] +//= 1.5 Fixed exploits [Lupus] //= 1.5a Fixed some typos [IVBela] //============================================================ diff --git a/npc/quests/skills/thief_skills.txt b/npc/quests/skills/thief_skills.txt index 7af4feb423..85da7dbc5f 100644 --- a/npc/quests/skills/thief_skills.txt +++ b/npc/quests/skills/thief_skills.txt @@ -503,12 +503,12 @@ payon,91,77,3 script Bag Seller 99,{ //============================================================ // Old changelog //============================================================ -//= v1.0 Fully working -//= v1.1 Changed Sand Attack requirements from 5 Grit to 5 Fine Grit and a -//= Leather Bag of Infinity. These are the official RO requirements -//= Added npc RuRumuni, maker of Leather Bag of Infinity. [kobra_k88] -//= v1.1a Now using functions found in "Global_Functions.txt" for -//= class checks.[kobra_k88] +//= 1.0 Fully working +//= 1.1 Changed Sand Attack requirements from 5 Grit to 5 Fine Grit and a +//= Leather Bag of Infinity. These are the official RO requirements +//= Added npc RuRumuni, maker of Leather Bag of Infinity. [kobra_k88] +//= 1.1a Now using functions found in "Global_Functions.txt" for +//= class checks.[kobra_k88] //= 1.2 Added Baby Class Support [Lupus] //= 1.3 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] //= 1.4 Fixed exploit [Lupus] diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt index d375860a1a..f33b86c2c7 100644 --- a/npc/quests/the_sign_quest.txt +++ b/npc/quests/the_sign_quest.txt @@ -1,4 +1,4 @@ -//===== rAthena Script ======================================= +//===== rAthena Script ======================================= //= The Sign Quest //===== By: ================================================== //= SinSloth, MasterOfMuppets, Kargha @@ -4440,7 +4440,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ else { mes "me. It also looks like you got zeny to spare! I think I'll help myself and borrow some of your cash!"; mes "^FF0000Yoink!^000000"; - set zeny,zeny-10000; + set Zeny, Zeny-10000; specialeffect EF_COIN; close; } @@ -4522,7 +4522,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "to me tomorrow night and"; mes "we'll start your test..."; set sign_q,27; - set zeny,zeny-30000; + set Zeny, Zeny-30000; } close; case 2: @@ -4770,7 +4770,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "um, ''Bakerlan'' in Alberta."; set sign_q,35; getitem 7177,1; //Part_Of_Star's_Sob - set zeny,zeny+20000; + set Zeny, Zeny+20000; if (checkre(3)) { if (BaseLevel < 60) getexp 300,0; else if (BaseLevel < 70) getexp 700,0; @@ -4815,7 +4815,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "me. It also looks like you got zeny to spare! I think I'll help myself and borrow some of your cash!"; mes "^FF0000Yoink!^000000"; mes "Giggle giggle.."; - set zeny,zeny-10000; + set Zeny, Zeny-10000; close; } } @@ -4828,7 +4828,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 806,{ mes "cash. You know, for old"; mes "time's sake. ^FF0000Yoink!^000000"; emotion e_gg; - set zeny,zeny-10000; + set Zeny, Zeny-10000; } else { mes "I got nothin' for you and"; @@ -6341,7 +6341,7 @@ alde_alche,169,162,7 script Alchemist#sign 749,{ mes "just one bottle, but this"; mes "stuff is extremely potent!"; next; - set zeny,zeny-10000; + set Zeny, Zeny-10000; delitem 526,10; //Royal_Jelly delitem 518,20; //Honey delitem 948,30; //Bear's_Foot @@ -11372,7 +11372,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "Heh heh!"; close; } - set zeny,zeny-40000; + set Zeny, Zeny-40000; close; case 2: mes "[Laichin]"; @@ -11391,7 +11391,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "crawling back when"; mes "you can't figure out"; mes "where the soul pieces are!"; - set zeny,zeny-40000; + set Zeny, Zeny-40000; if (.@select_s == 1) set sign_q,97; else if (.@select_s == 2) set sign_q,98; else if (.@select_s == 3) set sign_q,99; @@ -11427,7 +11427,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "than the borders of the map."; mes "For very small, you gotta"; mes "look near the center. Got it?"; - set zeny,zeny-60000; + set Zeny, Zeny-60000; if (.@select_s == 1) set sign_q,101; else if (.@select_s == 2) set sign_q,102; else if (.@select_s == 3) set sign_q,103; @@ -11488,7 +11488,7 @@ niflheim,102,54,4 script Mad Man#s 739,{ mes "than the borders of the map."; mes "For very small, you gotta"; mes "look near the center. Got it?"; - set zeny,zeny-20000; + set Zeny, Zeny-20000; if (sign_q == 97) set sign_q,101; else if (sign_q == 98) set sign_q,102; else if (sign_q == 99) set sign_q,103; diff --git a/npc/re/cities/brasilis.txt b/npc/re/cities/brasilis.txt index e69fffd663..0f55ba5c75 100644 --- a/npc/re/cities/brasilis.txt +++ b/npc/re/cities/brasilis.txt @@ -33,7 +33,7 @@ alberta,246,82,3 script Crewman#bra2 100,{ if (Zeny > 9999) { mes "[Crewman]"; mes "Cool~!! Let's go~!"; - set zeny,zeny-10000; + set Zeny, Zeny-10000; close2; warp "brasilis",314,60; end; @@ -147,7 +147,7 @@ brasilis,137,77,5 script Ice-Cream Maker 85,{ mes "Lighten your pack before buying this."; close; } - set zeny,zeny-.@icecream_hap; + set Zeny, Zeny-.@icecream_hap; getitem 536,.@input; //Ice_Cream close; case 2: diff --git a/npc/re/cities/eclage.txt b/npc/re/cities/eclage.txt index 7bb8d7942c..901d21e0fb 100644 --- a/npc/re/cities/eclage.txt +++ b/npc/re/cities/eclage.txt @@ -71,7 +71,7 @@ ecl_fild01,110,316,2 script Tourist#ep14_2f7 896,{ next; mes "[Tourist]"; mes "Perhaps you could consider it as the weight of life?"; - emotion 38,0; + emotion e_awsm,0; close; } diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 29accfbe9b..f6a594a372 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -1876,16 +1876,16 @@ OnTalk3: npctalk "Even if you defile my body, I won't let you take my soul, Himmelmez!"; end; OnEffect1: - misceffect EF_BARRIER; + specialeffect EF_BARRIER; end; OnEffect2: - misceffect EF_CHAINCOMBO; + specialeffect EF_CHAINCOMBO; end; OnEffect3: - misceffect EF_MAPPILLAR2; + specialeffect EF_MAPPILLAR2; end; OnEffect4: - misceffect EF_MAPPILLAR; + specialeffect EF_MAPPILLAR; end; OnEffect5: specialeffect EF_LORD; diff --git a/npc/re/jobs/1-1/thief.txt b/npc/re/jobs/1-1/thief.txt index 87830d61ec..3fc7c6daed 100644 --- a/npc/re/jobs/1-1/thief.txt +++ b/npc/re/jobs/1-1/thief.txt @@ -41,7 +41,7 @@ moc_prydb1,39,129,2 script Thief Guide#thief 69,{ close; }else{ mes "[Thief Guide]"; - if (sex) + if (Sex) mes "Hey, dude."; else mes "Hey, baby~"; @@ -49,7 +49,7 @@ moc_prydb1,39,129,2 script Thief Guide#thief 69,{ } }else{ mes "[Thief Guide]"; - if (sex) + if (Sex) mes "Hey, dude."; else mes "Hey, baby."; diff --git a/npc/re/jobs/3-2/wanderer.txt b/npc/re/jobs/3-2/wanderer.txt index 552c9d80b1..b66cf195a9 100644 --- a/npc/re/jobs/3-2/wanderer.txt +++ b/npc/re/jobs/3-2/wanderer.txt @@ -453,7 +453,7 @@ comodo,140,86,5 script Cheerless Maestro 479,{ mes "[" + strcharinfo(0) + "]"; mes "It felt like hearing mommy's lullaby~ It was so beautiful and moving... You are the best artist of our time."; next; - specialeffect 18; + specialeffect EF_STEAL; mes "[Guitar Song]"; mes "Ha ha ha. I know that well, but it feels good to hear a compliment from you!"; next; diff --git a/npc/re/merchants/diamond.txt b/npc/re/merchants/diamond.txt index fb7fde24aa..8d36f9d63c 100644 --- a/npc/re/merchants/diamond.txt +++ b/npc/re/merchants/diamond.txt @@ -10,12 +10,12 @@ //= [Official Conversion] //= Exchanges 17 Carat Diamond //===== Additional Comments: ================================= -//= v1.0 First / Optimized Version -//= v1.1 Adjusted for Missing ; on Line #271 (#15425) -//= v1.2 Removed Comments per Request (#15426) -//= v1.3 Changed Emotion # to Const Definition (#15427) -//= v1.4 Removed Double Space on Line #148 (#15428) -//= v1.5 Added This Version History (#15429) +//= 1.0 First / Optimized Version +//= 1.1 Adjusted for Missing ; on Line #271 (#15425) +//= 1.2 Removed Comments per Request (#15426) +//= 1.3 Changed Emotion # to Const Definition (#15427) +//= 1.4 Removed Double Space on Line #148 (#15428) +//= 1.5 Added This Version History (#15429) //============================================================ - script RareDiamondMerchant 58,{ diff --git a/npc/re/merchants/enchan_mora.txt b/npc/re/merchants/enchan_mora.txt index dee86098de..c418bfbc40 100644 --- a/npc/re/merchants/enchan_mora.txt +++ b/npc/re/merchants/enchan_mora.txt @@ -1228,7 +1228,7 @@ mora,124,82,4 script Artifact Collector#blan 522,{ mes "[Artifact Collector]"; mes "+1, +2, +3, +4, +5, +6 those refinements are not strong enough to work on my craft."; next; - emotion 57,0; + emotion e_otl,0; mes "[Artifact Collector]"; mes "But +7! +7 is rare and just barely strong enough to work in my crafting attempts."; next; diff --git a/npc/re/merchants/inn.txt b/npc/re/merchants/inn.txt index e8eb922a5f..ccdfea53f7 100644 --- a/npc/re/merchants/inn.txt +++ b/npc/re/merchants/inn.txt @@ -40,7 +40,7 @@ bra_in01,27,24,3 script Hotel Keeper#bra1 478,{ mes "[Hotel Keeper]"; mes "I will show you a great room."; close2; - set zeny,zeny-5000; + set Zeny, Zeny-5000; percentheal 100,100; warp "bra_in01",144,69; end; diff --git a/npc/re/mobs/dungeons/gefenia.txt b/npc/re/mobs/dungeons/gefenia.txt index 890d0879b0..27768b0c54 100644 --- a/npc/re/mobs/dungeons/gefenia.txt +++ b/npc/re/mobs/dungeons/gefenia.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Geffenia Dungeon Monster Spawn Script //===== By: ================================================== -//= Muad_Dib, rAthena dev team +//= Muad_Dib, rAthena Dev Team //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== diff --git a/npc/re/mobs/dungeons/juperos.txt b/npc/re/mobs/dungeons/juperos.txt index d3db3aefed..677bc1d923 100644 --- a/npc/re/mobs/dungeons/juperos.txt +++ b/npc/re/mobs/dungeons/juperos.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Juperos Dungeon Monster Spawn Script //===== By: ================================================== -// The Prometheus Project, rAthena dev team +// The Prometheus Project, rAthena Dev Team //===== Current Version: ===================================== //= 1.4 //===== Compatible With: ===================================== diff --git a/npc/re/mobs/dungeons/lhz_dun.txt b/npc/re/mobs/dungeons/lhz_dun.txt index 54495a6143..a607fcaff0 100644 --- a/npc/re/mobs/dungeons/lhz_dun.txt +++ b/npc/re/mobs/dungeons/lhz_dun.txt @@ -1,20 +1,20 @@ //===== rAthena Script ======================================= //= Lighthalzen Dungeon(Biolabs) Monster Spawn Script //===== By: ================================================== -// The Prometheus Project, rAthena dev team +//= The Prometheus Project, rAthena Dev Team //===== Current Version: ===================================== //= 1.9 //===== Compatible With: ===================================== //= Any Athena //===== Additional Comments: ================================= //= 08/24/05 : Added 1st version. [Muad_Dib] -//= 1.1: Some corrections to level 1, 2 as pointed out by -//= MasterofMuppets. [Skotlex] -//= 1.3: Some fixes based on kRO's "RO Map" [Poki#3] -//= I also made the place more Moby ^^ -//= 1.4: Adjusted spawns according to own info from iRO [MasterOfMuppets] -//= 1.5: More accurate spawn numbers and iRO names thanks to Tharis [Playtester] -//= 1.6: Official X.3 spawns [Playtester] +//= 1.1 Some corrections to level 1, 2 as pointed out by +//= MasterofMuppets. [Skotlex] +//= 1.3 Some fixes based on kRO's "RO Map" [Poki#3] +//= I also made the place more Moby ^^ +//= 1.4 Adjusted spawns according to own info from iRO [MasterOfMuppets] +//= 1.5 More accurate spawn numbers and iRO names thanks to Tharis [Playtester] +//= 1.6 Official X.3 spawns [Playtester] //= 1.7 Corrected MVP spawn function to be standard to iRO. [L0ne_W0lf] //= - A random 99 will now be spawned when the MVP spawns. //= - Spare spawn and MVP spawn now spawn in official locations. diff --git a/npc/re/mobs/fields/einbroch.txt b/npc/re/mobs/fields/einbroch.txt index 518e1d218c..e03780e93e 100644 --- a/npc/re/mobs/fields/einbroch.txt +++ b/npc/re/mobs/fields/einbroch.txt @@ -8,15 +8,15 @@ //= Any Athena Version //===== Additional Comments: ================================= //= 1.1 correct spawn maps, but not yet exact amount of -//= monsters [Lupus] -//= maps, marked with * are correct +//= monsters [Lupus] +//= maps, marked with * are correct //= 1.2 Updated to correct mobs. Many thanks to vicious_pucca //= again for providing the information [MasterOfMuppets] //= 1.2a Fixed missing tabs [Lupus] //= 1.3 Updated after Episode 10.4 - Hugel [Poki#3] -//= Mob quantity is custom. +//= Mob quantity is custom. //= 1.3b Changed the spawn numbers a bit. [Poki#3] -//= Thanks to Playtester and Emperium.org +//= Thanks to Playtester and Emperium.org //= 1.4 Updated by using Tharis' Homun AI, by Tharis [Vicious] //= 1.5 Adjusted some spawns according to official info [Playtester] //= 1.6 More accurate spawns [Playtester] diff --git a/npc/re/mobs/fields/hugel.txt b/npc/re/mobs/fields/hugel.txt index 14b74aa17b..36d5ee09ea 100644 --- a/npc/re/mobs/fields/hugel.txt +++ b/npc/re/mobs/fields/hugel.txt @@ -10,9 +10,9 @@ //= Spawns for hu_fild05 and hu_fild04, numbers may not be correct [MasterOfMuppets] //= 0.2 Fixed Petit ID //= 0.3 Updated the spawns using kRO's website as info, [MasterOfMuppets] -//= thanks to battousai90 +//= thanks to battousai90 //= 0.4 Updated after Episode 10.4 - Hugel [Poki#3] -//= Mob quantity is custom. +//= Mob quantity is custom. //= 1.0 Updated by using Tharis' Homun AI, by Tharis [Vicious] //= 1.1 Official X.3 spawns [Playtester] //= 1.2 Some 11.1 spawn updates [Playtester] diff --git a/npc/re/mobs/fields/lighthalzen.txt b/npc/re/mobs/fields/lighthalzen.txt index 05fed705e7..670da443d3 100644 --- a/npc/re/mobs/fields/lighthalzen.txt +++ b/npc/re/mobs/fields/lighthalzen.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Lighthalzen Fields Monster Spawn Script //===== By: ================================================== -//= Muad_Dib, rAthena dev team +//= Muad_Dib, rAthena Dev Team //===== Current Version: ===================================== //= 1.6 //===== Compatible With: ===================================== @@ -10,7 +10,7 @@ //= 1.0 by Muad_Dib (Prometheus Project) //= 1.1 Added Porcellio by MasterOfMuppets //= 1.2 Corrected monsters. Many thanks to vicious_pucca for -//= the information [MasterOfMuppets] +//= the information [MasterOfMuppets] //= 1.3 Updated acordingly to Episode 10.4 [Poki#3] //= 1.4 Fully updated X.4 spawns [Playtester] //= 1.5 More accurate spawns [Playtester] diff --git a/npc/re/mobs/fields/yuno.txt b/npc/re/mobs/fields/yuno.txt index 74696b7ecb..45b8e39adc 100644 --- a/npc/re/mobs/fields/yuno.txt +++ b/npc/re/mobs/fields/yuno.txt @@ -11,11 +11,11 @@ //= 1.2 New/Better Spawn [Muad_Dib] //= 1.3 Fix Up [Darkchild] //= 1.4 Updated monster spawns. Many thanks to vicious_pucca for -//= providing the information [MasterOfMuppets] +//= providing the information [MasterOfMuppets] //= 1.5 Updated after Episode 10.4 - Hugel [Poki#3] -//= Mob quantity is custom. +//= Mob quantity is custom. //= 1.5b Changed the spawn numbers a bit. [Poki#3] -//= Thanks to Playtester and Emperium.org +//= Thanks to Playtester and Emperium.org //= 1.6 Fixed Yuno Field 10. Mob amount sugested by Playtester [Poki#3] //= 1.7 Updated by using Tharis' Homun AI, by Tharis [Vicious] //= 1.8 Added kRO 10.1 spawns where they fit [Playtester] diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt index 902eec8051..49fbf7b547 100644 --- a/npc/re/quests/cupet.txt +++ b/npc/re/quests/cupet.txt @@ -10,7 +10,7 @@ //= [Official Conversion] //= Exchanges Hunted Items for Tames //===== Additional Comments: ================================= -//= v1.0 First / Optimized Version +//= 1.0 First / Optimized Version //============================================================ // 1st NPC diff --git a/npc/re/quests/eden/56-70.txt b/npc/re/quests/eden/56-70.txt index affbcbb168..a013fc485e 100644 --- a/npc/re/quests/eden/56-70.txt +++ b/npc/re/quests/eden/56-70.txt @@ -142,7 +142,7 @@ L_HuntingQuest: end; L_Details: - switch(getarg(0)){ + switch(getarg(0)) { case 3250: mes "This mission is assigned by the Rekenber corporation from Lighthalzen. Below are the details."; next; diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt index 405647365e..78c976485a 100644 --- a/npc/re/quests/magic_books.txt +++ b/npc/re/quests/magic_books.txt @@ -205,7 +205,7 @@ geffen_in,176,105,4 script Master Velofos 64,{ close; case 6: if ((BaseLevel > 139) && (getskilllv(2217) > 0) || (getskilllv(2213) > 0)) { - if(mac_book < 1){ + if (mac_book < 1) { mes "[Master Velofos]"; mes "I'm sorry, but could you ask someone else? I'm kind of busy right now."; close; diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt index ecd1c4c784..df8cec0fa3 100644 --- a/npc/re/quests/pile_bunker.txt +++ b/npc/re/quests/pile_bunker.txt @@ -95,7 +95,7 @@ yuno,179,174,4 script Gomer 851,{ } else { mes "[Gomer]"; mes "Oh, I've been waiting. You didn't come on time, so I was wondering if you forgot about it. Please wait there a little bit."; - specialeffect 101; + specialeffect EF_REPAIRWEAPON; next; mes "[Gomer]"; mes "It's done. What do you think? Not bad, eh? Although I made it myself, I have to say it's pretty decently done."; diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt index b98f5b60b5..c47909e0ea 100644 --- a/npc/re/quests/quests_brasilis.txt +++ b/npc/re/quests/quests_brasilis.txt @@ -471,7 +471,7 @@ brasilis,187,162,5 script Candy Maker 476,{ if (Zeny > 3999) { mes "[Candy Maker]"; mes "Here is a delicious guarana candy."; - set zeny,zeny-4000; + set Zeny, Zeny-4000; getitem 12414,1; //Guarana_Candy close; } diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index 5a11051363..75a22aaf38 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -18,7 +18,7 @@ //= 1.2 Updated to match the official script. [Lemongrass/Euphy] //============================================================ -// Dewata Legend Quest +// Dewata Legend Quest :: dewata_legend //============================================================ dew_fild01,57,274,0 script #hideout_legend 111,6,6,{ OnTouch: @@ -742,7 +742,7 @@ dewata,78,192,6 script Borobudur Temple Manager 536,{ close; } -// Help Out the Old Man +// Help Out the Old Man :: dewata_drink //============================================================ dewata,109,262,4 script Memo#dew_drink 534,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { @@ -1664,7 +1664,7 @@ dew_fild01,209,137,0 duplicate(DewataPalm) Palm Tree#drink38 844 dew_fild01,206,156,0 duplicate(DewataPalm) Palm Tree#drink39 844 dew_fild01,209,201,0 duplicate(DewataPalm) Palm Tree#drink40 844 -// Traditional Weapon Quest +// Traditional Weapon Quest :: dewata_weapon //============================================================ dew_fild01,127,240,4 script Gatti#weapon 813,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 10000) { diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index 1db9d1e1f0..30e177939d 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -3338,7 +3338,7 @@ ma_fild02,241,39,5 script Good Capre Budidai 572,{ end; } -// Traders :: npc +// Traders :: malaya_npc //============================================================ ma_fild01,166,214,6 script Old Man in Dilemma#GA 575,{ if (MaxWeight - Weight < 600 || checkweight(1201,1) == 0) { @@ -3599,7 +3599,7 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 582,{ } } -// Upgrade Boss Equipment :: mvpitem +// Upgrade Boss Equipment :: malaya_mvpitem //============================================================ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 582,{ mes "[Bayani]"; @@ -3829,7 +3829,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 582,{ close; } -// Secret in the Woods :: buwaya +// Secret in the Woods :: malaya_buwaya //============================================================ malaya,305,281,3 script Guard#buwaya 570,7,7,{ if (malaya_hi < 10) { @@ -4805,7 +4805,7 @@ OnInit: end; } -// Bakonawa Extermination :: bakonawa +// Bakonawa Extermination :: malaya_bakonawa //============================================================ malaya,280,331,4 script Singing Man#bako1 578,{ if (malaya_bakona1 < 5) { @@ -6561,7 +6561,7 @@ sec_in02,10,16,5 script Bakonawa Intro Helper 543,{ } } -// Nurse in Port Malaya :: bang +// Nurse in Port Malaya :: malaya_bang //============================================================ function script F_Malaya_Nurse { if (malaya_bang == 30) { @@ -8198,7 +8198,7 @@ malaya,276,367,4 script Bent Shaman#ma 782,{ close; } -// Pintados Festival :: pintados +// Pintados Festival :: malaya_pintados //============================================================ /* Description diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index 2b0618085b..82ac87a7cb 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -18,7 +18,7 @@ //= 1.1 Added GM management function and NPCs. [Euphy] //============================================================ -// Theore's Request :: bs +// Theore's Request :: ep14_1_bs //============================================================ mid_camp,148,222,4 script Theore#ep14_1_bs 982,3,3,{ if (BaseLevel < 100) { @@ -1460,7 +1460,7 @@ sec_in02,35,175,0 script Theore Set Guid 436,{ } } -// Chesire's New Day :: cheshir2 +// Chesire's New Day :: ep14_1_cheshir2 //============================================================ dic_in01,262,191,0 script #ep14_1_xq02 139,0,3,{ end; @@ -1952,7 +1952,7 @@ OnTimer600000: end; } -// Helping Lope and Euridi :: rofe +// Helping Lope and Euridi :: ep14_1_rofe //============================================================ mora,117,66,3 script Euridi#pa 521,{ if (BaseLevel < 100) { @@ -2506,7 +2506,7 @@ OnTouch: } } -// Find the Research Tools :: muk +// Find the Research Tools :: ep14_1_muk //============================================================ mora,31,138,6 script Raffle Researcher#ep14 522,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { @@ -4356,7 +4356,7 @@ bif_fild02,65,109,0 duplicate(#mora_puddle) Puddle#ep14_muk02 844 bif_fild02,223,71,0 duplicate(#mora_puddle) Puddle#ep14_muk03 844 bif_fild02,113,340,0 duplicate(#mora_puddle) Puddle#ep14_muk04 844 -// Mora Daily Quests :: dealer +// Mora Daily Quests :: ep14_1_dealer //============================================================ mora,133,80,6 script Elephantine#pa0829 509,{ if (checkweight(1201,1) == 0) { @@ -5136,7 +5136,7 @@ function script mora_remains { 1@mist,170,54,0 script Tsaihokin's Remains#33 844,{ callfunc "mora_remains",12251,"Tsaihokin",2,929,5; } //Immortal_Heart 1@mist,118,43,0 script Tuar's Remains#33 844,{ callfunc "mora_remains",12252,"Tuar",3,6380,20; } //Mora_Coin -// Knights of the Neighborhood :: mora_knight +// Knights of the Neighborhood :: ep14_1_mora_knight //============================================================ mora,118,166,6 script Knights Chief#mo 525,{ mes "[Order of the Knights Chief]"; diff --git a/npc/warps/cities/amatsu.txt b/npc/warps/cities/amatsu.txt index 47614890cc..93744e3d0a 100644 --- a/npc/warps/cities/amatsu.txt +++ b/npc/warps/cities/amatsu.txt @@ -12,7 +12,7 @@ //= Warp Points for Amatsu //===== Additional Comments: ================================= //= 1.7 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Renamed warps for ease-of-reading. +//= Renamed warps for ease-of-reading. //============================================================ amatsu,177,138,0 warp ama_house1-1 1,1,ama_in01,28,176 diff --git a/npc/warps/cities/comodo.txt b/npc/warps/cities/comodo.txt index 17895378db..023d9a9efa 100644 --- a/npc/warps/cities/comodo.txt +++ b/npc/warps/cities/comodo.txt @@ -1,7 +1,7 @@ //===== rAthena Script ======================================= //= Comodo Warp Script //===== By: ================================================== -//= rAthena dev team +//= rAthena Dev Team //===== Current Version: ===================================== //= 1.3 //===== Compatible With: ===================================== diff --git a/npc/warps/dungeons/juperos.txt b/npc/warps/dungeons/juperos.txt index 900b79d863..5f1138acad 100644 --- a/npc/warps/dungeons/juperos.txt +++ b/npc/warps/dungeons/juperos.txt @@ -16,7 +16,7 @@ //= 1.4 Added attachnpctimer to the initnpctimer calls. [Skotlex] //= 1.5 Implemented a part of the Juperos quest [MasterOfMuppets] //= 1.6 Removed area1 and area2 warps. These are event warps. [L0ne_W0lf] -//= Added static warps for gate -> area1/2/elevator. +//= Added static warps for gate -> area1/2/elevator. //= 1.6a COrrected new warps [L0ne_W0lf] //= 1.7 Removed duplicated quest warp portal [Brainstorm] //============================================================ diff --git a/npc/warps/dungeons/kh_dun.txt b/npc/warps/dungeons/kh_dun.txt index c19e324ca9..ab3ee70b36 100644 --- a/npc/warps/dungeons/kh_dun.txt +++ b/npc/warps/dungeons/kh_dun.txt @@ -12,7 +12,7 @@ //= 1.1 Added official Kiel Dungeon entrance [Playtester] //= 1.2 Changed warps because of Kiel quest [Playtester] //= 1.3 Added second floor exit. [L0ne_W0lf] -//= Corrected coordinated for some of the other warps. +//= Corrected coordinated for some of the other warps. //============================================================ //= Kiel Dungeon ============================================= diff --git a/npc/warps/dungeons/lhz_dun.txt b/npc/warps/dungeons/lhz_dun.txt index d8d0f7c5ef..41d27fd804 100644 --- a/npc/warps/dungeons/lhz_dun.txt +++ b/npc/warps/dungeons/lhz_dun.txt @@ -9,13 +9,12 @@ //===== Description: ========================================= //= Warp Points for Lighthalzen Dungeon //===== Additional Comments: ================================= -//= No Comment! //= 1.1 Added temp restriction by Azazel [Lupus] //= 1.2 Optimized [Lupus] -//= and fixed 005 and 005a warps coords, thanks to Justin84 +//= and fixed 005 and 005a warps coords, thanks to Justin84 //= 1.3 Fixed entrance condition check, thanx2Daegaladh [Lupus] //= 1.4 Added coords of secret dungeon entrance, thanks to Justin84 -//= proved with screenshots [Lupus] +//= proved with screenshots [Lupus] //= 1.5a thx2 Justin84, some additions and fixes [Lupus] //= 1.5b re-enabled main entrance warp [Lupus] <-reverted 1.5c //= 1.6 Updated entrances, added Cube room warps, thanx 2 Justin84 @@ -26,8 +25,8 @@ //= 1.9 Removed duplicates [Toms] //= 2.0 Now use MISC_QUEST&512 instead of 'hzdun' [Lupus] //= 2.1 Updated all standard dungeon warps. [L0ne_W0lf] -//= Updated Sewer pipe dungeon entrance. -//= Removed dialog from level 3 entrance warp. +//= Updated Sewer pipe dungeon entrance. +//= Removed dialog from level 3 entrance warp. //= 2.1a Updated 3rd floor warp. Again... [L0ne_W0lf] //= 2.1b Fixed reverse level requirement in 3rd floor warp. [L0ne_W0lf] //============================================================ diff --git a/npc/warps/dungeons/odin.txt b/npc/warps/dungeons/odin.txt index b87aa430fe..200b5ea572 100644 --- a/npc/warps/dungeons/odin.txt +++ b/npc/warps/dungeons/odin.txt @@ -10,11 +10,11 @@ //= Warp Points for Odin Temple //===== Additional Comments: ================================= //= 1.1 Move the Saylor from Hugel.txt here. [Poki#3] -//= Hako's Sprite, cords and price is official. The text is not. +//= Hako's Sprite, cords and price is official. The text is not. //= 1.2 Removed Duplicates [Silent] //= 1.3 Official warps [Playtester] //= 1.4 Moved Sailor to Hugel quest file since he's part of -//= Odin's Excavation Quest. [SinSloth] +//= Odin's Excavation Quest. [SinSloth] //============================================================ odin_tem01,378,182,0 warp odin01 1,1,odin_tem02,28,180 diff --git a/npc/warps/dungeons/ra_san.txt b/npc/warps/dungeons/ra_san.txt index 6b9076b5f6..7bc011f4c5 100644 --- a/npc/warps/dungeons/ra_san.txt +++ b/npc/warps/dungeons/ra_san.txt @@ -2,18 +2,18 @@ //= Rachel Sanctuary Dungeon Warp Script //===== By =================================================== //= Playtester -//===== Current Version :===================================== +//===== Current Version: ===================================== //= 1.4 -//===== Compatible With :===================================== +//===== Compatible With: ===================================== //= Any Athena Version -//===== Description :========================================= +//===== Description: ========================================= //= Warp Points For Rachel Sanctuary Dungeon -//===== Additional Comment:=================================== +//===== Additional Comment: ================================== //= 1.1 Added $ephiroth's warps [Playtester] //= 1.2 Replaced old versions with jAthena's [Playtester] //= 1.3 Official warps [Playtester] //= 1.4 Added quest map warp to random warp. [L0ne_W0lf] -//= Added Dungeon exit back into temple. +//= Added Dungeon exit back into temple. //============================================================ ra_san01,139,13,0 script sanctuary01 45,1,1,{ diff --git a/npc/warps/guildcastles.txt b/npc/warps/guildcastles.txt index e24dac54c5..e1fd4fa25c 100644 --- a/npc/warps/guildcastles.txt +++ b/npc/warps/guildcastles.txt @@ -18,8 +18,8 @@ //= 2.3 Removed 2nd entrance to Novice Castle Geffen [Lupus] //= 2.4 Added Warps between Juno and it's new Castle Satelite map. [L0ne_W0lf] //= 2.4a Added more warps between Juno Satellite and Castle Interiors. [L0ne_W0lf] -//= castle 1, 4 and 5 entrances are questionable, and will be updated -//= as I get more information. +//= castle 1, 4 and 5 entrances are questionable, and will be updated +//= as I get more information. //= 2.4b Corrected Warp points for Juno castles 1, 4 and 5. [L0ne_W0lf] //= 2.5 Updated Schwaltzvalt warps and added Arunafeltz. [L0ne_W0lf] //= 2.6 Fixed warp position between Juno and Schwaltzvalt Realm. [Gepard]