Smeagol Droping a ring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CunningGabe
    Swordsman
    • Feb 2008
    • 250

    #16
    Originally posted by Timo Pietilä
    If it works like it used to be telling tval,99 creates anything whatever that tval specifies.
    I'm not sure when or how that would have worked, but it doesn't work here. When monster.txt is parsed, any tval/sval combinations listed in the drop lines are mapped to concrete object types, which are then saved. Putting tval,99 causes the monster drop to have a null pointer.

    Comment

    • Timo Pietilä
      Prophet
      • Apr 2007
      • 4096

      #17
      Originally posted by CunningGabe
      I'm not sure when or how that would have worked, but it doesn't work here. When monster.txt is parsed, any tval/sval combinations listed in the drop lines are mapped to concrete object types, which are then saved. Putting tval,99 causes the monster drop to have a null pointer.
      Old style ego-items.txt listed which items ego type is possible, and if sval was 99 it did mean any item of that basic type.

      Comment

      • CunningGabe
        Swordsman
        • Feb 2008
        • 250

        #18
        Originally posted by Timo Pietilä
        Old style ego-items.txt listed which items ego type is possible, and if sval was 99 it did mean any item of that basic type.
        Ah, I see. I think the way that worked (and more or less still works) is that the item is created first, and then you check if there are any valid egos you can apply to improve the item.

        Comment

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