Skip to content

Commit

Permalink
lint this
Browse files Browse the repository at this point in the history
  • Loading branch information
CampinKiller24 committed Sep 29, 2023
1 parent b25f70a commit d2aa30f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion code/modules/cargo/exports/weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
cost = 3
unit_name = "pair"
message = "of handcuffs"
export_types = list(/obj/item/handcuffs)
export_types = list(/obj/item/handcuffs)

8 changes: 4 additions & 4 deletions code/modules/projectiles/projectile/bullets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@
damage = 2
agony = 45
embed = FALSE
var/balls = 4
var/balls = 4
var/range_step = 2 //projectile will lose a fragment each time it travels this distance. Can be a non-integer.
var/base_spread = 90
var/spread_step = 10
var/base_spread = 90
var/spread_step = 10

/obj/item/projectile/bullet/rubberball/proc/get_balls(var/distance)
var/ball_loss = round((distance - 1)/range_step)
var/ball_loss = round((distance - 1)/range_step)
return max(balls - ball_loss, 1)

/obj/item/projectile/bullet/rubberball/attack_mob(var/mob/living/target_mob, var/distance, var/miss_modifier)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@

/datum/design/item/mechfab/exosuit_equipment/phazon/AssembleDesignDesc()
. = ..()
desc += " It needs an anomaly core to function, however."
desc += " It needs an anomaly core to function, however."

0 comments on commit d2aa30f

Please sign in to comment.