Anyone done this before? Random dungeon
mrangel
25 Aug 2017, 10:07I started using Quest around the start of this week. For now, I'm making a toy game for the purpose of learning the language properly, so my code so far is probably pretty bad. I've built a couple of scripts I quite enjoyed playing with. Kind of curious if anyone's done this before, so maybe I can compare how we approached things.
I've already built my own clothing system, because I wanted to put clothes on characters other than the player, and have the bonuses work correctly when I use ChangePOV. Then I've got a script that has an NPC wander around randomly within a particular area, pick up items and put them back in their original locations, put any junk the player leaves lying around in a couple of dedicated "tidyup" containers, run a script when she enters your room or vice versa, and display a "you hear footsteps" message based on how far away you are.
But now I'm working on a random maze generator. And I'd very much like to see how anyone else has approached this challenge. Also, if you've thought about doing one, what features should it have? I'm trying to make it as flexible as possible.
The Pixie
25 Aug 2017, 11:22I have had a go...
http://textadventures.co.uk/games/view/em15b32xd0o-y-ysvgrtcg/deeper
mrangel
25 Aug 2017, 12:52Nice :) I didn't think of dungeon crawls.
So far mine's just moving stuff around so the rooms in a house aren't always arranged the same way. At present it shuffles around the rooms within a container. I'm planning to have it so that, for example, it will ensure that a key is placed on the right side of a door. Maybe also allow generic rooms to be duplicated as necessary.
Turning out to be quite a fun project to work on :)

DarkLizerd
25 Aug 2017, 16:46And here's mine...
http://textadventures.co.uk/games/view/z80i597m50wk__83uezg_q/wumpus-2-0
20 connected rooms with random connecting exits, and several map lay outs.
With the option of random room names...
And V. 3.0 will have random room descriptions...