Page 4 of 6
Re: Changes in what a 3.3 ruleset can do
Posted: Tue Jun 04, 2024 11:32 am
by Alien Valkyrie
Added new requirement type
MaxRegionTiles to count tiles that are part of the same region (continent or ocean).
RM #629,
RM #652
This requirement checks the number of tiles in the given range that are part of the same region as the target tile. This allows detecting smaller islands and lakes (when used at full
Continent range) as well as straits/bays/peninsulas (when used at
Adjacent or
CAdjacent range).
Re: Changes in what a 3.3 ruleset can do
Posted: Tue Jun 04, 2024 3:50 pm
by Alien Valkyrie
Added new requirement type
TileRel to check the relationship between two tiles.
RM #614,
RM #654,
RM #678
This is only available in the same places
MaxDistanceSq (
see above) is available. Current possible values are primarily about the tiles' continents/oceans.
Re: Changes in what a 3.3 ruleset can do
Posted: Tue Jun 04, 2024 6:38 pm
by Alien Valkyrie
Moved national border claiming rules to the ruleset.
RM #588
New
Tile_Claimable effect controls whether a border source can claim a target tile. The
Claim_Ocean and
Claim_Ocean_Limited tech flags have been removed / turned into user flags (increasing the maximum number of user tech flags by 2).
Re: Changes in what a 3.3 ruleset can do
Posted: Sat Aug 24, 2024 9:47 am
by cazfi
New scripting API signal
unit_transferred.
osdn #44888
Re: Changes in what a 3.3 ruleset can do
Posted: Sun Aug 25, 2024 7:21 pm
by cazfi
New
Veteran_Work effect. Same as Veteran_Combat, but for veterancy from working.
osdn #43186
Re: Changes in what a 3.3 ruleset can do
Posted: Sun Sep 08, 2024 1:21 am
by cazfi
Lua method
edit.change_city_size() added.
osdn #44230
Re: Changes in what a 3.3 ruleset can do
Posted: Thu Sep 19, 2024 2:45 pm
by cazfi
Lua method
City:nationality_citizens() to get number of citizens of a given nationality added.
RM #844
Re: Changes in what a 3.3 ruleset can do
Posted: Sat Sep 21, 2024 8:56 pm
by cazfi
Lua method
edit.city_create() added. Compared to old, and now deprecated, edit.create_city() this has capability to set nationality of the initial citizen of the city.
osdn #44627
Re: Changes in what a 3.3 ruleset can do
Posted: Thu Sep 26, 2024 4:41 pm
by cazfi
Lua methods
edit.change_citizen_nationality() and
City:change_nationality() added.
RM #856
Re: Changes in what a 3.3 ruleset can do
Posted: Sat Sep 28, 2024 4:47 pm
by cazfi
Lua method
Player:tag_score() for querying score with specific tag added.
RM #859
Tags are same ones as in scorelog, e.g., "cities", "munits", "landarea", "mfg", "literacy".