Quantcast
Channel: forum.freeciv.org
Viewing all articles
Browse latest Browse all 411

Wishlist • Re: OR condition for requirement vectors (was possible with nreqs, but not any more)

$
0
0
It was theoretically NOT possible with nreqs to make an OR-vector sich that you can't achieve an equivalent effect in reqs (provided that you don't bump into vector length limit):

!(a || b || c) <=> !a && !b && !c

If I recall it right, nreqs are innerly stored in reqs since the version when individual req negation was implemented.

For the building or unit problem, a long while ago city-performed action concept was proposed, when you can have multiple enablers for "Build Unit" or "Build Improvement" actions.

Statistics: Posted by Ignatus — Sat Jul 20, 2024 6:33 pm



Viewing all articles
Browse latest Browse all 411

Trending Articles