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: Content "add telescopic sight to itemgroups"
Purpose of change
tele_sight can only be obtained trough crafting. This PR fixes that.
Describe the solution
Add tele_sight to the same itemgroups as improve_sights:
gunmod_common -> improve_sights(60)
military -> improve_sights(10)
drugdealer -> improve_sights(10)
map_extra_drugdeal -> drugdealer(75) -> improve_sights(10)
npc_misc -> improve_sights(1)
NC_JUNK_SHOPKEEP_misc -> improve_sights(20)
NC_EVAC_SHOPKEEP_misc -> improve_sights(20)
Describe alternatives you've considered
Leaving it as-is
Testing
Additional context
The NC_EVAC_SHOPKEEP_misc is a little weird I think because the result seems disproportionate and I think it is cause by allowing it to spawn items and itemgroups, which will give items such as the tele_sight a bigger spawn chance then items from itemgroups in that same itemgroup. Maybe something for another PR.