summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-01 01:26:56 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-01 01:26:56 +0300
commitc572dca07df4fd2efbd1c128454e0129543ba7de (patch)
tree72fe03f5c68d4931e002819c47006dd69d00ba55
parentdcc89ec0f25a31d3447f0c4f263eee07103cb871 (diff)
downloadclientdata-c572dca07df4fd2efbd1c128454e0129543ba7de.tar.gz
clientdata-c572dca07df4fd2efbd1c128454e0129543ba7de.tar.bz2
clientdata-c572dca07df4fd2efbd1c128454e0129543ba7de.tar.xz
clientdata-c572dca07df4fd2efbd1c128454e0129543ba7de.zip
Add currency with name "points" into units.xml
Also add npc for using this currency.
-rw-r--r--npcs.xml7
-rw-r--r--units.xml3
2 files changed, 10 insertions, 0 deletions
diff --git a/npcs.xml b/npcs.xml
index 24a00004..91004ad2 100644
--- a/npcs.xml
+++ b/npcs.xml
@@ -247,6 +247,13 @@ IDs 990-999 = Special
<sprite variant="33">npcs/xml/unanimated.xml</sprite>
<menu name="Talk" command="talk 'NAME'"/>
</npc>
+ <npc id="146" nameOffsetX="-3" targetCursor="small" targetOffsetX="-2" currency="points">
+ <!-- Shop Bag -->
+ <sprite variant="2">npcs/xml/interactive.xml</sprite>
+ <menu name="Talk" command="talk 'NAME'"/>
+ <menu name="Buy" command="buy 'NAME'"/>
+ <menu name="Sell" command="sell 'NAME'"/>
+ </npc>
<!-- Animated NPCs -->
<npc id="401" targetCursor="small">
diff --git a/units.xml b/units.xml
index 37e52012..5f6e59fc 100644
--- a/units.xml
+++ b/units.xml
@@ -7,4 +7,7 @@ Copyright (C) 2010-2013 Evol Online -->
<unit type="weight" base=" Florin" round="0" separator=" ">
<level symbol=" KF" count="1000" round="2"/>
</unit>
+ <currency>
+ <unit name="points" base=" Points" round="0" separator=" "/>
+ </currency>
</units>