i have wrote a xml document for a npc to sell food. <everything woorks good at this part>
but when i buy food from her she sells 255 of it!!!! how do i stop this??

<interaction>
<?xml version="1.0" encoding="utf-8"?>
<interact keywords="food">
<response text="I sell food items" />
</interact>
<interact keywords="bread">
<response text="Do you want to buy bread for |PRICE| gold?">
<action name="price" value="2" />
<interact keywords="yes">
<response param="lowmoney" text="Oh, you have not enough gold to buy bread." />
<response text="Here you are.">
<action name="takemoney" value="|PRICE|" />
<action name="amount" value="1" />
<action name="giveitem" value="2689" />
</response>
</interact>
<interact keywords="|*|">
<response text="Ok." />
</interact>
</response>
</interact>
<interact keywords="egg">
<response text="Do you want to buy a egg for |PRICE| gold?">
<action name="price" value="1" />
<interact keywords="yes">
<response param="lowmoney" text="Oh, you have not enough gold to buy a egg." />
<response text="Here you are.">
<action name="takemoney" value="|PRICE|" />
<action name="amount" value="1" />
<action name="giveitem" value="2695" />
</response>
</interact>
<interact keywords="|*|">
<response text="Ok." />
</interact>
</response>
</interact>
<interact keywords="ham">
<response text="Do you want to buy ham for |PRICE| gold?">
<action name="price" value="10" />
<interact keywords="yes">
<response param="lowmoney" text="Oh, you have not enough gold to buy a ham." />
<response text="Here it is.">
<action name="takemoney" value="|PRICE|" />
<action name="amount" value="1" />
<action name="giveitem" value="2671" />
</response>
</interact>
<interact keywords="|*|">
<response text="Ok." />
</interact>
</response>
</interact>
</interaction>
but when i buy food from her she sells 255 of it!!!! how do i stop this??
<interaction>
<?xml version="1.0" encoding="utf-8"?>
<interact keywords="food">
<response text="I sell food items" />
</interact>
<interact keywords="bread">
<response text="Do you want to buy bread for |PRICE| gold?">
<action name="price" value="2" />
<interact keywords="yes">
<response param="lowmoney" text="Oh, you have not enough gold to buy bread." />
<response text="Here you are.">
<action name="takemoney" value="|PRICE|" />
<action name="amount" value="1" />
<action name="giveitem" value="2689" />
</response>
</interact>
<interact keywords="|*|">
<response text="Ok." />
</interact>
</response>
</interact>
<interact keywords="egg">
<response text="Do you want to buy a egg for |PRICE| gold?">
<action name="price" value="1" />
<interact keywords="yes">
<response param="lowmoney" text="Oh, you have not enough gold to buy a egg." />
<response text="Here you are.">
<action name="takemoney" value="|PRICE|" />
<action name="amount" value="1" />
<action name="giveitem" value="2695" />
</response>
</interact>
<interact keywords="|*|">
<response text="Ok." />
</interact>
</response>
</interact>
<interact keywords="ham">
<response text="Do you want to buy ham for |PRICE| gold?">
<action name="price" value="10" />
<interact keywords="yes">
<response param="lowmoney" text="Oh, you have not enough gold to buy a ham." />
<response text="Here it is.">
<action name="takemoney" value="|PRICE|" />
<action name="amount" value="1" />
<action name="giveitem" value="2671" />
</response>
</interact>
<interact keywords="|*|">
<response text="Ok." />
</interact>
</response>
</interact>
</interaction>