Stendhal Quest Ideas/Oracle NPC for New Quest Hints

From Arianne
Revision as of 23:25, 16 November 2011 by imported>Kymara (done SayUnstartedQuestDescriptionFromNPCNameAction)
Jump to navigation Jump to search


An NPC could list the names of the people you still need to help in that region. Then saying the name gives the one line description from the quest info

In this case player has not started the quests Herbs for Carmen, Hat for Monogenes, Armor for Dagobert or Pizza Delivery, in Semos, and he is above the min level to do them. He's done everything else for his level.

player: quest
npc: Carmen, Monogenes, Dagobert and Leander all need your help.

player: Carmen
npc: The Semos healer, Carmen, searches for ingredients to make potions and other useful medicines with.

player: Dagobert
npc: Dagobert, the consultant at the bank of Semos, needs protection.

Requires:

getNPCName() in each quest file done
getNPCNamesForUnstartedQuestsInRegionForLevel(Player player, String region) function in StendhalQuestSystem kymara - done
getQuestDescriptionForUnstartedQuestInRegionFromNPCName(Player player, String region, String name) kymara - done
SayNPCNamesForUnstartedQuestsAction(String region) kymara - done
TriggerIsNPCNameForUnstartedQuestCondition - i.e. need to check if what the player said is an npc name we just said in the action above - kymara - done
SayUnstartedQuestDescriptionFromNPCNameAction - if the npc name did match(above) then what is the quest description for the unstarted quest? (Or quests)? kymara - done
Check if any quests don't have a region still and should have.