Latest Posts

Topic: How can I give a player wares periodically?

PkK

Topic Opener
Joined: 2012-01-06, 12:19
Posts: 236
Ranking
Widelands-Forum-Junkie
Posted at: 2016-02-04, 14:19

To help select AI players, I'd like to create a custom starting condition that periodically gives some goods to the player when the stock in the headquarter is low. I'd like to do this for the current development version of widelands. I had done this for the previous release before, but was so far unable to port it to the current development version.

Philipp


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-02-04, 15:27

Let's continue the discussion in https://wl.widelands.org/forum/topic/1925/ so we won't cross wires


Busy indexing nil values

Top Quote
PkK

Topic Opener
Joined: 2012-01-06, 12:19
Posts: 236
Ranking
Widelands-Forum-Junkie
Posted at: 2016-02-04, 15:29

GunChleoc wrote:

Let's continue the discussion in https://wl.widelands.org/forum/topic/1925/ so we won't cross wires

Well, the discussion there was originally about how to add a starting condition, which is now working for me. However, the periodic giving of wares is not working yet; it seemed a sufficiently different issue to me.

Philipp


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-02-04, 16:46

We were already discussing it in the other thread though - unfortunately, we can't split posts off into new topics.


Busy indexing nil values

Top Quote