Page 1 of 1

Room lightning

Posted: Fri Sep 02, 2011 7:12 am
by Brar
Here's an idea.

How about expanding lightning?
I explain.

When you have a lit rooms or a room with someone having a light source, the adjacent rooms gets lit for people with low-light vision.

So a light source would effectivelly expand one room from its origin for low light vision.

I think it would give more purpose to low-light, especially in a closed environment such as dungeons.

Brar

Re: Room lightning

Posted: Sat Sep 03, 2011 2:18 am
by Raona
I *like* this. (Clicking the LIKE button.)

Re: Room lightning

Posted: Sat Sep 03, 2011 8:24 am
by Eltsac
Up for that idea too :)

Re: Room lightning

Posted: Sat Sep 03, 2011 9:46 am
by Solaghar
This idea makes sense in theory but a neighboring room can have a lot of different factors. What if there's a door inbetween? What if the exit is one-way? What if it's hidden? What if it's in the wilderness, where a neighboring room is really 20 miles away?

I think a much better way to deal with light/darkness in an ideal world would be to have it dealt with on an absolute basis. All the lights on a person should add to the light in the room. A room can also have light flags some of which we have now, like ROOM_DARK, ROOM_LIGHT, ROOM_LOWLIGHT, ROOM_BLINDING, ROOM_TOTALDARK. Then you have a formula representing exactly which one each of these represents, and the different sector types would have their own standard which could then be overcome by a flag. A light of 0 or less would be dark, only people with darkvision can see. A light of between 1-5 would be one where low light vision functions. A light of between 5 and 100 is normal. Anything more than 100 would become blinding where no one can see due to how bright it is. This would allow us to have functioning spells like darkness spells (maybe lowers the light in the room by 50), blinding light spells (adds 100 to the light), impenetrable darkness spells (lowers light by 1000) etc so on... but this would be more difficult to code!

Re: Room lightning

Posted: Mon Sep 05, 2011 4:23 am
by Harroghty
I liked Brar's suggestions off the bat, but Raona and Solaghar make good points. I prefer Solaghar's suggestion after consideration. It provides more flexibility to the builder.

Re: Room lightning

Posted: Mon Sep 05, 2011 7:25 am
by Brar
In fact, I prefer Solaghar's idea too :)