Postęp game

Various topics about the game, the website, or anything else Freeciv related that doesn't fit elsewhere.
Lachu
Elite
Posts: 328
Joined: Sat May 04, 2013 2:19 pm

Re: Postęp game

Postby Lachu » Sat Sep 22, 2018 5:21 pm

Also we can use something like that (in requirements list):

Code: Select all

"CounterToNextOperation", "A", "Player"
"CounterToNextOperation", "B", "Player"
"Substract", "0", "Params(2)"

Lachu
Elite
Posts: 328
Joined: Sat May 04, 2013 2:19 pm

Re: Postęp game

Postby Lachu » Wed Oct 17, 2018 6:17 pm

Effect counters are worked. It's very late, because it only worked on Flatpak build and on my host system was some errors. I removed error and game worked on my host system, so I updated source code.

Progress1 ruleset already use counters to provide golden age mechanism. Each turn you have palace built (so your people are happy), one counter increases. When it is bigger than some other counter, golden age start. Additionally, points required for next golden age increases on each golden age acquired.

Also, I implemented custom_multiplier. Custom_multiplier is multiplier from req list, so it can be any integer value we can access from req list. In future I will add more values, but at now you can access only counters.

I will now implement civic lock, so game could behaves like CivV - when selecting civic, you cannot change it and you can select new civic once you acquired some culture points.

I still waiting for your suggestions and help.

Lachu
Elite
Posts: 328
Joined: Sat May 04, 2013 2:19 pm

Re: Postęp game

Postby Lachu » Thu Oct 18, 2018 9:48 am

I have uploaded new flatpak version. It's compatible with newer flatpak version, so I think you can try to play with it.