christiandb
Member
TFS 0.3.5pl1
Everything looks fine but Hanna doesn't wanna buy jewels with the trade window. The jewels are viewable in the trade window but it doesnt recognize that I have for example black pearls in my backpack so I can't sell them. The strange thing is that I can sell them when saying "sell black pearl" then it does recognize that I have them with me. Check the attachments
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Hanna" script="data/npc/scripts/secondcitizen.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="136" head="78" body="79" legs="79" feet="58" corpse="2131"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="white pearl,2143,320;black pearl,2144,560;small diamond,2145,600;small sapphire,2146,500;small ruby,2147,500;small emerald,2149,500;small amethyst,2150,400;golden amulet,2130,6600;ruby necklace,2133,3560;wedding ring,2121,990"/>
<parameter key="shop_sellable" value="white pearl,2143,160;black pearl,2144,280;small diamond,2145,300;small sapphire,2146,250;small ruby,2147,250;small emerald,2149,250;small amethyst,2150,200"/>
</parameters>
</npc>
Everything looks fine but Hanna doesn't wanna buy jewels with the trade window. The jewels are viewable in the trade window but it doesnt recognize that I have for example black pearls in my backpack so I can't sell them. The strange thing is that I can sell them when saying "sell black pearl" then it does recognize that I have them with me. Check the attachments
Attachments
-
tradewindow.jpg15 KB · Views: 31 · VirusTotal -
npcchannel.jpg8.5 KB · Views: 17 · VirusTotal
Last edited: