summaryrefslogtreecommitdiff
path: root/npc/005-7/nurse.txt
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-03-06 00:35:32 +0100
committerSaulc <lucashelaine14@gmail.com>2018-03-06 00:35:57 +0100
commitcd34ade2a9457d51dd816bc7ae3c490418192ccf (patch)
tree800ef8e4d2f17ce0181667e9d50815f052c0adaf /npc/005-7/nurse.txt
parenteddc0009831430583fa2054aeb84be6a353313f0 (diff)
downloadserverdata-cd34ade2a9457d51dd816bc7ae3c490418192ccf.tar.gz
serverdata-cd34ade2a9457d51dd816bc7ae3c490418192ccf.tar.bz2
serverdata-cd34ade2a9457d51dd816bc7ae3c490418192ccf.tar.xz
serverdata-cd34ade2a9457d51dd816bc7ae3c490418192ccf.zip
add 18 new monsters bif's
Diffstat (limited to 'npc/005-7/nurse.txt')
-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;
}
+