mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Ports Bay's railguns, and assorted gun sprites
This commit is contained in:
13
code/modules/projectiles/ammunition/magnetic.dm
Normal file
13
code/modules/projectiles/ammunition/magnetic.dm
Normal file
@@ -0,0 +1,13 @@
|
||||
/obj/item/weapon/magnetic_ammo
|
||||
name = "flechette magazine"
|
||||
desc = "A magazine containing steel flechettes."
|
||||
icon = 'icons/obj/ammo.dmi'
|
||||
icon_state = "5.56"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 1800)
|
||||
origin_tech = list(TECH_COMBAT = 1)
|
||||
var/remaining = 9
|
||||
|
||||
/obj/item/weapon/magnetic_ammo/examine(mob/user)
|
||||
. = ..()
|
||||
to_chat(user, "There [(remaining == 1)? "is" : "are"] [remaining] flechette\s left!")
|
||||
Reference in New Issue
Block a user