Hi everyone,
In my current game the player will be buying some mundane items and I don't want him or her to pay 50 dollars for a tomato.
Is there a way to replace the normal all integer gold system with the usual XX.xx system?
Thanks!
You can, but things like item values in the database will suffer.
You can always make every time money is shown it appear as itself divided by 100.0? this way at least it will seem so.
Can you even enter decimal numbers for item prices? Do they "stick" when you save in the editor, close and reopen it?
that's what I meant, sorry, I'm terrible explaining
Wouldn't it be pretty easy to make a script where it ads a dot before the last 2 numbers and a '0' before any number that's lower than 100.
That way if you would set the price of an item to 2050 G it would show as 20.50 $ ingame, and 50 G would show as 0.50 $.?
that's what I said, a script that shows the money as divided by 100.0 would do exactly that
that's why I said "shows" Andar 😛
As in, in-game