Custom weapon questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zambaku
    Apprentice
    • Dec 2007
    • 80

    Custom weapon questions

    I'm working on my first piece of custom weapon. A giant lollipop as a club.
    And my first question is : what are tval and sval?
  • Pete Mack
    Prophet
    • Apr 2007
    • 6697

    #2
    tval is the basic class of the weapon. For a club, it is "blunt weapon", that is: 21.
    sval is the specific item type within the group. In Angband, the next available sval is 21, just after Mace of Disruption at sval = 20. In the knowledge menu, items are grouped by tval, and listed by sval.

    Comment

    • Zambaku
      Apprentice
      • Dec 2007
      • 80

      #3
      Cool, thanks! I noticed some weapons dosn't use these it seems.

      Would this one work you think?

      N:564:& Giant Lollipop
      G:\:Y
      I:21:15
      W:5:0:180:500
      A:20:20 to 100
      P:0:8d1:0:0:0
      FRAIN_EXP

      Comment

      • ekolis
        Knight
        • Apr 2007
        • 825

        #4
        Originally posted by Zambaku
        FRAIN_EXP
        Smiling and raining experience sounds appropriate for a giant lollipop
        You read the scroll labeled NOBIMUS UPSCOTI...
        You are surrounded by a stasis field!
        The tengu tries to teleport, but fails!

        Comment

        • Zambaku
          Apprentice
          • Dec 2007
          • 80

          #5
          Haha, super

          Will I have to start a new character to find new items or enemies in the game or can I continue using the one I'm currently on?

          Comment

          • Pete Mack
            Prophet
            • Apr 2007
            • 6697

            #6
            Just keep playing. New items will start showing up.

            Comment

            • Zambaku
              Apprentice
              • Dec 2007
              • 80

              #7
              Cool! Hm, wonder if I set the rarity too high for the lolipop and the custom enemy, or if I did something wrong with it?
              monster_base:
              N:Crawling Hand
              G:M
              M:2
              F:EVIL
              F: OPEN_DOOR | BASH_DOOR
              F:| NO_CONF
              D:A disembodied hand that crawls along the floor

              monster:
              N:548:Crawling Hand
              T:Crawling Hand
              C: o
              I:100:60:0:50:70
              W:10:1:0:20
              B:HIT:HURT:1d5
              B:HIT:HURT:1d5
              F: DROP_60
              F:TAKE_ITEM
              D:A disembodied hand that crawls along the floor.
              Last edited by Zambaku; May 3, 2013, 13:11.

              Comment

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