summaryrefslogtreecommitdiff
path: root/npc/005-7
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-05 21:27:38 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-05 21:27:38 -0300
commite4810f81e815e5f7a0667ac455c9d656b5187793 (patch)
tree20563f48993dd25277d31ed9a7005bdb2d675761 /npc/005-7
parent4ecee59d3059922093cdc7031d92efc1c48f35e6 (diff)
parentc92b838864d2b1821c1631e52db3312f97b650dc (diff)
downloadserverdata-e4810f81e815e5f7a0667ac455c9d656b5187793.tar.gz
serverdata-e4810f81e815e5f7a0667ac455c9d656b5187793.tar.bz2
serverdata-e4810f81e815e5f7a0667ac455c9d656b5187793.tar.xz
serverdata-e4810f81e815e5f7a0667ac455c9d656b5187793.zip
Merge branch 'master' of gitlab.com:TMW2/serverdata
Diffstat (limited to 'npc/005-7')
-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;
}
+