mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 04:02:31 +00:00
Unsimulated turfs can be climbed on once more. Small blobs can use the blob to move around in space. Jetpacks now have a toggle for the stabilization. Jetpack fuel use has been reset to .01. Moved most of the tanks over to a new folder and files so they are not all crammed into one. The meteor event actually spawns more than one wave worth of meteors. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2488 316c924e-a436-60f5-8080-3fe189b3f50e
71 lines
1.7 KiB
Plaintext
71 lines
1.7 KiB
Plaintext
/obj/item/weapon/gun/projectile/automatic //Hopefully someone will find a way to make these fire in bursts or something. --Superxpdude
|
|
name = "Submachine Gun"
|
|
desc = "A lightweight, fast firing gun. Uses 9mm rounds."
|
|
icon_state = "saber"
|
|
w_class = 3.0
|
|
max_shells = 18
|
|
caliber = "9mm"
|
|
origin_tech = "combat=4;materials=2"
|
|
ammo_type = "/obj/item/ammo_casing/c9mm"
|
|
|
|
|
|
|
|
/obj/item/weapon/gun/projectile/automatic/mini_uzi
|
|
name = "Mini-Uzi"
|
|
desc = "A lightweight, fast firing gun, for when you want someone dead. Uses .45 rounds."
|
|
icon_state = "mini-uzi"
|
|
w_class = 3.0
|
|
max_shells = 20
|
|
caliber = ".45"
|
|
origin_tech = "combat=5;materials=2;syndicate=8"
|
|
ammo_type = "/obj/item/ammo_casing/c45"
|
|
|
|
|
|
|
|
/obj/item/weapon/gun/projectile/automatic/c20r
|
|
name = "C-20r SMG"
|
|
desc = "A lightweight, fast firing gun, for when you REALLY need someone dead. Uses 12mm rounds. Has a 'Scarborough Arms - Per falcis, per pravitas' buttstamp"
|
|
icon_state = "c20r"
|
|
item_state = "c20r"
|
|
w_class = 3.0
|
|
max_shells = 20
|
|
caliber = "12mm"
|
|
origin_tech = "combat=5;materials=2;syndicate=8"
|
|
ammo_type = "/obj/item/ammo_casing/a12mm"
|
|
fire_sound = 'Gunshot_smg.ogg'
|
|
load_method = 2
|
|
|
|
|
|
New()
|
|
..()
|
|
empty_mag = new /obj/item/ammo_magazine/a12mm/empty(src)
|
|
update_icon()
|
|
return
|
|
|
|
|
|
afterattack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj, flag)
|
|
..()
|
|
if(!loaded.len && empty_mag)
|
|
empty_mag.loc = get_turf(src.loc)
|
|
empty_mag = null
|
|
playsound(user, 'smg_empty_alarm.ogg', 40, 1)
|
|
update_icon()
|
|
return
|
|
|
|
|
|
update_icon()
|
|
..()
|
|
overlays = null
|
|
if(empty_mag)
|
|
overlays += "c20r-[round(loaded.len,4)]"
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|