Skip to content

Commit

Permalink
[18RoyalGorge] fix gold miner paying for CF&I; kickstarter,publisher,…
Browse files Browse the repository at this point in the history
…beta

Fixes #11355
  • Loading branch information
michaeljb committed Nov 16, 2024
1 parent 86d8794 commit a41608f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions assets/app/view/welcome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ def render

def render_notification
message = <<~MESSAGE
<p><a href='https://www.kickstarter.com/projects/18wood/18royalgorge/'>18RoyalGorge is now on Kickstarter</a>.</p>
<p>18Ardennes, Steam Over Holland, 18 India, and 18Uruguay are in alpha.</p>
<p>18RoyalGorge is now in beta.</p>
<p>18 SJ is now in production.</p>
<p>Report bugs and make feature requests <a href='https://github.com/tobymao/18xx/issues'>on GitHub</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion lib/engine/game/g_18_royal_gorge/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def handle_metal_payout(entity)
@players.each do |payee|
num_shares = payee.num_shares_of(entity)

if payee == gold_miner&.owner
if payee == gold_miner&.owner && entity == @gold_corp
entity.cash += per_share * 2
num_shares += 2
end
Expand Down
4 changes: 2 additions & 2 deletions lib/engine/game/g_18_royal_gorge/meta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ module G18RoyalGorge
module Meta
include Game::Meta

DEV_STAGE = :alpha
DEV_STAGE = :beta
PROTOTYPE = true

GAME_SUBTITLE = 'The Rails of Fremont County and the Royal Gorge Wars'
GAME_DESIGNER = 'Kayla Ross & Denman Scofield'
GAME_LOCATION = 'Colorado, USA'
GAME_PUBLISHER = :self_published
GAME_PUBLISHER = :wood_18
GAME_RULES_URL = 'https://boardgamegeek.com/filepage/265148/prototype-rules-11'
GAME_INFO_URL = 'https://github.com/tobymao/18xx/wiki/18RoyalGorge'

Expand Down
4 changes: 4 additions & 0 deletions lib/engine/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ module Publisher
name: 'TraXX',
url: 'https://traxx-denver.com/games/',
},
wood_18: {
name: '18Wood',
url: 'https://www.etsy.com/shop/18WOOD',
},
zman_games: {
name: 'Z-MAN Games',
url: 'https://zmangames.com/',
Expand Down

0 comments on commit a41608f

Please sign in to comment.