Slightly change rules for pillaging
This commit is contained in:
parent
0e54edcaf4
commit
89248928c6
@ -253,6 +253,14 @@ public class EngineChunkChange extends Engine
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ... and they must actually be claiming ...
|
||||||
|
if (newFaction.isNone())
|
||||||
|
{
|
||||||
|
mplayer.msg("<b>You can't unclaim land belonging to others.");
|
||||||
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// ... the relation may forbid ...
|
// ... the relation may forbid ...
|
||||||
if (oldFaction.getRelationTo(newFaction).isAtLeast(Rel.TRUCE))
|
if (oldFaction.getRelationTo(newFaction).isAtLeast(Rel.TRUCE))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user