Skip to content

Commit

Permalink
base
Browse files Browse the repository at this point in the history
  • Loading branch information
Staykeu committed Jan 24, 2024
1 parent b1e7b70 commit cf316d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
12 changes: 6 additions & 6 deletions code/modules/projectiles/guns/shotguns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ can cause issues with ammo types getting mixed up during the burst.
scatter = SCATTER_AMOUNT_TIER_6
burst_scatter_mult = SCATTER_AMOUNT_TIER_6
scatter_unwielded = SCATTER_AMOUNT_TIER_2
damage_mult = BASE_BULLET_DAMAGE_MULT
recoil = RECOIL_AMOUNT_TIER_4
recoil_unwielded = RECOIL_AMOUNT_TIER_2
damage_mult = BASE_BULLET_DAMAGE_MULT_TIER_3
recoil = RECOIL_AMOUNT_TIER_3
recoil_unwielded = RECOIL_AMOUNT_TIER_1

/obj/item/weapon/gun/shotgun/proc/replace_tube(number_to_replace)
if(!current_mag)
Expand Down Expand Up @@ -245,7 +245,7 @@ can cause issues with ammo types getting mixed up during the burst.

fire_sound = "gun_shotgun_tactical"
firesound_volume = 20
current_mag = /obj/item/ammo_magazine/internal/shotgun
current_mag = /obj/item/ammo_magazine/internal/shotgun/combat
attachable_allowed = list(
/obj/item/attachable/bayonet,
/obj/item/attachable/bayonet/upp,
Expand Down Expand Up @@ -274,7 +274,7 @@ can cause issues with ammo types getting mixed up during the burst.
update_attachable(ugl.slot)
stock.hidden = FALSE
stock.Attach(src)
update_attachable(stock.slot)
update_attachable(stock.slot)

/obj/item/weapon/gun/shotgun/combat/set_gun_attachment_offsets()
attachable_offset = list("muzzle_x" = 33, "muzzle_y" = 19,"rail_x" = 10, "rail_y" = 21, "under_x" = 14, "under_y" = 16, "stock_x" = 11, "stock_y" = 13.)
Expand Down Expand Up @@ -1116,7 +1116,7 @@ can cause issues with ammo types getting mixed up during the burst.
/obj/item/weapon/gun/shotgun/pump/set_gun_config_values()
..()
set_burst_amount(BURST_AMOUNT_TIER_1)
set_fire_delay(FIRE_DELAY_TIER_7 * 4)
set_fire_delay(FIRE_DELAY_TIER_9 * 4)
accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_3
accuracy_mult_unwielded = BASE_ACCURACY_MULT - HIT_ACCURACY_MULT_TIER_10
scatter = SCATTER_AMOUNT_TIER_6
Expand Down
8 changes: 6 additions & 2 deletions code/modules/projectiles/magazines/shotguns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@ also doesn't really matter. You can only reload them with handfuls.
/obj/item/ammo_magazine/internal/shotgun
name = "shotgun tube"
desc = "An internal magazine. It is not supposed to be seen or removed."
default_ammo = /datum/ammo/bullet/shotgun/slug
default_ammo = /datum/ammo/bullet/shotgun/buckshot
caliber = "12g"
max_rounds = 9
max_rounds = 4
chamber_closed = 0

/obj/item/ammo_magazine/internal/shotgun/combat
default_ammo = /datum/ammo/bullet/shotgun/buckshot
max_rounds = 9

/obj/item/ammo_magazine/internal/shotgun/double //For a double barrel.
default_ammo = /datum/ammo/bullet/shotgun/buckshot
max_rounds = 2
Expand Down

0 comments on commit cf316d9

Please sign in to comment.