From a41608f93e0c8a038d67591db827634f62634446 Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Sat, 16 Nov 2024 09:39:58 -0700 Subject: [PATCH] [18RoyalGorge] fix gold miner paying for CF&I; kickstarter,publisher,beta Fixes #11355 --- assets/app/view/welcome.rb | 4 ++++ lib/engine/game/g_18_royal_gorge/game.rb | 2 +- lib/engine/game/g_18_royal_gorge/meta.rb | 4 ++-- lib/engine/publisher.rb | 4 ++++ 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/app/view/welcome.rb b/assets/app/view/welcome.rb index 6521c1e8af..acfd1a933f 100644 --- a/assets/app/view/welcome.rb +++ b/assets/app/view/welcome.rb @@ -16,8 +16,12 @@ def render def render_notification message = <<~MESSAGE +

18RoyalGorge is now on Kickstarter.

+

18Ardennes, Steam Over Holland, 18 India, and 18Uruguay are in alpha.

+

18RoyalGorge is now in beta.

+

18 SJ is now in production.

Report bugs and make feature requests on GitHub.

diff --git a/lib/engine/game/g_18_royal_gorge/game.rb b/lib/engine/game/g_18_royal_gorge/game.rb index e4550d361d..3689a6a30b 100644 --- a/lib/engine/game/g_18_royal_gorge/game.rb +++ b/lib/engine/game/g_18_royal_gorge/game.rb @@ -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 diff --git a/lib/engine/game/g_18_royal_gorge/meta.rb b/lib/engine/game/g_18_royal_gorge/meta.rb index 256fafd0a0..d90103093e 100644 --- a/lib/engine/game/g_18_royal_gorge/meta.rb +++ b/lib/engine/game/g_18_royal_gorge/meta.rb @@ -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' diff --git a/lib/engine/publisher.rb b/lib/engine/publisher.rb index fd75044b93..873f2ddfe2 100644 --- a/lib/engine/publisher.rb +++ b/lib/engine/publisher.rb @@ -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/',