bearings recipe metal requirements #39583
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Bugfixes "Fix bearing requiring both "weight" and "steel""
Purpose of change
Crafting bearings requires both weight (lead/gold/silver...) and steel. So the bearings were always made of steel and some other random metal.
Lead bearings definitely should be possible for ammo use. Bearings from other metals make sense too as lead replacement.
You should be able to make the bearings from one metal only.
The amount of metal required was also wildly inaccurate. Crafting 0.50 kg of bearings required 6 kg of steel and 0.15 kg of other metal.
Describe the solution
Moved "steel_standard" from using to component.
Changed the material numbers so that it now requires 0.50 kg of steel or 0.51 kg of other metals.
Describe alternatives you've considered
If there are uses that assume hard steel bearings then the softer metal barings for ammo use could be split to separate item.
Testing
Recipe works.
Additional context
Before:
![before](https://user-images.githubusercontent.com/22011552/79308876-06dc8980-7f02-11ea-8832-b03a7d286fe8.png)
After:
![after2](https://user-images.githubusercontent.com/22011552/79315881-47410500-7f0c-11ea-8954-12aa01997ae8.png)