Updating god item seal quests (5/5)
Disabled god item quest variable modifying NPCs. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13180 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
2642b26cca
commit
cfacc9c21d
@ -1,6 +1,8 @@
|
|||||||
Date Added
|
Date Added
|
||||||
======
|
======
|
||||||
2008/09/01
|
2008/09/01
|
||||||
|
* Rev. 13179 Updating god item seal quests (5/5) [L0ne_W0lf]
|
||||||
|
- Disabled god item quest variable modifying NPCs.
|
||||||
* Rev. 13179 Updating god item seal quests (4/5) [L0ne_W0lf]
|
* Rev. 13179 Updating god item seal quests (4/5) [L0ne_W0lf]
|
||||||
* Rev. 13178 Updating god item seal quests (3/5) [L0ne_W0lf]
|
* Rev. 13178 Updating god item seal quests (3/5) [L0ne_W0lf]
|
||||||
* Rev. 13177 Updating god item seal quests (2/5) [L0ne_W0lf]
|
* Rev. 13177 Updating god item seal quests (2/5) [L0ne_W0lf]
|
||||||
|
@ -3,121 +3,135 @@
|
|||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= MasterOfMuppets
|
//= MasterOfMuppets
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.0
|
//= 1.1
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena
|
//= eAthena
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Use this NPC if the seals quest variables get messed up.
|
//= Use this NPC if the seals quest variables get messed up.
|
||||||
//===== Additional Comments: =================================
|
//===== Additional Comments: =================================
|
||||||
// 1.0 First version. [MasterOfMuppets]
|
//= 1.0 First version. [MasterOfMuppets]
|
||||||
|
//= 1.1 Updated several aspects of the script. [L0ne_W0lf]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
sec_in02,15,170,0 script Seals Quest Vars 817,{
|
sec_in02,15,170,0 script Golbal var 817,{
|
||||||
|
//mes "[Check]";
|
||||||
if(getgmlevel() > 98)
|
//mes "Please enter the password.";
|
||||||
{
|
//next;
|
||||||
mes "[Variable Management]";
|
//set .@check,68392411;
|
||||||
mes "Welcome to the God Item Quest";
|
//dlgwrite 0 10000000
|
||||||
mes "Global Variable Management";
|
//if (check == input){
|
||||||
mes "function.";
|
if (getgmlevel() > 98) {
|
||||||
next;
|
mes "[Check]";
|
||||||
while(1)
|
mes "Please choose a menu.";
|
||||||
{
|
next;
|
||||||
menu "Check current variable values",s_Values,"Change variable values",s_Change,"Cancel",-;
|
switch(select("Now:No.1:No.2:No.3:No.4:Reset")) {
|
||||||
close;
|
case 1:
|
||||||
|
mes "^0000FF$God1^000000 = ^FF0000" + $God1 + "^000000.";
|
||||||
s_Change:
|
mes "^0000FF$God2^000000 = ^FF0000" + $God2 + "^000000.";
|
||||||
mes "[Variable Management]";
|
mes "^0000FF$God3^000000 = ^FF0000" + $God3 + "^000000.";
|
||||||
mes "Which variable would you";
|
mes "^0000FF$God4^000000 = ^FF0000" + $God4 + "^000000.";
|
||||||
mes "like to change?";
|
close;
|
||||||
next;
|
case 2:
|
||||||
menu "$God1",-,"$God2",s_2,"$God3",s_3,"$God4",s_4;
|
input .@input,0,100;
|
||||||
|
mes "[Check]";
|
||||||
mes "[Variable Management]";
|
mes "Would you like to change to "+.@input+"?";
|
||||||
mes "^0000FF$God1^000000 is currently ^FF0000" + $God1 + "^000000.";
|
next;
|
||||||
mes "What would you like to";
|
if (select("Yes:No") == 1) {
|
||||||
mes "change it to? (Enter";
|
mes "[Check]";
|
||||||
mes "101 to cancel)";
|
mes "The command "+.@input+" has been confirmed.";
|
||||||
next;
|
next;
|
||||||
input @temp;
|
set $God1,.@input;
|
||||||
if(@temp == 101)goto s_Canceled;
|
mes "$God1 "+.@input+"";
|
||||||
if(@temp < 0 || @temp > 100)goto s_BadValue;
|
close;
|
||||||
set $God1,@temp;
|
}
|
||||||
mes "[Variable Management]";
|
else {
|
||||||
mes "^0000FF$God1^000000 was changed to ^FF0000" + $God1 + "^000000.";
|
mes "[Check]";
|
||||||
close;
|
mes "The command has been canceled.";
|
||||||
|
close;
|
||||||
s_2:
|
}
|
||||||
mes "[Variable Management]";
|
case 3:
|
||||||
mes "^0000FF$God2^000000 is currently ^FF0000" + $God2 + "^000000.";
|
input .@input,0,100;
|
||||||
mes "What would you like to";
|
mes "[Check]";
|
||||||
mes "change it to? (Enter";
|
mes "Would you like to change to "+.@input+"?";
|
||||||
mes "101 to cancel)";
|
next;
|
||||||
next;
|
if (select("Yes:No") == 1) {
|
||||||
input @temp;
|
mes "[Check]";
|
||||||
if(@temp == 101)goto s_Canceled;
|
mes "The command "+.@input+" has been confirmed.";
|
||||||
if(@temp < 0 || @temp > 100)goto s_BadValue;
|
next;
|
||||||
set $God2,@temp;
|
set $God2,.@input;
|
||||||
mes "[Variable Management]";
|
mes "$God2 "+.@input+"";
|
||||||
mes "^0000FF$God2^000000 was changed to ^FF0000" + $God2 + "^000000.";
|
close;
|
||||||
close;
|
}
|
||||||
|
else {
|
||||||
s_3:
|
mes "[Check]";
|
||||||
mes "[Variable Management]";
|
mes "The command has been canceled.";
|
||||||
mes "^0000FF$God3^000000 is currently ^FF0000" + $God3 + "^000000.";
|
close;
|
||||||
mes "What would you like to";
|
}
|
||||||
mes "change it to? (Enter";
|
case 4:
|
||||||
mes "101 to cancel)";
|
input .@input,0,100;
|
||||||
next;
|
mes "[Check]";
|
||||||
input @temp;
|
mes "Would you like to change to "+.@input+"?";
|
||||||
if(@temp == 101)goto s_Canceled;
|
next;
|
||||||
if(@temp < 0 || @temp > 100)goto s_BadValue;
|
if (select("Yes:No") == 1) {
|
||||||
set $God3,@temp;
|
mes "[Check]";
|
||||||
mes "[Variable Management]";
|
mes "The command "+.@input+" has been confirmed.";
|
||||||
mes "^0000FF$God3^000000 was changed to ^FF0000" + $God3 + "^000000.";
|
next;
|
||||||
close;
|
set $God3,.@input;
|
||||||
|
mes "$God3 "+.@input+"";
|
||||||
s_4:
|
close;
|
||||||
mes "[Variable Management]";
|
}
|
||||||
mes "^0000FF$God4^000000 is currently ^FF0000" + $God4 + "^000000.";
|
else {
|
||||||
mes "What would you like to";
|
mes "[Check]";
|
||||||
mes "change it to? (Enter";
|
mes "The command has been canceled.";
|
||||||
mes "101 to cancel)";
|
close;
|
||||||
next;
|
}
|
||||||
input @temp;
|
case 5:
|
||||||
if(@temp == 101)goto s_Canceled;
|
input .@input,0,100;
|
||||||
if(@temp < 0 || @temp > 100)goto s_BadValue;
|
mes "[Check]";
|
||||||
set $God4,@temp;
|
mes "Would you like to change to "+.@input+"?";
|
||||||
mes "[Variable Management]";
|
next;
|
||||||
mes "^0000FF$God4^000000 was changed to ^FF0000" + $God4 + "^000000.";
|
if (select("Yes:No") == 1) {
|
||||||
close;
|
mes "[Check]";
|
||||||
|
mes "The command "+.@input+" has been confirmed.";
|
||||||
s_Canceled:
|
next;
|
||||||
close;
|
set $God4,.@input;
|
||||||
|
mes "$God4 "+.@input+"";
|
||||||
s_BadValue:
|
close;
|
||||||
mes "[Variable Management]";
|
}
|
||||||
mes "Please enter a value";
|
else {
|
||||||
mes "between 0-100.";
|
mes "[Check]";
|
||||||
close;
|
mes "The command has been canceled.";
|
||||||
|
close;
|
||||||
s_Values:
|
}
|
||||||
mes "[Variable Management]";
|
case 6:
|
||||||
mes "Current variable values are:";
|
mes "[Check]";
|
||||||
mes "^0000FF$God1^000000 = ^FF0000" + $God1 + "^000000.";
|
mes "Are you really sure that you want to reset the entire list of God Globalvar?";
|
||||||
mes "^0000FF$God2^000000 = ^FF0000" + $God2 + "^000000.";
|
next;
|
||||||
mes "^0000FF$God3^000000 = ^FF0000" + $God3 + "^000000.";
|
if (select("Yes:No") == 1) {
|
||||||
mes "^0000FF$God4^000000 = ^FF0000" + $God4 + "^000000.";
|
mes "[Check]";
|
||||||
next;
|
mes "Now, the entire list of God Globalvar is being reset.";
|
||||||
}
|
next;
|
||||||
|
set $God1,0;
|
||||||
|
set $God2,0;
|
||||||
|
set $God3,0;
|
||||||
|
set $God4,0;
|
||||||
|
mes "^0000FF$God1^000000 = ^FF0000" + $God1 + "^000000.";
|
||||||
|
mes "^0000FF$God2^000000 = ^FF0000" + $God2 + "^000000.";
|
||||||
|
mes "^0000FF$God3^000000 = ^FF0000" + $God3 + "^000000.";
|
||||||
|
mes "^0000FF$God4^000000 = ^FF0000" + $God4 + "^000000.";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
mes "[Check]";
|
||||||
|
mes "The command has been canceled.";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
mes "[Check]";
|
||||||
mes "[Variable Management]";
|
//mes "Incorrect password.";
|
||||||
mes "Sorry. You don't have";
|
mes "You cannot access this NPC.";
|
||||||
mes "authorization to use this";
|
close;
|
||||||
mes "npc.";
|
|
||||||
close;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -104,7 +104,8 @@ npc: npc/quests/The_Sign_Quest.txt
|
|||||||
npc: npc/quests/Kiel_Hyre_Quest.txt
|
npc: npc/quests/Kiel_Hyre_Quest.txt
|
||||||
//The God Item Quest Files
|
//The God Item Quest Files
|
||||||
npc: npc/quests/seals/brisingamen_seal.txt
|
npc: npc/quests/seals/brisingamen_seal.txt
|
||||||
npc: npc/quests/seals/god_global.txt
|
// Controller file, allow GMs to change variables.
|
||||||
|
//npc: npc/quests/seals/god_global.txt
|
||||||
npc: npc/quests/seals/god_weapon_creation.txt
|
npc: npc/quests/seals/god_weapon_creation.txt
|
||||||
npc: npc/quests/seals/megingard_seal.txt
|
npc: npc/quests/seals/megingard_seal.txt
|
||||||
npc: npc/quests/seals/mjolnir_seal.txt
|
npc: npc/quests/seals/mjolnir_seal.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user