From 57aa80ca8b656faa6d37d245a0feb14f3aaf94ea Mon Sep 17 00:00:00 2001 From: Chris Rericha Date: Tue, 4 Jul 2023 01:23:00 -0400 Subject: [PATCH 1/3] [1817] Move volatility expansion to production --- lib/engine/game/g_1817/meta.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/engine/game/g_1817/meta.rb b/lib/engine/game/g_1817/meta.rb index b164331c89..0417730191 100644 --- a/lib/engine/game/g_1817/meta.rb +++ b/lib/engine/game/g_1817/meta.rb @@ -35,7 +35,7 @@ module Meta }, { sym: :volatility, - short_name: 'Volatility Expansion (Alpha)', + short_name: 'Volatility Expansion', desc: '13 additional private companies and a modified initial auction', }, ].freeze From 1e87fa6838bb813ba7d4a7d14f8cb8b77e3d5c5a Mon Sep 17 00:00:00 2001 From: Chris Rericha Date: Tue, 4 Jul 2023 01:23:50 -0400 Subject: [PATCH 2/3] [1817] Close additional token company after used --- lib/engine/game/g_1817/step/buy_sell_par_shares.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/engine/game/g_1817/step/buy_sell_par_shares.rb b/lib/engine/game/g_1817/step/buy_sell_par_shares.rb index 71c8795929..67f9a6dfd3 100644 --- a/lib/engine/game/g_1817/step/buy_sell_par_shares.rb +++ b/lib/engine/game/g_1817/step/buy_sell_par_shares.rb @@ -331,6 +331,9 @@ def use_on_assign_abilities(company) @game.abilities(company, :additional_token) do |ability| corporation.tokens << Engine::Token.new(corporation) ability.use! + @log << "#{corporation.name} aquires additonal token from #{company.name}" + @log << "#{company.name} closes" + company.close! end end From e9a14f370ca1581fb5c97e5dfea04c377f8f5c10 Mon Sep 17 00:00:00 2001 From: Chris Rericha Date: Tue, 4 Jul 2023 01:28:36 -0400 Subject: [PATCH 3/3] typo --- lib/engine/game/g_1817/step/buy_sell_par_shares.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/engine/game/g_1817/step/buy_sell_par_shares.rb b/lib/engine/game/g_1817/step/buy_sell_par_shares.rb index 67f9a6dfd3..4a4e6cb1b3 100644 --- a/lib/engine/game/g_1817/step/buy_sell_par_shares.rb +++ b/lib/engine/game/g_1817/step/buy_sell_par_shares.rb @@ -331,7 +331,7 @@ def use_on_assign_abilities(company) @game.abilities(company, :additional_token) do |ability| corporation.tokens << Engine::Token.new(corporation) ability.use! - @log << "#{corporation.name} aquires additonal token from #{company.name}" + @log << "#{corporation.name} acquires additonal token from #{company.name}" @log << "#{company.name} closes" company.close! end