Problems with item generation in vaults on dlvl 99?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nomad
    Knight
    • Sep 2010
    • 958

    #16
    Originally posted by Magnate
    I confess that I didn't even do that - just a shameful assumption based on no thought whatsoever.

    @Nomad - my apologies! I am deeply embarrassed. The naming code is obj_affix_names, which is the first function in src/object/obj-desc.c - that's the place to hook in your naming matrix lookup function (or whatever) - basically just set o_ptr->prefix and o_ptr->suffix to whatever you think best. If the object has a theme, it will override prefix or suffix automatically.

    ... and fixing #576 would be great too!
    Heh, no problem. To be fair, I tend to automatically assume everyone else here is male, and some of you probably aren't.

    Thanks, I'll have a poke around in the code and see what I can come up with.

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #17
      Originally posted by Nomad
      Thanks, I'll have a poke around in the code and see what I can come up with.
      It occurs to me that you aren't going to want the prefix and suffix members of the object_type struct to be affixes (ego_item_type), you're probably just going to want them to be straightforward char*. You'll probably also want them to be saved in the savefile - but that can be done as a separate commit, after you get the names you want. Probably best to write the code to create the prefix and suffix strings first, then we can worry about storing them on the object, saving them and displaying them.
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • buzzkill
        Prophet
        • May 2008
        • 2939

        #18
        Originally posted by Nomad
        Heh, no problem. To be fair, I tend to automatically assume everyone else here is male, and some of you probably aren't.
        Somehow I doubt that .
        www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
        My banding life on Buzzkill's ladder.

        Comment

        • Max Stats
          Swordsman
          • Jun 2010
          • 324

          #19
          Originally posted by Nomad
          Incidentally, I should probably mention at some point that I'm actually a 'she'.
          Then why is your posting level listed as 'Swordsman'?
          If beauty is in the eye of the beholder, then why are beholders so freaking ugly?

          Comment

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