[Freeciv-Dev] [patch #4724] Enable disjunctive requirements vectors
Follow-up Comment #3, patch #4724 (project freeciv): Both the AI and help use similar constructions to untangle requirements: one of the sensible prerequsites of this patch would be to generalise these calls such that the calling modules are asking sensible questions (e.g. What must happen to construct this unit? What value does this technology provide?, etc.). Flags help some, and being able to construct arbitrary numbers of similar effects helps some, but there's still some things that are impossible without disjunction: the example I often consider is this improvement may be built with an adjacent mountain or river (which I believe was once the default for Hydro Plant). ___ Reply to this item at: http://gna.org/patch/?4724 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #4724] Enable disjunctive requirements vectors
Follow-up Comment #2, patch #4724 (project freeciv): This seems like a place to note that we're currently managing without full disjunctive requirements in some cases by using user flags (in unit types, terrains, and technologies); these let rulesets put in effect tech X or tech Y or tech Z into expressions. We keep running into places where full disjunctive requirements would be useful, but I'm worried that they will make it very hard for AI and help generation to navigate requirement expressions. ___ Reply to this item at: http://gna.org/patch/?4724 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #4724] Enable disjunctive requirements vectors
URL: http://gna.org/patch/?4724 Summary: Enable disjunctive requirements vectors Project: Freeciv Submitted by: persia Submitted on: Tue 27 May 2014 04:14:29 AM JST Category: rulesets Priority: 5 - Normal Status: Need Info Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.7.0 ___ Details: As this has been mentioned in a variety of patches and bugs, and there has been discussion confirming this should not be included in 2.6 (as it's too invasive, considering the number of other requirements-related changes there), I thought I may as well give this a patch number to consolidate discussion, and post a WIP patch of one possible implementation. Comments on the style of the implementation are welcome: perhaps there's another strategy that would be much better. Note that testing this as-is requires massive edits to the rulesets (not included in the patch): this is a bug in the patch related to my discomfort with the label restrictions (using arbitrarily bounded integers feels wrong, but a more complicated structure is more complicated, and I haven't decided which I like better). Other issues described in the patch header. ___ File Attachments: --- Date: Tue 27 May 2014 04:14:30 AM JST Name: disjunctive-requirements-wip-1.patch Size: 14kB By: persia http://gna.org/patch/download.php?file_id=20815 ___ Reply to this item at: http://gna.org/patch/?4724 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #4724] Enable disjunctive requirements vectors
Update of patch #4724 (project freeciv): Planned Release: 2.7.0 = 3.0.0 ___ Follow-up Comment #1: We've decided that release after 2.6 will be 3.0 ___ Reply to this item at: http://gna.org/patch/?4724 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev