If you set quality squelching of light sources to "good", normal torches and lanterns still appear. They should be squelched no?
[3.4] Quality squelching of light sources doesn't work
Collapse
X
-
[3.4] Quality squelching of light sources doesn't work
PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!Tags: None -
Yeah, something fishy is going on here. I tried to get lights to work properly in the quality squelch menu (and remove them from the flavor squelch) but I couldn't get it to work properly.
I think the solution would be to keep lights in quality squelch but remove them from flavor squelch. I might try again, but I have a feeling it might get pushed to 3.5 The squelch code is not my favorite section. -
Maybe light sources are treated as ego because they have PVAL (light duration)?Comment
-
Well, "good" really doesn't exist for light sources. That category is redundant for them. I think normal lamps should disappear with squelching "normal". "good" being one step up from that should obviously do the same.
Maybe light sources are treated as ego because they have PVAL (light duration)?"Been away so long I hardly knew the place, gee it's good to be back home" - The BeatlesComment
-
Is that light duration counter just some sort of hack? I think lights are the only item in the game with shown counter that gets reduced over time. Or is it some sort of modification of charge counter (and as such wont be recognized by squelch code)?Comment
-
Light bonus on other items is something that needs to be still treated as ego, so only for actual light sources for that exception.
Is that light duration counter just some sort of hack? I think lights are the only item in the game with shown counter that gets reduced over time. Or is it some sort of modification of charge counter (and as such wont be recognized by squelch code)?
The fuel is stored in o_ptr->extent, which is the same field that stores the number of gp in a treasure drop ($), and which stores the number of charges on a wand or staff. This is not used in the squelch code at all."Been away so long I hardly knew the place, gee it's good to be back home" - The BeatlesComment
-
Maybe it could be used - e.g. squelch gold drops below 50 gold, or squelch wands that are depleted, or squelch lights with less than 1000 turns of fuel left?You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!Comment
-
hum, didn't notice that lanterns and torches now show that pval. Earlier plain torches and lanterns didn't even have light flag or pval to show light radius. I guess one of the "ugly hacks" have been removed for them.Comment
Comment