This is an example of one of the quest scripts I tried to add, so people can see if there's anything I did wrong. It is in qeynos.qst in the quests subdirectory of the EQEmu directory.
This quest is the guard who wants you to get him a muffin, taken from the compendium on EQCaster.com, hardly the stuff of legend but I thought I'd start off doing simple quests! However Guard Wenbie does not respond to hails, neither do any of the other scripted NPCs.
Also, it'd be nice if there was some way of having the NPC address you by name, and also if they could give you items and money (this is necessary for most quests!).
NPC_SCRIPT 2459 {
TRIGGER_TEXT:Hail:
{
SAY:Hello Charname. What brings you to Qeynos? Must be the mighty fine muffins over at [Voleen's Bakery]. I just love those muffins.
}
TRIGGER_TEXT:bakery:
{
SAY:Oh, it will be easier for us both if I just show you where it is. Follow me. But be quick about it because I have to get back to my patrol.
}
TRIGGER_ITEM:13014:
{
SAY:Oh, thank you so much. I do get hungry on patrol. Here, please take this reward for your kindness.
# give 3sp, and a brass ring
EXP 150
}
}
|