Jump to content
  • 0

callshop NPC that only displays specific items on my inventory


norightinfo

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   1
  • Joined:  07/15/20
  • Last Seen:  

Hi does anyone has an npc script that will only display specific items from my inventory?

Is there a way for a "callshop" function to display a specific items on my inventory whenever I sell my items?
I came across this topic but can't seems to figure out how. 
Here is a sample screenshot provided by the OP in the link:
image.png.5041c053c8f53b63f64a483d3dd85dca.png

So basically in his inventory he has 3 items as listed <Red Potion>, <Orange Potion> and <Yellow Potion>, however he wanted for the NPC to only display the <Orange Potion> and <Yellow Potion> in the window list.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

https://github.com/rathena/rathena/blob/master/db/pre-re/item_db_usable.yml

 

  - Id: 501
    AegisName: Red_Potion
    Name: Red Potion
    Type: Healing
    Buy: 50
    Weight: 70
    Trade:
      NoSell: true
    Script: |
      itemheal rand(45,65),0;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...