[Freeciv-Dev] patch: split up F_SUBMARINE (PR#347)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The unit flag F_SUBMARINE currently incorporates several effects.
For alternate rulesets it may be useful to have these effects
separately, so this patch splits F_SUBMARINE into:
F_SUBMARINE_INVIS - invisibility effect (usefulness reduced by fog,
but still some effect vs cities and visibility-2 units);
F_MISSILE_CARRIER - transport_capacity is for F_MISSILE units only;
F_NO_LAND_ATTACK - cannot attack vs land (no shore bombardment).
This patch makes a reasonable attempt at backward compatibility
(non-mandatory cap str) including reading old ruleset files.
(It fails (only in minor ways?) for non-standard rulesets using
new flags above -- too bad, we'll probably have another +cap
soon enough anyway.)
Description: GNU Zip compressed data
- [Freeciv-Dev] patch: split up F_SUBMARINE (PR#347),
David Pfitzner <=