Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I put a compass rose on the statusline, showing the available exits?

compass exits Rose
0
Posted

How can I put a compass rose on the statusline, showing the available exits?

0

Joachim Baumann proposed a solution using an enlarged status line and an ASCII graphic compass rose. You can see this in action in the example game Compass Rose. • How can I make some verbs (e.g. lock) choose default objects in sensible cases (e.g. if the player is carrying exactly one key) but to ask for disambiguation in other cases? The trick is to have an extra line of grammar that chooses a default object if possible, and to let the usual line of grammar do the disambiguation. Thus one could declare Extend “lock” first * noun = DefaultLockTest -> DefaultLock; where the usual grammar line for “lock” is * noun “with” held -> Lock The routine DefaultLockTest checks to see if a default object can be chosen (in this case, if the player is carrying exactly one key); if so, it returns success, and if not, it returns failure (whereupon the usual line of grammar will take effect, and ask What do you want to lock that with?). The routine DefaultLock actually chooses the default object and t

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.