[Question] How to add new options dynamically to implement deeper examination
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I would like to emulate the kind of interaction that some parser games has in the scenery where you recursively examine deeper and deeper for names that appear in the examination. For example, a-la Lime Ergot, or in Emily's Metamophoses. That is, let me give you an example (sorry my bad prose):
You are in the bedroom. You can see the bed, the nightstand and the wardrobe. The lamps cast a warm light upon the tinted wallpaper. And your steps feel smoothed and cozy.
* examine walls.
* examine floor.
* [As to bed]
* [As to wardrobe]
* [As to nightstand]
* [As to door]
>examine walls [the player chooses that option]
The walls have a beautiful green wallpaper. There are several pictures of the Covenant collection, a triptych over the bed, and two more pictures next to the door. On the opposite, the window closure don't let any alight to come through.
[we loop to the bedroom actions but now there are new options unlocked thanks to the previous examination.]
* examine wallpaper.
* examine pictures.
*examine the window closure.
* examine floor.
* [As to bed]
* [As to wardrobe]
* [As to nightstand]
* [As to door]
>examine wallpaper.
It has a tint of green with motives of birds, rampant dogs and the heraldic of the house.
[loop again, with new options]
* examine birds.
* examine painted dogs.
* examine the heraldic.
* examine pictures.
*examine the window closure.
* examine floor.
* [As to bed]
* [As to wardrobe]
* [As to nightstand]
* [As to door]
>examine birds.
They are crows.
* examine birds.
* examine painted dogs.
* examine the heraldic.
* examine pictures.
*examine the window closure.
* examine floor.
* [As to bed]
* [As to wardrobe]
* [As to nightstand]
* [As to door]
You know the drill. I could do this in a nested traditional way, with a link to [Go back], but something more dynamic would be nice. Any idea?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.