7b1a92885c
Elite Syndicate Hardsuit
885 lines
40 KiB
Plaintext
885 lines
40 KiB
Plaintext
var/list/uplink_items = list()
|
|
|
|
/proc/get_uplink_items(var/gamemode_override=null)
|
|
// If not already initialized..
|
|
if(!uplink_items.len)
|
|
|
|
// Fill in the list and order it like this:
|
|
// A keyed list, acting as categories, which are lists to the datum.
|
|
|
|
var/list/last = list()
|
|
for(var/item in subtypesof(/datum/uplink_item))
|
|
|
|
var/datum/uplink_item/I = new item()
|
|
if(!I.item)
|
|
continue
|
|
if(I.last)
|
|
last += I
|
|
continue
|
|
|
|
if(!uplink_items[I.category])
|
|
uplink_items[I.category] = list()
|
|
|
|
uplink_items[I.category] += I
|
|
|
|
for(var/datum/uplink_item/I in last)
|
|
|
|
if(!uplink_items[I.category])
|
|
uplink_items[I.category] = list()
|
|
|
|
uplink_items[I.category] += I
|
|
|
|
//Filtered version
|
|
var/list/filtered_uplink_items = list()
|
|
|
|
for(var/category in uplink_items)
|
|
for(var/datum/uplink_item/I in uplink_items[category])
|
|
if(I.gamemodes.len)
|
|
if(!gamemode_override && ticker && !(ticker.mode.type in I.gamemodes))
|
|
continue
|
|
if(gamemode_override && !(gamemode_override in I.gamemodes))
|
|
continue
|
|
if(I.excludefrom.len)
|
|
if(!gamemode_override && ticker && (ticker.mode.type in I.excludefrom))
|
|
continue
|
|
if(gamemode_override && (gamemode_override in I.excludefrom))
|
|
continue
|
|
if(!filtered_uplink_items[I.category])
|
|
filtered_uplink_items[I.category] = list()
|
|
filtered_uplink_items[category] += I
|
|
|
|
return filtered_uplink_items
|
|
|
|
// You can change the order of the list by putting datums before/after one another OR
|
|
// you can use the last variable to make sure it appears last, well have the category appear last.
|
|
|
|
/datum/uplink_item
|
|
var/name = "item name"
|
|
var/category = "item category"
|
|
var/desc = "item description"
|
|
var/item = null
|
|
var/cost = 0
|
|
var/last = 0 // Appear last
|
|
var/list/gamemodes = list() // Empty list means it is in all the gamemodes. Otherwise place the gamemode name here.
|
|
var/list/excludefrom = list() //Empty list does nothing. Place the name of gamemode you don't want this item to be available in here. This is so you dont have to list EVERY mode to exclude something.
|
|
var/surplus = 100 //Chance of being included in the surplus crate (when pick() selects it)
|
|
|
|
/datum/uplink_item/proc/spawn_item(turf/loc, obj/item/device/uplink/U)
|
|
if(item)
|
|
U.uses -= max(cost, 0)
|
|
U.used_TC += cost
|
|
feedback_add_details("traitor_uplink_items_bought", "[item]")
|
|
return new item(loc)
|
|
|
|
/datum/uplink_item/proc/buy(obj/item/device/uplink/U, mob/user)
|
|
|
|
..()
|
|
if(!istype(U))
|
|
return 0
|
|
|
|
if (!user || user.incapacitated())
|
|
return 0
|
|
|
|
// If the uplink's holder is in the user's contents
|
|
if ((U.loc in user.contents || (in_range(U.loc, user) && istype(U.loc.loc, /turf))))
|
|
user.set_machine(U)
|
|
if(cost > U.uses)
|
|
return 0
|
|
|
|
var/obj/I = spawn_item(get_turf(user), U)
|
|
|
|
if(istype(I, /obj/item))
|
|
if(ishuman(user))
|
|
var/mob/living/carbon/human/A = user
|
|
A.put_in_any_hand_if_possible(I)
|
|
|
|
if(istype(I,/obj/item/weapon/storage/box/) && I.contents.len>0)
|
|
for(var/atom/o in I)
|
|
U.purchase_log += "<BIG>\icon[o]</BIG>"
|
|
else
|
|
U.purchase_log += "<BIG>\icon[I]</BIG>"
|
|
|
|
U.interact(user)
|
|
return 1
|
|
return 0
|
|
|
|
/*
|
|
//
|
|
// UPLINK ITEMS
|
|
//
|
|
*/
|
|
|
|
// DANGEROUS WEAPONS
|
|
|
|
/datum/uplink_item/dangerous
|
|
category = "Conspicuous and Dangerous Weapons"
|
|
|
|
/datum/uplink_item/dangerous/pistol
|
|
name = "FK-69 Pistol"
|
|
desc = "A small, easily concealable handgun that uses 10mm auto rounds in 8-round magazines and is compatible with suppressors."
|
|
item = /obj/item/weapon/gun/projectile/automatic/pistol
|
|
cost = 9
|
|
|
|
/datum/uplink_item/dangerous/revolver
|
|
name = "Syndicate Revolver"
|
|
desc = "A brutally simple syndicate revolver that fires .357 Magnum cartridges and has 7 chambers."
|
|
item = /obj/item/weapon/gun/projectile/revolver
|
|
cost = 13
|
|
surplus = 50
|
|
|
|
/datum/uplink_item/dangerous/smg
|
|
name = "C-20r Submachine Gun"
|
|
desc = "A fully-loaded Scarborough Arms bullpup submachine gun that fires .45 rounds with a 20-round magazine and is compatible with suppressors."
|
|
item = /obj/item/weapon/gun/projectile/automatic/c20r
|
|
cost = 14
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 40
|
|
|
|
/datum/uplink_item/dangerous/smg/unrestricted
|
|
item = /obj/item/weapon/gun/projectile/automatic/c20r/unrestricted
|
|
gamemodes = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/dangerous/carbine
|
|
name = "M-90gl Carbine"
|
|
desc = "A fully-loaded three-round burst carbine that uses 30-round 5.56mm magazines with a togglable underslung 40mm grenade launcher."
|
|
item = /obj/item/weapon/gun/projectile/automatic/m90
|
|
cost = 18
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 50
|
|
|
|
/datum/uplink_item/dangerous/carbine/unrestricted
|
|
item = /obj/item/weapon/gun/projectile/automatic/m90/unrestricted
|
|
gamemodes = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/dangerous/machinegun
|
|
name = "L6 Squad Automatic Weapon"
|
|
desc = "A fully-loaded Aussec Armoury belt-fed machine gun. This deadly weapon has a massive 50-round magazine of devastating 7.62x51mm ammunition."
|
|
item = /obj/item/weapon/gun/projectile/automatic/l6_saw
|
|
cost = 40
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/dangerous/crossbow
|
|
name = "Miniature Energy Crossbow"
|
|
desc = "A short bow mounted across a tiller in miniature. Small enough to fit into a pocket or slip into a bag unnoticed. It will synthesize and fire bolts tipped with a paralyzing toxin that will \
|
|
briefly stun targets and cause them to slur as if inebriated. It can produce an infinite amount of bolts, but must be manually recharged with each shot."
|
|
item = /obj/item/weapon/gun/energy/kinetic_accelerator/crossbow
|
|
cost = 12
|
|
excludefrom = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
surplus = 50
|
|
|
|
/datum/uplink_item/dangerous/flamethrower
|
|
name = "Flamethrower"
|
|
desc = "A flamethrower, fueled by a portion of highly flammable biotoxins stolen previously from Nanotrasen stations. Make a statement by roasting the filth in their own greed. Use with caution."
|
|
item = /obj/item/weapon/flamethrower/full/tank
|
|
cost = 4
|
|
gamemodes = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
surplus = 40
|
|
|
|
/datum/uplink_item/dangerous/sword
|
|
name = "Energy Sword"
|
|
desc = "The energy sword is an edged weapon with a blade of pure energy. The sword is small enough to be pocketed when inactive. Activating it produces a loud, distinctive noise. One can combine two \
|
|
energy swords to create a double energy sword, which must be wielded in two hands but is more robust and deflects all energy projectiles."
|
|
item = /obj/item/weapon/melee/energy/sword/saber
|
|
cost = 8
|
|
|
|
/datum/uplink_item/dangerous/emp
|
|
name = "EMP Kit"
|
|
desc = "A box that contains two EMP grenades, an EMP implant and a short ranged recharging device disguised as a flashlight. Useful to disrupt communication and silicon lifeforms."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/emp
|
|
cost = 5
|
|
|
|
/datum/uplink_item/dangerous/syndicate_minibomb
|
|
name = "Syndicate Minibomb"
|
|
desc = "The minibomb is a grenade with a five-second fuse. Upon detonation, it will create a small hull breach in addition to dealing high amounts of damage to nearby personnel."
|
|
item = /obj/item/weapon/grenade/syndieminibomb
|
|
cost = 6
|
|
|
|
/datum/uplink_item/dangerous/foamsmg
|
|
name = "Toy Submachine Gun"
|
|
desc = "A fully-loaded Donksoft bullpup submachine gun that fires riot grade rounds with a 20-round magazine."
|
|
item = /obj/item/weapon/gun/projectile/automatic/c20r/toy
|
|
cost = 8
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/dangerous/foammachinegun
|
|
name = "Toy Machine Gun"
|
|
desc = "A fully-loaded Donksoft belt-fed machine gun. This weapon has a massive 50-round magazine of devastating riot grade darts, that can briefly incapacitate someone in just one volley."
|
|
item = /obj/item/weapon/gun/projectile/automatic/l6_saw/toy
|
|
cost = 12
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/dangerous/viscerators
|
|
name = "Viscerator Delivery Grenade"
|
|
desc = "A unique grenade that deploys a swarm of viscerators upon activation, which will chase down and shred any non-operatives in the area."
|
|
item = /obj/item/weapon/grenade/spawnergrenade/manhacks
|
|
cost = 8
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 35
|
|
|
|
/datum/uplink_item/dangerous/bioterror
|
|
name = "Biohazardous Chemical Sprayer"
|
|
desc = "A chemical sprayer that allows a wide dispersal of selected chemicals. Especially tailored by the Tiger Cooperative, the deadly blend it comes stocked with will disorient, damage, and disable your foes... \
|
|
Use with extreme caution, to prevent exposure to yourself and your fellow operatives."
|
|
item = /obj/item/weapon/reagent_containers/spray/chemsprayer/bioterror
|
|
cost = 20
|
|
gamemodes = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/dangerous/gygax
|
|
name = "Gygax Exosuit"
|
|
desc = "A lightweight exosuit, painted in a dark scheme. Its speed and equipment selection make it excellent for hit-and-run style attacks. \
|
|
This model lacks a method of space propulsion, and therefore it is advised to repair the mothership's teleporter if you wish to make use of it."
|
|
item = /obj/mecha/combat/gygax/dark/loaded
|
|
cost = 90
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/dangerous/mauler
|
|
name = "Mauler Exosuit"
|
|
desc = "A massive and incredibly deadly Syndicate exosuit. Features long-range targetting, thrust vectoring, and deployable smoke."
|
|
item = /obj/mecha/combat/marauder/mauler/loaded
|
|
cost = 140
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/dangerous/syndieborg
|
|
name = "Syndicate Cyborg"
|
|
desc = "A cyborg designed and programmed for systematic extermination of non-Syndicate personnel."
|
|
item = /obj/item/weapon/antag_spawner/borg_tele
|
|
cost = 50
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
//for refunding the syndieborg teleporter
|
|
/datum/uplink_item/dangerous/syndieborg/spawn_item()
|
|
var/obj/item/weapon/antag_spawner/borg_tele/T = ..()
|
|
if(istype(T))
|
|
T.TC_cost = cost
|
|
|
|
/datum/uplink_item/dangerous/guardian
|
|
name = "Holoparasites"
|
|
desc = "Though capable of near sorcerous feats via use of hardlight holograms and nanomachines, they require an organic host as a home base and source of fuel."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/guardian
|
|
excludefrom = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
cost = 12
|
|
|
|
// AMMUNITION
|
|
|
|
/datum/uplink_item/ammo
|
|
category = "Ammunition"
|
|
surplus = 40
|
|
|
|
/datum/uplink_item/ammo/pistol
|
|
name = "Handgun Magazine - 10mm"
|
|
desc = "An additional 8-round 10mm magazine for use in the syndicate pistol. These subsonic rounds are dirt cheap but are half as effective as .357 rounds."
|
|
item = /obj/item/ammo_box/magazine/m10mm
|
|
cost = 1
|
|
|
|
/datum/uplink_item/ammo/revolver
|
|
name = "Speed Loader - .357"
|
|
desc = "A speed loader that contains seven additional .357 Magnum rounds for the syndicate revolver. For when you really need a lot of things dead."
|
|
item = /obj/item/ammo_box/a357
|
|
cost = 4
|
|
|
|
/datum/uplink_item/ammo/smg
|
|
name = "SMG Magazine - .45"
|
|
desc = "An additional 20-round .45 magazine for use in the C-20r submachine gun. These bullets pack a lot of punch that can knock most targets down, but do limited overall damage."
|
|
item = /obj/item/ammo_box/magazine/smgm45
|
|
cost = 2
|
|
gamemodes = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/ammo/ammobag
|
|
name = "Ammo Duffelbag - Shotgun Ammo Grab Bag"
|
|
desc = "A duffelbag filled with Bulldog ammo to kit out an entire team, at a discounted price."
|
|
item = /obj/item/weapon/storage/backpack/dufflebag/syndie/ammo/loaded
|
|
cost = 10 //bulk buyer's discount. Very useful if you're buying a mech and dont have TC left to buy people non-shotgun guns
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/bullslug
|
|
name = "Drum Magazine - 12g Slugs"
|
|
desc = "An additional 8-round slug magazine for use in the Bulldog shotgun. Now 8 times less likely to shoot your pals."
|
|
item = /obj/item/ammo_box/magazine/m12g
|
|
cost = 2
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/bullbuck
|
|
name = "Drum Magazine - 12g Buckshot"
|
|
desc = "An additional 8-round buckshot magazine for use in the Bulldog shotgun. Front towards enemy."
|
|
item = /obj/item/ammo_box/magazine/m12g/buckshot
|
|
cost = 2
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/bullstun
|
|
name = "Drum Magazine - 12g Stun Slug"
|
|
desc = "An alternative 8-round stun slug magazine for use in the Bulldog shotgun. Saying that they're completely non-lethal would be lying."
|
|
item = /obj/item/ammo_box/magazine/m12g/stun
|
|
cost = 3
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/bulldragon
|
|
name = "Drum Magazine - 12g Dragon's Breath"
|
|
desc = "An alternative 8-round dragon's breath magazine for use in the Bulldog shotgun. I'm a fire starter, twisted fire starter!"
|
|
item = /obj/item/ammo_box/magazine/m12g/dragon
|
|
cost = 2
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/bioterror
|
|
name = "Box of Bioterror Syringes"
|
|
desc = "A box full of preloaded syringes, containing various chemicals that seize up the victim's motor and broca systems, making it impossible for them to move or speak for some time."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/bioterror
|
|
cost = 6
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/carbine
|
|
name = "Toploader Magazine - 5.56"
|
|
desc = "An additional 30-round 5.56 magazine for use in the M-90gl carbine. These bullets don't have the punch to knock most targets down, but dish out higher overall damage."
|
|
item = /obj/item/ammo_box/magazine/m556
|
|
cost = 2
|
|
gamemodes = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/ammo/a40mm
|
|
name = "Ammo Box - 40mm grenades"
|
|
desc = "A box of 4 additional 40mm HE grenades for use the M-90gl's underbarrel grenade launcher. Your teammates will thank you to not shoot these down small hallways."
|
|
item = /obj/item/ammo_box/a40mm
|
|
cost = 4
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/ammo/machinegun
|
|
name = "Box Magazine - 7.62x51mm"
|
|
desc = "A 50-round magazine of 7.62x51mm ammunition for use in the L6 SAW machinegun. By the time you need to use this, you'll already be on a pile of corpses."
|
|
item = /obj/item/ammo_box/magazine/m762
|
|
cost = 12
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/ammo/toydarts //This used to only be for nuke ops, but had the cost lowered and made available to traitors because >a box of foam darts is more expensive than four carbine magazines
|
|
name = "Box of Riot Darts"
|
|
desc = "A box of 40 Donksoft foam riot darts, for reloading any compatible foam dart gun. Don't forget to share!"
|
|
item = /obj/item/ammo_box/foambox/riot
|
|
cost = 2
|
|
surplus = 0
|
|
|
|
// STEALTHY WEAPONS
|
|
|
|
/datum/uplink_item/stealthy_weapons
|
|
category = "Stealthy and Inconspicuous Weapons"
|
|
|
|
|
|
/datum/uplink_item/stealthy_weapons/throwingstars
|
|
name = "Box of Throwing Stars"
|
|
desc = "A box of shurikens from ancient Earth martial arts. They are highly effective throwing weapons, and will embed into limbs when possible."
|
|
item = /obj/item/weapon/storage/box/throwing_stars
|
|
cost = 6
|
|
|
|
/datum/uplink_item/stealthy_weapons/edagger
|
|
name = "Energy Dagger"
|
|
desc = "A dagger made of energy that looks and functions as a pen when off."
|
|
item = /obj/item/weapon/pen/edagger
|
|
cost = 2
|
|
|
|
/datum/uplink_item/stealthy_weapons/foampistol
|
|
name = "Toy Gun with Riot Darts"
|
|
desc = "An innocent-looking toy pistol designed to fire foam darts. Comes loaded with riot-grade darts effective at incapacitating a target."
|
|
item = /obj/item/weapon/gun/projectile/automatic/toy/pistol/riot
|
|
cost = 3
|
|
surplus = 10
|
|
excludefrom = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/stealthy_weapons/sleepy_pen
|
|
name = "Sleepy Pen"
|
|
desc = "A syringe disguised as a functional pen, filled with a potent mix of drugs, including a strong anesthetic and a chemical that prevents the target from speaking. \
|
|
The pen holds one dose of the mixture, and cannot be refilled. Note that before the target falls asleep, they will be able to move and act."
|
|
item = /obj/item/weapon/pen/sleepy
|
|
cost = 4
|
|
excludefrom = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/stealthy_weapons/soap
|
|
name = "Syndicate Soap"
|
|
desc = "A sinister-looking surfactant used to clean blood stains to hide murders and prevent DNA analysis. You can also drop it underfoot to slip people."
|
|
item = /obj/item/weapon/soap/syndie
|
|
cost = 1
|
|
surplus = 50
|
|
|
|
/datum/uplink_item/stealthy_weapons/traitor_chem_bottle
|
|
name = "Poison Kit"
|
|
desc = "An assortment of deadly chemicals packed into a compact box. Comes with a syringe for more precise application."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/chemical
|
|
cost = 6
|
|
surplus = 50
|
|
|
|
/datum/uplink_item/stealthy_weapons/dart_pistol
|
|
name = "Dart Pistol"
|
|
desc = "A miniaturized version of a normal syringe gun. It is very quiet when fired and can fit into any space a small item can."
|
|
item = /obj/item/weapon/gun/syringe/syndicate
|
|
cost = 4
|
|
surplus = 50 //High chance of surplus due to poison kit also having a high chance
|
|
|
|
/datum/uplink_item/stealthy_weapons/detomatix
|
|
name = "Detomatix PDA Cartridge"
|
|
desc = "When inserted into a personal digital assistant, this cartridge gives you four opportunities to detonate PDAs of crewmembers who have their message feature enabled. \
|
|
The concussive effect from the explosion will knock the recipient out for a short period, and deafen them for longer. It has a chance to detonate your PDA."
|
|
item = /obj/item/weapon/cartridge/syndicate
|
|
cost = 6
|
|
|
|
/datum/uplink_item/stealthy_weapons/suppressor
|
|
name = "Universal Suppressor"
|
|
desc = "Fitted for use on any small caliber weapon with a threaded barrel, this suppressor will silence the shots of the weapon for increased stealth and superior ambushing capability."
|
|
item = /obj/item/weapon/suppressor
|
|
cost = 3
|
|
surplus = 10
|
|
|
|
/datum/uplink_item/stealthy_weapons/pizza_bomb
|
|
name = "Pizza Bomb"
|
|
desc = "A pizza box with a bomb taped inside it. The timer needs to be set by opening the box; afterwards, opening the box again will trigger the detonation."
|
|
item = /obj/item/device/pizza_bomb
|
|
cost = 6
|
|
surplus = 8
|
|
|
|
/datum/uplink_item/stealthy_weapons/dehy_carp
|
|
name = "Dehydrated Space Carp"
|
|
desc = "Looks like a plush toy carp, but just add water and it becomes a real-life space carp! Activate in your hand before use so it knows not to kill you."
|
|
item = /obj/item/toy/carpplushie/dehy_carp
|
|
cost = 1
|
|
|
|
/datum/uplink_item/stealthy_weapons/door_charge
|
|
name = "Explosive Airlock Charge"
|
|
desc = "A small, easily concealable device. It can be applied to an open airlock panel, and the next person to open that airlock will be knocked down in an explosion. The airlock's maintenance panel will also be destroyed by this."
|
|
item = /obj/item/device/doorCharge
|
|
cost = 2
|
|
surplus = 10
|
|
excludefrom = list(/datum/game_mode/nuclear)
|
|
|
|
// STEALTHY TOOLS
|
|
|
|
/datum/uplink_item/stealthy_tools
|
|
category = "Stealth and Camouflage Items"
|
|
|
|
/datum/uplink_item/stealthy_tools/chameleon_jumpsuit
|
|
name = "Chameleon Jumpsuit"
|
|
desc = "A jumpsuit used to imitate the uniforms of Nanotrasen crewmembers. It can change form at any time to resemble another jumpsuit. May react unpredictably to electromagnetic disruptions."
|
|
item = /obj/item/clothing/under/chameleon
|
|
cost = 2
|
|
|
|
/datum/uplink_item/stealthy_tools/chameleon_stamp
|
|
name = "Chameleon Stamp"
|
|
desc = "A stamp that can be activated to imitate an official Nanotrasen Stamp. The disguised stamp will work exactly like the real stamp and will allow you to forge false documents to gain access or equipment; \
|
|
it can also be used in a washing machine to forge clothing."
|
|
item = /obj/item/weapon/stamp/chameleon
|
|
cost = 1
|
|
surplus = 35
|
|
|
|
/datum/uplink_item/stealthy_tools/syndigaloshes
|
|
name = "No-Slip Brown Shoes"
|
|
desc = "These shoes will allow the wearer to run on wet floors and slippery objects without falling down. They do not work on heavily lubricated surfaces."
|
|
item = /obj/item/clothing/shoes/sneakers/syndigaloshes
|
|
cost = 2
|
|
excludefrom = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/stealthy_tools/syndigaloshes/nuke
|
|
name = "Tactical No-Slip Brown Shoes"
|
|
desc = "These allow you to run on wet floors. They do not work on lubricated surfaces, but the manufacturer guarantees they're somehow better than the normal ones."
|
|
cost = 4 //but they aren't
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/stealthy_tools/agent_card
|
|
name = "Agent Identification Card"
|
|
desc = "Agent cards prevent artificial intelligences from tracking the wearer, and can copy access from other identification cards. The access is cumulative, so scanning one card does not erase the access gained from another. \
|
|
In addition, they can be forged to display a new assignment and name. This can be done an unlimited amount of times. Some Syndicate areas can only be accessed with these cards."
|
|
item = /obj/item/weapon/card/id/syndicate
|
|
cost = 2
|
|
|
|
/datum/uplink_item/stealthy_tools/voice_changer
|
|
name = "Voice Changer"
|
|
item = /obj/item/clothing/mask/gas/voice
|
|
desc = "A conspicuous gas mask that mimics the voice named on your identification card. It can be toggled on and off."
|
|
cost = 3
|
|
|
|
/datum/uplink_item/stealthy_tools/chameleon_proj
|
|
name = "Chameleon Projector"
|
|
desc = "Projects an image across a user, disguising them as an object scanned with it, as long as they don't move the projector from their hand. Disguised users move slowly, and projectiles pass over them."
|
|
item = /obj/item/device/chameleon
|
|
cost = 7
|
|
excludefrom = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/stealthy_tools/camera_bug
|
|
name = "Camera Bug"
|
|
desc = "Enables you to view all cameras on the network and track a target. Bugging cameras allows you to disable them remotely."
|
|
item = /obj/item/device/camera_bug
|
|
cost = 1
|
|
surplus = 90
|
|
|
|
/datum/uplink_item/stealthy_tools/smugglersatchel
|
|
name = "Smuggler's Satchel"
|
|
desc = "This satchel is thin enough to be hidden in the gap between plating and tiling; great for stashing your stolen goods. Comes with a crowbar and a floor tile inside."
|
|
item = /obj/item/weapon/storage/backpack/satchel_flat
|
|
cost = 2
|
|
surplus = 30
|
|
|
|
/datum/uplink_item/stealthy_tools/stimpack
|
|
name = "Stimpack"
|
|
desc = "Stimpacks, the tool of many great heroes, make you nearly immune to stuns and knockdowns for about 5 minutes after injection."
|
|
item = /obj/item/weapon/reagent_containers/syringe/stimulants
|
|
cost = 5
|
|
surplus = 90
|
|
|
|
// DEVICE AND TOOLS
|
|
|
|
/datum/uplink_item/device_tools
|
|
category = "Devices and Tools"
|
|
|
|
/datum/uplink_item/device_tools/emag
|
|
name = "Cryptographic Sequencer"
|
|
desc = "The cryptographic sequencer, or emag, is a small card that unlocks hidden functions in electronic devices, subverts intended functions, and characteristically breaks security mechanisms."
|
|
item = /obj/item/weapon/card/emag
|
|
cost = 6
|
|
excludefrom = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/device_tools/toolbox
|
|
name = "Full Syndicate Toolbox"
|
|
desc = "The syndicate toolbox is a suspicious black and red. It comes loaded with a full tool set including a multitool and combat gloves that are resistant to shocks and heat."
|
|
item = /obj/item/weapon/storage/toolbox/syndicate
|
|
cost = 1
|
|
|
|
/datum/uplink_item/device_tools/surgerybag
|
|
name = "Syndicate Surgery Dufflebag"
|
|
desc = "The Syndicate surgery dufflebag is a toolkit containing all surgery tools, surgical drapes, a Syndicate brand MMI, a straitjacket, and a muzzle."
|
|
item = /obj/item/weapon/storage/backpack/dufflebag/syndie/surgery
|
|
cost = 4
|
|
|
|
/datum/uplink_item/device_tools/military_belt
|
|
name = "Military Belt"
|
|
desc = "A robust seven-slot red belt that is capable of holding all items that can fit into it."
|
|
item = /obj/item/weapon/storage/belt/military
|
|
cost = 3
|
|
excludefrom = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/device_tools/medkit
|
|
name = "Syndicate Combat Medic Kit"
|
|
desc = "This first aid kit is a suspicious brown and red. Included is a combat stimulant injector for rapid healing, a medical HUD for quick identification of injured personnel, \
|
|
and other supplies helpful for a field medic."
|
|
item = /obj/item/weapon/storage/firstaid/tactical
|
|
cost = 9
|
|
gamemodes = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
|
|
|
|
/datum/uplink_item/device_tools/space_suit
|
|
name = "Syndicate Space Suit"
|
|
desc = "The red and black syndicate space suit is less encumbering than Nanotrasen variants, fits inside bags, and has a weapon slot. Nanotrasen crewmembers are trained to report red space suit sightings."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/space
|
|
cost = 4
|
|
excludefrom = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/device_tools/hardsuit
|
|
name = "Blood-Red Hardsuit"
|
|
desc = "The feared suit of a syndicate nuclear agent. Features slightly better armoring and a built in jetpack that runs off standard atmospheric tanks. \
|
|
When the built in helmet is deployed your identity will be protected, even in death, as the suit cannot be removed by outside forces. Toggling the suit into combat mode \
|
|
will allow you all the mobility of a loose fitting uniform without sacrificing armoring. Additionally the suit is collapsible, small enough to fit within a backpack. \
|
|
Nanotrasen crewmembers are trained to report red space suit sightings; these suits in particular are known to drive employees into a panic."
|
|
item = /obj/item/clothing/suit/space/hardsuit/syndi
|
|
cost = 8
|
|
excludefrom = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/device_tools/hardsuit
|
|
name = "Elite Syndicate Hardsuit"
|
|
desc = "The elite Syndicate hardsuit is worn by only the best nuclear agents. Features much better armoring and complete fireproofing, as well as a built in jetpack. \
|
|
When the built in helmet is deployed your identity will be protected, even in death, as the suit cannot be removed by outside forces. Toggling the suit into combat mode \
|
|
will allow you all the mobility of a loose fitting uniform without sacrificing armoring. Additionally the suit is collapsible, small enough to fit within a backpack. \
|
|
Nanotrasen crewmembers are trained to report red space suit sightings; these suits in particular are known to drive employees into a panic."
|
|
item = /obj/item/clothing/suit/space/hardsuit/syndi/elite
|
|
cost = 8
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/device_tools/thermal
|
|
name = "Thermal Imaging Glasses"
|
|
desc = "These goggles can be turned to resemble common eyewears throughout the station. \
|
|
They allow you to see organisms through walls by capturing the upper portion of the infrared light spectrum, emitted as heat and light by objects. \
|
|
Hotter objects, such as warm bodies, cybernetic organisms and artificial intelligence cores emit more of this light than cooler objects like walls and airlocks." //THEN WHY CANT THEY SEE PLASMA FIRES????
|
|
item = /obj/item/clothing/glasses/thermal/syndi
|
|
cost = 6
|
|
|
|
/datum/uplink_item/device_tools/binary
|
|
name = "Binary Translator Key"
|
|
desc = "A key that, when inserted into a radio headset, allows you to listen to and talk with silicon-based lifeforms, such as AI units and cyborgs, over their private binary channel. Caution should \
|
|
be taken while doing this, as unless they are allied with you, they are programmed to report such intrusions."
|
|
item = /obj/item/device/encryptionkey/binary
|
|
cost = 5
|
|
surplus = 75
|
|
|
|
/datum/uplink_item/device_tools/encryptionkey
|
|
name = "Syndicate Encryption Key"
|
|
desc = "A key that, when inserted into a radio headset, allows you to listen to all station department channels as well as talk on an encrypted Syndicate channel with other agents that have the same \
|
|
key."
|
|
item = /obj/item/device/encryptionkey/syndicate
|
|
cost = 2 //Nowhere near as useful as the Binary Key!
|
|
surplus = 75
|
|
|
|
/datum/uplink_item/device_tools/ai_detector
|
|
name = "Artificial Intelligence Detector" // changed name in case newfriends thought it detected disguised ai's
|
|
desc = "A functional multitool that turns red when it detects an artificial intelligence watching it or its holder. Knowing when an artificial intelligence is watching you is useful for knowing when to maintain cover."
|
|
item = /obj/item/device/multitool/ai_detect
|
|
cost = 1
|
|
|
|
/datum/uplink_item/device_tools/hacked_module
|
|
name = "Hacked AI Law Upload Module"
|
|
desc = "When used with an upload console, this module allows you to upload priority laws to an artificial intelligence. Be careful with their wording, as artificial intelligences may look for loopholes to exploit."
|
|
item = /obj/item/weapon/aiModule/syndicate
|
|
cost = 14
|
|
|
|
/datum/uplink_item/device_tools/magboots
|
|
name = "Blood-Red Magboots"
|
|
desc = "A pair of magnetic boots with a Syndicate paintjob that assist with freer movement in space or on-station during gravitational generator failures. \
|
|
These reverse-engineered knockoffs of Nanotrasen's 'Advanced Magboots' slow you down in simulated-gravity environments much like the standard issue variety."
|
|
item = /obj/item/clothing/shoes/magboots/syndie
|
|
cost = 3
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/device_tools/c4
|
|
name = "Composition C-4"
|
|
desc = "C-4 is plastic explosive of the common variety Composition C. You can use it to breach walls or connect a signaler to its wiring to make it remotely detonable. \
|
|
It has a modifiable timer with a minimum setting of 10 seconds."
|
|
item = /obj/item/weapon/c4
|
|
cost = 1
|
|
|
|
/datum/uplink_item/device_tools/powersink
|
|
name = "Power Sink"
|
|
desc = "When screwed to wiring attached to a power grid and activated, this large device places excessive load on the grid, causing a stationwide blackout. The sink is large and cannot be stored in \
|
|
most traditional bags and boxes."
|
|
item = /obj/item/device/powersink
|
|
cost = 10
|
|
|
|
/datum/uplink_item/device_tools/singularity_beacon
|
|
name = "Singularity Beacon"
|
|
desc = "When screwed to wiring attached to an electric grid and activated, this large device pulls any active gravitational singularities towards it. \
|
|
This will not work when the singularity is still in containment. A singularity beacon can cause catastrophic damage to a space station, \
|
|
leading to an emergency evacuation. Because of its size, it cannot be carried. Ordering this sends you a small beacon that will teleport the larger beacon to your location upon activation."
|
|
item = /obj/item/device/sbeacondrop
|
|
cost = 14
|
|
excludefrom = list(/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/device_tools/syndicate_bomb
|
|
name = "Syndicate Bomb"
|
|
desc = "The Syndicate bomb is a fearsome device capable of massive destruction. It has an adjustable timer, with a minimum of 60 seconds, and can be bolted to the floor with a wrench to prevent \
|
|
movement. The bomb is bulky and cannot be moved; upon ordering this item, a smaller beacon will be transported to you that will teleport the actual bomb to it upon activation. Note that this bomb can \
|
|
be defused, and some crew may attempt to do so."
|
|
item = /obj/item/device/sbeacondrop/bomb
|
|
cost = 11
|
|
|
|
/datum/uplink_item/device_tools/rad_laser
|
|
name = "Radioactive Microlaser"
|
|
desc = "A radioactive microlaser disguised as a standard Nanotrasen health analyzer. When used, it emits a powerful burst of radiation, which, after a short delay, can incapitate all but the most protected of humanoids. \
|
|
It has two settings: intensity, which controls the power of the radiation, and wavelength, which controls how long the radiation delay is."
|
|
item = /obj/item/device/rad_laser
|
|
cost = 5
|
|
|
|
/datum/uplink_item/device_tools/syndicate_detonator
|
|
name = "Syndicate Detonator"
|
|
desc = "The Syndicate detonator is a companion device to the Syndicate bomb. Simply press the included button and an encrypted radio frequency will instruct all live Syndicate bombs to detonate. \
|
|
Useful for when speed matters or you wish to synchronize multiple bomb blasts. Be sure to stand clear of the blast radius before using the detonator."
|
|
item = /obj/item/device/syndicatedetonator
|
|
cost = 3
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/device_tools/teleporter
|
|
name = "Teleporter Circuit Board"
|
|
desc = "A printed circuit board that completes the teleporter onboard the mothership. It is advised you calibrate the teleporter before entering it, as malfunctions can occur."
|
|
item = /obj/item/weapon/circuitboard/teleporter
|
|
cost = 40
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/device_tools/shield
|
|
name = "Energy Shield"
|
|
desc = "An incredibly useful personal shield projector, capable of reflecting energy projectiles and defending against other attacks."
|
|
item = /obj/item/weapon/shield/energy
|
|
cost = 16
|
|
gamemodes = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
surplus = 20
|
|
|
|
|
|
// IMPLANTS
|
|
|
|
/datum/uplink_item/implants
|
|
category = "Implants"
|
|
|
|
/datum/uplink_item/implants/freedom
|
|
name = "Freedom Implant"
|
|
desc = "An implant injected into the body and later activated at the user's will. It will attempt to free the user from common restraints such as handcuffs."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/imp_freedom
|
|
cost = 5
|
|
|
|
/datum/uplink_item/implants/uplink
|
|
name = "Uplink Implant"
|
|
desc = "An implant injected into the body, and later activated at the user's will. It will open a separate uplink with 10 telecrystals. The ability to have these telecrystals, combined with no easy \
|
|
way to detect the ipmlant, makes this excellent for escaping confinement."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/imp_uplink
|
|
cost = 14
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/implants/adrenal
|
|
name = "Adrenal Implant"
|
|
desc = "An implant injected into the body, and later activated at the user's will. It will inject a chemical cocktail which has a mild healing effect along with removing all stuns and increasing movement speed."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/imp_adrenal
|
|
cost = 8
|
|
|
|
/datum/uplink_item/implants/storage
|
|
name = "Storage Implant"
|
|
desc = "An implant injected into the body, and later activated at the user's will. It will open a small subspace pocket capable of storing two items."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/imp_storage
|
|
cost = 8
|
|
|
|
/datum/uplink_item/implants/microbomb
|
|
name = "Microbomb Implant"
|
|
desc = "An implant injected into the body, and later activated either manually or automatically upon death. The more implants inside of you, the higher the explosive power. \
|
|
This will permanently destroy your body, however."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/imp_microbomb
|
|
cost = 2
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
|
|
//CYBERNETIC IMPLANTS
|
|
|
|
/datum/uplink_item/cyber_implants
|
|
category = "Cybernetic Implants"
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
surplus = 0
|
|
|
|
/datum/uplink_item/cyber_implants/thermals
|
|
name = "Thermal Vision Implant"
|
|
desc = "These cybernetic eyes will give you thermal vision. They must be implanted via surgery."
|
|
item = /obj/item/organ/internal/cyberimp/eyes/thermals
|
|
cost = 8
|
|
|
|
/datum/uplink_item/cyber_implants/xray
|
|
name = "X-Ray Vision Implant"
|
|
desc = "These cybernetic eyes will give you X-ray vision. They must be implanted via surgery."
|
|
item = /obj/item/organ/internal/cyberimp/eyes/xray
|
|
cost = 10
|
|
|
|
/datum/uplink_item/cyber_implants/antistun
|
|
name = "CNS Rebooter Implant"
|
|
desc = "This implant will help you get back up on your feet faster after being stunned. It must be implanted via surgery."
|
|
item = /obj/item/organ/internal/cyberimp/brain/anti_stun
|
|
cost = 12
|
|
|
|
/datum/uplink_item/cyber_implants/reviver
|
|
name = "Reviver Implant"
|
|
desc = "This implant will attempt to revive you if you lose consciousness. It must be implanted via surgery."
|
|
item = /obj/item/organ/internal/cyberimp/chest/reviver
|
|
cost = 8
|
|
|
|
/datum/uplink_item/cyber_implants/bundle
|
|
name = "Cybernetic Implants Bundle"
|
|
desc = "A random selection of cybernetic implants. Guaranteed 5 high quality implants. They must be implanted via surgery."
|
|
item = /obj/item/weapon/storage/box/cyber_implants
|
|
cost = 40
|
|
|
|
// POINTLESS BADASSERY
|
|
|
|
/datum/uplink_item/badass
|
|
category = "(Pointless) Badassery"
|
|
surplus = 0
|
|
last = 1
|
|
|
|
/datum/uplink_item/badass/syndiecigs
|
|
name = "Syndicate Smokes"
|
|
desc = "Strong flavor, dense smoke, infused with omnizine."
|
|
item = /obj/item/weapon/storage/fancy/cigarettes/cigpack_syndicate
|
|
cost = 2
|
|
|
|
/datum/uplink_item/badass/bundle
|
|
name = "Syndicate Bundle"
|
|
desc = "Syndicate Bundles are specialised groups of items that arrive in a plain box. These items are collectively worth more than 20 telecrystals, but you do not know which specialisation you will receive."
|
|
item = /obj/item/weapon/storage/box/syndicate
|
|
cost = 20
|
|
excludefrom = list(/datum/game_mode/nuclear,/datum/game_mode/gang)
|
|
|
|
/datum/uplink_item/badass/syndiecards
|
|
name = "Syndicate Playing Cards"
|
|
desc = "A special deck of space-grade playing cards with a mono-molecular edge and metal reinforcement, making them slightly more robust than a normal deck of cards. \
|
|
You can also play card games with them or leave them on your victims."
|
|
item = /obj/item/toy/cards/deck/syndicate
|
|
cost = 1
|
|
surplus = 40
|
|
|
|
/datum/uplink_item/badass/syndiecash
|
|
name = "Syndicate Briefcase Full of Cash"
|
|
desc = "A secure briefcase containing 5000 space credits. Useful for bribing personnel, or purchasing goods and services at lucrative prices. \
|
|
The briefcase also feels a little heavier to hold; it has been manufactured to pack a little bit more of a punch if your client needs some convincing."
|
|
item = /obj/item/weapon/storage/secure/briefcase/syndie
|
|
cost = 1
|
|
|
|
/datum/uplink_item/badass/balloon
|
|
name = "For showing that you are THE BOSS"
|
|
desc = "A useless red balloon with the Syndicate logo on it. Can blow the deepest of covers."
|
|
item = /obj/item/toy/syndicateballoon
|
|
cost = 20
|
|
|
|
/datum/uplink_item/implants/macrobomb
|
|
name = "Macrobomb Implant"
|
|
desc = "An implant injected into the body, and later activated either manually or automatically upon death. Upon death, releases a massive explosion that will wipe out everything nearby."
|
|
item = /obj/item/weapon/storage/box/syndie_kit/imp_macrobomb
|
|
cost = 20
|
|
gamemodes = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/badass/random
|
|
name = "Random Item"
|
|
desc = "Picking this choice will send you a random item from the list. Useful for when you cannot think of a strategy to finish your objectives with."
|
|
item = /obj/item/weapon/storage/box/syndicate
|
|
cost = 0
|
|
|
|
/datum/uplink_item/badass/random/spawn_item(turf/loc, obj/item/device/uplink/U)
|
|
|
|
var/list/buyable_items = get_uplink_items()
|
|
var/list/possible_items = list()
|
|
|
|
for(var/category in buyable_items)
|
|
for(var/datum/uplink_item/I in buyable_items[category])
|
|
if(I == src)
|
|
continue
|
|
if(I.cost > U.uses)
|
|
continue
|
|
possible_items += I
|
|
|
|
if(possible_items.len)
|
|
var/datum/uplink_item/I = pick(possible_items)
|
|
U.uses -= max(0, I.cost)
|
|
feedback_add_details("traitor_uplink_items_bought","RN")
|
|
return new I.item(loc)
|
|
|
|
/datum/uplink_item/badass/surplus_crate
|
|
name = "Syndicate Surplus Crate"
|
|
desc = "A crate containing 50 telecrystals worth of random syndicate leftovers."
|
|
cost = 20
|
|
item = /obj/item/weapon/storage/box/syndicate
|
|
excludefrom = list(/datum/game_mode/nuclear)
|
|
|
|
/datum/uplink_item/badass/surplus_crate/spawn_item(turf/loc, obj/item/device/uplink/U)
|
|
var/obj/structure/closet/crate/C = new(loc)
|
|
var/list/temp_uplink_list = get_uplink_items()
|
|
var/list/buyable_items = list()
|
|
for(var/category in temp_uplink_list)
|
|
buyable_items += temp_uplink_list[category]
|
|
var/list/bought_items = list()
|
|
U.uses -= cost
|
|
U.used_TC = 20
|
|
var/remaining_TC = 50
|
|
|
|
var/datum/uplink_item/I
|
|
while(remaining_TC)
|
|
I = pick(buyable_items)
|
|
if(!I.surplus)
|
|
continue
|
|
if(I.cost > remaining_TC)
|
|
continue
|
|
if((I.item in bought_items) && prob(33)) //To prevent people from being flooded with the same thing over and over again.
|
|
continue
|
|
bought_items += I.item
|
|
remaining_TC -= I.cost
|
|
|
|
U.purchase_log += "<BIG>\icon[C]</BIG>"
|
|
for(var/item in bought_items)
|
|
new item(C)
|
|
U.purchase_log += "<BIG>\icon[item]</BIG>" |