Currently Online

Latest Posts

Topic: Changing edge.png

Kusy
Avatar
Topic Opener
Joined: 2023-02-24, 18:21
Posts: 15
Ranking
Pry about Widelands
Posted at: 2024-04-22, 22:10

Hello there!

Can a world addon replace the 'edge.png' file from 'Widelands\data\world\pics'?


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 17:07
Posts: 1957
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2024-04-22, 22:18

Hi,
world add-ons can't do this, mainly because nobody asked for it yet face-smile.png
It should be possible to do this with a theme add-on simply by providing a custom world/pics/edge.png file. Would this be sufficient for you?
If no, it would not be hard to refactor this and make it accessible for world scripting instead of using a globally hardcoded image path.


Top Quote
Kusy
Avatar
Topic Opener
Joined: 2023-02-24, 18:21
Posts: 15
Ranking
Pry about Widelands
Posted at: 2024-04-22, 22:25

Thanks for the express reply!

Yeah, if it's possible to change it with a UI addon it's fine for me. Personally I feel it would be more at home in world addons, but then again I can understand why it's considered part of the UI.


Top Quote