summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/005-7/nurse.txt63
1 files changed, 62 insertions, 1 deletions
diff --git a/npc/005-7/nurse.txt b/npc/005-7/nurse.txt
index abf65d66c..590011e57 100644
--- a/npc/005-7/nurse.txt
+++ b/npc/005-7/nurse.txt
@@ -1,11 +1,47 @@
// TMW-2 Script
// Author:
// Jesusalva
+// Crazyfefe
-005-7,41,30,0 script Candor's Nurse NPC_FEMALE,{
+005-7,41,30,0 script Candor"'"s Nurse NPC_FEMALE,{
+
+ .Item = Candy;
//if (sc_check(SC_POISON)) goto L_CurePoison;
+L_Help:
+ if (countitem("Candy") == 0)
+ {
+ mesq l("You don't seem to have @@", getitemlink(.Item));
+ close;
+ }
+ mesq l("Thank a lot !");
+ if (getq(CandorQuest_Nurse) == 0)
+ {
+ getexp 20,0;
+ Zeny = Zeny + 200;
+ setq CandorQuest_Nurse, 1;
+ close;
+ }
+ if (getq(CandorQuest_Nurse) == 1)
+ {
+ getexp 10,0;
+ Zeny = Zeny + 100;
+ setq CandorQuest_Nurse, 2;
+ close;
+ }
+ if (getq(CandorQuest_Nurse) == 2)
+ {
+ getexp 50,0;
+ Zeny = Zeny +50;
+ setq CandorQuest_Nurse, 3;
+ close;
+ }
+ getexp 5,0;
+ Zeny = Zeny + 25;
+ close;
+
+L_Heal:
mesn;
@temp = rand(4);
if(@temp == 1) goto L_Heal2;
@@ -13,6 +49,30 @@
if(@temp == 3) goto L_Heal4;
goto L_Heal1;
+ mesq l("Hello can you bring me some @@.",getitemlink(.Item));
+ mesq l("I can also cure you.");
+
+ do
+ {
+ select
+ l("Take this candy !"),
+ l("Heal."),
+ l("No thank.");
+
+ switch (@menu)
+ {
+ case 1:
+ goto L_Help;
+ break;
+ case 2:
+ goto L_Heal;
+ break;
+ case 3:
+ goto L_Close;
+ break;
+ }
+ } while (@menu != 3);
+
L_Heal1:
mesq l("You don't look too well; let me treat your wounds.");
mes "";
@@ -77,3 +137,4 @@ OnInit:
end;
}
+