Latest Posts

Topic: Rework Atlantean Crystal Mine

teppo

Joined: 2012-01-30, 08:42
Posts: 423
Ranking
Tribe Member
Posted at: 2018-03-24, 13:48

WorldSavior wrote:

I think that it's a bug. Even without that bug, barbarian depleted mines would be much better than other depleted mines, and this bug makes it worse. So I don't think that it's a feature at the same time...

Before depletion, atlantean mines produce 1.67 iron for every mountain resource, while barbarians get 1.22 (unless barbarian has master miners at hand and enhances mines early). In addition, atlantean mines reach mountain areas that barbarians cannot use. The net result is that atlanteans get more stuff before the misery of depleted mines begins (on most maps, not all of course). Is that also a bug?


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 03:10
Posts: 2094
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-03-26, 20:33

teppo wrote:

WorldSavior wrote:

I think that it's a bug. Even without that bug, barbarian depleted mines would be much better than other depleted mines, and this bug makes it worse. So I don't think that it's a feature at the same time...

Before depletion, atlantean mines produce 1.67 iron for every mountain resource, while barbarians get 1.22 (unless barbarian has master miners at hand and enhances mines early).

Surprising! That is a bug, because it's not logical that additional resources can be extracted, depending on the tribe... Good job discovering it, teppo. In my opinion, it has high priority.

In addition, atlantean mines reach mountain areas that barbarians cannot use.

As I once said, that is rare... Or do you know many maps where it is the case? I know only some examples and there it doesn't really matter.

The net result is that atlanteans get more stuff before the misery of depleted mines begins (on most maps, not all of course). Is that also a bug?

I would like to add something to this argument: If barbarians want to get as much iron as possible, they can use only deepest iron mines. This is possible because they start with some master miners, and they can train more of them in granite and coal mines. And deepest iron mines seem to extract also 1.67 iron for every mountain resource.

And if you look at gold ore: Atlantean gold mines extract as much gold as they should, but barbarians can extract twice as much if they don't use surface gold mines (it doesn't matter if they then use deep or deeper gold mines).

Edited: 2018-03-26, 20:37

Wanted to save the world, then I got widetracked

Top Quote
teppo

Joined: 2012-01-30, 08:42
Posts: 423
Ranking
Tribe Member
Posted at: 2018-03-28, 18:46

WorldSavior wrote:

Surprising! That is a bug, because it's not logical that additional resources can be extracted, depending on the tribe... Good job discovering it, teppo. In my opinion, it has high priority.

Thanks.. This is a weird discussion. I still feel that the mines are simply different and no bugs remain. If you write a comprehensive bug report, maybe something happens.

.. on the other hand, I would like to fix the annoying bug of charcoal burners: They work whenever economy needs coal. IMO they should work always when economy does not need trunk. The player is allowed to put target level of trunk down to zero, if he really want an acute shortage of wood. Not everybody agrees that the current way is wrong, though face-sad.png


Top Quote
GunChleoc
Avatar
Topic Opener
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2018-03-28, 19:56

What happens though if you really need coal, but have e.g. a bunch of construction sites open? And your sawmills will also want logs, and your toolmaker, and your smokeries, so the economy will have need even with target set to 0. I think it might be easier to micromanage the inputs of the charcoal burners, with the logic staying as it is. Feel free to convince me otherwise though face-smile.png


Busy indexing nil values

Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 03:10
Posts: 2094
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2018-03-29, 10:09

teppo wrote:

WorldSavior wrote:

Surprising! That is a bug, because it's not logical that additional resources can be extracted, depending on the tribe... Good job discovering it, teppo. In my opinion, it has high priority.

Thanks..

You're welcome

This is a weird discussion.

Why?

I still feel that the mines are simply different and no bugs remain.

But somewhere it is told that most mines have got a 5% chance to find something when depleted, which is often not the case. And some coders overlooked that "produce ore:n" in .lua will not remove ores from the mountains, only the lines with "mine ore" do that (afaik. only on per "mine".). So: Additional ores can be extracted from the mountains, so the game is unnecessarily illogical, so it's a bug.

If you write a comprehensive bug report, maybe something happens.

Well... This discussion is a kind of comprehensive bug report face-wink.png

.. on the other hand, I would like to fix the annoying bug of charcoal burners: They work whenever economy needs coal.

Why shouldn't they?

IMO they should work always when economy does not need trunk.

Good point... In build18 it was like that, there was an economy setting of trunks, but unfortunately that feature had been deleted.

The player is allowed to put target level of trunk down to zero, if he really want an acute shortage of wood.

Not anymore since build19...

Not everybody agrees that the current way is wrong, though face-sad.png

I do. But not because burners are working too often, but too rarely face-tongue.png

GunChleoc wrote:

What happens though if you really need coal, but have e.g. a bunch of construction sites open? And your sawmills will also want logs, and your toolmaker, and your smokeries, so the economy will have need even with target set to 0. I think it might be easier to micromanage the inputs of the charcoal burners, with the logic staying as it is. Feel free to convince me otherwise though face-smile.png

I don't see any input micromanaging which would help after build18 face-wink.png


