Topic: Terrain enhancement addon
1 —
3 of
3
Posts
OIPUN![]() Topic Opener |
Posted at:
2024-11-13, 15:42 UTC+1.0
I think the terrain enhancement property for addons is wrong in the documentation. Name of the enhancement is missing. I tried "wl.Descriptions():modify_unit("terrain", "winter_taiga1", "enhancement", "meadow", "amazons")". Addon looks fine but the enhancement doesn't work. Does anyone know how should the correct syntax look like. ![]() ![]() |
Nordfriese![]() |
Posted at:
2024-11-13, 16:49 UTC+1.0
Looking at the code I think the order of
Please check if this works for you. The "category" argument is missing from the doc, will make a branch to fix this. – Edit: PR is up
Edited:
2024-11-13, 16:58 UTC+1.0
![]() ![]() |
OIPUN![]() Topic Opener |
Posted at:
2024-11-13, 17:28 UTC+1.0
Yes, it works. Last two arguments should be switched. ![]() ![]() |
1 —
3 of
3
Posts