summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-0/mainquest.txt31
-rw-r--r--npc/003-3/malindou.txt1
2 files changed, 30 insertions, 2 deletions
diff --git a/npc/003-0/mainquest.txt b/npc/003-0/mainquest.txt
index f392732e0..db737a704 100644
--- a/npc/003-0/mainquest.txt
+++ b/npc/003-0/mainquest.txt
@@ -19,8 +19,35 @@ OnInit:
end;
OnInstanceInit:
- if (is_night())
- debugmes "ERROR creating professor at 49, 24";
+ if (is_night()) {
+ .@n$=instance_npcname("Professor#003-0");
+ enablenpc .@n$;
+ }
+ end;
+}
+
+003-0,49,24,4 script Professor#003-0 NPC_PLAYER,{
+ studenttalk();
+ end;
+
+OnInit:
+ .@ini=true;
+OnInstanceInit:
+ if (.@ini)
+ .@npcId = getnpcid(.name$);
+ else
+ .@npcId = getnpcid(instance_npcname(.name$));
+
+ setunitdata(.@npcId, UDT_HEADTOP, GraduationCap);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, GraduationRobe); // TODO: Bathrobe
+ setunitdata(.@npcId, UDT_HEADBOTTOM, Slippers); // Hey hey!
+ setunitdata(.@npcId, UDT_WEAPON, CottonGloves);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 2);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
+
+ .sex=G_MALE;
+ .distance=5;
+ disablenpc .name$;
end;
}
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 121447753..c4c995a1e 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -544,6 +544,7 @@ OnInit:
debugmes "* Bull Helmet Fix";
debugmes "* Remove Silver Easter Eggs";
debugmes "* Lua Quest Reset";
+ debugmes "* Battle Configuration is now volatile";
debugmes "";
}