Accelerator Rounds

This commit is contained in:
KorPhaeron
2015-12-19 07:15:21 -06:00
parent 9d5c336a9b
commit e9903e086d
2 changed files with 41 additions and 2 deletions
+7 -1
View File
@@ -260,7 +260,7 @@ var/list/uplink_items = list()
cost = 25
gamemodes = list(/datum/game_mode/nuclear)
surplus = 0
/datum/uplink_item/dangerous/reinforcement/spawn_item()
var/obj/item/weapon/antag_spawner/nuke_ops/T = ..()
if(istype(T))
@@ -423,6 +423,12 @@ var/list/uplink_items = list()
item = /obj/item/ammo_box/magazine/sniper_rounds/penetrator
cost = 5
/datum/uplink_item/ammo/sniper/accelerator
name = "Sniper Magazine - Accelerator Rounds"
desc = "A 5-round magazine of penetrator ammo designed for use in the syndicate sniper rifle. The shot is weak at close range, but gains more power the farther it flies."
item = /obj/item/ammo_box/magazine/sniper_rounds/penetrator
cost = 4
// STEALTHY WEAPONS
/datum/uplink_item/stealthy_weapons
@@ -153,4 +153,37 @@
forcedodge = 1
stun = 0
weaken = 0
breakthings = FALSE
breakthings = FALSE
//Accelerator ammo
/obj/item/ammo_box/magazine/sniper_rounds/accelerator
name = "sniper rounds (penetrator)"
desc = "An advanced round which gains more power the farther it flies."
ammo_type = /obj/item/ammo_casing/accelerator
max_ammo = 5
/obj/item/ammo_casing/accelerator
desc = "A .50 caliber accelerator round casing."
caliber = ".50"
projectile_type = /obj/item/projectile/bullet/sniper/accelerator
icon_state = ".50"
/obj/item/projectile/bullet/sniper/accelerator
icon_state = "red_laser"
name = "accelerator round"
damage = 5
stun = 0
weaken = 0
breakthings = FALSE
/obj/item/projectile/bullet/sniper/accelerator/Range()
..()
damage += 5
if(damage > 40)
icon_state = "heavylaser"
breakthings = TRUE
else if(damage > 25)
icon_state = "laser"