Topic: Terrain enhancement addon
OIPUN Topic Opener |
Posted at: 2024-11-13, 15:42
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. Top Quote |
Nordfriese |
Posted at: 2024-11-13, 16:49
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
Top Quote |
OIPUN Topic Opener |
Posted at: 2024-11-13, 17:28
Yes, it works. Last two arguments should be switched. Top Quote |