Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement integral magazines as magazine items #32331
SUMMARY: Infrastructure "Reimplement integral magazines as MAGAZINE items"
Purpose of change
Several areas of code can be simplified if they only have to consider magazines as ammo sources.
Part of #32227.
Describe the solution
Integral magazine loadables are defined for an object as described in #32227. While new code in this branch is written to support more than one magazine, most of the existing code is not so until all relevant code is updated no more than one integral magazine should be defined per item. There should be no significant player visible changes from this PR.
This pull request has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: