mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Bugfix.
This commit is contained in:
@@ -86,6 +86,7 @@ var/datum/uplink/uplink = new()
|
|||||||
|
|
||||||
for(var/antag_role in antag_roles)
|
for(var/antag_role in antag_roles)
|
||||||
var/datum/antagonist/antag = all_antag_types[antag_role]
|
var/datum/antagonist/antag = all_antag_types[antag_role]
|
||||||
|
if(!isnull(antag))
|
||||||
if(antag.is_antagonist(U.uplink_owner))
|
if(antag.is_antagonist(U.uplink_owner))
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
@@ -103,14 +103,14 @@
|
|||||||
name = "Anti-Materiel Rifle (14.5mm)"
|
name = "Anti-Materiel Rifle (14.5mm)"
|
||||||
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
|
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
|
||||||
path = /obj/item/weapon/gun/projectile/heavysniper
|
path = /obj/item/weapon/gun/projectile/heavysniper
|
||||||
antag_roles = list("Mercenary")
|
antag_roles = list("mercenary")
|
||||||
|
|
||||||
/datum/uplink_item/item/visible_weapons/heavysnipertraitor
|
/datum/uplink_item/item/visible_weapons/heavysnipertraitor
|
||||||
name = "Anti-Materiel Rifle (14.5mm)"
|
name = "Anti-Materiel Rifle (14.5mm)"
|
||||||
desc = "A convenient collapsible rifle for covert assassination. Comes with 4 shots and its own secure carrying case."
|
desc = "A convenient collapsible rifle for covert assassination. Comes with 4 shots and its own secure carrying case."
|
||||||
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
|
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
|
||||||
path = /obj/item/weapon/storage/secure/briefcase/rifle
|
path = /obj/item/weapon/storage/secure/briefcase/rifle
|
||||||
antag_roles = list("Traitor")
|
antag_roles = list("traitor")
|
||||||
|
|
||||||
/datum/uplink_item/item/visible_weapons/tommygun
|
/datum/uplink_item/item/visible_weapons/tommygun
|
||||||
name = "Tommygun (.45)" // We're keeping this because it's CLASSY. -Spades
|
name = "Tommygun (.45)" // We're keeping this because it's CLASSY. -Spades
|
||||||
|
|||||||
Reference in New Issue
Block a user