Available Item in the list: @potlist - use this to open menu for player to select which pot to use and how many
HP Recovery 1. WoE White Potion
2. Light White Potion 3. Mastela Fruit
SP Recovery 1. WoE Blue Potion
2. Light Blue Potion
Player can only select one item for hp recovery, and same with sp recovery. After that player will input how many he wants example;
Player selects WoE White Potion, 500 pcs .. automatically he will get 500 white potions into his inventory and his zeny will be reduced according to the buying price of the woe white pots..
Goal of this NPC:
1. Make players BUY pots automatically by just talking to the npc. They just need to set it up once using @potlist
--
I hope someone will notice this, this will be very useful and i think lots of people can benefit if this somehow gets finished.
Source: https://rathena.org/board/topic/91886-requesting-a-restock-npc/
Script I need to be modified:
prontera,159,184,5 script kjhfksjdfhs 100,{ if ( ( [email protected] = .cold_medicine - countitem( "Cold_Medicine" ) ) > 0 ) { if ( checkweight( "Cold_Medicine", [email protected] ) ) getitem "Cold_Medicine", [email protected]; else dispbottom "You can't carry enough Cold Medicine"; } if ( ( [email protected] = .halohalo - countitem( "Halohalo" ) ) > 0 ) { if ( checkweight( "Halohalo", [email protected] ) ) getitem "Halohalo", [email protected]; else dispbottom "You can't carry enough Halohalo"; } end; OnInit: .cold_medicine = 500; .halohalo = 10; }My idea:
Available Item in the list: @potlist - use this to open menu for player to select which pot to use and how many
HP Recovery
1. WoE White Potion
2. Light White Potion
3. Mastela Fruit
SP Recovery
1. WoE Blue Potion
2. Light Blue Potion
Player can only select one item for hp recovery, and same with sp recovery. After that player will input how many he wants example;
Player selects WoE White Potion, 500 pcs .. automatically he will get 500 white potions into his inventory and his zeny will be reduced according to the buying price of the woe white pots..
Goal of this NPC:
1. Make players BUY pots automatically by just talking to the npc. They just need to set it up once using @potlist
--
Edited by PandaRapesHamsterI hope someone will notice this, this will be very useful and i think lots of people can benefit if this somehow gets finished.
Link to comment
Share on other sites