[closed] How to get the code of the wesnoth.interface.game_display.income function
Moderator: Forum Moderators
- ZombieKnight
- Posts: 235
- Joined: June 27th, 2022, 2:26 pm
- Location: Czech Republic
[closed] How to get the code of the wesnoth.interface.game_display.income function
Hi,
How to get the code of the wesnoth.interface.game_display.income function?
Or how to modify the string coming into text and tooltip?
...
I want to modify the function, NOT entirely replace it(if I don't know the exact code).
How to get the code of the wesnoth.interface.game_display.income function?
Or how to modify the string coming into text and tooltip?
...
I want to modify the function, NOT entirely replace it(if I don't know the exact code).
Last edited by ZombieKnight on March 31st, 2024, 12:30 pm, edited 1 time in total.
I had saurian in profile before, but I've merged my discord profile with forum one...
Working on campaign Bandits from Brown Hills
Working on campaign Bandits from Brown Hills
- ZombieKnight
- Posts: 235
- Joined: June 27th, 2022, 2:26 pm
- Location: Czech Republic
Re: How to get the code of the wesnoth.interface.game_display.income function
CLOSED
Thanks to Soliton
Defined at https://github.com/wesnoth/wesnoth/blob ... .cpp#L1769.
Also can be modified storing the output from original function and then editing it... Works for my puposes.
Thanks to Soliton
Defined at https://github.com/wesnoth/wesnoth/blob ... .cpp#L1769.
Also can be modified storing the output from original function and then editing it... Works for my puposes.
I had saurian in profile before, but I've merged my discord profile with forum one...
Working on campaign Bandits from Brown Hills
Working on campaign Bandits from Brown Hills