chiark / gitweb /
preview png, actually make it a png
[pandemic-rising-tide.git] / misc-data.pl
1 # misc-data.pl - details from Pandemic Rising Tide needed to draw a board
2 #
3 # Very probably copyright (C) 2017 Z-Man Games
4 # Copyright (C) 2019 Ian Jackson
5 #
6 # This file is probably, in copyright law, a derivative work of
7 # Pandemic Rising Tide, because it gives many details about the game
8 # and even some text derived from that on the orginal board.  It
9 # also contains many consequential details added by me, Ian Jackson.
10 #
11 # My own contributions are dual licensed, GPv3+ or CC-BY 4.0+,
12 # Only to the Pandemic Rising Tide folks, it is permissively licensed.
13 #
14 # Pandemic and Pandemic Rising Tide are (I think) trademarks of Z-Man
15 # games and I use them without permission.
16
17
18 our %c =
19 (
20  OrientRegions => [ 'Roer en Overmaas', 'Noorderzijlvest' ],
21  OrientBearing => -15,
22  GraphScale => 30,
23  Colours => {
24      yellow => 'fd0',
25      purple => 'b1f',
26      green  => '0a0',
27      red    => 'f50',
28      high   => '888',
29      sea    => '3ad',
30      cube   => '8df',
31      land   => '987654', # pale brown (WP)
32 #     land   => 'f4a460', # sandy brown
33 #     land   => '8b4513', # saddlebrown
34 #     land   => 'a0522d', # sienna
35      edge   => '000',
36      text        => 'fff',
37      textshadow  => '000',
38      dykefill    => '7ff7ff7ff',
39      dykeinit    => 'fff',
40      dykehsadd   => '642',
41      dykefail => '444',
42      playerdeck => 'fff',
43      hinttext   => '000',
44  },
45  Sea => 'NZ',
46  OuterfaceRe => qr{(?:NZ|L2?)},
47  SpecialRegions => [qw(NZ L L2)],
48  DisplayNames => {
49      ZZ => 'Zuiderzee',
50      NZ => 'Noordzee',
51  },
52  HS => [ 'Roer en Overmaas', 'Schouwen-Duiveland', 'Rijn en IJssel' ],
53  DashedHs => [ { 
54      Inner => 'ZZ',
55      Comment => 'Afsluitdijk',
56      Colour => 'purple',
57  } ],
58  SeaTrack => [qw(2 2 2 3 3 3 4 4 4)],
59  CubeAbove => [
60    'Wieringermeer'
61  ],
62  TextAdjust => {
63    'Zeeuws-Vlaanderen' => [0.6, 0],
64    'Walcheren'         => [0.6, 0.5], #-1.0, -0.75
65    'Noorderzijlvest'   => [0.0, -0.5],
66    'Twente',           => [-0.3, 0.0],
67    'Land van Heusden', => [-0.3, 0.0],
68    'Land van Altena',  => [-0.3, 0.0],
69    'Voorne-Putten',    => [+0.3, 0.0],
70    'Wieringermeer',    => [+0.2, -0.2],
71  },
72  PlayHint => <<'END',
73 1. Do 4 Actions
74 2. Operate Pumps
75 3. Draw 2 player cards
76      (resolve storms)
77 4. Dykes fail
78 5. Water flows
79 Hand limit 7 at all times
80 END
81  PA => {
82    OuterCoastDelta => [ -1000, 0 ],
83    BoundingsA1dy => [ 35, -7 ],
84    Overall => [ 34, -15 ],
85    OverallOn => { a4 => [ 0, -17 ] },
86    HS1_initials => [ 550, 1705, 'Top' ],
87    SeaTrack => [ 11, 700 ],
88    PlayHint => [ 260, 1715, 'Top' ],
89  },
90  PlayHintdyAdjunct => 'Top',
91  PA_HS_HS => { green => [0, -0.40] },
92  PA_Outercoast_Vertices => [
93    { Re => qr{Noorderzijlvest}, PA => [ 100,-50 ] },
94  ],
95  Decks => [
96    { Colour => 'playerdeck', PosAdy => [ 401, 44, 'Bottom' ] },
97    { Colour => 'dykefail', PosAdy => [ 242, 1363, 'Top'], Rotate => 90 },
98  ],
99  HS1 => [
100    { Colour => 'red'    , XIYI => [0,0] },
101    { Colour => 'purple' , XIYI => [0,1] },
102    { Colour => 'green'  , XIYI => [1,0], Water => 6 },
103    { Colour => 'yellow' , XIYI => [1,1], Dykes => 4 },
104  ],
105 );