Jump to content

AmaraTheSilent

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. um I think I may have explained wrong, I understand it would go sellitem orange_potion,1; to sell them in increments of 1 per X price, what i'm looking for is to on top of that make limited quantities
  2. It may be a rookie question but I have looked everywhere and the only examples i can find only show the script code for a single item so if anyone could give me a quick example of how I'm supposed to script for multipul items in the shop that would be appreciated. Like do I write it all in a single line or do i new line tab then write out the next item /* custom npc trader */ prontera,153,152,1 trader TestCustom2 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion,2; end; OnCountFunds: setcurrency(countitem(Red_Potion),countitem(Orange_Potion)); end; OnPayFunds if( countitem(Orange_Potion) < @points || countitem(Red_Potion) < @[email protected]) end; delitem Orange_Potion,@points; delitem Red_Potion,@[email protected]; purchaseok(); end; } Is the example post i'm working on, for referance I am also curious would this make a shop window that shows a picture of the item that you can right click to open the item window to read?
×
×
  • Create New...

Important Information

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