Skip to content

Commit

Permalink
Completed floralgun emagging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeberdir authored Nov 15, 2024
1 parent e1b30ba commit 694ac59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/projectiles/guns/energy/special.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@

/obj/item/gun/energy/floragun/emag_act(mob/user)
. = ..()

if(emagged)
return

if(user)
balloon_alert(user, "протоколы защиты сняты!")

emagged = TRUE
ammo_type = list(/obj/item/ammo_casing/energy/flora/alpha/emag, /obj/item/ammo_casing/energy/flora/beta, /obj/item/ammo_casing/energy/flora/gamma)
update_ammo_types()

Expand Down

0 comments on commit 694ac59

Please sign in to comment.