Jump to content
  • 0
Emonizer08

NPC Script Once Bought it Delete from the script

Question

hi there fellas, i've a request to make,its sounds weird but there's a possible that NPC can Delete What his Selling? once it bought.

Sample i have a npc selling balmung once it bought by player it will delete from the item list until no one will left?. i wonder if its possible?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

try market shop https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L292

prontera,150,150,1	marketshop	Market Shop	112,501:100:10,502:100:1

 

Edited by Litro Endemic
Link to comment
Share on other sites

  • 0
On 3/25/2018 at 4:52 AM, Emonizer08 said:

by the way  can i change it to tcg

I'm pretty sure for that you would need a dynamic shop npc.

https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ea-addicts/Daily TCG Shop.txt

I made a script similar to this (forever ago) except the items for sale rotate daily.

Although stock gets reset when the server restarts.

Edited by Skorm
  • Upvote 1
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.