From e3afdc2af4c5e50c79237ee092e25f39b7428e47 Mon Sep 17 00:00:00 2001 From: Michieru Date: Thu, 24 Oct 2013 12:10:43 +0200 Subject: Update to last rAthena npc. Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt --- npc/quests/quests_moscovia.txt | 72 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 62 insertions(+), 10 deletions(-) (limited to 'npc/quests/quests_moscovia.txt') diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index 9d1fa6f49..4530757b1 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -1,16 +1,14 @@ -//===== Hercules Script ====================================== +//===== Hercules Script ====================================== //= Moscovia Quests -//===== By: ================================================== +//===== By: ================================================== //= Kisuka -//===== Current Version: ===================================== -//= 2.2 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 2.3 +//===== Description: ========================================= //= Quests for Moscovia. //= The Moving Island, Help Mikhail, Acorn Exchange, //= Banish Winter, Shafka Hat, Koshei the Immortal. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. [Kisuka] //= 1.1 Small fixes on The Moving Island. [Kisuka] //= 1.2 Fixed a "player not attached" error. [brianluau] @@ -26,7 +24,8 @@ //= 2.0b Bug fixes. [Lemongrass] //= 2.1 Fixed incorrect use of 'close'. [Joseph] //= 2.2 Updated RE/Pre-RE EXP. [Euphy] -//============================================================ +//= 2.3 Added GM management NPC. [Euphy] +//============================================================ // The Moving Island :: mos_whale_edq //============================================================ @@ -11849,4 +11848,57 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 111,{ close; } end; -} \ No newline at end of file +} + +mosk_dun01,3,3,3 script Koshei GlobalVar#admin 958,{ + callfunc "F_GM_NPC"; + mes "[Koshei GlobalVar]"; + mes "Please enter the password"; + set .@i, callfunc("F_GM_NPC","orchid",1); + next; + if (.@i == 0) { + mes "[Koshei GlobalVar]"; + mes "Please input the password exactly."; + close; + } else { + mes "[Koshei GlobalVar]"; + mes "I can tell you what the"; + mes "Koshei GlobalVar"; + mes "$@rus_req02"; + mes "on mosk_dun01"; + mes "is currently set to."; + next; + if ($@rus_req02 == 0) { + mes "[Koshei GlobalVar]"; + mes "Currently the GlobalVar $@rus_req02 is set to 0"; + next; + } else if ($@rus_req02 == 1) { + mes "[Koshei GlobalVar]"; + mes "Currently the GlobalVar $@rus_req02 is set to 1"; + next; + } else { + mes "[Koshei GlobalVar]"; + mes "error"; + close; + } + mes "[Koshei GlobalVar]"; + mes "What would you like to set the GlobalVar to?"; + next; + switch(select("0:1:Cancel")) { + case 1: + mes "[Koshei GlobalVar]"; + mes "GlobalVar $@rus_req02 will now be set to '0'"; + set $@rus_req02,0; + donpcevent "Koshei#rus47::OnDisable"; + close; + case 2: + mes "[Koshei GlobalVar]"; + mes "GlobalVar $@rus_req02 will now be set to '1'"; + set $@rus_req02,1; + donpcevent "Koshei#rus47::OnEnable"; + close; + case 3: + close; + } + } +} -- cgit v1.2.3-60-g2f50