summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1')
-rw-r--r--npc/003-1/lieutenantdausen.txt35
-rw-r--r--npc/003-1/michel.txt28
-rw-r--r--npc/003-1/ship.txt2
-rw-r--r--npc/003-1/swezanne.txt8
4 files changed, 29 insertions, 44 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt
index 945272462..2005aee9d 100644
--- a/npc/003-1/lieutenantdausen.txt
+++ b/npc/003-1/lieutenantdausen.txt
@@ -71,15 +71,6 @@ OnInit:
}
-function script CheckGuard {
- .questCheck = .questCheck + 1;
- l("Oh Welcome then.");
- speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Oh! You found me well played !.");
- narrator("You receive 5 exp.");
- getexp 5,0;
- close;
-}
003-1,98,100,0 script Guard Philip NPC_GUARD1,{
legiontalk;
if (getq(TulimsharQuest_WaterForGuard) == 1)
@@ -178,10 +169,6 @@ OnInit:
}
003-1,58,100,0 script Guard Popaul NPC_GUARD1,{
legiontalk;
- if (getq(TulimsharQuest_WaterForGuard) == 1)
- {
- //CheckGuard(); // TODO: TBD
- }
end;
OnTimer1000:
@@ -216,7 +203,7 @@ OnInit:
.distance = 1;
end;
}
-003-2,41,37,0 script Guard Youn NPC_GUARD1,{
+003-2,41,37,0 script Guard Yuna NPC_GUARD2,{
legiontalk;
end;
OnInit:
@@ -226,10 +213,6 @@ OnInit:
}
003-1,54,52,0 script Guard Maxim NPC_GUARD1,{
legiontalk;
- if (getq(TulimsharQuest_WaterForGuard) == 1)
- {
- //CheckGuard(); // TODO: TBD
- }
end;
OnTimer1000:
@@ -264,10 +247,6 @@ OnInit:
}
003-1,50,36,0 script Guard Totor NPC_GUARD1,{
legiontalk;
- if (getq(TulimsharQuest_WaterForGuard) == 1)
- {
- //CheckGuard(); // TODO: TBD
- }
end;
OnTimer1000:
@@ -292,10 +271,6 @@ OnInit:
}
003-1,53,36,0 script Guard Roukin NPC_GUARD1,{
legiontalk;
- if (getq(TulimsharQuest_WaterForGuard) == 1)
- {
- //CheckGuard(); // TODO: TBD
- }
end;
OnTimer1000:
@@ -335,10 +310,6 @@ OnInit:
}
003-1,35,34,0 script Guard Falko NPC_GUARD1,{
legiontalk;
- if (getq(TulimsharQuest_WaterForGuard) == 1)
- {
- //CheckGuard(); // TODO: TBD
- }
end;
OnTimer1000:
@@ -373,10 +344,6 @@ OnInit:
}
003-1,102,80,0 script Guard Tetric NPC_GUARD1,{
legiontalk;
- if (getq(TulimsharQuest_WaterForGuard) == 1)
- {
- //CheckGuard(); // FIXME and everywhere else: Missing Function
- }
end;
OnTimer1000:
diff --git a/npc/003-1/michel.txt b/npc/003-1/michel.txt
index 1a810b3e2..350caddef 100644
--- a/npc/003-1/michel.txt
+++ b/npc/003-1/michel.txt
@@ -3,8 +3,34 @@
003-1,89,109,0 script Michel NPC_BACCHUS,{
+ mesn;
+ mesq l("All hail the ones who proven their worth before the whole Alliance!");
+ mes "";
-hello;
+ .@nb = query_sql("select name, karma from `char` ORDER BY karma DESC LIMIT 5", .@name$, .@value);
+ mes l("##BHall Of Fame: TOP5##b");
+ mes("1."+.@name$[0]+" ("+.@value[0]+")");
+ mes("2."+.@name$[1]+" ("+.@value[1]+")");
+ mes("3."+.@name$[2]+" ("+.@value[2]+")");
+ mes("4."+.@name$[3]+" ("+.@value[3]+")");
+ mes("5."+.@name$[4]+" ("+.@value[4]+")");
+
+ mes "";
+ if (getgmlevel()) mes "##BGM Information##b";
+ if (getgmlevel()) mes "We are currently relying in Karma to generate this Hall Of Fame.";
+ if (getgmlevel()) mes "";
+ if (getgmlevel()) mes "##B Manual Edition ##b";
+ if (getgmlevel()) mes "To reliably change Karma values, you must use @set Karma.";
+ if (getgmlevel()) mes "But before, check on MySQL the previous karma value, because this command overrides it.";
+ if (getgmlevel()) mes "Therefore, it is advised to DON'T change this by hand.";
+ if (getgmlevel()) mes "";
+ if (getgmlevel()) mes "##B Scripting Edition ##b";
+ if (getgmlevel()) mes "Is known to work. This hall of fame will need a few minutes to update itself.";
+ if (getgmlevel()) mes "";
+ if (getgmlevel()) mes "##B Technical Notes ##b";
+ if (getgmlevel()) mes "In future we may start Fame field directly (but it is not displayed on client, thus, we decided to use Karma).";
+ //if (getgmlevel()) set Karma, Karma + 5;
+ close;
OnInit:
.sex = G_MALE;
diff --git a/npc/003-1/ship.txt b/npc/003-1/ship.txt
index 327db573f..5dd5b9479 100644
--- a/npc/003-1/ship.txt
+++ b/npc/003-1/ship.txt
@@ -11,7 +11,7 @@ OnTouch:
goto L_Warp;
L_Warp:
- warp "002-3", 31, 28;
+ warp "002-3@"+LOCATION$, 31, 28;
closedialog;
close;
}
diff --git a/npc/003-1/swezanne.txt b/npc/003-1/swezanne.txt
index 7d1adb984..306056b84 100644
--- a/npc/003-1/swezanne.txt
+++ b/npc/003-1/swezanne.txt
@@ -27,14 +27,6 @@ L_Heroics:
else if (.@d == 6) .@deed$="impressed even the High Council!";
else .@deed$="is awesome like me!"; // Should not happen
- /*.@nb = query_sql("select name, fame from `char` ORDER BY fame DESC LIMIT 5", .@name$, .@fame);
- mes("Hall Of Fame: TOP5");
- mes("1."+.@name$[0]+"("+.@fame[0]+")"); // Will return a person with the biggest fame value.
- mes("2."+.@name$[1]+"("+.@fame[1]+")");
- mes("3."+.@name$[2]+"("+.@fame[2]+")");
- mes("4."+.@name$[3]+"("+.@fame[3]+")");
- mes("5."+.@name$[4]+"("+.@fame[4]+")");*/
-
mesq l("I hope to one day be like @@, who @@", $MOST_HEROIC$, .@deed$);
close;