I've searched the various archives to find the best talking system for
me.
I don't really like the system with menu and premade answer (not for my
game at least, otherwise it's ok) because I want the player to figure
out by himself the keywords to tell
The general system is to make player type for ex :
>tell soldier about escape
the soldier answer he won't let you escape
etc.
it's conveniant for a seldom use. But I want for my game the player to
be able to ask about several things to the NPC. Then it will be boring
to type each time :
>tell Alfred about the green room
Alfred answer it's his mother's room
>tell [or ask] Alfred about room five
etc.
[I hope the conversation in my game to be less boring :) ]
So I thought it could be possible to use this general system, AND use
also a quicker system for "deep" conversations :
>talk to Alfred
[talk mode (new prompt)]
-? green room
Alfred answer it's his mother's room
-? room five
etc.
I think it's possible to use a loop statement, or a startdemon for
coding the second part. But if I want to use both system, I'd like the
second one to be compatible with this :
Ask, Tell: switch (second) {
'green' 'room':
print_ret "Alfred answer it's his mother's room";
etc.
Is it possible ?