Handling “You can’t see any such thing”? Easy peasy!
[ Forest v0.1 ]
Forest is a room. "You are in a dark and mysterious forest, the trees looming over you like ancient guardians."
Let’s test v0.1:
Forest
You are in a dark and mysterious forest, the trees looming over you like ancient guardians.
>x trees
You can't see any such thing.
Ouch forgot to add the trees.
[ Forest v0.2 ]
Forest is a room. "You are in a dark and mysterious forest, the trees looming over you like ancient guardians."
The trees are scenery in the forest. The description of the trees is "The trees tower over you. The branches are covered with dark green leaves."
Let’s test v0.2, should be OK now:
Forest
You are in a dark and mysterious forest, the trees looming over you like ancient guardians.
>x trees
The trees tower over you. The branches are covered with dark green leaves.
>x ancient
You can't see any such thing.
>x guardians
You can't see any such thing.
Ok I admit it, I need an Understand statement here.
[ Forest v0.3 ]
Forest is a room. "You are in a dark and mysterious forest, the trees looming over you like ancient guardians."
The trees are scenery in the forest. The description of the trees is "The trees tower over you. The branches are covered with dark green leaves."
Understand "ancient" and "guardians" as the trees.
Let’s test v0.3, we are done, right?
Forest
You are in a dark and mysterious forest, the trees looming over you like ancient guardians.
>x ancient
The trees tower over you. The branches are covered with dark green leaves.
>x guardians
The trees tower over you. The branches are covered with dark green leaves.
>x branches
You can't see any such thing.
>x leaves
You can't see any such thing.
Sigh. I guess I need more scenery…
[ Forest v0.4 ]
Forest is a room. "You are in a dark and mysterious forest, the trees looming over you like ancient guardians."
The trees are scenery in the forest. The description of the trees is "The trees tower over you. The branches are covered with dark green leaves."
Understand "ancient" and "guardians" as the trees.
The branches are scenery in the forest. The description of the branches is "The branches are covered with dark green leaves."
The leaves are scenery in the forest. The description of the leaves is "The leaves are dark green."
Let’s test v0.4, surely got it all covered now!
You are in a dark and mysterious forest, the trees looming over you like ancient guardians.
>x branches
The branches are covered with dark green leaves.
>x dark green leaves
You can't see any such thing.
Ok ok ok, more synonyms needed…
[ Forest v0.5 ]
Forest is a room. "You are in a dark and mysterious forest, the trees looming over you like ancient guardians."
The trees are scenery in the forest. The description of the trees is "The trees tower over you. The branches are covered with dark green leaves."
Understand "ancient" and "guardians" as the trees.
The branches are scenery in the forest. The description of the branches is "The branches are covered with dark green leaves."
The leaves are scenery in the forest. The description of the leaves is "The leaves are dark green."
Understand "dark" and "green" as the leaves.
Let’s test v0.5, 100% coverage for sure!
Forest
You are in a dark and mysterious forest, the trees looming over you like ancient guardians.
>x trees
The trees tower over you. The branches are covered with dark green leaves.
>x dark green leaves
The leaves are dark green.
>x tree
You can't see any such thing.
Noooooo! Dang it! No more trees! I am sick of them!
[ Forest v0.6 ]
Forest is a room. "You are in a dark and mysterious forest."
There! I am all done now! Ship it!
Forest
You are in a dark and mysterious forest.
>x forest
You can't see any such thing.
Sits quietly in a corner and cries…