erkyrath / tworld

A choice-based shared online text environment sandbox
MIT License
71 stars 13 forks source link

Portals with variable destinations #144

Open erkyrath opened 10 years ago

erkyrath commented 10 years ago

MOUL has a couple of examples of Ages where the destination of the linking book varies, based on Age state. (The bookmark journey cloths; Ahnonay.)

There is currently no way to do this in Seltani. Approximations:

Both are ugly (and the latter is hard to get right: see forum thread http://forum.guildofwriters.org/viewtopic.php?f=10&t=6233&p=65539#p65539 )

It would be nice to support this directly. Another realm hook? (Failure would panic the player out -- a bonus feature, to be sure.)

I don't see a good way to make the portaldesc variable, though. I don't want to do computation in portaldesc -- it's loaded in contexts where computation is not appropriate.