alien: Requirement {Local UnitClassFlag HutFrighten} mentions HutFrighten but it will never be there
This is more than a ruleset error. It seems that the engine allows no correct way. Either we have the requirement and get that warning, or we don't have the requirement and get error:
1: All action enablers for Paradrop Unit Enter must require that the actor unit doesn't have the HutFrighten unit class flag.
This affects many rulesets, and thus causes a lot of spam in my autogame testing logs. Do we have any idea what should be done with this?
Reply To cazfi
This affects many rulesets, and thus causes a lot of spam in my autogame testing logs. Do we have any idea what should be done with this?
Sveinung? Do you think we can have some resolution to this before S3_1-alpha1?
Reply To cazfi
This affects many rulesets, and thus causes a lot of spam in my autogame testing logs.
Patch for alien and civ1 attached.
Do we have any idea what should be done with this?
Patch depends on #42095 that considers an obligatory hard requirement alternative fulfilled if a universal that never is there is required to be absent
Thank you. That is one obstacle less for 3.1.
Seen on S3_1 autogame logs (autoalien.serv sets alien ruleset to use):
1: - 2021/03/26 00:56:10 in read_init_script_real() [../../src/server/stdinhand.c::1208]: Loading script file '/work/freeciv/fc_test/autogames/autoalien.serv'.
2: - 2021/03/26 00:56:10 in do_log_deprecation() [../../src/utility/deprecations.c::65]: Requirement {Local UnitClassFlag HutFrighten} mentions HutFrighten but it will never be there.