Skip to content

Commit

Permalink
Add the Auto-Pistol
Browse files Browse the repository at this point in the history
  • Loading branch information
Rod995 committed Jan 4, 2019
1 parent 1afb518 commit de91fd6
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
20 changes: 20 additions & 0 deletions battletech/Infantry/Weaponry/Ballistics/Slugs/ammo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"id": "ap_clip",
"type": "AMMO",
"name": "Auto-Pistol Ammo",
"description": "Ammo for Auto-Pistol.",
"volume": 0.5,
"price": 500000,
"material": [ "plastic", "powder" ],
"symbol": "=",
"color": "grey",
"count": 10,
"stack_size": 10,
"ammo_type": "auto_pistol",
"damage": 54,
"recoil": 20,
"effects": [ "COOKOFF" ]
}
]

8 changes: 8 additions & 0 deletions battletech/Infantry/Weaponry/Ballistics/Slugs/ammo_types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"type" : "ammunition_type",
"id" : "auto_pistol",
"name" : "Auto_Pistol Ammunition",
"default" : "ap_clip"
}
]
19 changes: 19 additions & 0 deletions battletech/Infantry/Weaponry/Ballistics/Slugs/magazines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[
{
"id": "ap_mag",
"type": "MAGAZINE",
"name": "Auto-Pistol Magazine",
"description": "Magazine for an Auto-Pistol.",
"weight": 490,
"volume": 0.5,
"price": 9920,
"material": "steel",
"symbol": "#",
"color": "light_gray",
"ammo_type": "auto-pistol",
"capacity": 10,
"reliability": 7,
"reload_time": 90,
"flags": [ "MAG_COMPACT" ]
}
]
25 changes: 25 additions & 0 deletions battletech/Infantry/Weaponry/Ballistics/Slugs/slug.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"type": "GUN",
"name": "Auto-Pistol",
"name_plural": "Auto-Pistols",
"skill": "pistol",
"ammo": "auto-pistol",
"id": "pistol_auto",
"description": "The Auto-Pistol or Automatic Pistol is a fairly standard sidearm for both military and civilian use. Ammunition is fed into the pistol automatically from a detachable magazine, allowing for greater capacity and reload time than a Revolver.",
"weight": 500,
"volume": 0.5,
"price": 54500,
"to_hit": 0,
"bashing": 3,
"material": [ "steel", "plastic" ],
"ranged_damage": 51,
"dispersion": 80,
"durability": 9,
"clip_size": 10,
"symbol": "/",
"burst": 5,
"range": 29,
"valid_mod_locations": [ [ "accessories", 1 ], [ "grip", 1 ], [ "muzzle", 1 ], [ "sights", 1 ], [ "stock", 1 ] ]
}
]

0 comments on commit de91fd6

Please sign in to comment.