Skip to content

Fix MAC-18 missing from magazines system - #748

Open
Gamaun007 wants to merge 1 commit into
Grokitach:mainfrom
Gamaun007:fix/mac18-magazine-lookup
Open

Fix MAC-18 missing from magazines system#748
Gamaun007 wants to merge 1 commit into
Grokitach:mainfrom
Gamaun007:fix/mac18-magazine-lookup

Conversation

@Gamaun007

Copy link
Copy Markdown

The Weapon Pack converts wpn_mac10 from 9x19 (MAC-10) to 9x18 (MAC-18) via mod_system_zzzzz_gamma_mac18.ltx, and its base_mac10.ltx rewrites the [mac10_9x19] base type's caliber from 9x19 to 9x18 to match. However the upstream weapon-magazine lookup (from 487- MAC10 Quality Control) only maps ammo_9x19_fmj -> mac10_9x19, so after the conversion the gun has no base_type binding for its actual ammo and the magazine system silently skips it.

Adds w_mac10_mac18.ltx with a DLTX merge override (![wpn_mac10]) supplying the missing ammo_9x18_fmj mapping. Non-destructive: the existing 9x19 and 11.43x23 mappings from the upstream lookup are preserved. Filename sorts alphabetically after the upstream w_mac10.ltx so the override targets a section that already exists.

The Weapon Pack converts wpn_mac10 from 9x19 (MAC-10) to 9x18 (MAC-18) via
mod_system_zzzzz_gamma_mac18.ltx, and its base_mac10.ltx rewrites the
[mac10_9x19] base type's caliber from 9x19 to 9x18 to match. However the
upstream weapon-magazine lookup (from 487- MAC10 Quality Control) only maps
ammo_9x19_fmj -> mac10_9x19, so after the conversion the gun has no base_type
binding for its actual ammo and the magazine system silently skips it.

Adds w_mac10_mac18.ltx with a DLTX merge override (![wpn_mac10]) supplying the
missing ammo_9x18_fmj mapping. Non-destructive: the existing 9x19 and 11.43x23
mappings from the upstream lookup are preserved. Filename sorts alphabetically
after the upstream w_mac10.ltx so the override targets a section that already
exists.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Grokitach

Copy link
Copy Markdown
Owner

God I hate AI written PR messages

@Gamaun007

Copy link
Copy Markdown
Author

At least AI provided more expertise for 30 minutes comparing to me trying to dig into it for the same amount of time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants