@Groth said in Getting Young Blood Into MU*'ing:
@Griatch
If you have a deep abiding love for interactive functions and you want to achieve REST compatibility, what you can do is split the function into two parts. The prompt part and the answer handler.
If you want people to step through a 'cinematic' sequence of texts. Why not just use rooms? Rooms do that amazingly. It's why basically every MU * chargen ever is done through rooms. Especially since in MUSH you can attach commands directly to rooms and make them fully interactive.
For confirmation dialogs, the easiest way without prompts is to just have the user enter the command twice.
Yes, I know well these techniques, and as said all of them are available as stateful commands or even as ready infrastructures like EvMenu in Evennia. These have no problem with REST, they are saved to the database. If necessarily wanting to go the room-based chargen route you can of course have commands on rooms in Evennia too (but personally I find it ugly to use rooms to mimic what can be handled by a proper multi-option menu ... but I digress).
My like for interactive commands has mostly to do with how easy they are for the developer to work with, understand and maintain (specifically in Evennia, not as the general case since I don't know about how they would work in other code bases). And ease of use means they will indeed be used - they allow for less code, and for very quick development (I know this from experience). That's all.
Technically, if REST compliance would be needed, it's not at all impossible to make the interactive state persistent; I was just pointing out (to @Tehom at the beginning of this exchange) that it was something that would need to be handled in that case.