(shp_nav_one_sector, mchr[], ship_chr_flags[], Ship-types, Sector-types):
Add M_CANAL flag to indicate which ships can navigate a canal in a big city. Remove the hard code values for canal from shp_nav_one_sector() for which ships can navigate a canal. Set M_CANAL flag in ship_chr_flags[] to match the hard coding in shp_nav_one_sector(). Update Ship-types.t with new canal flag. Update Sector-types.t to indicate that cities have canals.
This commit is contained in:
parent
6157409f20
commit
9217e75761
6 changed files with 15 additions and 8 deletions
|
@ -57,11 +57,11 @@ struct mchrstr mchr[] = {
|
|||
|
||||
{{300, 10, 0, 0, 0, 0, 0, 0, 900, 0, 0, 0, 15, 0},
|
||||
25, 15, 10, 10, 15, 2, 0, 0, 0, 0, 0, 0, "fb fishing boat",
|
||||
0, 180, M_FOOD, 0, 0},
|
||||
0, 180, M_FOOD | M_CANAL, 0, 0},
|
||||
|
||||
{{300, 10, 0, 0, 0, 0, 0, 0, 900, 0, 0, 0, 15, 0},
|
||||
25, 15, 10, 25, 15, 2, 0, 0, 0, 0, 20, 1, "ft fishing trawler",
|
||||
35, 300, M_FOOD, 0, 0},
|
||||
35, 300, M_FOOD | M_CANAL, 0, 0},
|
||||
|
||||
{{600, 50, 300, 50, 0, 0, 0, 0, 900, 0,1400, 900, 250, 0},
|
||||
60, 40, 20, 25, 35, 3, 0, 0, 1, 0, 0, 0, "cs cargo ship",
|
||||
|
@ -85,7 +85,7 @@ struct mchrstr mchr[] = {
|
|||
|
||||
{{10, 5, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0},
|
||||
25, 15, 10, 25, 15, 2, 0, 0, 0, 0, 20, 1, "oe oil exploration boat",
|
||||
40, 800, M_OIL, 0, 0},
|
||||
40, 800, M_OIL | M_CANAL, 0, 0},
|
||||
|
||||
{{990, 80, 0, 0, 0, 0, 0, 0, 990, 990, 0, 0, 990, 0},
|
||||
60, 60, 30, 15, 65, 3, 0, 0, 2, 0, 0, 0, "od oil derrick",
|
||||
|
@ -93,7 +93,7 @@ struct mchrstr mchr[] = {
|
|||
|
||||
{{0, 2, 12, 2, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0},
|
||||
20, 10, 10, 38, 10, 2, 1, 1, 0, 0, 4, 1, "pt patrol boat",
|
||||
40, 300, M_TORP, 0, 0},
|
||||
40, 300, M_TORP | M_CANAL, 0, 0},
|
||||
|
||||
{{0, 100, 40, 5, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0},
|
||||
30, 40, 50, 30, 30, 5, 6, 3, 1, 0, 40, 1, "lc light cruiser",
|
||||
|
@ -121,7 +121,7 @@ struct mchrstr mchr[] = {
|
|||
|
||||
{{0, 10, 100, 1, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0},
|
||||
25, 15, 10, 25, 15, 2, 0, 0, 0, 0, 20, 1, "ms minesweeper",
|
||||
40, 400, M_MINE | M_SWEEP, 0, 0},
|
||||
40, 400, M_MINE | M_SWEEP | M_CANAL, 0, 0},
|
||||
|
||||
{{0, 60, 40, 4, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0},
|
||||
30, 30, 45, 35, 20, 4, 6, 3, 1, 0, 30, 1, "dd destroyer",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue