Page 14 of 15

Re: Changes in what a 3.1 ruleset can do

Posted: Sat Dec 11, 2021 10:04 pm
by cazfi
Lua Player object now has "government" property. osdn #43294

Re: Changes in what a 3.1 ruleset can do

Posted: Tue Dec 14, 2021 2:26 am
by cazfi
There's now lua signals emitted also after an action finishes, with access to the final result. hrm #817749

The downside compared to signals emitted at action start time is that actor and/or target no longer be available, if the action destroyed them.

Re: Changes in what a 3.1 ruleset can do

Posted: Sun Dec 19, 2021 4:21 pm
by cazfi
Added featured text link creation utilities. osdn #43343

Unit:link_text(), Unit:tile_link_text(), City:link_text(), and City:tile_link_text() methods can be used to create featured text link fragments to messages sent to the client.

Re: Changes in what a 3.1 ruleset can do

Posted: Wed Dec 29, 2021 2:51 pm
by cazfi
Lua script can construct "out of fuel" message any way it wants. default.lua has the default implementation. osdn #43341

Re: Changes in what a 3.1 ruleset can do

Posted: Mon Jan 03, 2022 9:08 pm
by cazfi
Reduced firepower in special cases is now ruleset controlled. Previously it was always considered to be 1. osdn #43041

Re: Changes in what a 3.1 ruleset can do

Posted: Sun Jan 09, 2022 1:19 pm
by cazfi
Added unit type setting determining if a unit can be selected as the defender when it's being transported. hrm #848689

This still allows only either totally blocking unit from defending while transported, or the old hardcoded behavior that transported unit can defend if it would be able to leave the transport to do so (native terrain etc). Future version might add more choices for the setting.

Re: Changes in what a 3.1 ruleset can do

Posted: Wed Jan 19, 2022 9:50 pm
by cazfi
Lua finder methods for Achievements and Disasters added. osdn #43594

Re: Changes in what a 3.1 ruleset can do

Posted: Sat Feb 05, 2022 4:15 pm
by cazfi
Lua find.player(name) method added. osdn #43705

Re: Changes in what a 3.1 ruleset can do

Posted: Wed Feb 09, 2022 11:12 pm
by cazfi
Added lua APIs to do unit upgrades. osdn #42666

Re: Changes in what a 3.1 ruleset can do

Posted: Sat Feb 12, 2022 11:05 pm
by cazfi
New lua signals are now emitted for player phase begin and end. osdn #42663