Why does the Dagger 'Angrist' disappear?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xgp
    Rookie
    • Apr 2020
    • 23

    Why does the Dagger 'Angrist' disappear?

    Code:
    You no longer have the Dagger 'Angrist' (+0,1d5) (r).
    The Dagger 'Angrist' (+0,1d5) hits Ulfang the Black.
    Ulfang the Black dies.
    The Dagger 'Angrist' disappears.
    I don't seem to find relevant information in the code. What is happening here? Thanks.
  • fiery_mews
    Scout
    • Sep 2020
    • 26

    #2
    This is probably in the throwing code - I'd guess it doesn't check if a thrown weapon is an artifact when calculating whether to break/disappear it. Dunno if that's intended behavior for Sil though.

    If it is intended behavior, changing "disappears" to "breaks" might be warranted.

    Comment

    • wobbly
      Prophet
      • May 2012
      • 2631

      #3
      breaking would be "breaks". Sil only allows 1 item per a tile, my guess is there was too much floor junk for it to find a free square

      Comment

      • xgp
        Rookie
        • Apr 2020
        • 23

        #4
        Originally posted by wobbly
        breaking would be "breaks". Sil only allows 1 item per a tile, my guess is there was too much floor junk for it to find a free square
        So I grepped "disappears", but it turns out that I should have grepped "disappear". I think what wobbly said is probably what happened, given this code.

        Comment

        • Quirk
          Swordsman
          • Mar 2016
          • 462

          #5
          Yeah, it's Sil not finding a place to put it. But Sil-Q was tweaked to make this less likely, 1.3 will do this to you with much less provocation.

          Comment

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