Lower single point sling min_item_volume to hold atlatl spear #77767
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
None "Lower single point sling min_item_volume to hold atlatl spear"
Purpose of change
EDIT: I just noticed that the error is because the recipe makes two atlatl spears which has a higher volume. Had I known this I would probably have made a bug report instead. I've re-worded the PR to reflect this.
But as I think the single point sling would be able to store items the same way as a rope, a vine or a seatbelt, I'll keep this PR open as a draft.
The single point sling pocket has a
min_item_volume
of 1 L. A single atlatl spear has a volume of 0.58 L. In the crafting menu it says a single point sling can store atlatl spearce since the recipe makes two and two atlatl spears have more than the required minimum volume.Cataclysm-DDA/data/json/items/armor/holster.json
Lines 196 to 205 in 6e7f4ff
Describe the solution
Lower the single point sling
min_item_volume
to 0.5 L.This actually makes the atlatl a viable weapon for a standard survivor/evac shelter start.
Describe alternatives you've considered
In real life, you would probably also need something to tie the atlatl spears to the sling. But in this respect, a singlepoint sling would probably function just as well as a vine, rope or seatbelt.
Someone else should probably look at the c++ "Can be stored in" logic.
Testing
Works in game as expected.
Additional context