kerkerkruip icon indicating copy to clipboard operation
kerkerkruip copied to clipboard

Dreams

Open curiousdannii opened this issue 11 years ago • 40 comments

Things to discuss and do:

  • [ ] Invite participants to contribute ideas again, and specifically for dreams. On the intfiction forum, maybe some other roguelike forums too?
  • [ ] Consider using an activity for dreams - it may make it easier for other rules since they can check whether it is in progress
  • [ ] Have a system for swapping out the player character - probably having them keep all their belongings, stats and powers won't be good
  • [ ] Make it easy to control the side windows

curiousdannii avatar Aug 05 '13 03:08 curiousdannii

I though I'd start with the intfiction forum and see how much response we get. For this particular contribution, being into roguelikes is probably less important than having some knowledge of IF. And if people write Inform 7, all the better. (Though I'll make clear that I'll also accept pseudocode.)

I though about implementing a scene for dreaming. Would that be OK instead of an activity?

What do you mean about the side windows?

I've been thinking about what should happen to the player character, and it's sort of complicated. If we have dreams with combat, and we probably do, using the normal player character makes perfect sense. (Having the dream influence reality, and in effect be entirely real, is a feature, not a bug.) On the other hand, for dreams without combat, stripping the player of her inventory for the duration of the dream makes sense. And there could also be dreams in which you are someone else, and we might want to give the player an entirely new avatar.

We could either choose to always use one of these options, or just switch depending on the dream. The first is more elegant from a design point of view, the second gives us more room when designing dreams.

Switching to another avatar should be very simple, except for powers, which would have to be turned on and off using some special code.

VictorGijsbers avatar Aug 05 '13 12:08 VictorGijsbers

Oh, scenes are a really good idea. I've never used them before, but they have a big advantage compared to activities: you can give them properties. So for example we could classify dreams as to whether or not they want to show side windows, whether we want the player to keep the statistics etc.

In some dreams we may want empty side windows. In some we may want other content. We can probably connect it up to the scenes so that the rules can say "Window-drawing rule for the stats-window when a no side windows scene is active..."

I was thinking there could be dreams where you dream you're Malygris, or many other options. There could even be extra powers for some dreams. Powers are currently just set to on or off, but perhaps we should change them to a relationship, so that we can associate them with the normal PC, or with dream PCs.

We could have a dream that ends after a short time, but is repeatable. There could even be a kind of mini-Aisle in a dream!

curiousdannii avatar Aug 05 '13 12:08 curiousdannii

We probably need to have at least 5 dreams for Kerkerkruip 9. My post on intfiction.org has not led to any serious responses.

VictorGijsbers avatar Sep 13 '13 17:09 VictorGijsbers

I'll try to work out a dream, probably about the Tungausy heathens :-))

2013/9/13 VictorGijsbers [email protected]

We probably need to have at least 5 dreams for Kerkerkruip 9. My post on intfiction.org has not led to any serious responses.

— Reply to this email directly or view it on GitHubhttps://github.com/i7/kerkerkruip/issues/105#issuecomment-24411856 .


Met vriendelijke groet,

Remko van der Pluijm

Postgraduate Student Logic, History and Philosophy of Science at the University of Ghent LinkedIn: http://nl.linkedin.com/in/**rvanderpluijmhttp://nl.linkedin.com/in/rvanderpluijm

rvdpluijm avatar Sep 13 '13 19:09 rvdpluijm

I didn't realize dreams were getting such a poor response. I'm thinking about writing a dream that can only be activated when at least two still living monsters have been seen - it would let you weaken some enemies while strengthening others.

I like Dannii's dream ideas. Please write some, Dannii!

mciul avatar Nov 11 '13 16:11 mciul

I've been delving a little deeper into Dreams, and I have a couple things:

Why is the dream of Tungausy Shaman set to current-test-dream within the extension? Shouldn't that be done in Story.ni so it can be easily enabled or disabled?

Now I understand what the "Tungausy warrior" in the "remember" output is - it's the PC in the dream. Should we suppress listing dream characters or PC creatures in the remember command?

I also found a bug, maybe I should create a new issue for it.

mciul avatar Nov 12 '13 17:11 mciul

Here's the bug report: https://github.com/i7/kerkerkruip/issues/117

Would anyone mind if I start implementing dreams as scenes? I have some experience with scenes. I might still need help integrating it with ATTACK's turn structure, though. If you have any tips about how it works overall or pitfalls to avoid, I'd really like to hear them.

mciul avatar Nov 13 '13 15:11 mciul

First challenge: Each scene's beginning has to be defined separately. I think this is the best I can do:

The selected dream is a scene that varies. Definition: a scene is ready to dream if the player is asleep and it is the selected dream.

Briar Rose begins when Briar Rose is ready to dream. Tungausy Shaman begins when Tungausy Shaman is ready to dream. ... etc, for every dream.

On the other hand, we get this for free:

instead of using "redreamable"... Tungausy Shaman is a recurring dream scene.

Briar Rose is a dream scene.

mciul avatar Nov 13 '13 15:11 mciul

I've implemented dreams as scenes in a branch: https://github.com/i7/kerkerkruip/tree/dreams

If you like it, I can merge it in.

Unfortunately, it didn't fix bug #117 - it seems like every turn rules don't run on the turn after a dream ends, and I don't know why.

mciul avatar Nov 13 '13 17:11 mciul

I've written a Banquet dream and pushed it up to my dreams branch. It's not quite finished and it's a bit buggy, but I'd love to hear your comments about it!

mciul avatar Nov 13 '13 21:11 mciul

Hey man, great! I'm going to look at all your recent contributions and comments ASAP.

VictorGijsbers avatar Nov 13 '13 22:11 VictorGijsbers

About the test-dream: yeah, I could have put that in story.ni.

