If I want to add a new artefact, in what part of the artefact folder will I put it?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    If I want to add a new artefact, in what part of the artefact folder will I put it?

    I tried to make a long sword and I made it super common to see if I implemented it successfully, but I am not finding it at all, and I want to make sure I'm doing it right before I add any others
    this is it

    N:85:'Elf's bane'
    I:50:55:0
    W:2:1:1:50000
    P:1:2d5:1:0d0
    F:BRAND_ELEC | SHARPNESS
    D:wrought in Utumno
    D: the blade is searing hot like the Black hand of
    D: It's wielder Sauron

    Same goes with a vault I made it super common but it is not spawning
  • phylyc
    Rookie
    • Feb 2017
    • 6

    #2
    There is no item with tval 50. The tval of edged weapons is 23 and the sval of a Longsword is 17. So, you want to change the artifact to

    N:85:'Elf's bane'
    I:23:17:0
    W:2:1:1:50000
    P:1:2d5:1:0d0
    F:BRAND_ELEC | SHARPNESS
    D:wrought in Utumno
    D: the blade is searing hot like the Black hand of
    D: It's wielder Sauron

    Also make sure that you insert it after N:84 (that is Delmereth) in the artefact.txt file as all the ID's have to be ordered. That is all you have to do.

    To test it you can also go into debug mode (>ctrl+a) (pw Gondolin) and create the artifact with (>ctrl+a >shift+c) and then enter the ID, which is 85 for your longsword. In my version this doesn't work though since Sil isn't taking the ID input (could be a mac problem), so I had to fix it by adding a query for additional player input at that place and recompile it. Otherwise, just go and slay monsters until it drops.

    Hope this helps.

    Comment

    • Guest

      #3
      It did thanks

      Comment

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