Skip to content

Instantly share code, notes, and snippets.

@vreon
Created December 23, 2011 07:22
Show Gist options
  • Save vreon/1513475 to your computer and use it in GitHub Desktop.
Save vreon/1513475 to your computer and use it in GitHub Desktop.
schema entity selection
> look
Example Room
This room is for demonstration purposes only.
Things nearby:
Thingy C
Thingy A
Thingy B
Thingy D
Thingy E
> get thingy
Which 'thingy' do you mean?
1. Thingy E (nearby)
2. Thingy B (nearby)
3. Thingy A (nearby)
4. Thingy D (nearby)
5. Thingy C (nearby)
> 1
You pick up Thingy E.
> look thingy
Which 'thingy' do you mean?
1. Thingy D (nearby)
2. Thingy E (in inventory)
3. Thingy A (nearby)
4. Thingy C (nearby)
5. Thingy B (nearby)
> 2
It's a thingy emblazoned with the letter E.
> get thingy D
You pick up Thingy D.
> drop thingy
Which 'thingy' do you mean?
1. Thingy E (in inventory)
2. Thingy D (in inventory)
> 1
You drop Thingy E.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment