main
projects
opinion
humor
links
sitemap
mail
about
résumé
misc

rooms

This file is basically to keep track of how the struct for rooms work, various flags that are set, that will be included after I get the basic ones going, etc.

Grayed out text is generally old stuff that isn't relevant anymore, but that I can't bear to get rid of.

Type Description
header

Room name.

short description of the room, used when the player doesn't want to see the room description

header

Room description.

long description of the room, which may or may not include items, direction of the exits, whether or not its inside or outside, has gravity, ad nauseum

multiplier

Gravity

The gravity bit had a few settings, but instead, I'm just going to allow the room author to set a multiplier for the amount of gravity a room has. For example; Mark walks into a room with a gravity multiplier of 1, which is normal. Mark then hops into a space elevator and is take up into the atmosphere and boards a space station. Its multiplier is 0.03, which is very low.

The idea is that the constant of gravity (10^2.88, I think-- I need to look that up), is multiplied by the multiplier. A 0 would be null gravity, a 0.28 would be something like the moon, and 16.0 would be a solid planet the size of jupiter.

Old bits:

  • "low," which would allow people to jump higher, lift things they couldn't normally, etc
  • "normal," may be relative, but we'll think in terms of earth, normal gravity has no effect
  • "high," will slow people down and make things heavier than they usually are
  • "none," zero gravity, people can bounce off things, manipulate large objects with ease, firing weapons may push them in directions they don't want to go, stilling thinking over the possibilities
bit

Light

at first, I was just considering having either 'dark' or 'lighted' rooms, but then I thought about the inbetweens, night vision, infravision and the like, so now there are a few values that can be set:

  • "blinding," very bright, hurts to leave eyes open
  • "normal," able to see, no effect
  • "dark," unable to see without aid
  • "black," unable to see without a light source
flag

Atmosphere

this is for whether or not you can breathe (if you need to) without aide in the room

$Id: room.html,v 1.5 2000/12/20 10:37:53 silaron Exp $