diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index ad13d541d96..d9bcc547a72 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -378,6 +378,15 @@ var/list/uplink_items = list() gamemodes = list(/datum/game_mode/nuclear) surplus = 0 +/datum/uplink_item/dangerous/sniper + name = "Sniper Rifle" + desc = "Ranged fury, Syndicate style. guaranteed to cause shock and awe or your TC back!" + reference = "SSR" + item = /obj/item/weapon/gun/projectile/automatic/sniper_rifle/syndicate + cost = 16 + surplus = 25 + gamemodes = list(/datum/game_mode/nuclear) + /datum/uplink_item/dangerous/crossbow name = "Energy Crossbow" desc = "A miniature energy crossbow that is small enough both to fit into a pocket and to slip into a backpack unnoticed by observers. Fires bolts tipped with toxin, a poisonous substance that is the product of a living organism. Stuns enemies for a short period of time. Recharges automatically." @@ -620,6 +629,38 @@ var/list/uplink_items = list() gamemodes = list(/datum/game_mode/nuclear) surplus = 0 +/datum/uplink_item/ammo/sniper + cost = 4 + gamemodes = list(/datum/game_mode/nuclear) + +/datum/uplink_item/ammo/sniper/basic + name = ".50 Magazine" + desc = "An additional standard 6-round magazine for use with .50 sniper rifles." + reference = "50M" + item = /obj/item/ammo_box/magazine/sniper_rounds + +/datum/uplink_item/ammo/sniper/soporific + name = ".50 Soporific Magazine" + desc = "A 3-round magazine of soporific ammo designed for use with .50 sniper rifles. Put your enemies to sleep today!" + reference = "50S" + item = /obj/item/ammo_box/magazine/sniper_rounds/soporific + cost = 6 + +/datum/uplink_item/ammo/sniper/haemorrhage + name = ".50 Haemorrhage Magazine" + desc = "A 5-round magazine of haemorrhage ammo designed for use with .50 sniper rifles; causes heavy bleeding \ + in the target." + reference = "50B" + item = /obj/item/ammo_box/magazine/sniper_rounds/haemorrhage + +/datum/uplink_item/ammo/sniper/penetrator + name = ".50 Penetrator Magazine" + desc = "A 5-round magazine of penetrator ammo designed for use with .50 sniper rifles. \ + Can pierce walls and multiple enemies." + reference = "50P" + item = /obj/item/ammo_box/magazine/sniper_rounds/penetrator + cost = 5 + // STEALTHY WEAPONS /datum/uplink_item/stealthy_weapons diff --git a/code/modules/projectiles/guns/projectile/sniper.dm b/code/modules/projectiles/guns/projectile/sniper.dm index 59bd7fb649b..1d9949173ad 100644 --- a/code/modules/projectiles/guns/projectile/sniper.dm +++ b/code/modules/projectiles/guns/projectile/sniper.dm @@ -1,4 +1,4 @@ -/obj/item/weapon/gun/projectile/sniper_rifle +/obj/item/weapon/gun/projectile/automatic/sniper_rifle name = "sniper rifle" desc = "the kind of gun that will leave you crying for mummy before you even realise your leg's missing" icon_state = "sniper" @@ -7,6 +7,7 @@ weapon_weight = WEAPON_MEDIUM mag_type = /obj/item/ammo_box/magazine/sniper_rounds fire_delay = 40 + burst_size = 1 origin_tech = "combat=8" can_unsuppress = 1 can_suppress = 1 @@ -14,14 +15,15 @@ zoomable = TRUE zoom_amt = 7 //Long range, enough to see in front of you, but no tiles behind you. slot_flags = SLOT_BACK + action_button_name = null -/obj/item/weapon/gun/projectile/sniper_rifle/update_icon() +/obj/item/weapon/gun/projectile/automatic/sniper_rifle/update_icon() if(magazine) icon_state = "sniper-mag" else icon_state = "sniper" -/obj/item/weapon/gun/projectile/sniper_rifle/syndicate +/obj/item/weapon/gun/projectile/automatic/sniper_rifle/syndicate name = "syndicate sniper rifle" desc = "Syndicate flavoured sniper rifle, it packs quite a punch, a punch to your face" origin_tech = "combat=8;syndicate=4"