Yeah, just as I thought
items.xml (add bold red lines into yours)
Code:
<item id="2148" article="a" name="gold coin" plural="gold coins">
<attribute key="weight" value="10"/>
[B][COLOR="Red"] <attribute key="worth" value="1"/>[/COLOR][/B]
</item>
Code:
<item id="2152" article="a" name="platinum coin" plural="platinum coins">
<attribute key="weight" value="10"/>
[B][COLOR="Red"] <attribute key="worth" value="100"/>[/COLOR][/B]
</item>
Code:
<item id="2160" article="a" name="crystal coin" plural="crystal coins">
<attribute key="weight" value="10"/>
[B][COLOR="Red"] <attribute key="worth" value="10000"/>[/COLOR][/B]
</item>
Works like a charm
tho the bank script doesn't work.
[13/05/2010 19:09:31] Lua Script Error: [Npc interface]
[13/05/2010 19:09:31] data/npc/scripts/bank.lua
nCreatureSay
[13/05/2010 19:09:31] data/npc/scripts/bank.lua:79: attempt to call global 'doPlayerSetBalance' (a nil value)
[13/05/2010 19:09:31] stack traceback:
[13/05/2010 19:09:31] data/npc/scripts/bank.lua:79: in function 'callback'
[13/05/2010 19:09:31] data/npc/lib/npcsystem/npchandler.lua:374: in function 'onCreatureSay'
[13/05/2010 19:09:31] data/npc/scripts/bank.lua:9: in function <data/npc/scripts/bank.lua:9>
he takes my deposited money but it doesn't get on my balance :/
19:09 Banker: Would you really like to deposit 100 gold?
19:09 Admin Johan [9999]: yes
19:09 Admin Johan [9999]: balance
19:09 Banker: Your account balance is 0 gold.
Know it's shouldn't be posted here but i got your attention in here
thanks for quick response! REp!