DaJAngband: new object question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • will_asher
    DaJAngband Maintainer
    • Apr 2007
    • 1124

    DaJAngband: new object question

    why don't the new objects I added ever appear in stores?


    I even tried modifying the tables.c and defines.c to include the new objects, but it didn't work.
    Last edited by will_asher; December 12, 2007, 09:22.
    Will_Asher
    aka LibraryAdventurer

    My old variant DaJAngband:
    http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
  • andrewdoull
    Unangband maintainer
    • Apr 2007
    • 872

    #2
    Originally posted by will_asher
    why don't the new objects I added ever appear in stores?


    I even tried modifying the tables.c and defines.c to include the new objects, but it didn't work.
    Have you added them to store.txt?

    Format is O:tval:sval:chance

    Andrew
    The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
    In UnAngband, the level dives you.
    ASCII Dreams: http://roguelikedeveloper.blogspot.com
    Unangband: http://unangband.blogspot.com

    Comment

    • will_asher
      DaJAngband Maintainer
      • Apr 2007
      • 1124

      #3
      Originally posted by andrewdoull
      Have you added them to store.txt?

      Format is O:tval:sval:chance
      there is no store.txt.
      Will_Asher
      aka LibraryAdventurer

      My old variant DaJAngband:
      http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)

      Comment

      • konijn_
        Hellband maintainer
        • Jul 2007
        • 367

        #4
        Originally posted by will_asher
        there is no store.txt.
        There is no spoon either

        However, there should be a store.c array instead then that holds which items get sold, and if it's not there it is in tables.c

        T.
        * Are you ready for something else ? Hellband 0.8.8 is out! *

        Comment

        • will_asher
          DaJAngband Maintainer
          • Apr 2007
          • 1124

          #5
          Originally posted by konijn_
          There is no spoon either

          However, there should be a store.c array instead then that holds which items get sold, and if it's not there it is in tables.c
          I added the new objects in tables.c where it has the other stuff that the store carry.

          Do I need to recompile for the changes to take effect? Seems like if I run it from the compiler then it would include the changes without having to recompile it first.

          EDIT: Nevermind, I got it to work, I had to recompile it for the changes to take effect.
          Last edited by will_asher; December 13, 2007, 08:08.
          Will_Asher
          aka LibraryAdventurer

          My old variant DaJAngband:
          http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)

          Comment

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