Selling Potions in a new NPC

Desolation Mir2 (Med Rate Server)
Status
Not open for further replies.

DayWalker™

Golden Oldie
Golden Oldie
Dec 11, 2004
761
1
103
Middlesbrough ! Smoggy!
Im having problems selling potions : main npc:

Code:
[@task3]
#SAY
 #INCLUDE [..\Convert_Def\Market_Def\00Sunnies-0.txt] @NPC_Main_0_0
<[Exit]/@exit>\
[@buy]
#SAY
 #INCLUDE [..\Convert_Def\Market_Def\00Sunnies-0.txt] @NPC_Buy
[Goods]
;ItemName      Volume     Hour
SunPotion        2000       1
SunPotion(M)    2000       1
OldGinseng 2000       1

npc code :

Code:
[@NPC_Main_0_0]
{
Welcome to my drug stall\ \
<[EMAIL="Buy/@buy"]Buy/@buy[/EMAIL]> potion\
<[EMAIL="Cancel/@exit"]Cancel/@exit[/EMAIL]>
}
[@NPC_Buy]
{
Please select what potion you want to buy.\ \
 <[EMAIL="Back/@main"]Back/@main[/EMAIL]>
}
[Goods]
;ItemName      Volume     Hour
SunPotion 1000 1 
SunPotion(M) 1000 1
OldGinseng 1000 1

Items arnt showing up when i click buy...

/Stan
 

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,401
36
275
Germany
have you this on the Top of the Main Script ?

%100
+0
+3

No? then paste it and test ^^
 
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,401
36
275
Germany
Ok ty :)

to the explanation

%100 (Price in Percent)
+0 The Item shape which in the Shop to be should.
+3 The Item shape which in the Shop to be should.
 
Upvote 0
Status
Not open for further replies.