Skip to content

Commit

Permalink
cooler shit
Browse files Browse the repository at this point in the history
  • Loading branch information
QuacksQ committed Jun 1, 2024
1 parent 4f6b20e commit 3d813ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/projectiles/guns/ballistic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
var/misfire_percentage_increment = 0
///What is the cap on our misfire probability? Do not set this to 100.
var/misfire_probability_cap = 25
/// How much recoil the gun has.
recoil = 1

/obj/item/gun/ballistic/Initialize(mapload)
. = ..()
Expand Down
2 changes: 2 additions & 0 deletions code/modules/projectiles/guns/energy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
var/use_cyborg_cell = FALSE
///set to true so the gun is given an empty cell
var/dead_cell = FALSE
/// How much recoil the gun has.
recoil = 0.2

/obj/item/gun/energy/fire_sounds()
var/obj/item/ammo_casing/energy/shot = ammo_type[select]
Expand Down
1 change: 1 addition & 0 deletions code/modules/projectiles/guns/energy/energy_gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
ammo_x_offset = 2
charge_sections = 3
single_shot_type_overlay = FALSE
recoil = 0.1

/obj/item/gun/energy/e_gun/mini/add_seclight_point()
// The mini energy gun's light comes attached but is unremovable.
Expand Down
1 change: 1 addition & 0 deletions code/modules/projectiles/guns/energy/stun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
inhand_icon_state = null
ammo_type = list(/obj/item/ammo_casing/energy/disabler)
ammo_x_offset = 2
recoil = 0.1

/obj/item/gun/energy/disabler/add_seclight_point()
AddComponent(/datum/component/seclite_attachable, \
Expand Down

0 comments on commit 3d813ed

Please sign in to comment.