Topic: Sumatrans Tribe

OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 338
Ranking
Tribe Member
Location: Czech
Posted at: 2025-06-02, 19:18 UTC+2.0

Nordfriese wrote

It looks like the Sumatran woodcutter is not cutting any palms because the economy doesn't need logs.

Thank you Nordfriese. I see, this didn't come to my mind not at all.

I would suggest that this may be a design flaw in the Sumatrans tribe that should be fixed by also allowing the woodcutter to cut palms if palm leaves are needed by the economy. At least this should be considered.
Nor is this specialised or non-standard behaviour, without an introductory campaign explaining how to structure the Sumatran economy properly and avoid common pitfalls there is no such thing as a non-standard way to play them.

The woodcutter's behaviour is explained in the encyclopedia. I agree I should change the condition. A new version 2.0.5 is coming soon with Market, I'll add this change too.

@ Teayo another issue is, that you are playing Sumatrans on White Summer map again. But you still didn't learn how the terrain works. The thermal springs don't work because the building doesn't affect clearings, only meadows, and I already explained this to you while replying to your previous post in this topic. You should expand to the meadow asap, transform the meadow and grow your palms there.

This info about terraform is not in encyclopedia. It should probably be there automaticly also for Amazons. In the help text to thermal springs, I didn't mention this, because the WS terrains are not official terrains so I was not sure whether to write it there or not. But I'll write it there in the new add-on version too. It would be better to have a campaign for explaining this but who knows if there will be any campaign any time soon.

Edited: 2025-06-02, 21:18 UTC+2.0

Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 338
Ranking
Tribe Member
Location: Czech
Posted at: 2025-06-03, 22:33 UTC+2.0

I've added the market to Sumatrans too. It works, I am just not sure whether the solution I've chosen is the best one. I duplicated the script in the units file so it looks like this now:

... if get_build_id():find("1.2") == nil then

wl.Descriptions():new_tribe { -- tribe with market },

else

wl.Descriptions():new_tribe { -- tribe without market },

end ...

I am not sure what will this cause in Transifex. Will it duplicate all the strings or does Transifex recognise the strings as duplicates automatically?

Another issue, I still don't know how to formulate a condition "if this add-on is installed and active then". The add-on in this condition should be lutas_atlanteans.wad, so I tried something like:

if wl.Game():immovable_exists("lutas_atlanteans_shipconstruction") ) then

or

if pcall (wl.Game():immovable_exists("lutas_atlanteans_shipconstruction") ) then

but it seems not to work.


Top Quote
tothxa
Avatar
Joined: 2021-03-24, 12:44 UTC+1.0
Posts: 572
OS: antiX / Debian
Version: some new PR I'm testing
Ranking
One Elder of Players
Posted at: 2025-06-03, 23:29 UTC+2.0

I'm not sure, but since it looks like you have to pass a lua table to wl:Descriptions():new_tribe(), you may be able to do

tribedescr = { -- tribe without market }

if not get_build_id():find("1.2") == nil then
  table.insert(tribedescr, { -- market info })
end

wl.Descriptions():new_tribe(tribedescr)

As for duplicate strings, don't worry, xgettext makes sure that identical strings are only included once in the .po file.


Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 338
Ranking
Tribe Member
Location: Czech
Posted at: 2025-06-05, 20:14 UTC+2.0

A new version 2.0.5 was uploaded today. The main changes are:

• the tribe has a market

• woodcutters cut down palm trees also when palm leaves are needed

• thermal springs have smaller working area (7 instead of 8) and are more efficient

Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 338
Ranking
Tribe Member
Location: Czech
Posted at: 2026-01-11, 18:55 UTC+1.0

Sumatrans finally managed to build their own HQ. So a new version 2.0.6 of the tribe add-on has been uploaded. Crocodile hunters for other tribes are cheaper, soldier statistic of military sites are translated and some superfluous stone was removed from poor hamlet without rocks. There is still one stone more than actually needed, but it should be hard enough.

A new version 2.0.4 of the world add-on is uploaded too. There only icons of trees were changed.


Top Quote
waldecker
Avatar
Joined: 2020-05-31, 21:15 UTC+2.0
Posts: 127
OS: Ubuntu 24.04.4
Version: 1.4
Ranking
At home in WL-forums
Location: Waldeck
Posted at: 2026-01-13, 19:14 UTC+1.0

Hi OIPUN,

first I want to thank you for creating the Sumatrans Tribe, I like to play it very much.

What I find disturbing is that it is impossible to play the tribe on your map "Tropical Sumatra" due to the fact that the planted palms and trees do not grow to the point of harvesting on the types of ground used on the map. And even the Thermal Springs do not change that. Will that be changed in one of the next versions?

Edited: 2026-01-13, 19:15 UTC+1.0

Attachment: image/png
2026-01-13_19-13.png

Yesterday I stood before an abyss, today I'm one step further

Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 338
Ranking
Tribe Member
Location: Czech
Posted at: 2026-01-13, 21:33 UTC+1.0

waldecker wrote

What I find disturbing is that it is impossible to play the tribe on your map "Tropical Sumatra" due to the fact that the planted palms and trees do not grow to the point of harvesting on the types of ground used on the map. And even the Thermal Springs do not change that. Will that be changed in one of the next versions?

Unfortunately, "tropics.wad" is not my add-on. I wrote a message to the author a year ago, but it seems, that he is not interested in creating content any more. Sorry for that.

I attach my own last unofficial version of this add-on, which I am using right now, when I want to play Amazons or Sumatrans on tropical maps.


Attachment: application/x-zip-compressed
tropics_203.wad.zip (536.4 KB)

Top Quote
waldecker
Avatar
Joined: 2020-05-31, 21:15 UTC+2.0
Posts: 127
OS: Ubuntu 24.04.4
Version: 1.4
Ranking
At home in WL-forums
Location: Waldeck
Posted at: 2026-01-14, 10:33 UTC+1.0

OIPUN wrote

I attach my own last unofficial version of this add-on, which I am using right now, when I want to play Amazons or Sumatrans on tropical maps.

Thanks for the Add-on, but it seams not to work. Is there a specific order for the Add-ons? Or are there contradictions?

Edited: 2026-01-14, 11:24 UTC+1.0

Attachment: image/png
2026-01-14_10-20.png

Yesterday I stood before an abyss, today I'm one step further

Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 338
Ranking
Tribe Member
Location: Czech
Posted at: 2026-01-14, 22:38 UTC+1.0

Without you giving more information, I can't really help. I tried to move the add-on order, I tried to use version 1.2.1 instead of 1.3, I tried to deactivate some add-ons I use and you probably don't, nothing, always works for me. I think the problem will be on your side and without having more information, I have no idea what might cause any problems. You can give more details. Or the only thing that comes into my mind is that you are using some other add-ons that I don't use.


Top Quote
waldecker
Avatar
Joined: 2020-05-31, 21:15 UTC+2.0
Posts: 127
OS: Ubuntu 24.04.4
Version: 1.4
Ranking
At home in WL-forums
Location: Waldeck
Posted at: 2026-01-15, 16:09 UTC+1.0

What kind of information do you need? I've attached a replay, hope that helps.


Attachment: application/octet-stream
2026-01-15T15.45.27_single_player.wry (1.2 MB)

Yesterday I stood before an abyss, today I'm one step further

Top Quote