Closing embassies

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
sveinung
Elite
Posts: 542
Joined: Wed Feb 20, 2013 4:50 pm

Closing embassies

Postby sveinung » Tue May 27, 2014 4:19 pm

Reply to wish made in the thread "Changes in what a 2.6 rule set can do" in the "Rulesets and modpacks" forum:

ahfretheim wrote:Could closing embassies be added to the ruleset as an effect as well?

Do you mean expelling foreign embassies? That is suggested in patch #4208. No work has been done on it yet.

monamipierrot
Posts: 35
Joined: Tue Mar 11, 2014 9:54 pm

Re: Closing embassies

Postby monamipierrot » Thu Jul 03, 2014 11:47 pm

It could be interesting, but there should be something to limit this.

sveinung
Elite
Posts: 542
Joined: Wed Feb 20, 2013 4:50 pm

Re: Closing embassies

Postby sveinung » Fri Jul 04, 2014 3:30 pm

monamipierrot wrote:It could be interesting, but there should be something to limit this.

The plan is to control it in the rule set as an action. It will only be possible to do it if (at least) one of its action enabler(s) is active. An action enabler has two requirement vectors: one for the actor and one for the target. It is only active if both requirement vectors are fulfilled. Freeciv 2.6 already has a requirement type for diplomatic state.

It will therefore be possible for a rule set author to do the following: You may expel a foreign embassy if (you are at war with them) OR (you have a Casus belli against them) OR (they aren't your allies AND your current government is an "I'm a Little Bit country") OR (they are at war with someone AND your government type is an "I'm a Little Bit Rock and Roll"). (If he has defined those government types and don't fear the names may attract a lawsuit)