• 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!

change house price

Nerevr back

Member
Joined
Nov 7, 2014
Messages
269
Reaction score
7
hello guys i want help in house price want to change it from crystal coins to gold nugget

example::

21:39 You see a closed door.
It belongs to house 'Unnamed House #13'. Nobody owns this house. It costs 510065408 crystal coin.


I want to to be like this :)


21:39 You see a closed door.
It belongs to house 'Unnamed House #13'. Nobody owns this house. It costs 91 gold nugget.

im use 0.4
 
house.cpp, find this line and edit it:
Code:
sprintf(houseDescription, "It belongs to %s '%s'. Nobody owns this %s. It costs %d gold coins.", tmp.c_str(), name.c_str(), tmp.c_str(), price);
Also remember to update items.xml, find gold nugget and add to it worth attribute:
Code:
<attribute key="worth" value="xxxx" />
 
Back
Top