VictorGijsbers avatar Nov 14 '13 10:11 VictorGijsbers

"Should we suppress listing dream characters or PC creatures in the remember command?"

This has been fixed by fixing #119.

VictorGijsbers avatar Nov 14 '13 14:11 VictorGijsbers

I've fixed #117 by adding the line "now the take no turn boolean is false" to the waking up code. Not quite sure what that is needed, but it works. Dreams within dreams have also been disallowed.

VictorGijsbers avatar Nov 14 '13 14:11 VictorGijsbers

Great! I've merged your changes into my dreams branch and pushed it up. I think I'm almost ready to bring it back into master, but there are a couple funny things still.

At least once, I got stuck in an infinite sequence of dreams, starting with Briar Rose. https://github.com/i7/kerkerkruip/issues/120

Various issues with the Banquet dream: https://github.com/i7/kerkerkruip/issues/121

mciul avatar Nov 14 '13 16:11 mciul

Thanks for cleaning up the Dreams extension, Victor:

https://github.com/i7/kerkerkruip/commit/a5eddeaed90f6afe3b4bc17d8f51cbc2a935c80d

I was thinking about the spelling conflicts earlier but I never actually noticed that I had created any.

I have one concern about your change to the definition of banquet-dining for Malygris. Banquet-dining is tested both before the dream starts (in the dreamable rule) and while the dream is happening (for inclusion in the, ahem, menu). While the dream is happening, the player is Chef, so the player will never be in the same location as Malygris. If there is an issue with "yourself," is there another way we can test that Malygris is in the same room as the dreamer?

mciul avatar Nov 16 '13 02:11 mciul

You're right, that was a mistake. (I try to avoid using "yourself" when we don't mean it, but you evidently did mean it and I failed to notice that in the code.)

VictorGijsbers avatar Nov 16 '13 11:11 VictorGijsbers

I have the same hesitations about "yourself," and I wondered if there was a better alternative. But I couldn't think of one.

mciul avatar Nov 18 '13 03:11 mciul

We could set up a new person that varies called "the dreamer"? Sounds like a good idea -- I'll make it happen.

VictorGijsbers avatar Nov 18 '13 13:11 VictorGijsbers

That sounds perfect!

mciul avatar Nov 18 '13 15:11 mciul

Done. I had to make an addition to your dream, since the person with respect to whom banquet-dining is defined is sometimes the player (before dreaming) and sometimes the dreamer (while dreaming). I hope I managed to not mess it up. ;-)

VictorGijsbers avatar Nov 18 '13 21:11 VictorGijsbers

I think "banquet-definer" might be a useful phrase for other dreams if it had a more general name, though I'm not sure what I'd call it. "the one who dreams?"

mciul avatar Nov 18 '13 22:11 mciul

How about "the true body of (guy - a person)?"

which usually returns guy, but if guy is the player and dreaming is true, it returns the dreamer.

mciul avatar Nov 18 '13 22:11 mciul

Sounds fine, be my guest and make that change. :-)

VictorGijsbers avatar Nov 18 '13 22:11 VictorGijsbers

Okay, I will.

mciul avatar Nov 18 '13 22:11 mciul

https://github.com/i7/kerkerkruip/commit/46570aa99f5c9509984ce16419632c5924d87bfb

(This particular change is just re-commenting out the debug code, but my previous commit has the real changes)

mciul avatar Nov 18 '13 23:11 mciul

I just looked back at the original four points of this issue. Where are we at with this? Are you happy with the way dreams are managed now, Victor? Should we have a means of putting dream info in the side windows?

mciul avatar Nov 19 '13 02:11 mciul

I'm not sure what Dannii meant with the side windows remark, actually.

As far as I can see, dreams are ready for Kerkerkruip 9. (It might be good to have 1 or 2 more, but that's hardly essential.)

VictorGijsbers avatar Nov 19 '13 08:11 VictorGijsbers

I have an idea for another dream, but I haven't decided whether its effects are too messy:

You are presented to all of the Kerkerkruip gods at once. You have a choice of whether to follow one of them or none of them. If you choose one, you get an immediate favour bonus, but every soul you absorb afterwards is instantly sacrificed to your god. If you choose none, you may not ever sacrifice an ability, and you might get punished by some or all gods.

How does that sound?

mciul avatar Dec 09 '13 21:12 mciul

Hmm... perhaps you get a special godslayer weapon when you choose none, giving a bonus to any of the monsteravatars?

I have been working on another dream, but it isn't quite finished yet. The proposal is as follows:

You dream that you are standing in the tavern where you were drinking a lot, boasting about how you would defeat Malygris. As you stumble out of the bar, you bump into someone. It suddenly appears to be a talker monster from Kerkerkruip, who attacks you directly. If you win the fight, the talker monster suddenly becomes a standard follower (either Fafhrd or the Mouser or perhaps some other enslaved persons), who will help you in the dungeon, since they realise you helped them before. If you lose the fight, instead of dying, you suffer 5 points of spirit for remembering the humiliation.

2013/12/9 mciul [email protected]

I have an idea for another dream, but I haven't decided whether its effects are too messy:

You are presented to all of the Kerkerkruip gods at once. You have a choice of whether to follow one of them or none of them. If you choose one, you get an immediate favour bonus, but every soul you absorb afterwards is instantly sacrificed to your god. If you choose none, you may not ever sacrifice an ability, and you might get punished by some or all gods.

How does that sound?

— Reply to this email directly or view it on GitHubhttps://github.com/i7/kerkerkruip/issues/105#issuecomment-30175336 .


Met vriendelijke groet,

Remko van der Pluijm LinkedIn: http://nl.linkedin.com/in/rvanderpluijm

rvdpluijm avatar Dec 09 '13 21:12 rvdpluijm