break: Honor new designation of sanctuaries
Breaking sanctuary turns 100% sanctuaries into capitals, all others into highways. Before Empire 3, sanctuaries always became capitals. Give deities more control over initial state of countries than choosing between 100% capital and <100% highway sectors: turn sanctuaries into their new designation on break. Except make a capital when the new designation is sanctuary (which it normally is). Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
5900e9b279
commit
4c68d14cc0
2 changed files with 4 additions and 7 deletions
|
@ -8,7 +8,8 @@ They also can't be attacked.
|
|||
.s1
|
||||
Break removes the sanctuary protection from your country and forces
|
||||
your people to work for a living.
|
||||
Sanctuaries become capitals if they are 100% efficient, else highways.
|
||||
Sanctuaries become capitals, unless the deity set up a different new
|
||||
designation.
|
||||
You can't do any country development commands until you break out
|
||||
of sanctuary.
|
||||
.s1
|
||||
|
|
|
@ -57,13 +57,9 @@ bsanct(void)
|
|||
continue;
|
||||
pr("%s is no longer a sanctuary.\n",
|
||||
xyas(s.sct_x, s.sct_y, player->cnum));
|
||||
if (s.sct_effic == 100) {
|
||||
s.sct_type = SCT_CAPIT;
|
||||
if (s.sct_newtype == SCT_SANCT)
|
||||
s.sct_newtype = SCT_CAPIT;
|
||||
} else {
|
||||
s.sct_type = SCT_HIWAY;
|
||||
s.sct_newtype = SCT_HIWAY;
|
||||
}
|
||||
s.sct_type = s.sct_newtype;
|
||||
game_tick_to_now(&s.sct_access);
|
||||
(void)putsect(&s);
|
||||
count++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue