Advertisement
Sehrentos

rAthena npc script list available shops (note)

Apr 28th, 2015
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. // rAthena
  2. // List all type of shops
  3.  
  4. //<map name>,<x>,<y>,<facing>%TAB%shop%TAB%<npc_name>%TAB%<sprite>,<itemid>:<price>{,<itemid>:<price>...}
  5.  
  6. //- shop <npc_name> <sprite>,<itemid>:<price>{,<itemid>:<price>...}
  7. itemmall,100,100,5 shop Shopper#01 102,501:-1,502:-1
  8.  
  9. //- cashshop <npc_name> <sprite>,501:-1,502:-1
  10. itemmall,100,102,5 cashshop Shopper#02 102,501:-1,502:-1
  11.  
  12. //This will trade Potions for Coal.
  13. //- itemshop <npc_name> <sprite>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}
  14. itemmall,100,104,5 itemshop Shopper#03 102,1003:0,501:-1,502:-1
  15.  
  16. //This will trade potions for myVar - permanent character integer variable
  17. //- pointshop <npc_name> <sprite>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...}
  18. itemmall,100,106,5 pointshop Shopper#04 102,myVar:0,501:-1,502:-1
  19.  
  20. //- marketshop <npc_name> <sprite>,<itemid>:<price>:<quantity>{,<itemid>:<price>:<quantity>...}
  21. itemmall,100,108,5 marketshop Shopper#05 102,501:-1:50,502:-1:50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement