Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #859809 ยป 0008-sandbox-demonstrate-Spy-Attack.patch

Sveinung Kvilhaugsvik, 2020-02-12 01:06 PM

View differences:

data/sandbox/README.sandbox
Map Stealing:
Spies can steal other player's world map
Spy elimination:
A Spy can eliminate non allied spies and diplomats out in the open without
also trying to perform any other action.
Border Vision:
Border Vision is gained mid-game once Electricity is known
data/sandbox/effects.ruleset
"DiplRel", "War", "Local", FALSE
}
[effect_incident_success_spy_attack]
type = "Casus_Belli_Success"
value = 1
reqs =
{ "type", "name", "range", "present"
"Action", "Spy Attack", "Local", TRUE
"DiplRel", "War", "Local", FALSE
}
[effect_incident_success_incite]
type = "Casus_Belli_Success"
value = 1
data/sandbox/game.ruleset
; /* TRANS: _Embark (100% chance of success). */
ui_name_transport_embark = _("%sEmbark%s")
; /* TRANS: Eliminate _Spy (100% chance of success). */
ui_name_spy_attack = _("Eliminate %sSpy%s")
; Blank ruleset defined user actions.
; See the section "Ruleset defined actions" is doc/README.actions
......
"MinHitPoints", "2", "Local", TRUE
}
[actionenabler_eliminate_spy]
action = "Spy Attack"
actor_reqs =
{ "type", "name", "range", "present"
"UnitFlag", "Spy", "Local", TRUE
"UnitState", "OnLivableTile", "Local", TRUE
"MinMoveFrags", "1", "Local", TRUE
"DiplRel", "Alliance", "Local", FALSE
"DiplRel", "Team", "Local", FALSE
"DiplRel", "Foreign", "Local", TRUE
}
target_reqs =
{ "type", "name", "range", "present"
"CityTile", "Center", "Local", FALSE
}
[actionenabler_traderoute]
action = "Establish Trade Route"
actor_reqs =
    (1-1/1)