Skip to content

Commit c12130a

Browse files
authored
Merge pull request #12391 from perwestling/fix/12330
Minor visual improvements in 1824 and 1824 Cisleithania
2 parents 11ab290 + 096a3cb commit c12130a

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

lib/engine/game/g_1824/game.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,12 @@ def place_home_token(corporation)
678678
super
679679
end
680680

681+
# 1837 uses a black token, we want to have a gray one
682+
def blocking_token
683+
@blocker ||= Corporation.new(sym: 'B', name: '', logo: '1824/blocking', tokens: [])
684+
Token.new(@blocker)
685+
end
686+
681687
# 1837 use as special functionality for token graphs so we need to use base functionality
682688
def token_graph_for_entity(_entity)
683689
@graph

lib/engine/game/g_1824/map.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,18 +205,18 @@ module Map
205205
'path=a:1,b:_0,terminal:1;border=edge:0'
206206
BUKAREST_2 = 'offboard=revenue:yellow_10|green_30|brown_40|gray_50,groups:Bukarest;path=a:2,b:_0,terminal:1;'\
207207
'border=edge:3'
208-
SARAJEVO = 'city=revenue:yellow_10|green_10|brown_50|gray_50;'\
208+
SARAJEVO = 'city=revenue:yellow_10|brown_50;'\
209209
'path=a:1,b:_0,lanes:2,terminal:1;path=a:2,b:_0,terminal:1;border=edge:1;'\
210210
'path=a:3,b:_0,terminal:1;path=a:4,b:_0,lanes:2,terminal:1;border=edge:4'
211-
SARAJEVO_W = 'path=a:2,b:4,b_lane:2.0;path=a:3,b:4,b_lane:2.1;border=edge:4;border=edge:5'
212-
SARAJEVO_E = 'path=a:2,b:1,b_lane:2.0;path=a:3,b:1,b_lane:2.1;border=edge:0;border=edge:1'
211+
SARAJEVO_W = 'path=a:2,b:4,b_lane:2.0;path=a:3,b:4,b_lane:2.1;border=edge:4'
212+
SARAJEVO_E = 'path=a:2,b:1,b_lane:2.0;path=a:3,b:1,b_lane:2.1;border=edge:1'
213213
WIEN = 'city=revenue:30;path=a:0,b:_0;city=revenue:30;'\
214214
'path=a:1,b:_1;city=revenue:30;path=a:2,b:_2;upgrade=cost:20,terrain:water;label=W'
215215

216-
MINE_1 = 'city=revenue:yellow_10|green_10|brown_40|gray_40;path=a:2,b:_0,terminal:1;path=a:3,b:_0,terminal:1'
217-
MINE_2 = 'city=revenue:yellow_10|green_10|brown_40|gray_40;path=a:1,b:_0,terminal:1;path=a:5,b:_0,terminal:1'
218-
MINE_3 = 'city=revenue:yellow_20|green_20|brown_60|gray_60;path=a:1,b:_0,terminal:1;path=a:5,b:_0,terminal:1'
219-
MINE_4 = 'city=revenue:yellow_20|green_20|brown_60|gray_60;path=a:1,b:_0,terminal:1;path=a:3,b:_0,terminal:1'
216+
MINE_1 = 'city=revenue:yellow_10|brown_40;path=a:2,b:_0,terminal:1;path=a:3,b:_0,terminal:1'
217+
MINE_2 = 'city=revenue:yellow_10|brown_40,loc:0;path=a:1,b:_0,terminal:1;path=a:5,b:_0,terminal:1'
218+
MINE_3 = 'city=revenue:yellow_20|brown_60,loc:0;path=a:1,b:_0,terminal:1;path=a:5,b:_0,terminal:1'
219+
MINE_4 = 'city=revenue:yellow_20|brown_60,loc:2;path=a:1,b:_0,terminal:1;path=a:3,b:_0,terminal:1'
220220

221221
TOWN = 'town=revenue:0'
222222
TOWN_WITH_WATER = 'town=revenue:0;upgrade=cost:20,terrain:water'

lib/engine/game/g_1824_cisleithania/map.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ def map_optional_hexes
1919
['A26'] => G1824::Map::KIEW_2,
2020
['B3'] => G1824::Map::DRESDEN_2,
2121
['E14'] =>
22-
'offboard=revenue:yellow_20|green_30|brown_40|gray_40;path=a:0,b:_0,terminal:1;'\
22+
'offboard=revenue:yellow_20|green_30|brown_40;path=a:0,b:_0,terminal:1;'\
2323
'path=a:1,b:_0,terminal:1;path=a:2,b:_0,terminal:1;path=a:3,b:_0,terminal:1',
2424
['G12'] =>
2525
"#{budapest}=revenue:yellow_20|green_40|brown_60|gray_70;"\
2626
'path=a:0,b:_0,terminal:1;path=a:1,b:_0,terminal:1;path=a:2,b:_0,terminal:1;path=a:3,b:_0,terminal:1',
2727
['F25'] =>
28-
'offboard=revenue:yellow_20|green_30|brown_40|gray_40;path=a:2,b:_0,terminal:1;'\
28+
'offboard=revenue:yellow_20|green_30|brown_40;path=a:2,b:_0,terminal:1;'\
2929
'path=a:3,b:_0,terminal:1',
3030
['H1'] => G1824::Map::MAINLAND_1,
3131
['I2'] => G1824::Map::MAINLAND_2,
3232
['I10'] =>
33-
'offboard=revenue:yellow_10|green_10|brown_50|gray_50;path=a:1,b:_0,terminal:1;'\
33+
'offboard=revenue:yellow_10|brown_50;path=a:1,b:_0,terminal:1;'\
3434
'path=a:2,b:_0,terminal:1;path=a:3,b:_0,terminal:1',
3535
},
3636
gray: {

public/logos/1824/blocking.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)