Skip to content
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

Add Chemistry Proficiencies #64107

Merged
merged 71 commits into from
Mar 25, 2023

Conversation

Alm999
Copy link
Contributor

@Alm999 Alm999 commented Mar 10, 2023

Summary

Balance "Add chemical related proficiencies to crafting recipes"

Purpose of change

Currently, despite being "learnable", all chemical proficiencies have no actual opportunities to be learned. They are not used in any recipes.

This also effectively blocks "Biochemistry" weakpoint from being obtainable, as it requires "Organic Chemistry" knowledge (which can not be learned via in-game activities).

P.S. OK, I've learned my lesson. No more nested branches for each change.

Describe the solution

Simply adding the proficiencies to recipes presents opportunities needed to learn them. My discretion at adding the proficiencies was as follows:

  1. if a recipe requires any manipulation on chemical stuff -> "Principles of Chemistry";
  2. if a recipe mandates operations on inorganic substances (saltpeter, lye, even salt water counts) -> "Inorganic Chemistry";
  3. if a recipe needs organic substances (benzene, citric acid, even ethanol counts) -> "Organic Chemistry" (substances need not to be complex, just being a product of hydrocarbons counts);
  4. if any distillation process is required (both normal and "fine" variants) -> "Distillation" (maybe adjusting for difficulty of fine distillation is needed as a time modifier);
  5. if a product of a recipe is not an "end product" (like "superglue") but intended to be used as an ingredient for more complex chemical synthesis () -> "Principles of Chemical Synthesis";
  6. for any high level mutagens -> "Complex Chemical Synthesis";
  7. if a product is a drug meant for consumption -> "Pharmaceutical Production";
  8. if a recipe requires any manipulation on a (recently) living creature including chemical extraction from its internal organs -> "Biochemistry".

Describe alternatives you've considered

Maybe it is a good idea to also add training recipes provided by chemistry textbooks.

Testing

Tested some (not all, bobviously) recipes in-game. Proficiencies successfully added.

Additional context

None.

@github-actions github-actions bot added [JSON] Changes (can be) made in JSON Game: Balance Balancing of (existing) in-game features. labels Mar 10, 2023
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

JSON & C++ formatters

data/json/recipes/chem/mutagens.json|300|
data/json/recipes/chem/mutagens.json|317|
data/json/recipes/chem/mutagens.json|339|
data/json/recipes/chem/mutagens.json|356|
data/json/recipes/chem/mutagens.json|378|
data/json/recipes/chem/mutagens.json|395|
data/json/recipes/chem/mutagens.json|417|
data/json/recipes/chem/mutagens.json|434|
data/json/recipes/chem/mutagens.json|456|
data/json/recipes/chem/mutagens.json|473|
data/json/recipes/chem/mutagens.json|495|
data/json/recipes/chem/mutagens.json|512|
data/json/recipes/chem/mutagens.json|534|
data/json/recipes/chem/mutagens.json|551|
data/json/recipes/chem/mutagens.json|573|
data/json/recipes/chem/mutagens.json|590|
data/json/recipes/chem/mutagens.json|612|
data/json/recipes/chem/mutagens.json|629|
data/json/recipes/chem/mutagens.json|651|
data/json/recipes/chem/mutagens.json|668|
data/json/recipes/chem/mutagens.json|690|
data/json/recipes/chem/mutagens.json|707|
data/json/recipes/chem/mutagens.json|729|
data/json/recipes/chem/mutagens.json|746|
data/json/recipes/chem/mutagens.json|769|
data/json/recipes/chem/mutagens.json|786|
data/json/recipes/chem/mutagens.json|803|
data/json/recipes/chem/mutagens.json|820|
data/json/recipes/chem/mutagens.json|843|
data/json/recipes/chem/mutagens.json|859|
data/json/recipes/chem/mutagens.json|881|
data/json/recipes/chem/mutagens.json|898|
data/json/recipes/chem/mutagens.json|914|
data/json/recipes/chem/mutagens.json|931|
data/json/recipes/chem/mutagens.json|948|
data/json/recipes/chem/mutagens.json|965|
data/json/recipes/chem/mutagens.json|981|
data/json/recipes/chem/mutagens.json|998|
data/json/recipes/chem/mutagens.json|1014|
data/json/recipes/chem/mutagens.json|1031|
data/json/recipes/chem/mutagens.json|1048|
data/json/recipes/chem/mutagens.json|1070|
data/json/recipes/chem/mutagens.json|1087|
data/json/recipes/chem/mutagens.json|1123|
data/json/recipes/chem/other.json|57|

Alm999 and others added 11 commits March 10, 2023 21:20
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Alm999 and others added 2 commits March 10, 2023 21:22
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Alm999 and others added 4 commits March 10, 2023 21:23
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Alm999 Alm999 marked this pull request as draft March 12, 2023 15:59
@github-actions github-actions bot added Items: Ammo / Guns Ammunition for all kinds of weapons and these weapons themselves Items: Food / Vitamins Comestibles and drinks BasicBuildPassed This PR builds correctly, label assigned by github actions labels Mar 12, 2023
Alm999 added 12 commits March 13, 2023 22:17
citric acid: does not require organic knowledge for production
formic acid: does not require organic knowledge for production
napalm: does not actually require any chemical reactions with hydrocarbons. Organic chemistry is out of place here.
explosive_hm_rocket: add Handloading for gunpowder handling.
gas_fungicidal: remove "Organic Chemistry" because it is just a mix
gas_insecticidal: remove "Organic Chemistry" because it is just a mix
flamethrower_fuel: remove "Organic Chemistry" because it is just a mix
conc_paralytic, conc_venom: remove Organic Chemistry due to no chemical reactions present
@github-actions github-actions bot added the Items: Armor / Clothing Armor and clothing label Mar 14, 2023
Alm999 added 2 commits March 14, 2023 23:35
acetylene from carbide should require only basic chemical handling knowledge
@Alm999
Copy link
Contributor Author

Alm999 commented Mar 14, 2023

OK, that should be most of them.
I think it is ready for initial reviews.

@Alm999 Alm999 marked this pull request as ready for review March 14, 2023 18:39
@Alm999 Alm999 changed the title Chemistry proficiency stuff Add Chemistry Proficiencies Mar 14, 2023
@onura46
Copy link
Contributor

onura46 commented Mar 17, 2023

There's some things I'm not knowledgeable enough to make a judgement call on, but everything I do know about here seems pretty good to go. Great audit!

@Alm999
Copy link
Contributor Author

Alm999 commented Mar 18, 2023

Now, that the zinc production recipes have been changed by #63375, I replaced chemistry-related proficiencies with the one I've intentionally avoided (as I intended to have a look at it after the chemistry was fixed) -- "Metallurgy".

Conflicts must be resolved, after all.

@kevingranade kevingranade merged commit 37a32ef into CleverRaven:master Mar 25, 2023
@Alm999 Alm999 deleted the Chemistry-Proficiency-Stuff branch May 4, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Crafting / Construction / Recipes Includes: Uncrafting / Disassembling Game: Balance Balancing of (existing) in-game features. Items: Ammo / Guns Ammunition for all kinds of weapons and these weapons themselves Items: Armor / Clothing Armor and clothing Items: Food / Vitamins Comestibles and drinks [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants