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

C++ house price tfs 1.2

Bebo 2022

Banned User
Joined
May 2, 2022
Messages
11
Reaction score
5
GitHub
bebo
How can I change the currency of buying obsession instead of cc 2160 to 2638
From where is it determined?
You see a closed door.
It belongs to house 'Unnamed House #800'. Nobody owns this house. It costs 62000 gold coins.
Item ID: 5119
Lua:
        const int32_t housePrice = g_config.getNumber(ConfigManager::HOUSE_PRICE);
        if (housePrice != -1) {
            ss << " It costs " << (houseTiles.size() * housePrice) << " gold coins.";
        }
    }
House.Cpp////How is the change?
 
Last edited:
this might help you:

not the exact same code, but should work if you adapt
 
Back
Top