Of course, it's not really an error, I just need to have the
temperature make more sense. But as a
test for world-determined (instead of room-determined) flavor text, it works. I will probably also mess with the odds of a change in z, so the skyscraper effect is more rare.
The real error I
discovered when I did this is that I've connected rooms backwards. At first I was confused as to why going down
made things colder, then figured out basically when two rooms were connected,
and one z is less than the other, the former room was connected above the
latter. That, of course, means that not
only did I have my z logic wrong, but east means west, and north means
south. That was quickly corrected.
I also came up with a quick way to randomize what items are
in a room, and as a test, a hallway may or may not have a painting hanging on a
wall. I can also determine the exact odds of any given item in the moment of
(potential) creation. I may need to generalize
this later, when the number of potential items gets large, but for a quick couple
of lines, it works for now.
No comments:
Post a Comment