Wanted to save the world, then I got widetracked

Top Quote
GunChleoc
Avatar
Topic Opener
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2018-03-29, 10:38

WorldSavior wrote:

But somewhere it is told that most mines have got a 5% chance to find something when depleted, which is often not the case. And some coders overlooked that "produce ore:n" in .lua will not remove ores from the mountains, only the lines with "mine ore" do that (afaik. only on per "mine".). So: Additional ores can be extracted from the mountains, so the game is unnecessarily illogical, so it's a bug.

We have to keep "mine" and "produce" separate, because of the granite/marble/crystal mines.

If we change the ratio to be always 1:1, we will have to do a complete rebalancing, which has the potential of making things worse rather than better. Does it matter that it's "illogical" as long as it's balanced? I think not.

And how do we interpret the 5%? According to my intuition, the measuring rod should be in relation to what the mine would get if it wasn't depleted. The question is, where is the real bug - do we want to completely rewrite the code, or is it just a help text issue? People don't generally have a good intuition about percentages, so the impression that you get very little is fine enough for me at the moment.

GunChleoc wrote:

What happens though if you really need coal, but have e.g. a bunch of construction sites open? And your sawmills will also want logs, and your toolmaker, and your smokeries, so the economy will have need even with target set to 0. I think it might be easier to micromanage the inputs of the charcoal burners, with the logic staying as it is. Feel free to convince me otherwise though face-smile.png

I don't see any input micromanaging which would help after build18 face-wink.png

You can still set the input fo buildings for any ware you like, that hasn't changed. I was NOT talking about the economy settings here. The economy setting was removed on purpose to fix another bug.


Busy indexing nil values

Top Quote
teppo

Joined: 2012-01-30, 08:42
Posts: 423
Ranking
Tribe Member
Posted at: 2018-03-29, 17:31

GunChleoc wrote:

What happens though if you really need coal, but have e.g. a bunch of construction sites open? And your sawmills will also want logs, and your toolmaker, and your smokeries, so the economy will have need even with target set to 0.

In the situation described above, I would most likely lose the game regardless of what the coal burners do. And in vast majority cases, I would shut the burners down to let the important construction sites to finish and boot the economy to a sensible state. It is possible to imagine a corner case where the one piece of coal from the burner in a desperate wood shortage makes the day, but those cases are rare.

If coal burners would consume surpluses always, they would somewhat reduce the food consumption of coal mines and thus indirectly allow more iron/gold/etc to be produced. When there is a construction boom, they would stop working and thus let the wood to flow to construction sites. Bottom line is that in this way the burners would benefit their society regardless of the amount of wood in stock. Of course there are corner cases when another way is more efficient, but that is not a showstopper (micromanaging helps in desperate cases).

EDIT: In other words:

The example of yours demonstrates that wood is needed for many critical tasks. If player has many coal burners, those need micromanagement or else many things stop working right: It is a good thing to have some wood around. If coal burners are sensitive to amount of trunk instead of amount of coal, then this problem is diminished.

Coal can be mined or "burned". If the charcoal burner works when there is no immediate need of coal, then coal mines work less often and consume foodstuff less often (logic: economy needs coal less often if some is produced also when the user has the target amount, and coal mines only work when economy needs coal). Therefore, the player gets more iron (/gold/etc) with similar food production. Also coal mines deplete somewhat slower. Both are beneficial to the player. Having huge piles of wood at the warehouse is not usually that useful. If coal burners worked without need for coal, the risk of huge piles of coal accumulating into warehouses would still not be a big problem, considering the amount of consumption and the inefficiency of the burners. In addition, if the player really wants logpiles, he still can micromanage although I cannot really imagine doing this myself.

I think it might be easier to micromanage the inputs of the charcoal burners, with the logic staying as it is. Feel free to convince me otherwise though face-smile.png

If the coal mines would be sensitive to amount of coal and burners would be sensitive to amount of trunk, micromanagement would be needed less often. In the corner cases where the logic would not serve the player well, micromanaging around it would still be possible.

Edited: 2018-03-30, 07:01

Top Quote
GunChleoc
Avatar
Topic Opener
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2018-03-30, 07:59

That sounds like it might work. I'd like to hear opinions from others on this before we go ahead though.


Busy indexing nil values

Top Quote
Tibor

Joined: 2009-03-23, 22:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2018-03-30, 13:36

Do we have any productionsites that are sensitive to abundance of inputs, instead the necessity of output?


Top Quote
hessenfarmer
Avatar
Joined: 2014-12-11, 22:16
Posts: 2648
Ranking
One Elder of Players
Location: Bavaria
Posted at: 2018-03-30, 15:27

As far as I know no we don't.
As it is already complicated enough to improve the AI we should consider if this has any negative effects on AI
In my opinion if you build one or more coalburners you definitly need them cause coal is short anyway. in this case you would clearly build a lot of lumberjacks and forresters. Although I confess that I sometimes built some of them to burn down some logpiles.
I think widelands should not be to helpful to the player as the need for micromanagement is a big part of the fun for me.

Edited: 2018-03-30, 15:32

Top Quote