-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Base camp reorganization #45572
Base camp reorganization #45572
Conversation
"type": "recipe", | ||
"activity_level": "MODERATE_EXERCISE", | ||
"result": "fbmw_1", | ||
"description": "Select the blueprints for version 1 of the workshop. This uses a more sprawling style than version 2.", |
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.
Yeah there needs to be 2 spaces between the sentences..
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.
I'll change it, of course, but the comment is still confusing, as JSON_STYLE.md doesn't seem to say anything about it, so I don't know why I would be expected to know about it. Also, out of curiosity, why? I assume it does have some technical reason, but what, and how does it manifest itself?
Edit: Done. The second sentence was removed because it shouldn't be there in this PR (it will return with two spaces when a second expansion that can be compared against is introduced).
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.
I assume it does have some technical reason, but what, and how does it manifest itself?
It's a standard for monospaced text. You may or may not have been told when you were younger to put two spaces between sentences, and that is why. Today we don't tend to use monospaced text, so it is not done in many contexts.
This standard is documented in doc/MANUAL_OF_STYLE.md
Use double sentence spacing after periods. This means that a period that ends a sentence should be followed by two spaces. If the sentence is the last in the block of text, there should be no spaces following it.
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.
Thanks for the explanation. I've never heard of any such rule, despite definitely being old enough: the only thing I believe I've heard is to put exactly one space in between sentences (and not anything about exception for typewriters, which are inherently fixed size, though that education was both very brief and compressed further by circumstances). Anyway, those are the (local) rules, and so they should be followed.
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.
You can actually find switches for "one or two spaces after a period" in a lot of spelling/grammar checkers, BTW.
Excited to see this start going in! I may have more comments later but at first glance, Why do you separate all the recipes groups out by location? They are all duplicating each other while using unique ID's. I'm not sure if that's necessary but it will add even more bloat so I wanted to ask. e.g. it seems like the recipes offered in factions can quickly get out of sync this way. |
My reasoning was that separating them allows each base to be developed separately without the developer having to figure out that any recipe changes will affect everyone tied to the set and manually find out which ones those are. If there is an intention to keep recipes tied together as a group that's a bad approach, but if you want to update one without having to touch all of them you either remove "your" recipes from the group hug first so you can modify them, or have the recipes already factored out. |
Yeah, I'm unsure which is a better approach, I can see benefits to both. So, unless someone else objects, I'm ok with adding the change to the documentation. |
…into base_camp_reorganization
…into base_camp_reorganization
I fail to understand the "Conflicting files |
"557 Error: (continued from above) ERROR : src/character.cpp:10753 [Character::migrate_items_to_storage(bool)::<lambda(const item*)>] ERROR: Could not put telescoping umbrella into inventory. Check if the profession has enough space." I guess either the modular container code changes aren't complete, or the save used for testing needs to be to be replaced with one compatible with the code implementation when used as a test object. |
A long time after all checks had been passed this garbage appeared: Edit: |
General build matrix / varied_builds (g++-8, 0, 1, address) (pull_request) failure:
|
ontinuous-integration/travis-ci/pr — The Travis CI build could not complete due to an error Cannot add PPA: 'ppa:~ubuntu-toolchain-r/ubuntu/test'. ERROR: '~ubuntu-toolchain-r' user or team does not exist. The command "sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"" failed and exited with 1 during . Your build has been stopped. |
Quite. I note it happened with two builds that were happening in parallel - unless it pops up again, probably something went wrong with the Travis system. |
As far as I can tell building fails due to the usual broken tests, which this time seems to be caused by: At a guess, tests weren't updated to match changes made when changing traits into "hobbies". |
…into base_camp_reorganization
Ping: @kevingranade This PR is a result of your requests regarding #45560, but for whatever reason it's never been evaluated by the core team in any way visible to the author (first it lay fallow for a couple of months, then stamped with "don't process until 0.F", and then just had that label removed without any visible processing). |
I'm very sorry about that, partially I'm just overwhelmed with review in general and partially I kept getting this PR confused with #45560, I'm looking at it now. |
Summary
SUMMARY: Infrastructure "Reorganized base camp hub and expansions to support new versions in parallel"
Purpose of change
The purpose is to prepare the ground for the introduction of new base camp versions as well as new expansion versions.
This is part of PR #45560, which was considered too large to be practical to review as a whole.
Describe the solution
Describe alternatives you've considered
Testing
The main testing has been performed as part of PR #45560. However, the base camp has been partially constructed and each of the expansions have been surveyed for and verified that they provide expected construction option once they've been selected as the version to use. As the Saltworks has been modified, it was fully built from alien resin (as that's the building material that's easiest to spawn and use).
Additional context
https://discourse.cataclysmdda.org/t/field-base-camp-adjustments/24924 is the thread leading up to PR #45560, and thus provides the background for what the aim of these changes are.