Topic: Sumatrans Tribe

Nick222

Joined: 2010-05-06, 07:51 UTC+2.0
Posts: 26
Ranking
Pry about Widelands
Posted at: 2025-04-10, 21:00 UTC+2.0

Is it possible to add a few coppers to the initial conditions of this tribe - so that it would be possible to build a port? Otherwise, it is impossible to play on some maps - while there are no such problems when playing for other tribes.


Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 280
Ranking
Tribe Member
Location: Czech
Posted at: 2025-04-10, 21:28 UTC+2.0

Nick222 wrote

Is it possible to add a few coppers to the initial conditions of this tribe - so that it would be possible to build a port? Otherwise, it is impossible to play on some maps - while there are no such problems when playing for other tribes.

You probably overlooked the copper ore. I think the balance is fine. Sumatran HQ has 4 x gold (as all other tribes have), 4 x copper ore and 12 x coal. Which mean that you can start building a port right away at the beginning of a game you just have to build a furnace too. To build a furnace you need 4:30, to build a port you need 10:30. So before the builder will need copper, he should have it and you will also have everything to start a new expedition immediately. You will just not have any gold and copper left but as for other tribes, the situation is exactly the same.


Top Quote
Nick222

Joined: 2010-05-06, 07:51 UTC+2.0
Posts: 26
Ranking
Pry about Widelands
Posted at: 2025-04-11, 21:06 UTC+2.0

OK face-smile.png

Is it possible to make it so that raw diamonds can be mined not only in stone mines, but also in other types of mines (albeit in smaller volumes)? On some maps, the game reaches a dead end, because it is simply impossible to quickly get to the stone deposits (for example https://www.widelands.org/maps/colonies-in-the-ice/ ).


Top Quote
OIPUN
Avatar
Topic Opener
Joined: 2020-11-17, 09:34 UTC+1.0
Posts: 280
Ranking
Tribe Member
Location: Czech
Posted at: 2025-04-11, 23:00 UTC+2.0

*Nick222 wrote:

OK face-smile.png

Is it possible to make it so that raw diamonds can be mined not only in stone mines, but also in other types of mines (albeit in smaller volumes)? On some maps, the game reaches a dead end, because it is simply impossible to quickly get to the stone deposits (for example https://www.widelands.org/maps/colonies-in-the-ice/ ).

Did you read the comment to the map? It looks like Sumatrans are not the only tribe, that have hard times on this map. For smaller volumes of diamonds, you should use empty stone mines. That's how the game works. Your next request will be what? Stonecutters should cut small amount of fishes out of rocks? face-smile.png Thank you for playing the tribe anyway. face-smile.png

Edited: 2025-04-11, 23:01 UTC+2.0

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07 UTC+1.0
Posts: 2135
OS: Debian Testing
Version: Latest master
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2025-04-25, 21:18 UTC+2.0

I have not been following this closely, I just wanted to mention that the latest versions of the Sumatrans add-ons generate are a few warnings:

Unused table entries

[00:00:05.159 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.161 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.164 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.177 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.179 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.181 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.196 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.198 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:05.200 real] WARNING: Unused key "species" in LuaTable. Please report as a bug.
[00:00:07.656 real] WARNING: Unused key "1" in LuaTable. Please report as a bug.
[00:00:08.064 real] WARNING: Unused key "ship_names" in LuaTable. Please report as a bug.

Textdomains

(Make sure push_textdomain is always called with the true argument)

[00:00:05.331 real] WARNING: Textdomain directory .../data/i18n/translations/sumatran_world.wad does not exist

Helptexts table

[00:00:07.656 real] WARNING: Wrong helptext data type for 'cloth', category '1'. Expecting a table or a string.

Fastplace bindings

[00:00:08.064 real] WARNING: fastplace: tribe sumatrans does not use building 'sumatran_cassava_fiels'

AI hints

[00:00:07.823 real] WARNING: sumatran_palm_planters_hut: The 'supports_production_of' key in 'ai_hints' is no longer used
[00:00:07.825 real] WARNING: sumatran_jungle_preservers_hut: The 'supports_production_of' key in 'ai_hints' is no longer used
[00:00:07.840 real] WARNING: sumatran_thermal_springs: The 'supports_production_of' key in 'ai_hints' is no longer used
[00:00:07.917 real] WARNING: sumatran_cassava_fields: The 'supports_production_of' key in 'ai_hints' is no longer used
[00:00:07.919 real] WARNING: sumatran_cassava_plantation: The 'supports_production_of' key in 'ai_hints' is no longer used
[00:00:07.940 real] WARNING: sumatran_jungle_marsh: The 'supports_production_of' key in 'ai_hints' is no longer used
[00:00:07.655 real] WARNING: Preciousness of 80 is a bit high for ware/worker 'log' and tribe 'sumatrans'. We recommend not going over 50.
[00:00:07.658 real] WARNING: Preciousness of 150 is a bit high for ware/worker 'crocodile_skin' and tribe 'sumatrans'. We recommend not going over 50.
[00:00:07.660 real] WARNING: Preciousness of 200 is a bit high for ware/worker 'fish' and tribe 'sumatrans'. We recommend not going over 50.
[00:00:07.660 real] WARNING: Preciousness of 200 is a bit high for ware/worker 'meat' and tribe 'sumatrans'. We recommend not going over 50.
[00:00:07.792 real] WARNING: Preciousness of 200 is a bit high for ware/worker 'sumatran_soldier' and tribe 'sumatrans'. We recommend not going over 50.

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

I cleaned the script, except the preciousness (I am not going to change and optimise the AI again, maybe later I can try, but probably only when there will be a new better AI in the future) and the "used key 1" (I couldn't find anything like that in my add-ons and I don't get this type of warning, while using the add-ons, so it may be related to something else than my add-ons?). I can upload the update but I want to make one more change and I don't know how to do that. I want to add a crocodile hunter's house for Lutas' Atlanteans, but I need to define a condition that this building should be active only when the Atlantean add-on is installed and active too, could I use this type of condition? And how should I formulate it?


Top Quote