[Light Source Bug?] Angband 4.1.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wobbly
    Prophet
    • May 2012
    • 2629

    #16
    Originally posted by Sparrow the Dunadan
    But right now isn't it night (or seems to be based on the light levels apart from myself) on both my characters that are being currently affected?
    Isn't it night? - Maybe.
    It looks at is_daylight(true/false) when it decides whether to construct the light radius of the player.
    It looks for if the square is lit when it displays on the screen or when it checks if you can read.
    The game is quite capable of thinking it's day & the squares are not lit. It shouldn't happen but if something goes wrong & it does then it doesn't construct the players light source. The display would appear to be night even though the game thinks it's day.

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      #17
      If I recall correctly, day lasts for 100k game turns (10k normal-speed player turns), and then night for a similar amount of time.

      Comment

      • Sparrow the Dunadan
        Adept
        • Mar 2019
        • 100

        #18
        Originally posted by wobbly
        Isn't it night? - Maybe.
        It looks at is_daylight(true/false) when it decides whether to construct the light radius of the player.
        It looks for if the square is lit when it displays on the screen or when it checks if you can read.
        The game is quite capable of thinking it's day & the squares are not lit. It shouldn't happen but if something goes wrong & it does then it doesn't construct the players light source. The display would appear to be night even though the game thinks it's day.
        Well that sounds very broken when there's no blind status effect in play. :/

        Comment

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