Thread: Lighting issues
View Single Post
Old April 1, 2020, 08:41   #5
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,773
PowerWyrm is on a distinguished road
Ok I see. Since PWMAngband didn't port the Necromancer changes about lighting (the class already existed and I felt that the change didn't fit the original class), I don't have the part about PF_UNLIGHT.

What was confusing is that torch + los are mapped to the same tile, so when you use "view_yellow_light" you have yellow + white tiles in ASCII but the same tile with tileset.

What I will do locally:
- change squares that have negative light to LIGHTING_DARK
- change mappings in graf-xxx.prf so torch is mapped to LIGHTING_TORCH (tile 1), los is mapped to LIGHTING_LOS (tile 2) and lit is mapped to LIGHTING_LIT (tile 3); dark will also be mapped to tile 3 (I don't think we need a tile 4 for this)
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote