Search found 517 matches

by Alien Valkyrie
Tue Jun 04, 2024 6:38 pm
Forum: Rulesets and modpacks
Topic: Changes in what a 3.3 ruleset can do
Replies: 32
Views: 81882

Re: Changes in what a 3.3 ruleset can do

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).
by Alien Valkyrie
Tue Jun 04, 2024 3:50 pm
Forum: Rulesets and modpacks
Topic: Changes in what a 3.3 ruleset can do
Replies: 32
Views: 81882

Re: Changes in what a 3.3 ruleset can do

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.
by Alien Valkyrie
Tue Jun 04, 2024 11:32 am
Forum: Rulesets and modpacks
Topic: Changes in what a 3.3 ruleset can do
Replies: 32
Views: 81882

Re: Changes in what a 3.3 ruleset can do

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 ...
by Alien Valkyrie
Tue Jun 04, 2024 10:51 am
Forum: Rulesets and modpacks
Topic: Changes in what a 3.3 ruleset can do
Replies: 32
Views: 81882

Re: Changes in what a 3.3 ruleset can do

Added new requirement type MaxDistanceSq to check the (squared) distance between tiles. RM #616 This is only available in contexts where there are two separate relevant tiles: primarily action enablers, but also (at time of writing) the Trade_Revenue_Bonus (source and destination), Unit_Bribe_Cost_P...
by Alien Valkyrie
Mon May 06, 2024 5:43 am
Forum: Rulesets and modpacks
Topic: Changes in what a 3.3 ruleset can do
Replies: 32
Views: 81882

Re: Changes in what a 3.3 ruleset can do

Removed limit on requirement vector length. RM #541

Note that at some point beyond a couple hundred requirements in one place, you will run into issues transmitting ruleset data to the client as individual packets get too large. I don't expect this to ever happen in practice.
by Alien Valkyrie
Sun Oct 15, 2023 11:47 am
Forum: Wishlist
Topic: Lua map generators
Replies: 4
Views: 8337

Re: Lua map generators

A better solution would be actually replacing specific parts of map generation procedure with custom parts (e.g., define callbacks for creating or postprocessing height map, for selecting terrains etc.) with an ability to use binary functions for other parts. I'd be wary of things like that — anyth...
by Alien Valkyrie
Mon Mar 01, 2021 7:06 pm
Forum: Rulesets and modpacks
Topic: Should ruleup clean up the ruleset by default?
Replies: 3
Views: 4896

Re: Should ruleup clean up the ruleset by default?

I figure going dirty by default would probably be the safer route – unused items from before the upgrade might have been there for a reason.
by Alien Valkyrie
Thu Feb 25, 2021 11:36 pm
Forum: Contribution
Topic: Year fragments and the Space Race
Replies: 3
Views: 4763

Re: Year fragments and the Space Race

I just noticed there's a two-and-a-half-year-old ticket by JTN on this topic that I hadn't noticed when starting this thread – the same issue I brought up above regarding the assumption that all year fragments are of uniform length is mentioned there as well. Now, one thing we could do is give rules...
by Alien Valkyrie
Thu Feb 25, 2021 4:59 pm
Forum: Wishlist
Topic: Obligatory hard action requirements you want dropped
Replies: 9
Views: 11244

Re: Obligatory hard action requirements you want dropped

Paches welcome (from any reader)! Since I'm currently in the CanOccupyCity "area" mentally I would probably be quick to review them. If you use utype_can_do_action_result() in the 3.1 patches you won't delay generalized actions. Feel free to use utype_can_do_action() if you don't want to ...
by Alien Valkyrie
Mon Feb 22, 2021 11:21 pm
Forum: Wishlist
Topic: Obligatory hard action requirements you want dropped
Replies: 9
Views: 11244

Re: Obligatory hard action requirements you want dropped

All the ones I've found require at least some amount of effort (more than just five lines in the autohelp), and sometimes decisions on how something should be done. In ascending order of projected effort: Tl;dr: Some effort, some possible info leak. "Airlift Unit" requires the actor unit t...