ソースを参照

【新增】扩展 UltiMAK 与 SVDS 导气管件跨枪兼容

让 SVDS 照门固定环的护木槽兼容其自身,照门槽兼容 OP-SKS 标准 / SKS 木制标准 / ATI Monte Carlo 3 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件;让 5 种 SKS 导气管防尘盖与 UltiMAK M1-B 彼此(含与自身)互不兼容,使一把武器上最多只能装一个;让 UltiMAK M1-B 的战术配件槽(mod_tactical_000)兼容 MDR BLK LBL ALX 20 脚架。
PJ568 1 ヶ月 前
親
コミット
beb1638452

+ 2 - 2
README.md

@@ -16,7 +16,7 @@
 | CR 50DS 前准星槽与战术设备槽 | PPSh-41 枪管与枪托槽 |
 | CR 50DS 前准星槽与战术设备槽 | PPSh-41 枪管与枪托槽 |
 | --- | --- |
 | --- | --- |
 | ![Chiappa 犀牛 50DS 左轮手枪](assets/50DS.webp) | ![PPSh-41 冲锋枪](assets/PPSh.webp) |
 | ![Chiappa 犀牛 50DS 左轮手枪](assets/50DS.webp) | ![PPSh-41 冲锋枪](assets/PPSh.webp) |
-| 前准星槽装瞄具基座;战术设备槽装 RK 系列前握把。 | 枪管槽装莫辛 220mm / 514mm / 730mm、SKS / OP-SKS、SVT-40 625mm 枪管或 SVDS 照门固定环(并挂三轨);SVDS 照门固定环的护木槽可装莫辛 200mm、M700、ORSIS T-5000M、SVDS 枪管或 SVT-40 625mm 枪管,照门槽与 SKS / OP-SKS 照门固定环、SVT-40 625mm 枪管一样可装 TKPD 导轨防尘盖(该防尘盖与 SKS / OP-SKS / SVT-40 / AVT-40 / SVDS 枪本体及自身互斥,SVT-40 625mm 枪管的照门槽另可装 5 种 SKS 导气管防尘盖,ALX 20 脚架与自身互斥;SVDS 照门固定环另与 PPSh-41 防尘盖、TAPCO Intrafuse SKS 枪身套件互斥,其护木槽的原版 SVDS 护木与 PPSh-41 本体互斥、其护木槽的 SVT-40 625mm 枪管与 SVDS 本体互斥);枪托槽装 M14ALCS (MOD-0) 枪托与 Zveno 缓冲管转接器;上机匣槽装 TAPCO Intrafuse 或 Fab Defence UAS SKS 枪身套件;730mm 莫辛枪管与 SVT-40 标准枪口装置的准星槽可装 MDR BLK LBL ALX 脚架(16 / 20),AA-12 457mm 枪管的导轨槽可装 M60 脚架,Fab Defence UAS SKS 枪身套件的下导轨可装 ALX 20 脚架,MP-18 与 Marlin MXLR 的枪托槽可装 KS-23 金属枪托;此外 RPD 520mm 枪管的枪口装置槽可装 AKM PBS-1 消音器。 |
+| 前准星槽装瞄具基座;战术设备槽装 RK 系列前握把。 | 枪管槽装莫辛 220mm / 514mm / 730mm、SKS / OP-SKS、SVT-40 625mm 枪管或 SVDS 照门固定环(并挂三轨);SVDS 照门固定环的护木槽可装莫辛 200mm、M700、ORSIS T-5000M、SVDS 枪管、SVT-40 625mm 枪管或照门固定环自身,照门槽可装 TKPD 导轨防尘盖;SKS / OP-SKS 照门固定环与 SVT-40 625mm 枪管的照门槽兼容 TKPD 与全部 5 种 SKS 导气管防尘盖,SVDS 照门固定环的照门槽兼容 TKPD、OP-SKS 标准 / SKS 木制标准 / ATI Monte Carlo 3 种防尘盖与 UltiMAK M1-B AK 导气管套件(TKPD 与 SKS / OP-SKS / SVT-40 / AVT-40 / SVDS 枪本体及自身互斥,5 种 SKS 导气管防尘盖与 UltiMAK M1-B 彼此(含自身)互斥且每把武器最多一个,ALX 20 脚架与自身互斥;SVDS 照门固定环另与 PPSh-41 防尘盖、TAPCO Intrafuse SKS 枪身套件互斥,其护木槽的原版 SVDS 护木与 PPSh-41 本体互斥、其护木槽的 SVT-40 625mm 枪管与 SVDS 本体互斥);枪托槽装 M14ALCS (MOD-0) 枪托与 Zveno 缓冲管转接器;上机匣槽装 TAPCO Intrafuse 或 Fab Defence UAS SKS 枪身套件;730mm 莫辛枪管与 SVT-40 标准枪口装置的准星槽可装 MDR BLK LBL ALX 脚架(16 / 20),AA-12 457mm 枪管的导轨槽可装 M60 脚架,Fab Defence UAS SKS 枪身套件的下导轨与 UltiMAK M1-B 的战术配件槽可装 ALX 20 脚架,MP-18 与 Marlin MXLR 的枪托槽可装 KS-23 金属枪托;此外 RPD 520mm 枪管的枪口装置槽可装 AKM PBS-1 消音器。 |
 
 
 ## 文档
 ## 文档
 
 
@@ -54,7 +54,7 @@ All injections are idempotent: an id already present is never added twice.
 | CR 50DS front sight and tactical slots | PPSh-41 barrel and stock slots |
 | CR 50DS front sight and tactical slots | PPSh-41 barrel and stock slots |
 | --- | --- |
 | --- | --- |
 | ![Chiappa Rhino 50DS revolver](assets/50DS.webp) | ![PPSh-41 SMG](assets/PPSh.webp) |
 | ![Chiappa Rhino 50DS revolver](assets/50DS.webp) | ![PPSh-41 SMG](assets/PPSh.webp) |
-| The front sight slot takes a scope base; the tactical slot takes an RK-series foregrip. | The barrel slot takes a 220 / 514 / 730 mm Mosin, SKS / OP-SKS, SVT-40 625 mm barrel or the SVDS rear sight block (with the tri-rail mounted on it); the SVDS rear sight block's handguard slot takes a Mosin 200 mm, M700, ORSIS T-5000M, SVDS or SVT-40 625 mm barrel, and its sight slot, like the SKS / OP-SKS rear sight blocks and the SVT-40 625 mm barrel, takes the TKPD railed dust cover (which is incompatible with the SKS / OP-SKS / SVT-40 / AVT-40 / SVDS weapons and with itself; the SVT-40 625 mm barrel's sight slot additionally takes the 5 SKS gas-tube covers, and the ALX 20 bipod is incompatible with itself; the SVDS rear sight block is additionally incompatible with the PPSh-41 dust cover and the TAPCO Intrafuse SKS chassis kit, while the vanilla SVDS handguards it accepts are incompatible with the PPSh-41 weapon itself and the SVT-40 625 mm barrel it accepts is incompatible with the SVDS weapon itself); the stock slot takes the M14ALCS (MOD-0) buttstock and the Zveno buffer tube adapter; the upper receiver slot takes a TAPCO Intrafuse or Fab Defence UAS SKS chassis kit; the 730 mm Mosin barrel's and the SVT-40 standard muzzle's front sight slots take an MDR BLK LBL ALX bipod (16 / 20), the AA-12 457 mm barrel's rail slot takes an M60 bipod, the Fab Defence UAS SKS chassis kit's lower rail takes an ALX 20 bipod, and the MP-18 and Marlin MXLR stock slots take a KS-23 metal stock; additionally, the RPD 520 mm barrel's muzzle device slot takes an AKM PBS-1 suppressor. |
+| The front sight slot takes a scope base; the tactical slot takes an RK-series foregrip. | The barrel slot takes a 220 / 514 / 730 mm Mosin, SKS / OP-SKS, SVT-40 625 mm barrel or the SVDS rear sight block (with the tri-rail mounted on it); the SVDS rear sight block's handguard slot takes a Mosin 200 mm, M700, ORSIS T-5000M, SVDS, SVT-40 625 mm barrel or the rear sight block itself, and its sight slot takes the TKPD railed dust cover, the 3 SKS gas-tube covers (OP-SKS standard, SKS wooden standard, ATI Monte Carlo) and the UltiMAK M1-B AK gas tube kit (the dust cover is incompatible with the SKS / OP-SKS / SVT-40 / AVT-40 / SVDS weapons and with itself; the 5 SKS gas-tube covers and the UltiMAK M1-B are mutually incompatible including with themselves, so at most one per weapon; the SKS / OP-SKS rear sight blocks and the SVT-40 625 mm barrel keep all 5 SKS gas-tube covers; the ALX 20 bipod is incompatible with itself; the SVDS rear sight block is additionally incompatible with the PPSh-41 dust cover and the TAPCO Intrafuse SKS chassis kit, while the vanilla SVDS handguards it accepts are incompatible with the PPSh-41 weapon itself and the SVT-40 625 mm barrel it accepts is incompatible with the SVDS weapon itself); the stock slot takes the M14ALCS (MOD-0) buttstock and the Zveno buffer tube adapter; the upper receiver slot takes a TAPCO Intrafuse or Fab Defence UAS SKS chassis kit; the 730 mm Mosin barrel's and the SVT-40 standard muzzle's front sight slots take an MDR BLK LBL ALX bipod (16 / 20), the AA-12 457 mm barrel's rail slot takes an M60 bipod, the Fab Defence UAS SKS chassis kit's lower rail and the UltiMAK M1-B's tactical slot take an ALX 20 bipod, and the MP-18 and Marlin MXLR stock slots take a KS-23 metal stock; additionally, the RPD 520 mm barrel's muzzle device slot takes an AKM PBS-1 suppressor. |
 
 
 ## Documentation
 ## Documentation
 
 

+ 3 - 3
WeaponCrossModding.csproj

@@ -13,9 +13,9 @@
       钉到 4.1.2 是当前最稳的策略;服务端校验 mod 编译引用的 SPTarkov.Server.Core
       钉到 4.1.2 是当前最稳的策略;服务端校验 mod 编译引用的 SPTarkov.Server.Core
       AssemblyVersion,使用 4.1.2 编译的 mod 可被 4.1.5 宿主加载。
       AssemblyVersion,使用 4.1.2 编译的 mod 可被 4.1.5 宿主加载。
     -->
     -->
-    <Version>0.8.0</Version>
-    <AssemblyVersion>0.8.0.0</AssemblyVersion>
-    <FileVersion>0.8.0.0</FileVersion>
+    <Version>0.12.0</Version>
+    <AssemblyVersion>0.12.0.0</AssemblyVersion>
+    <FileVersion>0.12.0.0</FileVersion>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
   </PropertyGroup>
   </PropertyGroup>
 
 

+ 2 - 2
docs/compatibility.md

@@ -13,7 +13,7 @@
   - Marlin MXLR 杠杆步枪由该模组注入,且本插件将其用作**槽位宿主**(区别于仅作白名单新增项的其它 WTT 物品);若其未在本插件运行前注入,对应条目会记 `not found in Items` 警告并跳过。
   - Marlin MXLR 杠杆步枪由该模组注入,且本插件将其用作**槽位宿主**(区别于仅作白名单新增项的其它 WTT 物品);若其未在本插件运行前注入,对应条目会记 `not found in Items` 警告并跳过。
 - **原版物品**:RPD 520mm 枪管、M700 全部 4 种枪管、ORSIS T-5000M 660mm 枪管、SKS 与 OP-SKS 的 520mm 枪管、TAPCO Intrafuse SKS 枪身套件、Fab Defence UAS SKS 枪身套件及其枪托槽配件(TAPCO Intrafuse 缓冲管、Fab Defence UAS 折叠枪托)、SKS / OP-SKS 照门固定环、SKS / OP-SKS / SVT-40 / AVT-40 枪本体与 SVT-40 625mm 枪管、SVDS 照门固定环、SVDS 枪本体与 SVDS 枪管、PPSh-41 71 发弹鼓,以及 AKM PBS-1 7.62x39 消音器均为原版物品,不依赖 `WTT-ContentBackport`。
 - **原版物品**:RPD 520mm 枪管、M700 全部 4 种枪管、ORSIS T-5000M 660mm 枪管、SKS 与 OP-SKS 的 520mm 枪管、TAPCO Intrafuse SKS 枪身套件、Fab Defence UAS SKS 枪身套件及其枪托槽配件(TAPCO Intrafuse 缓冲管、Fab Defence UAS 折叠枪托)、SKS / OP-SKS 照门固定环、SKS / OP-SKS / SVT-40 / AVT-40 枪本体与 SVT-40 625mm 枪管、SVDS 照门固定环、SVDS 枪本体与 SVDS 枪管、PPSh-41 71 发弹鼓,以及 AKM PBS-1 7.62x39 消音器均为原版物品,不依赖 `WTT-ContentBackport`。
 - **PPSh-41 上机匣槽**:`mod_reciever` 槽同时承载 PPSh-41 防尘盖、TAPCO Intrafuse SKS 与 Fab Defence UAS SKS 枪身套件,共用同一槽位,因此彼此天然二选一。
 - **PPSh-41 上机匣槽**:`mod_reciever` 槽同时承载 PPSh-41 防尘盖、TAPCO Intrafuse SKS 与 Fab Defence UAS SKS 枪身套件,共用同一槽位,因此彼此天然二选一。
-- **新增互斥**:两个 SKS 枪身套件与除 KS-23 金属枪托之外的全部 PPSh-41 枪托(含原装木制枪托与 Zveno 缓冲管转接器)互不兼容;两个 SKS 枪身套件与 PPSh-41 的 71 发弹鼓互不兼容;KS-23 金属枪托与两个 SKS 枪身套件枪托槽可装的配件互不兼容;TKPD 导轨防尘盖与 SKS / OP-SKS / SVT-40 / AVT-40 / SVDS 枪本体互不兼容;SVDS 照门固定环护木槽可装的莫辛 200mm、M700 全部 4 种与 ORSIS T-5000M 枪管与 SVDS 枪本体互不兼容;SVDS 枪管与自身互不兼容(防止重复安装);SVDS 照门固定环与 PPSh-41 防尘盖、TAPCO Intrafuse SKS 枪身套件互不兼容;SVDS 照门固定环护木槽可装的 3 种原版 SVDS 护木与 PPSh-41 枪本体互不兼容;SVDS 照门固定环护木槽可装的 SVT-40 / AVT-40 625mm 枪管与 SVDS 枪本体互不兼容;TKPD 导轨防尘盖与自身互不兼容(防止重复安装);MDR BLK LBL ALX 20 脚架与自身互不兼容(防止重复安装)。
+- **新增互斥**:两个 SKS 枪身套件与除 KS-23 金属枪托之外的全部 PPSh-41 枪托(含原装木制枪托与 Zveno 缓冲管转接器)互不兼容;两个 SKS 枪身套件与 PPSh-41 的 71 发弹鼓互不兼容;KS-23 金属枪托与两个 SKS 枪身套件枪托槽可装的配件互不兼容;TKPD 导轨防尘盖与 SKS / OP-SKS / SVT-40 / AVT-40 / SVDS 枪本体互不兼容;SVDS 照门固定环护木槽可装的莫辛 200mm、M700 全部 4 种与 ORSIS T-5000M 枪管与 SVDS 枪本体互不兼容;SVDS 枪管与自身互不兼容(防止重复安装);SVDS 照门固定环与 PPSh-41 防尘盖、TAPCO Intrafuse SKS 枪身套件互不兼容;SVDS 照门固定环护木槽可装的 3 种原版 SVDS 护木与 PPSh-41 枪本体互不兼容;SVDS 照门固定环护木槽可装的 SVT-40 / AVT-40 625mm 枪管与 SVDS 枪本体互不兼容;TKPD 导轨防尘盖与自身互不兼容(防止重复安装);MDR BLK LBL ALX 20 脚架与自身互不兼容(防止重复安装);5 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件彼此之间(含与自身)互不兼容,使一把武器上最多只能装一个。
 - 插件只改写物品数据库,不注册 Harmony patch,也不与客户端插件争抢运行时方法。
 - 插件只改写物品数据库,不注册 Harmony patch,也不与客户端插件争抢运行时方法。
 
 
 ## 已知限制
 ## 已知限制
@@ -50,7 +50,7 @@
   - The Marlin MXLR lever-action rifle is injected by that mod, and this plugin uses it as a **slot owner** (unlike other WTT items that are only whitelist additions); if it is not injected before this plugin runs, the affected entry logs a `not found in Items` warning and is skipped.
   - The Marlin MXLR lever-action rifle is injected by that mod, and this plugin uses it as a **slot owner** (unlike other WTT items that are only whitelist additions); if it is not injected before this plugin runs, the affected entry logs a `not found in Items` warning and is skipped.
 - **Vanilla items**: the RPD 520 mm barrel, all four M700 barrels, the ORSIS T-5000M 660 mm barrel, the SKS and OP-SKS 520 mm barrels, the TAPCO Intrafuse SKS chassis kit, the Fab Defence UAS SKS chassis kit and their stock-slot parts (TAPCO Intrafuse buffer tube, Fab Defence UAS folding stock), the SKS / OP-SKS rear sight blocks, the SKS / OP-SKS / SVT-40 / AVT-40 weapons and the SVT-40 625 mm barrel, the SVDS rear sight block, the SVDS weapon and the SVDS barrel, the PPSh-41 71-round drum magazine, and the AKM PBS-1 7.62x39 suppressor are all vanilla items and do not depend on `WTT-ContentBackport`.
 - **Vanilla items**: the RPD 520 mm barrel, all four M700 barrels, the ORSIS T-5000M 660 mm barrel, the SKS and OP-SKS 520 mm barrels, the TAPCO Intrafuse SKS chassis kit, the Fab Defence UAS SKS chassis kit and their stock-slot parts (TAPCO Intrafuse buffer tube, Fab Defence UAS folding stock), the SKS / OP-SKS rear sight blocks, the SKS / OP-SKS / SVT-40 / AVT-40 weapons and the SVT-40 625 mm barrel, the SVDS rear sight block, the SVDS weapon and the SVDS barrel, the PPSh-41 71-round drum magazine, and the AKM PBS-1 7.62x39 suppressor are all vanilla items and do not depend on `WTT-ContentBackport`.
 - **PPSh-41 upper receiver slot**: the `mod_reciever` slot carries the PPSh-41 dust cover, the TAPCO Intrafuse SKS and the Fab Defence UAS SKS chassis kits; since they share the same slot, they are inherently an either/or choice.
 - **PPSh-41 upper receiver slot**: the `mod_reciever` slot carries the PPSh-41 dust cover, the TAPCO Intrafuse SKS and the Fab Defence UAS SKS chassis kits; since they share the same slot, they are inherently an either/or choice.
-- **New exclusions**: the two SKS chassis kits are incompatible with every PPSh-41 stock except the KS-23 metal stock (including the PPSh wooden stock and the Zveno buffer tube adapter) and with the PPSh-41 71-round drum magazine; the KS-23 metal stock is incompatible with the parts accepted by the two SKS chassis kits' stock slots; the TKPD railed dust cover is incompatible with the SKS, OP-SKS, SVT-40, AVT-40 and SVDS weapons; the Mosin 200 mm, all four M700 and the ORSIS T-5000M barrels accepted by the SVDS rear sight block's handguard slot are incompatible with the SVDS weapon; the SVDS barrel is incompatible with itself (to prevent duplicate mounting); the SVDS rear sight block is incompatible with the PPSh-41 dust cover and with the TAPCO Intrafuse SKS chassis kit; the 3 vanilla SVDS handguards accepted by the SVDS rear sight block's handguard slot are incompatible with the PPSh-41 weapon itself; the SVT-40 / AVT-40 625 mm barrel accepted by that handguard slot is incompatible with the SVDS weapon; the TKPD railed dust cover is incompatible with itself (to prevent duplicate mounting); the MDR BLK LBL ALX 20 bipod is incompatible with itself (to prevent duplicate mounting).
+- **New exclusions**: the two SKS chassis kits are incompatible with every PPSh-41 stock except the KS-23 metal stock (including the PPSh wooden stock and the Zveno buffer tube adapter) and with the PPSh-41 71-round drum magazine; the KS-23 metal stock is incompatible with the parts accepted by the two SKS chassis kits' stock slots; the TKPD railed dust cover is incompatible with the SKS, OP-SKS, SVT-40, AVT-40 and SVDS weapons; the Mosin 200 mm, all four M700 and the ORSIS T-5000M barrels accepted by the SVDS rear sight block's handguard slot are incompatible with the SVDS weapon; the SVDS barrel is incompatible with itself (to prevent duplicate mounting); the SVDS rear sight block is incompatible with the PPSh-41 dust cover and with the TAPCO Intrafuse SKS chassis kit; the 3 vanilla SVDS handguards accepted by the SVDS rear sight block's handguard slot are incompatible with the PPSh-41 weapon itself; the SVT-40 / AVT-40 625 mm barrel accepted by that handguard slot is incompatible with the SVDS weapon; the TKPD railed dust cover is incompatible with itself (to prevent duplicate mounting); the MDR BLK LBL ALX 20 bipod is incompatible with itself (to prevent duplicate mounting); the 5 SKS gas-tube covers and the UltiMAK M1-B AK gas tube kit are mutually incompatible with each other (including with themselves), so at most one can be installed on a weapon.
 - The plugin only rewrites the item database. It registers no Harmony patch and never contends with client plugins for runtime methods.
 - The plugin only rewrites the item database. It registers no Harmony patch and never contends with client plugins for runtime methods.
 
 
 ## Known Limitations
 ## Known Limitations

+ 8 - 4
docs/features.md

@@ -9,12 +9,12 @@
 - Aim Sports“三轨”莫辛步枪导轨的 `mod_scope` 槽:新增 M14 SAGE International DCSB 瞄具基座。
 - Aim Sports“三轨”莫辛步枪导轨的 `mod_scope` 槽:新增 M14 SAGE International DCSB 瞄具基座。
 - SKS / OP-SKS 照门固定环的 `mod_sight_rear` 照门槽:新增 TKPD 导轨防尘盖。
 - SKS / OP-SKS 照门固定环的 `mod_sight_rear` 照门槽:新增 TKPD 导轨防尘盖。
 - SVT-40 625mm 枪管的 `mod_sight_rear` 照门槽:新增 TKPD 导轨防尘盖与 5 种 SKS 导气管防尘盖(OP-SKS 标准、SKS 木制标准、TAPCO、Fab Defence UAS、ATI Monte Carlo;即原生 SKS 导气箍可装的那 5 种)。
 - SVT-40 625mm 枪管的 `mod_sight_rear` 照门槽:新增 TKPD 导轨防尘盖与 5 种 SKS 导气管防尘盖(OP-SKS 标准、SKS 木制标准、TAPCO、Fab Defence UAS、ATI Monte Carlo;即原生 SKS 导气箍可装的那 5 种)。
-- SVDS 照门固定环的 `mod_sight_rear` 照门槽:新增 TKPD 导轨防尘盖。
+- SVDS 照门固定环的 `mod_sight_rear` 照门槽:新增 TKPD 导轨防尘盖、3 种 SKS 导气管防尘盖(OP-SKS 标准、SKS 木制标准、ATI Monte Carlo)与 UltiMAK M1-B AK 导气管套件。
 
 
 ## 枪管与枪托
 ## 枪管与枪托
 
 
 - PPSh-41 冲锋枪的 `mod_barrel` 枪管槽:新增莫辛纳甘 220mm 锯短螺纹 / 514mm 卡宾 / 730mm 标准枪管、SKS / OP-SKS 的 520mm 枪管、SVT-40 / AVT-40 共用的 625mm 枪管与 SVDS 照门固定环。(莫辛 200mm、M700 全部 4 种与 ORSIS T-5000M 枪管已移至 SVDS 照门固定环的护木槽。)
 - PPSh-41 冲锋枪的 `mod_barrel` 枪管槽:新增莫辛纳甘 220mm 锯短螺纹 / 514mm 卡宾 / 730mm 标准枪管、SKS / OP-SKS 的 520mm 枪管、SVT-40 / AVT-40 共用的 625mm 枪管与 SVDS 照门固定环。(莫辛 200mm、M700 全部 4 种与 ORSIS T-5000M 枪管已移至 SVDS 照门固定环的护木槽。)
-- SVDS 照门固定环的 `mod_handguard` 护木槽:新增莫辛 200mm 锯短枪管、M700 全部 4 种枪管(26 英寸、20 英寸螺纹、26 英寸不锈钢、20 英寸不锈钢螺纹)、ORSIS T-5000M 660mm 枪管、SVDS 枪管与 SVT-40 / AVT-40 共用的 625mm 枪管。
+- SVDS 照门固定环的 `mod_handguard` 护木槽:新增莫辛 200mm 锯短枪管、M700 全部 4 种枪管(26 英寸、20 英寸螺纹、26 英寸不锈钢、20 英寸不锈钢螺纹)、ORSIS T-5000M 660mm 枪管、SVDS 枪管、SVT-40 / AVT-40 共用的 625mm 枪管与 SVDS 照门固定环自身。
 - PPSh-41 冲锋枪的 `mod_stock` 枪托槽:新增 Benelli M3 可伸缩枪托、PKM 木制枪托、Zenit PT-2 "Klassika" PK 机枪枪托、PKP 聚合物枪托、Ultima MP-155 塑料手枪式握把、KS-23 金属枪托、M14 SAGE International M14ALCS (MOD-0) 枪托与 Zveno PK 缓冲管转接器(由 `WTT-ContentBackport` 注入)。
 - PPSh-41 冲锋枪的 `mod_stock` 枪托槽:新增 Benelli M3 可伸缩枪托、PKM 木制枪托、Zenit PT-2 "Klassika" PK 机枪枪托、PKP 聚合物枪托、Ultima MP-155 塑料手枪式握把、KS-23 金属枪托、M14 SAGE International M14ALCS (MOD-0) 枪托与 Zveno PK 缓冲管转接器(由 `WTT-ContentBackport` 注入)。
 - 730mm 标准莫辛枪管的 `mod_sight_front` 前准星槽:新增 MDR BLK LBL ALX 脚架(16 与 20 型号,由 `WTT-ContentBackport` 注入;与莫辛准星共用同一槽位,二者互斥)。
 - 730mm 标准莫辛枪管的 `mod_sight_front` 前准星槽:新增 MDR BLK LBL ALX 脚架(16 与 20 型号,由 `WTT-ContentBackport` 注入;与莫辛准星共用同一槽位,二者互斥)。
 - SVT-40 标准枪口装置的 `mod_sight_front` 前准星槽:新增 MDR BLK LBL ALX 脚架(16 与 20 型号,由 `WTT-ContentBackport` 注入;与原准星共用同一槽位,二者互斥)。
 - SVT-40 标准枪口装置的 `mod_sight_front` 前准星槽:新增 MDR BLK LBL ALX 脚架(16 与 20 型号,由 `WTT-ContentBackport` 注入;与原准星共用同一槽位,二者互斥)。
@@ -28,6 +28,7 @@
 - Aim Sports“三轨”的第二个战术配件槽(`mod_tactical_001`):新增 SV-98 隔热带。
 - Aim Sports“三轨”的第二个战术配件槽(`mod_tactical_001`):新增 SV-98 隔热带。
 - UZI StormWerkz 护木底轨的 `mod_tactical` 槽:新增 Zenit RK 系列前握把。
 - UZI StormWerkz 护木底轨的 `mod_tactical` 槽:新增 Zenit RK 系列前握把。
 - Fab Defence UAS SKS 枪身套件的下导轨(`mod_tactical_002`):新增 MDR BLK LBL ALX 20 脚架(由 `WTT-ContentBackport` 注入)。
 - Fab Defence UAS SKS 枪身套件的下导轨(`mod_tactical_002`):新增 MDR BLK LBL ALX 20 脚架(由 `WTT-ContentBackport` 注入)。
+- UltiMAK M1-B AK 导气管套件的战术配件槽(`mod_tactical_000`):新增 MDR BLK LBL ALX 20 脚架(由 `WTT-ContentBackport` 注入)。
 - CR 50DS 的 `mod_tactical` 战术设备槽:新增 Zenit RK 系列前握把、KAC MWS 脚架转接器与 BT10 V8 Atlas 折叠脚架。
 - CR 50DS 的 `mod_tactical` 战术设备槽:新增 Zenit RK 系列前握把、KAC MWS 脚架转接器与 BT10 V8 Atlas 折叠脚架。
 - M14 SAGE International M14ALCS (MOD-0) 枪托的 `mod_pistol_grip` 握把位:新增 AR-15 Tactical Dynamics 镂空手枪式握把、Tyrant Designs MOD Chevron AR-15 镂空手枪式握把(黑 / 黄 / 红)与 AS VAL Rotor 43 手枪式握把附缓冲管转接器。
 - M14 SAGE International M14ALCS (MOD-0) 枪托的 `mod_pistol_grip` 握把位:新增 AR-15 Tactical Dynamics 镂空手枪式握把、Tyrant Designs MOD Chevron AR-15 镂空手枪式握把(黑 / 黄 / 红)与 AS VAL Rotor 43 手枪式握把附缓冲管转接器。
 - PPSh-41 冲锋枪的 `mod_reciever` 上机匣槽:新增 TAPCO Intrafuse SKS 枪身套件与 Fab Defence UAS SKS 枪身套件(二者与 PPSh-41 防尘盖共用同一槽位,天然互斥)。
 - PPSh-41 冲锋枪的 `mod_reciever` 上机匣槽:新增 TAPCO Intrafuse SKS 枪身套件与 Fab Defence UAS SKS 枪身套件(二者与 PPSh-41 防尘盖共用同一槽位,天然互斥)。
@@ -44,6 +45,7 @@
 - TKPD 导轨防尘盖与自身互不兼容(防止重复安装)。
 - TKPD 导轨防尘盖与自身互不兼容(防止重复安装)。
 - SVDS 照门固定环护木槽可装的 SVT-40 / AVT-40 625mm 枪管与 SVDS 枪本体互不兼容。
 - SVDS 照门固定环护木槽可装的 SVT-40 / AVT-40 625mm 枪管与 SVDS 枪本体互不兼容。
 - MDR BLK LBL ALX 20 脚架与自身互不兼容(防止重复安装)。
 - MDR BLK LBL ALX 20 脚架与自身互不兼容(防止重复安装)。
+- 5 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件彼此之间(含与自身)互不兼容,使一把武器上最多只能装一个。
 - SVDS 照门固定环与 PPSh-41 防尘盖互不兼容。
 - SVDS 照门固定环与 PPSh-41 防尘盖互不兼容。
 - SVDS 照门固定环与 TAPCO Intrafuse SKS 枪身套件互不兼容。
 - SVDS 照门固定环与 TAPCO Intrafuse SKS 枪身套件互不兼容。
 - SVDS 照门固定环护木槽可装的 3 种原版 SVDS 护木(CAA XRS DRG、Izhmash 现代化套件、SVDS 标准护木)与 PPSh-41 枪本体互不兼容。
 - SVDS 照门固定环护木槽可装的 3 种原版 SVDS 护木(CAA XRS DRG、Izhmash 现代化套件、SVDS 标准护木)与 PPSh-41 枪本体互不兼容。
@@ -61,12 +63,12 @@
 - `mod_scope` slot of the Aim Sports tri-rail Mosin mount: adds the M14 SAGE International DCSB scope mount.
 - `mod_scope` slot of the Aim Sports tri-rail Mosin mount: adds the M14 SAGE International DCSB scope mount.
 - `mod_sight_rear` sight slot of the SKS / OP-SKS rear sight blocks: adds the TKPD railed dust cover.
 - `mod_sight_rear` sight slot of the SKS / OP-SKS rear sight blocks: adds the TKPD railed dust cover.
 - `mod_sight_rear` sight slot of the SVT-40 625 mm barrel: adds the TKPD railed dust cover and the 5 SKS gas-tube covers (OP-SKS standard, SKS wooden standard, TAPCO, Fab Defence UAS, ATI Monte Carlo; the five accepted by the native SKS gas block).
 - `mod_sight_rear` sight slot of the SVT-40 625 mm barrel: adds the TKPD railed dust cover and the 5 SKS gas-tube covers (OP-SKS standard, SKS wooden standard, TAPCO, Fab Defence UAS, ATI Monte Carlo; the five accepted by the native SKS gas block).
-- `mod_sight_rear` sight slot of the SVDS rear sight block: adds the TKPD railed dust cover.
+- `mod_sight_rear` sight slot of the SVDS rear sight block: adds the TKPD railed dust cover, the 3 SKS gas-tube covers (OP-SKS standard, SKS wooden standard, ATI Monte Carlo) and the UltiMAK M1-B AK gas tube kit.
 
 
 ## Barrels and stocks
 ## Barrels and stocks
 
 
 - `mod_barrel` slot of the PPSh-41: adds the 220 mm threaded sawn-off, 514 mm carbine and 730 mm standard Mosin barrels, the SKS / OP-SKS 520 mm barrels, the 625 mm barrel shared by the SVT-40 / AVT-40 and the SVDS rear sight block. (The Mosin 200 mm barrel, all four M700 barrels and the ORSIS T-5000M barrel have been moved to the SVDS rear sight block's handguard slot.)
 - `mod_barrel` slot of the PPSh-41: adds the 220 mm threaded sawn-off, 514 mm carbine and 730 mm standard Mosin barrels, the SKS / OP-SKS 520 mm barrels, the 625 mm barrel shared by the SVT-40 / AVT-40 and the SVDS rear sight block. (The Mosin 200 mm barrel, all four M700 barrels and the ORSIS T-5000M barrel have been moved to the SVDS rear sight block's handguard slot.)
-- `mod_handguard` slot of the SVDS rear sight block: adds the Mosin 200 mm sawn-off barrel, all four M700 barrels (26-inch, 20-inch threaded, 26-inch stainless, 20-inch stainless threaded), the ORSIS T-5000M 660 mm barrel, the SVDS barrel and the 625 mm barrel shared by the SVT-40 / AVT-40.
+- `mod_handguard` slot of the SVDS rear sight block: adds the Mosin 200 mm sawn-off barrel, all four M700 barrels (26-inch, 20-inch threaded, 26-inch stainless, 20-inch stainless threaded), the ORSIS T-5000M 660 mm barrel, the SVDS barrel, the 625 mm barrel shared by the SVT-40 / AVT-40 and the SVDS rear sight block itself.
 - `mod_stock` slot of the PPSh-41: adds the Benelli M3 telescopic stock, the PKM wooden stock, the Zenit PT-2 "Klassika" PK stock, the PKP polymer stock, the Ultima MP-155 plastic pistol grip, the KS-23 metal stock, the M14 SAGE International M14ALCS (MOD-0) buttstock and the Zveno PK buffer tube adapter (injected by `WTT-ContentBackport`).
 - `mod_stock` slot of the PPSh-41: adds the Benelli M3 telescopic stock, the PKM wooden stock, the Zenit PT-2 "Klassika" PK stock, the PKP polymer stock, the Ultima MP-155 plastic pistol grip, the KS-23 metal stock, the M14 SAGE International M14ALCS (MOD-0) buttstock and the Zveno PK buffer tube adapter (injected by `WTT-ContentBackport`).
 - `mod_sight_front` slot of the 730 mm standard Mosin barrel: adds the MDR BLK LBL ALX bipods (16 and 20 models, injected by `WTT-ContentBackport`; shared with the Mosin front sight, so the two are mutually exclusive).
 - `mod_sight_front` slot of the 730 mm standard Mosin barrel: adds the MDR BLK LBL ALX bipods (16 and 20 models, injected by `WTT-ContentBackport`; shared with the Mosin front sight, so the two are mutually exclusive).
 - `mod_sight_front` slot of the SVT-40 standard muzzle: adds the MDR BLK LBL ALX bipods (16 and 20 models, injected by `WTT-ContentBackport`; shared with the stock front sight, so the two are mutually exclusive).
 - `mod_sight_front` slot of the SVT-40 standard muzzle: adds the MDR BLK LBL ALX bipods (16 and 20 models, injected by `WTT-ContentBackport`; shared with the stock front sight, so the two are mutually exclusive).
@@ -80,6 +82,7 @@
 - Second tactical slot (`mod_tactical_001`) of the Aim Sports tri-rail: adds the SV-98 heat ribbon.
 - Second tactical slot (`mod_tactical_001`) of the Aim Sports tri-rail: adds the SV-98 heat ribbon.
 - `mod_tactical` slot of the UZI StormWerkz lower handguard rail: adds the Zenit RK series foregrips.
 - `mod_tactical` slot of the UZI StormWerkz lower handguard rail: adds the Zenit RK series foregrips.
 - Lower rail (`mod_tactical_002`) of the Fab Defence UAS SKS chassis kit: adds the MDR BLK LBL ALX 20 bipod (injected by `WTT-ContentBackport`).
 - Lower rail (`mod_tactical_002`) of the Fab Defence UAS SKS chassis kit: adds the MDR BLK LBL ALX 20 bipod (injected by `WTT-ContentBackport`).
+- Tactical slot (`mod_tactical_000`) of the UltiMAK M1-B AK gas tube kit: adds the MDR BLK LBL ALX 20 bipod (injected by `WTT-ContentBackport`).
 - `mod_tactical` slot of the CR 50DS: adds the Zenit RK series foregrips, the KAC MWS bipod adapter and the BT10 V8 Atlas folding bipod.
 - `mod_tactical` slot of the CR 50DS: adds the Zenit RK series foregrips, the KAC MWS bipod adapter and the BT10 V8 Atlas folding bipod.
 - `mod_pistol_grip` slot of the M14 SAGE International M14ALCS (MOD-0) buttstock: adds the AR-15 Tactical Dynamics skeletonized pistol grip, the Tyrant Designs MOD Chevron AR-15 skeletonized pistol grips (black / yellow / red) and the AS VAL Rotor 43 pistol grip with buffer tube adapter.
 - `mod_pistol_grip` slot of the M14 SAGE International M14ALCS (MOD-0) buttstock: adds the AR-15 Tactical Dynamics skeletonized pistol grip, the Tyrant Designs MOD Chevron AR-15 skeletonized pistol grips (black / yellow / red) and the AS VAL Rotor 43 pistol grip with buffer tube adapter.
 - `mod_reciever` upper receiver slot of the PPSh-41: adds the TAPCO Intrafuse SKS chassis kit and the Fab Defence UAS SKS chassis kit (both share the same slot that carries the PPSh-41 dust cover, so they are inherently mutually exclusive with it).
 - `mod_reciever` upper receiver slot of the PPSh-41: adds the TAPCO Intrafuse SKS chassis kit and the Fab Defence UAS SKS chassis kit (both share the same slot that carries the PPSh-41 dust cover, so they are inherently mutually exclusive with it).
@@ -96,6 +99,7 @@
 - The TKPD railed dust cover is incompatible with itself (to prevent duplicate mounting).
 - The TKPD railed dust cover is incompatible with itself (to prevent duplicate mounting).
 - The SVT-40 / AVT-40 625 mm barrel accepted by the SVDS rear sight block's handguard slot is incompatible with the SVDS weapon itself.
 - The SVT-40 / AVT-40 625 mm barrel accepted by the SVDS rear sight block's handguard slot is incompatible with the SVDS weapon itself.
 - The MDR BLK LBL ALX 20 bipod is incompatible with itself (to prevent duplicate mounting).
 - The MDR BLK LBL ALX 20 bipod is incompatible with itself (to prevent duplicate mounting).
+- The 5 SKS gas-tube covers and the UltiMAK M1-B AK gas tube kit are mutually incompatible with each other (including with themselves), so at most one can be installed on a weapon.
 - The SVDS rear sight block is incompatible with the PPSh-41 dust cover.
 - The SVDS rear sight block is incompatible with the PPSh-41 dust cover.
 - The SVDS rear sight block is incompatible with the TAPCO Intrafuse SKS chassis kit.
 - The SVDS rear sight block is incompatible with the TAPCO Intrafuse SKS chassis kit.
 - The 3 vanilla SVDS handguards accepted by the SVDS rear sight block's handguard slot (CAA XRS DRG, Izhmash modernized kit, SVDS standard) are incompatible with the PPSh-41 weapon itself.
 - The 3 vanilla SVDS handguards accepted by the SVDS rear sight block's handguard slot (CAA XRS DRG, Izhmash modernized kit, SVDS standard) are incompatible with the PPSh-41 weapon itself.

+ 10 - 6
docs/verification.md

@@ -26,11 +26,12 @@
    - 在 PPSh-41 上安装莫辛 220mm / 514mm / 730mm、SKS / OP-SKS 520mm 或 SVT-40 625mm 枪管,安装 SVDS 照门固定环,安装 M14ALCS (MOD-0) 枪托,或安装 Zveno PK 缓冲管转接器;
    - 在 PPSh-41 上安装莫辛 220mm / 514mm / 730mm、SKS / OP-SKS 520mm 或 SVT-40 625mm 枪管,安装 SVDS 照门固定环,安装 M14ALCS (MOD-0) 枪托,或安装 Zveno PK 缓冲管转接器;
    - 在 PPSh-41 的机匣槽安装 TAPCO Intrafuse SKS 枪身套件或 Fab Defence UAS SKS 枪身套件;
    - 在 PPSh-41 的机匣槽安装 TAPCO Intrafuse SKS 枪身套件或 Fab Defence UAS SKS 枪身套件;
    - 在 SVDS 照门固定环的护木槽安装莫辛 200mm、M700、ORSIS T-5000M、SVDS 枪管或 SVT-40 625mm 枪管;
    - 在 SVDS 照门固定环的护木槽安装莫辛 200mm、M700、ORSIS T-5000M、SVDS 枪管或 SVT-40 625mm 枪管;
-   - 在 SKS / OP-SKS 照门固定环、SVT-40 625mm 枪管或 SVDS 照门固定环的照门槽安装 TKPD 导轨防尘盖;在 SVT-40 625mm 枪管的照门槽安装 5 种 SKS 导气管防尘盖(OP-SKS 标准、SKS 木制标准、TAPCO、Fab Defence UAS、ATI Monte Carlo);
+   - 在 SKS / OP-SKS 照门固定环或 SVDS 照门固定环的照门槽安装 TKPD 导轨防尘盖;在 SVT-40 625mm 枪管的照门槽安装 5 种 SKS 导气管防尘盖(OP-SKS 标准、SKS 木制标准、TAPCO、Fab Defence UAS、ATI Monte Carlo);在 SVDS 照门固定环的照门槽安装 OP-SKS 标准 / SKS 木制标准 / ATI Monte Carlo 3 种导气管防尘盖或 UltiMAK M1-B AK 导气管套件;
+   - 在 SVDS 照门固定环的护木槽安装照门固定环自身;
    - 在 RPD 520mm 枪管的枪口装置槽安装 AKM PBS-1 7.62x39 消音器;
    - 在 RPD 520mm 枪管的枪口装置槽安装 AKM PBS-1 7.62x39 消音器;
    - 在 730mm 标准莫辛枪管或 SVT-40 标准枪口装置的前准星槽安装 MDR BLK LBL ALX 脚架(16 或 20 型号);
    - 在 730mm 标准莫辛枪管或 SVT-40 标准枪口装置的前准星槽安装 MDR BLK LBL ALX 脚架(16 或 20 型号);
    - 在 AA-12 457mm 枪管的导轨槽安装 M60 脚架;
    - 在 AA-12 457mm 枪管的导轨槽安装 M60 脚架;
-   - 在 Fab Defence UAS SKS 枪身套件的下导轨(`mod_tactical_002`)安装 MDR BLK LBL ALX 20 脚架;
+   - 在 Fab Defence UAS SKS 枪身套件的下导轨(`mod_tactical_002`)或 UltiMAK M1-B AK 导气管套件的战术配件槽(`mod_tactical_000`)安装 MDR BLK LBL ALX 20 脚架;
    - 在 MP-18 或 Marlin MXLR 的枪托槽安装 KS-23 金属枪托;
    - 在 MP-18 或 Marlin MXLR 的枪托槽安装 KS-23 金属枪托;
    - 尝试同时安装 PPSh-41 防尘盖与 HUXWRX HX-QD 消音器,确认二者互斥;
    - 尝试同时安装 PPSh-41 防尘盖与 HUXWRX HX-QD 消音器,确认二者互斥;
    - 尝试在 PPSh-41 上同时安装 SKS 枪身套件与任一非 KS-23 枪托(含 Zveno 缓冲管转接器),确认二者互斥;
    - 尝试在 PPSh-41 上同时安装 SKS 枪身套件与任一非 KS-23 枪托(含 Zveno 缓冲管转接器),确认二者互斥;
@@ -44,7 +45,8 @@
    - 尝试重复安装两个 MDR BLK LBL ALX 20 脚架,确认其与自身互斥;
    - 尝试重复安装两个 MDR BLK LBL ALX 20 脚架,确认其与自身互斥;
    - 尝试同时安装 SVDS 照门固定环与 PPSh-41 防尘盖,确认二者互斥;
    - 尝试同时安装 SVDS 照门固定环与 PPSh-41 防尘盖,确认二者互斥;
    - 尝试同时安装 SVDS 照门固定环与 TAPCO Intrafuse SKS 枪身套件,确认二者互斥;
    - 尝试同时安装 SVDS 照门固定环与 TAPCO Intrafuse SKS 枪身套件,确认二者互斥;
-   - 尝试把 SVDS 照门固定环护木槽可装的原版 SVDS 护木装到 PPSh-41 上,确认二者互斥。
+   - 尝试把 SVDS 照门固定环护木槽可装的原版 SVDS 护木装到 PPSh-41 上,确认二者互斥;
+   - 尝试在同一武器上安装两个不同的导气管件(5 种 SKS 导气管防尘盖与 UltiMAK M1-B 中任选两个),确认彼此互斥(每把武器最多一个)。
 4. 若修改了物品 id,重新运行单元测试确认夹具仍与代码一致。
 4. 若修改了物品 id,重新运行单元测试确认夹具仍与代码一致。
 
 
 ## 排查建议
 ## 排查建议
@@ -85,11 +87,12 @@ The slot names should cover `mod_scope`, `mod_sight_front`, `mod_sight_rear`, `m
    - mount a 220 / 514 / 730 mm Mosin, SKS / OP-SKS 520 mm or SVT-40 625 mm barrel, mount the SVDS rear sight block, mount the M14ALCS (MOD-0) buttstock, or mount the Zveno PK buffer tube adapter, on the PPSh-41;
    - mount a 220 / 514 / 730 mm Mosin, SKS / OP-SKS 520 mm or SVT-40 625 mm barrel, mount the SVDS rear sight block, mount the M14ALCS (MOD-0) buttstock, or mount the Zveno PK buffer tube adapter, on the PPSh-41;
    - mount a TAPCO Intrafuse SKS chassis kit or a Fab Defence UAS SKS chassis kit in the PPSh-41 receiver slot;
    - mount a TAPCO Intrafuse SKS chassis kit or a Fab Defence UAS SKS chassis kit in the PPSh-41 receiver slot;
    - mount a Mosin 200 mm, M700, ORSIS T-5000M, SVDS or SVT-40 625 mm barrel in the SVDS rear sight block's handguard slot;
    - mount a Mosin 200 mm, M700, ORSIS T-5000M, SVDS or SVT-40 625 mm barrel in the SVDS rear sight block's handguard slot;
-   - mount the TKPD railed dust cover on the sight slot of the SKS / OP-SKS rear sight blocks, the SVT-40 625 mm barrel or the SVDS rear sight block, and the 5 SKS gas-tube covers (OP-SKS standard, SKS wooden standard, TAPCO, Fab Defence UAS, ATI Monte Carlo) on the SVT-40 625 mm barrel's sight slot;
+   - mount the TKPD railed dust cover on the sight slot of the SKS / OP-SKS rear sight blocks or the SVDS rear sight block; the 5 SKS gas-tube covers (OP-SKS standard, SKS wooden standard, TAPCO, Fab Defence UAS, ATI Monte Carlo) on the SVT-40 625 mm barrel's sight slot; and the OP-SKS standard / SKS wooden standard / ATI Monte Carlo covers or the UltiMAK M1-B AK gas tube kit on the SVDS rear sight block's sight slot;
+   - mount the SVDS rear sight block itself in its own handguard slot;
    - mount an AKM PBS-1 7.62x39 suppressor on the muzzle device slot of the RPD 520 mm barrel;
    - mount an AKM PBS-1 7.62x39 suppressor on the muzzle device slot of the RPD 520 mm barrel;
    - mount an MDR BLK LBL ALX bipod (16 or 20 model) on the front sight slot of the 730 mm standard Mosin barrel or the SVT-40 standard muzzle;
    - mount an MDR BLK LBL ALX bipod (16 or 20 model) on the front sight slot of the 730 mm standard Mosin barrel or the SVT-40 standard muzzle;
    - mount an M60 bipod on the rail slot of the AA-12 457 mm barrel;
    - mount an M60 bipod on the rail slot of the AA-12 457 mm barrel;
-   - mount an MDR BLK LBL ALX 20 bipod on the lower rail (`mod_tactical_002`) of the Fab Defence UAS SKS chassis kit;
+   - mount an MDR BLK LBL ALX 20 bipod on the lower rail (`mod_tactical_002`) of the Fab Defence UAS SKS chassis kit or the tactical slot (`mod_tactical_000`) of the UltiMAK M1-B AK gas tube kit;
    - mount a KS-23 metal stock on the stock slot of the MP-18 or Marlin MXLR;
    - mount a KS-23 metal stock on the stock slot of the MP-18 or Marlin MXLR;
    - try mounting the PPSh-41 dust cover and a HUXWRX HX-QD suppressor together and confirm they are mutually exclusive;
    - try mounting the PPSh-41 dust cover and a HUXWRX HX-QD suppressor together and confirm they are mutually exclusive;
    - try mounting an SKS chassis kit on the PPSh-41 together with any non-KS-23 stock (including the Zveno buffer tube adapter) and confirm they are mutually exclusive;
    - try mounting an SKS chassis kit on the PPSh-41 together with any non-KS-23 stock (including the Zveno buffer tube adapter) and confirm they are mutually exclusive;
@@ -103,7 +106,8 @@ The slot names should cover `mod_scope`, `mod_sight_front`, `mod_sight_rear`, `m
    - try mounting two MDR BLK LBL ALX 20 bipods and confirm the MDR BLK LBL ALX 20 bipod is exclusive with itself;
    - try mounting two MDR BLK LBL ALX 20 bipods and confirm the MDR BLK LBL ALX 20 bipod is exclusive with itself;
    - try mounting the SVDS rear sight block together with the PPSh-41 dust cover and confirm they are mutually exclusive;
    - try mounting the SVDS rear sight block together with the PPSh-41 dust cover and confirm they are mutually exclusive;
    - try mounting the SVDS rear sight block together with the TAPCO Intrafuse SKS chassis kit and confirm they are mutually exclusive;
    - try mounting the SVDS rear sight block together with the TAPCO Intrafuse SKS chassis kit and confirm they are mutually exclusive;
-   - try mounting a vanilla SVDS handguard accepted by the SVDS rear sight block's handguard slot on the PPSh-41 and confirm they are mutually exclusive.
+   - try mounting a vanilla SVDS handguard accepted by the SVDS rear sight block's handguard slot on the PPSh-41 and confirm they are mutually exclusive;
+   - try mounting two different gas-tube items on the same weapon (any two of the 5 SKS gas-tube covers and the UltiMAK M1-B) and confirm they are mutually exclusive (at most one per weapon).
 4. If you changed any item id, re-run the unit tests to confirm the fixtures still match the code.
 4. If you changed any item id, re-run the unit tests to confirm the fixtures still match the code.
 
 
 ## Troubleshooting
 ## Troubleshooting

+ 52 - 6
src/Mod.cs

@@ -61,7 +61,11 @@ namespace Pj568.WeaponCrossModding;
 ///  40. 让 SVDS 照门固定环的护木槽支持安装 SVT-40 625mm 枪管,且该枪管与 SVDS 枪本体双向互不兼容;
 ///  40. 让 SVDS 照门固定环的护木槽支持安装 SVT-40 625mm 枪管,且该枪管与 SVDS 枪本体双向互不兼容;
 ///  41. 让 TKPD 导轨防尘盖与自身互斥,防止重复安装;
 ///  41. 让 TKPD 导轨防尘盖与自身互斥,防止重复安装;
 ///  42. 让 SVT-40 625mm 枪管的照门槽支持安装 5 种 SKS 导气管防尘盖;
 ///  42. 让 SVT-40 625mm 枪管的照门槽支持安装 5 种 SKS 导气管防尘盖;
-///  43. 让 MDR BLK LBL ALX 20 脚架与自身互斥,防止重复安装。
+///  43. 让 MDR BLK LBL ALX 20 脚架与自身互斥,防止重复安装;
+///  44. 让 SVDS 照门固定环的护木槽支持安装照门固定环自身;
+///  45. 让 SVDS 照门固定环的照门槽支持安装 OP-SKS 标准 / SKS 木制标准 / ATI Monte Carlo 3 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件;
+///  46. 让 5 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件彼此之间(含与自身)互不兼容,使一把武器上最多只能装一个;
+///  47. 让 UltiMAK M1-B AK 导气管套件的战术配件槽(mod_tactical_000)支持安装 MDR BLK LBL ALX 20 脚架。
 ///
 ///
 /// 做法:往目标槽的 SlotFilter.Filter(HashSet&lt;MongoId&gt;)追加物品 id(幂等)。
 /// 做法:往目标槽的 SlotFilter.Filter(HashSet&lt;MongoId&gt;)追加物品 id(幂等)。
 /// </summary>
 /// </summary>
@@ -148,6 +152,9 @@ public class WeaponCrossModdingPlugin(
     // Fab Defence UAS SKS 枪身套件的下导轨(原本兼容脚架的第三个战术槽)。
     // Fab Defence UAS SKS 枪身套件的下导轨(原本兼容脚架的第三个战术槽)。
     private const string FabDefenceUasLowerRailSlotName = "mod_tactical_002";
     private const string FabDefenceUasLowerRailSlotName = "mod_tactical_002";
 
 
+    // UltiMAK M1-B AK 导气管套件的第一个战术配件槽。
+    private const string UltimakM1BTacticalSlotName = "mod_tactical_000";
+
     // UZI StormWerkz 护木底轨(mod_tactical 槽)。
     // UZI StormWerkz 护木底轨(mod_tactical 槽)。
     private const string StormwerkzLowerHandguardRailId = "66992f7d9950f5f4cd0602a8";
     private const string StormwerkzLowerHandguardRailId = "66992f7d9950f5f4cd0602a8";
     private const string StormwerkzLowerHandguardLabel = "UZI StormWerkz lower handguard rail";
     private const string StormwerkzLowerHandguardLabel = "UZI StormWerkz lower handguard rail";
@@ -226,6 +233,9 @@ public class WeaponCrossModdingPlugin(
     private const string TapcoIntrafuseSksId = "5afd7ded5acfc40017541f5e";
     private const string TapcoIntrafuseSksId = "5afd7ded5acfc40017541f5e";
     private const string FabDefenceUasSksId = "5d0236dad7ad1a0940739d29";
     private const string FabDefenceUasSksId = "5d0236dad7ad1a0940739d29";
 
 
+    // UltiMAK M1-B AK 导气管套件(其 mod_tactical_000 战术配件槽承载 MDR BLK LBL ALX 20 脚架)。
+    private const string UltimakM1BId = "59ccfdba86f7747f2109a587";
+
     // 上述两个套件的枪托槽分别只接受的配件(用于与 KS-23 金属枪托建立互斥)。
     // 上述两个套件的枪托槽分别只接受的配件(用于与 KS-23 金属枪托建立互斥)。
     private const string TapcoIntrafuseBufferTubeId = "5afd7e095acfc40017541f61";
     private const string TapcoIntrafuseBufferTubeId = "5afd7e095acfc40017541f61";
     private const string FabDefenceUasFoldingStockId = "653ed132896b99b40a0292e6";
     private const string FabDefenceUasFoldingStockId = "653ed132896b99b40a0292e6";
@@ -284,7 +294,7 @@ public class WeaponCrossModdingPlugin(
         ("5c471c6c2e221602b66cd9ae", "SVDS standard handguard"),
         ("5c471c6c2e221602b66cd9ae", "SVDS standard handguard"),
     ];
     ];
 
 
-    // 原生 SKS 导气箍 mod_mount_000 槽可装的 5 种导气管防尘盖(用于与 MDR BLK LBL ALX 20 脚架建立双向互斥)。
+    // 原生 SKS 导气箍 mod_mount_000 槽可装的 5 种导气管防尘盖(用于 SVT-40 625mm 枪管照门槽白名单)。
     private static readonly (string Id, string Label)[] SksGasTubeCovers =
     private static readonly (string Id, string Label)[] SksGasTubeCovers =
     [
     [
         ("634f03d40384a3ba4f06f874", "OP-SKS standard gas cover"),
         ("634f03d40384a3ba4f06f874", "OP-SKS standard gas cover"),
@@ -294,6 +304,22 @@ public class WeaponCrossModdingPlugin(
         ("653ecc425a1690d9d90491e4", "ATI Monte Carlo SKS gas cover"),
         ("653ecc425a1690d9d90491e4", "ATI Monte Carlo SKS gas cover"),
     ];
     ];
 
 
+    // SVDS 照门固定环照门槽兼容的 4 种导气管件:3 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件。
+    private static readonly (string Id, string Label)[] SvdsGasTubeItems =
+    [
+        ("634f03d40384a3ba4f06f874", "OP-SKS standard gas cover"),
+        ("634f08a21f9f536910079b5a", "SKS wooden standard gas cover"),
+        ("653ecc425a1690d9d90491e4", "ATI Monte Carlo SKS gas cover"),
+        (UltimakM1BId, "UltiMAK M1-B AK gas tube kit"),
+    ];
+
+    // 参与“一把武器最多一个”互斥的 6 种导气管件:5 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件。
+    private static readonly (string Id, string Label)[] ExclusiveGasTubeItems =
+    [
+        .. SksGasTubeCovers,
+        (UltimakM1BId, "UltiMAK M1-B AK gas tube kit"),
+    ];
+
     // PPSh-41 枪托槽可装的全部枪托(用于与 SKS 枪身套件建立双向互斥;不含 KS-23 金属枪托)。
     // PPSh-41 枪托槽可装的全部枪托(用于与 SKS 枪身套件建立双向互斥;不含 KS-23 金属枪托)。
     private static readonly (string Id, string Label)[] Ppsh41StockConflicts =
     private static readonly (string Id, string Label)[] Ppsh41StockConflicts =
     [
     [
@@ -340,6 +366,7 @@ public class WeaponCrossModdingPlugin(
     private const string SvdsRearSightBlockLabel = "SVDS rear sight block";
     private const string SvdsRearSightBlockLabel = "SVDS rear sight block";
     private const string SvdsBarrelLabel = "SVDS barrel";
     private const string SvdsBarrelLabel = "SVDS barrel";
     private const string FabDefenceUasSksLabel = "Fab Defence UAS SKS";
     private const string FabDefenceUasSksLabel = "Fab Defence UAS SKS";
+    private const string UltimakM1BLabel = "UltiMAK M1-B AK gas tube kit";
 
 
     public Task OnLoadAsync(CancellationToken cancellationToken)
     public Task OnLoadAsync(CancellationToken cancellationToken)
     {
     {
@@ -389,13 +416,14 @@ public class WeaponCrossModdingPlugin(
             AddItemIdsToSlot(items, Svt40Barrel625Id, Svt40Barrel625Label, SightRearSlotName,
             AddItemIdsToSlot(items, Svt40Barrel625Id, Svt40Barrel625Label, SightRearSlotName,
                 [TkpdRailedDustCoverId, .. SksGasTubeCovers.Select(x => x.Id)]);
                 [TkpdRailedDustCoverId, .. SksGasTubeCovers.Select(x => x.Id)]);
 
 
-            // SVDS 照门固定环的 mod_handguard 护木槽:追加莫辛 200mm、M700 全部 4 种、ORSIS T-5000M、SVDS 枪管与 SVT-40 625mm 枪管。
+            // SVDS 照门固定环的 mod_handguard 护木槽:追加莫辛 200mm、M700 全部 4 种、ORSIS T-5000M、SVDS 枪管、SVT-40 625mm 枪管与照门固定环自身。
             AddItemIdsToSlot(items, SvdsRearSightBlockId, SvdsRearSightBlockLabel, HandguardSlotName,
             AddItemIdsToSlot(items, SvdsRearSightBlockId, SvdsRearSightBlockLabel, HandguardSlotName,
                 MosinBarrel200Id, M700Barrel660Id, M700Barrel508ThreadedId, M700BarrelStainless660Id, M700BarrelStainless508ThreadedId, T5000Barrel660Id,
                 MosinBarrel200Id, M700Barrel660Id, M700Barrel508ThreadedId, M700BarrelStainless660Id, M700BarrelStainless508ThreadedId, T5000Barrel660Id,
-                SvdsBarrelId, Svt40Barrel625Id);
+                SvdsBarrelId, Svt40Barrel625Id, SvdsRearSightBlockId);
 
 
-            // SVDS 照门固定环的 mod_sight_rear 照门槽:追加 TKPD 导轨防尘盖。
-            AddItemIdsToSlot(items, SvdsRearSightBlockId, SvdsRearSightBlockLabel, SightRearSlotName, TkpdRailedDustCoverId);
+            // SVDS 照门固定环的 mod_sight_rear 照门槽:追加 TKPD 导轨防尘盖与 4 种导气管件(3 种 SKS 防尘盖 + UltiMAK M1-B)。
+            AddItemIdsToSlot(items, SvdsRearSightBlockId, SvdsRearSightBlockLabel, SightRearSlotName,
+                [TkpdRailedDustCoverId, .. SvdsGasTubeItems.Select(x => x.Id)]);
 
 
             // PPSh-41 防尘盖与 HUXWRX HX-QD 消音器互不兼容。
             // PPSh-41 防尘盖与 HUXWRX HX-QD 消音器互不兼容。
             AddDustCoverSuppressorConflict(items);
             AddDustCoverSuppressorConflict(items);
@@ -424,6 +452,9 @@ public class WeaponCrossModdingPlugin(
             // MDR BLK LBL ALX 20 脚架与自身互不兼容(防止重复安装)。
             // MDR BLK LBL ALX 20 脚架与自身互不兼容(防止重复安装)。
             AddAlxBipod20SelfConflict(items);
             AddAlxBipod20SelfConflict(items);
 
 
+            // 5 种 SKS 导气管防尘盖与 UltiMAK M1-B 彼此(含与自身)互不兼容,使一把武器上最多只能装一个。
+            AddGasTubeMutualConflicts(items);
+
             // Aim Sports“三轨”的第一个战术配件槽:追加多种前握把、SV-98 隔热带与 Fortis Shift 前握把。
             // Aim Sports“三轨”的第一个战术配件槽:追加多种前握把、SV-98 隔热带与 Fortis Shift 前握把。
             AddItemIdsToSlot(items, AimSportsTriRailId, AimSportsTriRailLabel, AimSportsTriRailTacticalSlotName, [.. AimSportsTriRailForegripIds, Sv98HeatRibbonId, FortisShiftForegripId]);
             AddItemIdsToSlot(items, AimSportsTriRailId, AimSportsTriRailLabel, AimSportsTriRailTacticalSlotName, [.. AimSportsTriRailForegripIds, Sv98HeatRibbonId, FortisShiftForegripId]);
 
 
@@ -436,6 +467,9 @@ public class WeaponCrossModdingPlugin(
             // Fab Defence UAS SKS 枪身套件的下导轨(mod_tactical_002):追加 MDR BLK LBL ALX 20 脚架。
             // Fab Defence UAS SKS 枪身套件的下导轨(mod_tactical_002):追加 MDR BLK LBL ALX 20 脚架。
             AddItemIdsToSlot(items, FabDefenceUasSksId, FabDefenceUasSksLabel, FabDefenceUasLowerRailSlotName, AlxBipod20Id);
             AddItemIdsToSlot(items, FabDefenceUasSksId, FabDefenceUasSksLabel, FabDefenceUasLowerRailSlotName, AlxBipod20Id);
 
 
+            // UltiMAK M1-B AK 导气管套件的战术配件槽(mod_tactical_000):追加 MDR BLK LBL ALX 20 脚架。
+            AddItemIdsToSlot(items, UltimakM1BId, UltimakM1BLabel, UltimakM1BTacticalSlotName, AlxBipod20Id);
+
             // M14ALCS (MOD-0) 枪托的握把位:追加 AR-15 Tactical Dynamics 镂空手枪式握把、
             // M14ALCS (MOD-0) 枪托的握把位:追加 AR-15 Tactical Dynamics 镂空手枪式握把、
             // Tyrant Designs MOD Chevron 镂空手枪式握把(黑 / 黄 / 红)与 AS VAL Rotor 43 手枪式握把。
             // Tyrant Designs MOD Chevron 镂空手枪式握把(黑 / 黄 / 红)与 AS VAL Rotor 43 手枪式握把。
             AddItemIdsToSlot(items, M14AlcsButtstockId, M14ButtstockLabel, M14AlcsPistolGripSlotName,
             AddItemIdsToSlot(items, M14AlcsButtstockId, M14ButtstockLabel, M14AlcsPistolGripSlotName,
@@ -635,6 +669,18 @@ public class WeaponCrossModdingPlugin(
         AddConflictingItems(items, AlxBipod20Id, AlxBipod20Label, AlxBipod20Id);
         AddConflictingItems(items, AlxBipod20Id, AlxBipod20Label, AlxBipod20Id);
     }
     }
 
 
+    /// <summary>
+    /// 让 5 种 SKS 导气管防尘盖与 UltiMAK M1-B AK 导气管套件彼此之间(含与自身)互不兼容(幂等),使一把武器上最多只能装一个。
+    /// </summary>
+    private void AddGasTubeMutualConflicts(Dictionary<MongoId, TemplateItem> items)
+    {
+        string[] ids = [.. ExclusiveGasTubeItems.Select(x => x.Id)];
+        foreach ((string id, string label) in ExclusiveGasTubeItems)
+        {
+            AddConflictingItems(items, id, label, ids);
+        }
+    }
+
     /// <summary>
     /// <summary>
     /// 往 <paramref name="ownerId"/> 的 ConflictingItems 追加 <paramref name="conflictIds"/>(幂等)。
     /// 往 <paramref name="ownerId"/> 的 ConflictingItems 追加 <paramref name="conflictIds"/>(幂等)。
     /// </summary>
     /// </summary>

+ 58 - 2
tests/WeaponCrossModding.Tests/ModTests.cs

@@ -99,6 +99,21 @@ public class WeaponCrossModdingPluginTests
         SksGasCoverAtiId,
         SksGasCoverAtiId,
     ];
     ];
 
 
+    private const string UltimakM1BId = "59ccfdba86f7747f2109a587";
+    private static readonly string[] SvdsGasTubeItemIds =
+    [
+        SksGasCoverOpsksStdId,
+        SksGasCoverSksWoodId,
+        SksGasCoverAtiId,
+        UltimakM1BId,
+    ];
+
+    private static readonly string[] ExclusiveGasTubeItemIds =
+    [
+        .. SksGasCoverIds,
+        UltimakM1BId,
+    ];
+
     private const string Ppsh41StockId = "5ea03e9400685063ec28bfa4";
     private const string Ppsh41StockId = "5ea03e9400685063ec28bfa4";
 
 
     private static readonly string[] Ppsh41StockCompatIds =
     private static readonly string[] Ppsh41StockCompatIds =
@@ -487,6 +502,18 @@ public class WeaponCrossModdingPluginTests
         Assert.Equal(2, filter.Count);
         Assert.Equal(2, filter.Count);
     }
     }
 
 
+    [Fact]
+    public async Task AddsAlxBipod20ToUltimakM1BTacticalSlot()
+    {
+        var ultimak = ItemWithSlot("gas_block_ak_ultimak_m1b", "mod_tactical_000");
+        var items = new Dictionary<MongoId, TemplateItem> { [new MongoId(UltimakM1BId)] = ultimak };
+
+        await BuildPlugin(items).OnLoadAsync(CancellationToken.None);
+
+        var filter = FilterOf(ultimak, "mod_tactical_000");
+        Assert.Equal(new MongoId(AlxBipod20Id), Assert.Single(filter));
+    }
+
     [Fact]
     [Fact]
     public async Task AddsMovedBarrelsAndSvdsBarrelToSvdsRearSightBlockHandguardSlot()
     public async Task AddsMovedBarrelsAndSvdsBarrelToSvdsRearSightBlockHandguardSlot()
     {
     {
@@ -505,7 +532,8 @@ public class WeaponCrossModdingPluginTests
         Assert.Contains(new MongoId(T5000Barrel660Id), filter);
         Assert.Contains(new MongoId(T5000Barrel660Id), filter);
         Assert.Contains(new MongoId(SvdsBarrelId), filter);
         Assert.Contains(new MongoId(SvdsBarrelId), filter);
         Assert.Contains(new MongoId(Svt40Barrel625Id), filter);
         Assert.Contains(new MongoId(Svt40Barrel625Id), filter);
-        Assert.Equal(1 + 1 + M700BarrelIds.Length + 1 + 1 + 1, filter.Count);
+        Assert.Contains(new MongoId(SvdsRearSightBlockId), filter);
+        Assert.Equal(1 + 1 + M700BarrelIds.Length + 1 + 1 + 1 + 1, filter.Count);
     }
     }
 
 
     [Fact]
     [Fact]
@@ -519,7 +547,14 @@ public class WeaponCrossModdingPluginTests
         var filter = FilterOf(block, "mod_sight_rear");
         var filter = FilterOf(block, "mod_sight_rear");
         Assert.Contains(new MongoId(SvdsRearSightId), filter);
         Assert.Contains(new MongoId(SvdsRearSightId), filter);
         Assert.Contains(new MongoId(TkpdRailedDustCoverId), filter);
         Assert.Contains(new MongoId(TkpdRailedDustCoverId), filter);
-        Assert.Equal(2, filter.Count);
+        foreach (string id in SvdsGasTubeItemIds)
+        {
+            Assert.Contains(new MongoId(id), filter);
+        }
+        // TAPCO 与 Fab Defence UAS 防尘盖已从该槽回退。
+        Assert.DoesNotContain(new MongoId(SksGasCoverTapcoId), filter);
+        Assert.DoesNotContain(new MongoId(SksGasCoverFabId), filter);
+        Assert.Equal(2 + SvdsGasTubeItemIds.Length, filter.Count);
     }
     }
 
 
     [Fact]
     [Fact]
@@ -856,6 +891,27 @@ public class WeaponCrossModdingPluginTests
         Assert.Contains(new MongoId(AlxBipod20Id), alxBipod20.Properties!.ConflictingItems!);
         Assert.Contains(new MongoId(AlxBipod20Id), alxBipod20.Properties!.ConflictingItems!);
     }
     }
 
 
+    [Fact]
+    public async Task MakesGasTubeItemsMutuallyExclusive()
+    {
+        var items = new Dictionary<MongoId, TemplateItem>();
+        foreach (string id in ExclusiveGasTubeItemIds)
+        {
+            items[new MongoId(id)] = ItemWithConflicts("gas tube item");
+        }
+
+        await BuildPlugin(items).OnLoadAsync(CancellationToken.None);
+
+        foreach (string id in ExclusiveGasTubeItemIds)
+        {
+            var conflicts = items[new MongoId(id)].Properties!.ConflictingItems!;
+            foreach (string other in ExclusiveGasTubeItemIds)
+            {
+                Assert.Contains(new MongoId(other), conflicts);
+            }
+        }
+    }
+
     [Fact]
     [Fact]
     public async Task MakesSksChassisKitsConflictWithPpsh41Stocks()
     public async Task MakesSksChassisKitsConflictWithPpsh41Stocks()
     {
     {