Problem is that, for now, if you want to quest as a group, all members will all have to make the quest separately, waiting for respawn to get X heads of the same NPC and the like...
Would it be possible to add some command to help coding real group quests?
An idea I have... not sure if it's good or it can be implemented easily, would be to be ablle to add
"applygroup"
"endapplygroup"
commands in code so you can apply a part of your program to all members of the group.
I think the members it would apply to would be all the members of the group in the same area (not the same room as it would mess on entry prog, as only the first group member would be in when it progs), and to all members in the realms of the dead (so if one die just before killing the balor, he could have his quest bits updated too )
Here is an exemple of the lessons and the changes :
Code: Select all
>speech_prog ondil ondils ondil's~
if quest(14, 4, $n) == 1
mpecho The lich throws back his head and laughs insanely.
sayto $n So you seek Ondil's Book of Spells? You will have
sayto $n to battle me for that information, and if you win
sayto $n I may tell you.
mpmset $n quest 14 4 2
mpkill $n
endif
~
|
Code: Select all
>speech_prog ondil ondils ondil's~
if quest(14, 4, $n) == 1
mpecho The lich throws back his head and laughs insanely.
sayto $n So you seek Ondil's Book of Spells? You will have
sayto $n to battle me for that information, and if you win
sayto $n I may tell you.
applygroup
if quest(14, 4, $n) == 1
mpmset $n quest 14 4 2
endif
endapplygroup
mpkill $n
endif
~
|
The NPC make his speech (the speech can change depending on if the PC is grouped or not if you want)
The quest bit is updated for anyone in the group with the right quest bit
The NPC attack...
Something that could be tricky is the fact to give a reward as you can't give reward to someone not in the room, so you could add a step in the quest. When you end the quest, the mob check for each group member if he is in the room. If he is, the NPC gives the reward and questbit is advanced to end of quest. if not, the quest bit is advanced to an intermediate step "in qlog : you can go see XXX to get your reward" and there is a simple greet prog to give the reward.
I think that would add some big fun in game
I hope I am clear.
El & co