Skip to content

Commit

Permalink
Update kinetic_accelerator.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
wraith-54321 committed Mar 28, 2024
1 parent d7837c6 commit f8fceec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/modules/projectiles/guns/energy/kinetic_accelerator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,17 @@
var/chassis_name = "super-kinetic accelerator"

/obj/item/borg/upgrade/modkit/chassis_mod/install(obj/item/gun/energy/recharge/kinetic_accelerator/KA, mob/user)
//monkestation edit start
if(is_type_in_list(KA, list(/obj/item/gun/energy/recharge/kinetic_accelerator/glock,
/obj/item/gun/energy/recharge/kinetic_accelerator/m79,
/obj/item/gun/energy/recharge/kinetic_accelerator/meme,
/obj/item/gun/energy/recharge/kinetic_accelerator/railgun,
/obj/item/gun/energy/recharge/kinetic_accelerator/repeater,
/obj/item/gun/energy/recharge/kinetic_accelerator/shockwave,
/obj/item/gun/energy/recharge/kinetic_accelerator/shotgun)))
to_chat(user, span_warning("[src] is not compatible with [KA]."))
return FALSE
//monkestation edit end
. = ..()
if(.)
KA.icon_state = chassis_icon
Expand Down

0 comments on commit f8fceec

Please sign in to comment.