• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

How do I change the default currency of NPCs? [TFS 860 0.4]

kiraconquest

New Member
Joined
Mar 12, 2022
Messages
5
Reaction score
1
[TFS 860 0.4]
I want instead of the default currency that npcs charge for purchases to be "2152" instead of the default "2148".
I tried to change the lib in "constant" where it has "ITEM_GOLD_COIN = 2148" I changed it to 2152, but still the npc charged gold coin "2148"
 

Evil Puncker

I know nothing
TFS Developer
Joined
May 30, 2009
Messages
8,509
Solutions
260
Reaction score
4,467
you don't need to change anything, just remove the "worth" attribute from gold coins at items.xml and you are done!?
 
Top