Jump to content


Photo

Adding an item to an existing NPC


  • Please log in to reply
2 replies to this topic

#1 Co0n

Co0n
  • Member
  • 11 posts

Posted 25 July 2011 - 02:31 PM

Hey there!

I tried to add a selfmade item to Thalantyr by using this code:

    // ########################### \\
    // Setup Item: Thalantyrs Stab \\
    // ########################### \\
    
    COPY ~Alienne/itm/CPstaf1.itm~ ~override~
    
    // Name
    SAY NAME1 ~Thalantyrs Stab~
    SAY NAME2 ~Thalantyrs Stab~
    SAY DESC ~Description~
    
    // Add Item to Thalantyr:
    COPY_EXISTING ~THALAN.cre~ ~override/THALAN.cre~
    ADD_CRE_ITEM ~CPstaf1~ #0 #0 #0 ~IDENTIFIED~ ~INV1~

BUT, Thalantyr doesn't have the item when I kill him.
Adding the item by cheating is possible though.
Where is the mistake? I can't find it >_<

Greetings

#2 Daulmakan

Daulmakan

    Comfortably numb

  • Member
  • 1069 posts

Posted 25 July 2011 - 08:52 PM

You're not playing Tutu by chance?

item_pack.jpg   Drows.jpg

 


#3 Co0n

Co0n
  • Member
  • 11 posts

Posted 26 July 2011 - 12:26 AM

BGT :)

Found the mistake, just had to start a new game :D