Search found 5 matches

by arj.smn.cnt
Sat Jan 17, 2026 1:58 pm
Forum: Rulesets and modpacks
Topic: Techs - "or" conditional requirements
Replies: 0
Views: 7031

Techs - "or" conditional requirements

Hello all, I'm trying to simulate civ4 tech tree, where a certain Tech requires A and (B or C) Example: https://civilization.fandom.com/wiki/Pottery_(Civ4) I understand this is not possible yet, but are there any plans for this to be available on future releases? Currently i tried to simulate this b...
by arj.smn.cnt
Sat Jan 04, 2025 10:21 pm
Forum: Rulesets and modpacks
Topic: Checking if an resource is available on any road connected city
Replies: 3
Views: 43148

Re: Checking if an resource is available on any road connected city

Currently, it is not available as a normal game feature; I have tried to work on it but I am currently mostly out of the project. Well, you will need to write in Lua some pathfinder to detect what city is connected to what, there are such algorithms on the web. Then you can place some special extra...
by arj.smn.cnt
Thu Dec 26, 2024 12:04 pm
Forum: Rulesets and modpacks
Topic: Checking if an resource is available on any road connected city
Replies: 3
Views: 43148

Checking if an resource is available on any road connected city

Hello. I'm trying to simulate the civ3 or civ4 "if the resource is present on any one of my cities connected by a road to city X, then city X also have that resource available". I don't seem to find that it is possible on effects.ruleset. I checked https://freeciv.fandom.com/wiki/Editing_E...
by arj.smn.cnt
Sat Nov 23, 2024 9:42 pm
Forum: Rulesets and modpacks
Topic: Ruleset editing: unit availability according to city resources
Replies: 2
Views: 17049

Re: Ruleset editing: unit availability according to city resources

cazfi wrote: Sat Nov 23, 2024 7:34 pm Coming in freeciv-3.2.

https://www.freeciv.org/wiki/NEWS-3.2.0 : "Units now have support for full requirement vector, instead of having just one tech, building, and government requirement"
That's great news! Thank you very much, cazfi.
by arj.smn.cnt
Sat Nov 23, 2024 1:55 pm
Forum: Rulesets and modpacks
Topic: Ruleset editing: unit availability according to city resources
Replies: 2
Views: 17049

Ruleset editing: unit availability according to city resources

Hello, I'm creating a ruleset loosely based on Civ4 and i have question related unit availability. According to units.ruleset, the unit requirement can only be defined by a tech (tech_req), by a building (impr_req) or by a government (gov_req). My question is if it is possible to define a specific u...