Remove option TRADESHIPS, customize table ship-chr instead
Trade ships are now enabled when a ship type with capability trade exists. No such type exists by default; to enable trade ships, deities have to customize table ship-chr. Before, trade ship types were ignored when option TRADESHIPS was disabled. Except for xdump ship-chr, which happily dumped unusable trade ship types.
This commit is contained in:
parent
c4254764bf
commit
352bc320d2
19 changed files with 32 additions and 41 deletions
|
@ -53,8 +53,7 @@ scuttle_it(struct shpstr *sp)
|
|||
sp->shp_x, sp->shp_y, sp->shp_uid);
|
||||
return;
|
||||
}
|
||||
if (CANT_HAPPEN(!opt_TRADESHIPS
|
||||
|| !(mchr[sp->shp_type].m_flags & M_TRADE)))
|
||||
if (CANT_HAPPEN(!(mchr[sp->shp_type].m_flags & M_TRADE)))
|
||||
return;
|
||||
if (!scuttle_tradeship(sp, 0)) {
|
||||
wu(0, sp->shp_own,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue