Author Topic: Modular ship tables -- changing secondary banks error?  (Read 804 times)

0 Members and 1 Guest are viewing this topic.

Offline Backslash

  • 29
  • Bring Our Might To Bear
Modular ship tables -- changing secondary banks error?
I'm not sure if this is a bug or by design, so I thought I'd first ask here.

I get the error
Code: [Select]
Error: ships-shp.tbm(line 760:
Error: Missing required token: [$SBank Capacity:]. Found [$Name:                          ]
in ship: SF Dragon instead.

when the offending code looks like:
Code: [Select]
$Name:                          SF Dragon
+nocreate
$Default SBanks:        ( "Shark" )

If I add
Code: [Select]
$SBank Capacity:        ( 20 ) (a stat which I get from the existing ships.tbl) the error goes away.

So the question is, is it not allowed to change the default secondary bank without changing (or at least restating) the secondary bank size?  If yes, perhaps it should be noted somewhere (perhaps it is and I missed it); if not, perhaps it is a bug?  [and I should mantis it?]