This partly reverts a change made in Empire 2.3 to tell a submarine's opponent only that he's dealing with a "sub" instead of the submarine's UID and type. Hiding submarines is done by prsub(). Uses: * Command torpedo: defender depth charges or torpedoes an attacking submarine If you can attack a submarine reactively, you should be able to attack it actively, too. But that requires its UID. Reveal it again, but keep the type hidden. * Command fire: defender fires back at a submarine using its deck gun Submarines need to surface to fire deck guns, so they shouldn't be treated any different than surface ships. Revert Empire 2.3's change entirely there, i.e. defender learns type as well as UID. * Command torpedo: attacking submarine hits its target Keep the submarine hidden. * Commands torpedo and fire: attacking ship hits a submarine The attacker passed the UID as command argument, so it doesn't matter whether we print it or not. Printing it is simpler to code, so do that. Signed-off-by: Markus Armbruster <armbru@pond.sub.org> |
||
---|---|---|
.. | ||
01-sector-1 | ||
02-POGO | ||
03-ship-1 | ||
04-POGO | ||
05-land-1 | ||
99-POGO | ||
final.xdump | ||
journal.log | ||
server.log | ||
setup-POGO |