Author: sveinung
Date: Fri May 19 12:38:24 2017
New Revision: 35659

URL: http://svn.gna.org/viewcvs/freeciv?rev=35659&view=rev
Log:
Split the action "Suitcase Nuke".

Stop relying on the Spy unit type flag to decide if the "Suitcase Nuke"
action consumes the actor unit. Split the new action "Suitcase Nuke Escape"
from "Suitcase Nuke". The former will have its actor try to escape. The
latter will always consume the actor unit.

This makes it possible to create a ruleset where all actor units, including
those with the Spy utype flag, are consumed when suitcase nuking a city. It
makes the opposite (everyone, including non Spy units, escapes) possible
too. It also makes more complex rules, like "only veterans has a chance of
escaping after placing the suitcase", possible.

See hrm Feature #661654

Modified:
    branches/S3_0/ai/default/aicity.c
    branches/S3_0/ai/default/aidata.c
    branches/S3_0/ai/default/aidiplomat.c
    branches/S3_0/client/gui-gtk-2.0/action_dialog.c
    branches/S3_0/client/gui-gtk-3.0/action_dialog.c
    branches/S3_0/client/gui-gtk-3.22/action_dialog.c
    branches/S3_0/client/gui-qt/dialogs.cpp
    branches/S3_0/client/gui-sdl2/action_dialog.c
    branches/S3_0/client/helpdata.c
    branches/S3_0/client/packhand.c
    branches/S3_0/common/actions.c
    branches/S3_0/common/actions.h
    branches/S3_0/common/aicore/pf_tools.c
    branches/S3_0/common/unittype.c
    branches/S3_0/data/civ2/effects.ruleset
    branches/S3_0/data/civ2/game.ruleset
    branches/S3_0/data/webperimental/effects.ruleset
    branches/S3_0/data/webperimental/game.ruleset
    branches/S3_0/doc/README.actions
    branches/S3_0/doc/README.effects
    branches/S3_0/fc_version
    branches/S3_0/server/actiontools.c
    branches/S3_0/server/advisors/advdata.c
    branches/S3_0/server/ruleset.c
    branches/S3_0/server/savegame3.c
    branches/S3_0/server/unithand.c
    branches/S3_0/tools/ruleutil/rulesave.c

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: branches/S3_0/ai/default/aicity.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/ai/default/aicity.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/ai/default/aidata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/ai/default/aidata.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/ai/default/aidiplomat.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/ai/default/aidiplomat.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/gui-gtk-2.0/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/gui-gtk-2.0/action_dialog.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/gui-gtk-3.0/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/gui-gtk-3.0/action_dialog.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/gui-gtk-3.22/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/gui-gtk-3.22/action_dialog.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/gui-qt/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/gui-qt/dialogs.cpp?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/gui-sdl2/action_dialog.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/gui-sdl2/action_dialog.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/helpdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/helpdata.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/client/packhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/client/packhand.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/common/actions.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/common/actions.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/common/actions.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/common/actions.h?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/common/aicore/pf_tools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/common/aicore/pf_tools.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/common/unittype.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/common/unittype.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/data/civ2/effects.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/data/civ2/effects.ruleset?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/data/civ2/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/data/civ2/game.ruleset?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/data/webperimental/effects.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/data/webperimental/effects.ruleset?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/data/webperimental/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/data/webperimental/game.ruleset?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/doc/README.actions
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/doc/README.actions?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/doc/README.effects
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/doc/README.effects?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/fc_version
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/fc_version?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/server/actiontools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/actiontools.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/server/advisors/advdata.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/advisors/advdata.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/server/ruleset.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/ruleset.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/server/savegame3.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/savegame3.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/unithand.c?rev=35659&r1=35658&r2=35659&view=diff

Modified: branches/S3_0/tools/ruleutil/rulesave.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/tools/ruleutil/rulesave.c?rev=35659&r1=35658&r2=35659&view=diff


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to