Closed lucas4114 closed 2 weeks ago
Sorry to say this is unlikely to change until after a crafting rewrite. Regular item crafting adds up the item "amount" to determine how many of an item you have, whereas ammo containers use amount to represent the number of contained bullets, so regular item crafting thinks you have zero magazines.
Magazine items are unable to be used in blueprints if their (ammo) amount is 0/1, despite the item(s) being present in the inventory.
What I did to produce this issue:
I changed Swissgewehr_20.dat to:
Screenshots demonstrating the issue:
I maxed out my "Crafting" skill (just showing this step to confirm that I did it):
With empty magazines present in the inventory, the blueprint is unavailable:
If a magazine is full, then the blueprint works correctly for that item only:
If a magazine is partially full (ammo amount is > 0), then it also works normally for that item only:
...
Some things I tried to fix this:
Blueprint_#_Type Gear
toBlueprint_#_Type Ammo
Result:
With only empty magazines in the inventory, the blueprint was unavailable.
With a magazine with > 0 ammo present in the inventory, the blueprint was available but didn't do anything when clicked (broken).
Blueprint_#_Type Gear
toBlueprint_#_Type Tool
Result:
Changing
Blueprint_#_Type Gear
toBlueprint_#_Type Tool
has the same behaviour as asBlueprint_#_Type Gear
, except the blueprint appears in the "Tools" crafting tab.Magazines with 0 ammo amount can't be used in the blueprint. Magazines with > 0 ammo amount can be used in the blueprint.
Blueprint_#_Supplies
andBlueprint_#_Supply_#_ID
lines in hopes that the blueprint system would automatically use its own item as the supply.Result: the blueprint was not in the UI.
Blueprint_#_Supplies
andBlueprint_#_Supply_#_ID
lines again and changed theBlueprint_#_Type Gear
line toBlueprint_#_Type Tool
.Result: the blueprint was not in the UI.
Basically, there is no workaround that I could think of yet...
Conclusion:
Empty magazines cannot be used in blueprints at all.
If empty magazines were able to be used in blueprints, then various mods become possible, such as: using magazines for crafting other (new) magazines (like a "double" magazine for example), using magazines to craft other items, and salvaging magazines into scrap metal (which was my intention).