Let the ruleset exclude units from autoattack.
commit07f6da2a2c95ebb9dae8344ef8f3a49b389ed41e
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Sat, 29 Oct 2016 17:54:17 +0000 (29 17:54 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Sat, 29 Oct 2016 17:54:17 +0000 (29 17:54 +0000)
treef815b23da3a0680c28866894548edd95962ad97e
parent0068a01084eb8767bc516cdfb289afbda4659c12
Let the ruleset exclude units from autoattack.

Let the ruleset specify one or more unit type flags that prevents a unit
from autoattacking. Remove the hard coding that stops all unit types that in
theory may become able to perform the "Explode Nuclear" action from auto
attacking.

Have the bundled rulesets can go back to using the "Nuclear" utype flag like
2.6 hard coded. Do the same to upgraded rulesets.

See bug #25233

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@34289 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
16 files changed:
common/actions.h
common/fc_types.h
data/alien/game.ruleset
data/civ1/game.ruleset
data/civ2/game.ruleset
data/civ2civ3/game.ruleset
data/classic/game.ruleset
data/experimental/game.ruleset
data/multiplayer/game.ruleset
data/sandbox/game.ruleset
data/stub/game.ruleset
data/webperimental/game.ruleset
server/rscompat.c
server/ruleset.c
server/unittools.c
tools/ruleutil/rulesave.c