An attempt to rework lighting from an hero (WORK IN PROGRESS - DO NOT MERGE)
Created by: dylanstrategie
- Objects in container now emit light. Objects in all containers, but it's better than nothing ain't it ?
- Objects in containers properly update light around then when the area is lit, and appreciably updates the lighting level
- This has not broken regular lighting (aka shit not in containers) in any appreciable form from the extensive testing I've done to try and pinpoint the problems so far
Problems :
- Tiles in full darkness aren't updated by objects in containers. Why ? I don't fucking know. It just shits itself and goes "Yeah fuck this everything is equal to 0". Maybe some useless redundant failsafe somewhere is cockblocking everything, because the formulas seem correct
- This seems near-constant. For some reason at odd intervals the tile updates and then just goes pitch black again when the light is moved away. I just don't know
Again, THIS IS A WORK IN PROGRESS AND NOT SUITABLE FOR RELEASE. Why am I PRing this ? To get assistance. Find something odd, send a comment
Also I know about the items with snowflake coding (aka flashlights, mostly) aren't updated yet. They will be once this shit is fixed