Skip to content

Magazine Repack - Add ability to disable repacking via class#10232

Merged
PabstMirror merged 7 commits intomasterfrom
magrepack-disableviaclass
Aug 20, 2024
Merged

Magazine Repack - Add ability to disable repacking via class#10232
PabstMirror merged 7 commits intomasterfrom
magrepack-disableviaclass

Conversation

@Mike-MF
Copy link
Copy Markdown
Member

@Mike-MF Mike-MF commented Aug 19, 2024

When merged this pull request will:

  • Adds optional ability to disable magazine repacking by CfgMagazines entry.

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Comment thread addons/magazinerepack/functions/fnc_getMagazineChildren.sqf Outdated
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Comment thread addons/magazinerepack/functions/fnc_canRepackMagazine.sqf Outdated
@Mike-MF
Copy link
Copy Markdown
Member Author

Mike-MF commented Aug 19, 2024

Someone should look at the documentation, No idea if I did it right or not for a new file.

Copy link
Copy Markdown
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a specific use case in mind? Atm I can't really see any, I would be happy to learn about the scenarios where you'd want/need to use this.

Comment thread docs/wiki/framework/magazine-repack-framework.md
@Mike-MF
Copy link
Copy Markdown
Member Author

Mike-MF commented Aug 19, 2024

Do you have a specific use case in mind? Atm I can't really see any, I would be happy to learn about the scenarios where you'd want/need to use this.

Any item you track the count of that you wouldn't be able to "repack", for example Brett mentioned that you can repack UAV batteries which .. probably shouldn't work.

Survival mods/scenarios that utilise ACE would also benefit from this.

@MiszczuZPolski
Copy link
Copy Markdown
Contributor

MiszczuZPolski commented Aug 19, 2024

Do you have a specific use case in mind? Atm I can't really see any, I would be happy to learn about the scenarios where you'd want/need to use this.

I guess you can also use it to disable repacking ACE_Painkillers?

@Mike-MF
Copy link
Copy Markdown
Member Author

Mike-MF commented Aug 19, 2024

you can, but painkillers actually makes sense as it's a pill bottle, just pour one into the other and ignore the bullet clicky sounds.

@MiszczuZPolski
Copy link
Copy Markdown
Contributor

you can, but painkillers actually makes sense as it's a pill bottle, just pour one into the other and ignore the bullet clicky sounds.

yet model is pill box 🦘 tho i already see use case for this in KAM

@rautamiekka
Copy link
Copy Markdown
Contributor

repack UAV batteries

And even if you had a small enough portable charger to transfer the energy between the batteries, it'd take far too long to be of any use (something like 1-4 hours (I think) when the battery is like 15-30%), which'd break any resemblance of realism.

you can, but painkillers actually makes sense as it's a pill bottle, just pour one into the other and ignore the bullet clicky sounds.

yet model is pill box 🦘 tho i already see use case for this in KAM

I doubt the pills would be loose in the box, instead in some kinda holders.

@jonpas jonpas added the kind/feature Release Notes: **ADDED:** label Aug 20, 2024
@jonpas jonpas added this to the 3.18.0 milestone Aug 20, 2024
@jonpas
Copy link
Copy Markdown
Member

jonpas commented Aug 20, 2024

I doubt the pills would be loose in the box, instead in some kinda holders.

They do come loose in the box in the US.

Comment thread addons/magazinerepack/functions/fnc_canRepackMagazine.sqf Outdated
Comment thread addons/magazinerepack/functions/fnc_getMagazineChildren.sqf Outdated
Comment thread docs/wiki/framework/magazine-repack-framework.md Outdated
Comment thread docs/wiki/framework/magazine-repack-framework.md Outdated
@PabstMirror PabstMirror merged commit 52c19d5 into master Aug 20, 2024
@PabstMirror PabstMirror deleted the magrepack-disableviaclass branch August 20, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature Release Notes: **ADDED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants