-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mqrause
committed
Nov 28, 2023
1 parent
cc33f0e
commit d6b3ecb
Showing
4 changed files
with
245 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
[ | ||
{ | ||
"type": "test_data", | ||
"pocket_mod_data": { | ||
"change existing magazine well": { | ||
"base_item": "debug_gun_with_mag_well", | ||
"mod_item": "debug_retool_mag_well", | ||
"expected_pockets": { "MAGAZINE_WELL": 1 } | ||
}, | ||
"add magazine well to item without one": { | ||
"base_item": "debug_gun_no_mag_well", | ||
"mod_item": "debug_retool_mag_well", | ||
"expected_pockets": { "MAGAZINE_WELL": 1 } | ||
}, | ||
"add pocket to pocketless tool": { | ||
"base_item": "debug_tool_no_pockets", | ||
"mod_item": "debug_retool_container_no_mag_well", | ||
"expected_pockets": { "CONTAINER": 1 } | ||
}, | ||
"add pocket to tool with pocket": { | ||
"base_item": "debug_tool_one_pocket", | ||
"mod_item": "debug_retool_container_no_mag_well", | ||
"expected_pockets": { "CONTAINER": 2 } | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "debug_gun_no_mag_well", | ||
"type": "GUN", | ||
"name": { "str": "debug gun without mag well" }, | ||
"copy-from": "rifle_auto", | ||
"description": "Just a debug gun.", | ||
"weight": "902 g", | ||
"volume": "1550 ml", | ||
"longest_side": "520 mm", | ||
"price": 125000, | ||
"price_postapoc": 4000, | ||
"to_hit": -1, | ||
"material": [ "aluminum", "steel", "plastic" ], | ||
"symbol": "(", | ||
"color": "black", | ||
"ammo": [ "NULL" ], | ||
"dispersion": 150, | ||
"durability": 7, | ||
"min_cycle_recoil": 1350, | ||
"weapon_category": [ "AUTOMATIC_RIFLES" ], | ||
"valid_mod_locations": [ [ "bore", 1 ], [ "grip", 1 ], [ "mechanism", 4 ], [ "sling", 1 ], [ "stock accessory", 2 ], [ "stock", 1 ] ], | ||
"melee_damage": { "bash": 12 } | ||
}, | ||
{ | ||
"id": "debug_gun_with_mag_well", | ||
"type": "GUN", | ||
"name": "debug gun with mag well", | ||
"copy-from": "debug_gun_no_mag_well", | ||
"pocket_data": [ | ||
{ | ||
"pocket_type": "MAGAZINE_WELL", | ||
"ammo_restriction": { "223": 20 } | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "debug_tool_no_pockets", | ||
"type": "TOOL", | ||
"name": "debug tool with no pockets", | ||
"description": "debug", | ||
"symbol": "(", | ||
"volume": "1L", | ||
"weight": "1kg" | ||
}, | ||
{ | ||
"id": "debug_tool_one_pocket", | ||
"type": "TOOL", | ||
"name": "debug tool with one pocket", | ||
"copy-from": "debug_tool_no_pockets", | ||
"pocket_data": [ | ||
{ | ||
"pocket_type": "CONTAINER", | ||
"max_contains_volume": "2L" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "debug_retool_container_no_mag_well", | ||
"type": "TOOLMOD", | ||
"name": "debug toolmod to add container", | ||
"description": "debug", | ||
"symbol": "(", | ||
"volume": "1L", | ||
"weight": "1kg", | ||
"pocket_mods": [ | ||
{ | ||
"pocket_type": "CONTAINER", | ||
"max_contains_volume": "1L" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "debug_retool_mag_well", | ||
"type": "GUNMOD", | ||
"name": { "str": "debug gunmod to add/alter magazine well" }, | ||
"description": "This is a complete upper receiver assembly containing a barrel, handguard, and bolt carrier group that, given the right knowledge, is installable upon an AR-15-style rifle’s lower frame. Swappable uppers allow compatible firearms to be retooled for different cartridges and barrel lengths, with this kit furnishing a weapon with a standard 16-inch barrel chambered for .223 Remington ammunition.", | ||
"weight": "2268 g", | ||
"volume": "1550 ml", | ||
"longest_side": "480 mm", | ||
"integral_volume": "1550 ml", | ||
"integral_weight": "2268 g", | ||
"integral_longest_side": "41 cm", | ||
"barrel_length": "406 mm", | ||
"price": 25999, | ||
"price_postapoc": 1000, | ||
"material": [ "steel", "aluminum", "plastic" ], | ||
"symbol": ":", | ||
"color": "green", | ||
"location": "bore", | ||
"mod_targets": [ "debug_modular_ar15" ], | ||
"install_time": "5 m", | ||
"ammo_modifier": [ "223" ], | ||
"magazine_adaptor": [ | ||
[ | ||
"223", | ||
[ | ||
"stanag30", | ||
"stanag5", | ||
"stanag5ranger", | ||
"stanag10", | ||
"stanag10ranger", | ||
"stanag20", | ||
"stanag20ranger", | ||
"stanag30ranger", | ||
"stanag40", | ||
"stanag40ranger", | ||
"stanag50", | ||
"stanag60", | ||
"stanag60drum", | ||
"stanag90", | ||
"stanag100", | ||
"stanag100drum", | ||
"stanag150", | ||
"stanag20_beowulf", | ||
"stanag20ranger_beowulf", | ||
"stanag30_beowulf", | ||
"stanag30ranger_beowulf", | ||
"survivor223mag" | ||
] | ||
] | ||
], | ||
"pocket_mods": [ | ||
{ | ||
"pocket_type": "MAGAZINE_WELL", | ||
"item_restriction": [ | ||
"stanag30", | ||
"stanag5", | ||
"stanag5ranger", | ||
"stanag10", | ||
"stanag10ranger", | ||
"stanag20", | ||
"stanag20ranger", | ||
"stanag30ranger", | ||
"stanag40", | ||
"stanag40ranger", | ||
"stanag50", | ||
"stanag60", | ||
"stanag60drum", | ||
"stanag90", | ||
"stanag100", | ||
"stanag100drum", | ||
"stanag150", | ||
"stanag20_beowulf", | ||
"stanag20ranger_beowulf", | ||
"stanag30_beowulf", | ||
"stanag30ranger_beowulf", | ||
"survivor223mag" | ||
] | ||
} | ||
], | ||
"add_mod": [ [ "brass catcher", 1 ], [ "bayonet lug", 1 ], [ "rail", 2 ], [ "sights", 1 ], [ "underbarrel", 1 ], [ "muzzle", 1 ] ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters