CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Bug with welding rig recipe #53873

Open Braian226 opened 2 years ago

Braian226 commented 2 years ago

Describe the bug

I had the book "theory of electronic circuits" that book has the recipe to create a welding equipment and the welding station for the vehicle, the problem is that when I meet the requirements it does not let me create it, it says that I do not have the skills, but I do meet the requirements / 6 mech, / 6 electr., then using debug mode, I used the book "welding and metallurgy" that book if I let myself create the components and I had no problem.

Steps to reproduce

  1. utilize theory of electronic circuits (for the recipe)
  2. meets the requirements to create a soldering station (set all your hab to 10 using debug mode)
  3. try to make the soldering station, (it probably won't even show up as an option)
  4. fix the bug

Expected behavior

I was hoping to create the soldering station using the book "theory of electronic circuits" but the recipe doesn't work, also several other recipes, but only from that book.

Screenshots

No response

Versions and configuration

its from the last experimental ae582e0

Additional context

No response

Braian226 commented 2 years ago

I wasn't using mods by the way

Alex-Folts commented 2 years ago

I had similar issue but with another book: https://github.com/CleverRaven/Cataclysm-DDA/issues/53332

Long story short, in your case you need 8 mechanics theoretical skill. The problem is there is no ingame way to find it out, you need to examine recipe defined in json file...

https://github.com/CleverRaven/Cataclysm-DDA/blob/80f376fff30d459b2fcce32e6db5c8ccc8c7bcf9/data/json/recipes/other/parts.json#L641

as you can see different books will unlock same recipe at different skill level, that skill level for theoretical skill. "welding and metallurgy" book unlock it at skill level 5.

LeahLuong commented 2 years ago

I posted about this issue earlier than both of you in #52354. My proposed solution is to do away w/ brown recipes by converting them to yellow 1's w/ a difficulty scaled to your char's best available reference text.