Darkness

sfq
06 Nov 2012, 16:09
Can I achieve the following (in 5.3 latest nightly)?

Have an alternate room name and not just an alternate room description when in darkness.

When listing inventory in darkness you are told you are not holding anything even if you are, I would like to still list inventory items in the dark.

When examining held items in the dark you are given the description of the object, I would like to change this to display a "It is too dark to make anything out" style message.

Thanks.

sfq
07 Nov 2012, 07:47

When listing inventory in darkness you are told you are not holding anything even if you are, I would like to still list inventory items in the dark.



If I remove

if (CheckDarkness()) {
list = RemoveDarkObjects(list)
}


from the FormatObjectList function this achieves what I am after. Note: Although by default the inventory listing is blocked when in darkness the inventory pane still shows inventory items.

Is the above a valid method or will this cause issues elsewhere?

Pertex
07 Nov 2012, 09:33
It seems to be valid. I will have a look at it.

Pertex
09 Nov 2012, 22:05
sfq wrote:Have an alternate room name and not just an alternate room description when in darkness.

Will not be implemented in Q5.3

sfq wrote:When listing inventory in darkness you are told you are not holding anything even if you are, I would like to still list inventory items in the dark.

This is not a bug. I think you took a scenery object, which is displayed in the inventory pane, but not in the inventory list.

sfq wrote:When examining held items in the dark you are given the description of the object, I would like to change this to display a "It is too dark to make anything out" style message.

OK, this will be in the next released version