Skip to content

Commit

Permalink
Merge pull request tobymao#10086 from philcampeau/1832
Browse files Browse the repository at this point in the history
[1832] corrects several bits of the code and adds some
  • Loading branch information
philcampeau authored Jan 4, 2024
2 parents bccad91 + fe9531e commit ee8f2d8
Show file tree
Hide file tree
Showing 6 changed files with 374 additions and 79 deletions.
13 changes: 13 additions & 0 deletions lib/engine/game/g_1832/corporation.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true

require_relative '../../corporation'

module Engine
module Game
module G1832
class Corporation < Engine::Corporation
attr_accessor :coal_token
end
end
end
end
17 changes: 13 additions & 4 deletions lib/engine/game/g_1832/entities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module Entities
type: 'major',
text_color: 'white',
coordinates: 'F10',
city: 1,
},
{
float_percent: 60,
Expand Down Expand Up @@ -88,6 +89,7 @@ module Entities
type: 'major',
text_color: 'black',
coordinates: 'F10',
city: 0,
},
{
float_percent: 60,
Expand Down Expand Up @@ -214,10 +216,17 @@ module Entities
value: 80,
revenue: 15,
sym: 'P5',
desc: 'This private company gives the owning company a WVCF token for free.'\
' When other companies connect to the coal fields, '\
'they may buy a WVCF token (if available) during their operating round for $80'\
' ($40 goes to the company owning the WVCF private company).',
abilities: [
{
type: 'blocks_hexes',
owner_type: 'player',
hexes: %w[B12 B16 C13 C15],
},
],
desc: 'This private company gives the owning company a Coal token for free.'\
' When other companies connect to the Coalfields, '\
'they may buy a Coal token (if available) during their operating round for $80'\
' ($40 goes to the corporation owning the Coal private company).',
},
{
name: 'Central Railroad & Canal',
Expand Down
Loading

0 comments on commit ee8f2d8

Please sign in to comment.