Change mine command not to work under bridges for now
This is for consistency with aerial mining. Seamines don't work under bridges anyway (they did a long time ago, until Empire 2). Making seamines work under bridges again wouldn't be hard, but it would make the 'X' in bmaps ambiguous.
This commit is contained in:
parent
3ea4e1ac60
commit
d1b39676e2
2 changed files with 2 additions and 7 deletions
|
@ -24,16 +24,11 @@ removing some mines.
|
||||||
Ships of tech 310 or higher can detect mines with their sonar.
|
Ships of tech 310 or higher can detect mines with their sonar.
|
||||||
See \*Qinfo sonar\*U for more information.
|
See \*Qinfo sonar\*U for more information.
|
||||||
.s1
|
.s1
|
||||||
Sea sectors under bridge spans can be mined.
|
|
||||||
Your ships will automatically avoid these mines when passing through,
|
|
||||||
(and your minesweepers will not not pick them up).
|
|
||||||
.s1
|
|
||||||
Note that the sector is checked for possible mine hits
|
Note that the sector is checked for possible mine hits
|
||||||
only when a ship moves into it;
|
only when a ship moves into it;
|
||||||
thus, a ship may safely drop mines in a sector and then move out.
|
thus, a ship may safely drop mines in a sector and then move out.
|
||||||
On the other hand, the mines know no allegiance,
|
On the other hand, the mines know no allegiance,
|
||||||
so moving back into a mined sector is foolish at best
|
so moving back into a mined sector is foolish at best.
|
||||||
unless it is under a bridge span.
|
|
||||||
.s1
|
.s1
|
||||||
Mines in the same sector as a bridge that collapses are cleared.
|
Mines in the same sector as a bridge that collapses are cleared.
|
||||||
.s1
|
.s1
|
||||||
|
|
|
@ -68,7 +68,7 @@ mine(void)
|
||||||
continue;
|
continue;
|
||||||
mines_avail = MIN(shells, mines);
|
mines_avail = MIN(shells, mines);
|
||||||
if (getsect(ship.shp_x, ship.shp_y, §) == 0 ||
|
if (getsect(ship.shp_x, ship.shp_y, §) == 0 ||
|
||||||
!SCT_MINES_ARE_SEAMINES(§)) {
|
sect.sct_type != SCT_WATER) {
|
||||||
pr("You can't lay mines there!!\n");
|
pr("You can't lay mines there!!\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue