Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace canAdd with CBA_fnc_canAddItem #8012

Merged
merged 1 commit into from
Feb 27, 2021

Conversation

Dystopian
Copy link
Contributor

@Dystopian Dystopian commented Nov 22, 2020

When merged this pull request will:

  • title.

This adds ability to put items to inventory when you have enough space but weight is over 100lb. You now can correctly put earplugs out, repack magazines or detach IR strobe etc.

I didn't test only CSW and Pass magazine code.

@veteran29 veteran29 added this to the 3.13.6 milestone Nov 22, 2020
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Feb 18, 2021
@PabstMirror
Copy link
Contributor

example loadout @ 117lbs

[["srifle_LRR_camo_F","","","",["7Rnd_408_Mag",7],[],""],["ACE_launch_NLAW_ready_F","","","",["NLAW_F",1],[],""],["hgun_ACPC2_F","","","",["9Rnd_45ACP_Mag",8],[],""],["U_B_CombatUniform_mcam",[]],["V_PlateCarrier1_rgr",[]],["B_Carryall_cbr",[["ACE_bloodIV",30]]],"H_HelmetB_grass","",[],["ItemMap","","ItemRadio","ItemCompass","ItemWatch","NVGoggles"]]

uniform, vest and backpack can still have room for a "ACE_bloodIV"
but canAdd/canAddItemToX commands all return false
CBA_fnc_canAddItem uses getContainerMaxLoad and loadVest commands and works correctly

@PabstMirror PabstMirror merged commit b151148 into acemod:master Feb 27, 2021
@Dystopian Dystopian deleted the canAddItem branch February 27, 2021 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants