Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hints #6

Open
peteruithoven opened this issue Jun 17, 2013 · 0 comments
Open

hints #6

peteruithoven opened this issue Jun 17, 2013 · 0 comments

Comments

@peteruithoven
Copy link
Member

It might be interesting to enable the auto generation of hints about what's possible for certain exits and commands.

Examples:

locations: 
  building: 
 building-elevator:
    output: |
      Elevator music is playing while your going up...
        commands: 
      msg:
        inputs:
          - hello.*
        content: |
          Hi there!
        hint: say hi
objects:
  wallet:
    name: Wallet
    hint: A wallet on the ground
    take: 
      - Pick up wallet
      - get wallet
    drop: 
      - Drop wallet
    commands:
      - msg:
        input:
          - (check|open) .*?wallet
        content: |
          in the wallet there is a buscard, a blanco passport, a few coins and a letter. 
      - cmd:
        input:
          - pay using coins
        content: ...

Exits could be listed under "You could go" for exits, "under You could also" for commands and under "but you also see" for objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant