-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[site] Discard Trains step to display page description instead of default 'Discard Trains' #11322
base: master
Are you sure you want to change the base?
[site] Discard Trains step to display page description instead of default 'Discard Trains' #11322
Conversation
@@ -10,6 +10,10 @@ class DiscardTrain < Engine::Step::DiscardTrain | |||
def process_discard_train(action) | |||
@game.salvage_train(action.train) | |||
end | |||
|
|||
def description | |||
'Salvage Excess Trains' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rulebook explicitly uses discard
here.
Whenever trains are salvaged or discarded, the owning company receives the salvage value
If a phase change includes a reduction in the Train Limit [3], all companies, including the one
operating, must immediately discard any trains in excess of the Train Limit to the Bank Pool
for salvage value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, but is that the optimum phrasing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the site doesn't add the text "for salvage value", I feel this is an improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salvage, as a verb, means to save something from destruction. So salvaging a train would be rescuing one from the scrap yard and putting it back into use, the opposite of what is happening here.
Throughout the rules of 18NY, and everywhere else in this game, salvaging is used to mean removing a train from a corp and receiving compensation. |
The use of salvage here means to turn something that is not so valuable (an
old train) into money that can be used to buy a new one. So the definition
still holds, if not in precisely the way Olly suggests. I suggest to stay
consistent with the rules usage.
…On Thu, Dec 19, 2024 at 1:32 PM philcampeau ***@***.***> wrote:
Throughout the rules of 18NY, and everywhere else in this game, salvaging
is used to mean removing a train from a corp and receiving compensation.
—
Reply to this email directly, view it on GitHub
<#11322 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG6CEXBG7XDWGUAGWZ23HCT2GNJSJAVCNFSM6AAAAABRHOT7QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVHE2TIMJQGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Fixes #9128
Before clicking "Create"
master
pins
orarchive_alpha_games
label if this change will break existing gamesdocker compose exec rack rubocop -a
docker compose exec rack rake
Implementation Notes
Explanation of Change
This change, initially done for 18NY, will now allow all games to define what their Discard Trains step should display when prompting the discard of excess trains.
I also updated the description in lib/engine/step/discard_train.rb from 'Discard Train' to 'Discard Trains', since that's what was being displayed anyway.
Screenshots
Any Assumptions / Hacks
I know a previous fix (#9136) broke some things on the site. From the tests I've run on my end, these changes seem to work, but I'm happy to hear it if I'm wrong!