Adds a couple of lore themed mercenary gear loadout (#6644)

Adds a bit of what is related here: https://forums.aurorastation.org/topic/11941-antagonist-rework-20/

Pretty much, adds a couple of gear crates that mercenary teams, seeking to do a lore related gimmick, can buy by pooling their crystals. Right now, it is just adds a couple of human related factions, such as eridani, sol alliance, elyra and the frontier.
This commit is contained in:
Alberyk
2019-07-04 15:13:17 -03:00
committed by Erki
parent 709f225460
commit ad9caa77ae
31 changed files with 448 additions and 5 deletions

View File

@@ -131,7 +131,7 @@
item_cost = 4
path = /obj/item/clothing/glasses/night/aviator
desc = "A pair of night-vision glasses disguised as aviator shades."
/datum/uplink_item/item/tools/suit_cooling_unit
name = "Portable suit cooling unit"
item_cost = 4

View File

@@ -0,0 +1,48 @@
/datum/uplink_item/item/gear_loadout
category = /datum/uplink_category/gear_loadout
item_cost = DEFAULT_TELECRYSTAL_AMOUNT*4
/datum/uplink_item/item/gear_loadout/frontier
name = "Frontier Alliance Assets (Group)"
path = /obj/structure/closet/crate/secure/gear_loadout/frontier
/datum/uplink_item/item/gear_loadout/frontier_single
name = "Frontier Alliance Assets (Single)"
path = /obj/structure/closet/crate/secure/gear_loadout/frontier_single
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
/datum/uplink_item/item/gear_loadout/eridani
name = "Eridani Corporate Federation Assets (Group)"
path = /obj/structure/closet/crate/secure/gear_loadout/eridani
/datum/uplink_item/item/gear_loadout/eridani_single
name = "Eridani Corporate Federation Assets (Single)"
path = /obj/structure/closet/crate/secure/gear_loadout/eridani_single
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
/datum/uplink_item/item/gear_loadout/elyra
name = "Serene Republic of Elyra Assets (Group)"
path = /obj/structure/closet/crate/secure/gear_loadout/elyra
/datum/uplink_item/item/gear_loadout/elyra_single
name = "Serene Republic of Elyra Assets (Single)"
path = /obj/structure/closet/crate/secure/gear_loadout/elyra_single
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
/datum/uplink_item/item/gear_loadout/elyra
name = "Serene Republic of Elyra Assets (Group)"
path = /obj/structure/closet/crate/secure/gear_loadout/elyra
/datum/uplink_item/item/gear_loadout/elyra_single
name = "Serene Republic of Elyra Assets (Single)"
path = /obj/structure/closet/crate/secure/gear_loadout/elyra_single
item_cost = DEFAULT_TELECRYSTAL_AMOUNT
/datum/uplink_item/item/gear_loadout/sol
name = "Sol Alliance Assets (Group)"
path = /obj/structure/closet/crate/secure/gear_loadout/sol
/datum/uplink_item/item/gear_loadout/sol_single
name = "Sol Alliance Assets (Single)"
path = /obj/structure/closet/crate/secure/gear_loadout/sol_single
item_cost = DEFAULT_TELECRYSTAL_AMOUNT

View File

@@ -13,7 +13,7 @@
if(item.can_view(U))
return 1
return 0
for(var/antag_role in antag_roles)
var/datum/antagonist/antag = all_antag_types[antag_role]
if(antag.is_antagonist(U.uplink_owner))
@@ -63,3 +63,6 @@
name = "Infiltration Items"
antag_roles = list(MODE_NINJA)
/datum/uplink_category/gear_loadout
name = "Gear Loadout"
antag_roles = list(MODE_MERCENARY)

View File

@@ -128,7 +128,7 @@ var/datum/uplink/uplink
return I
/datum/uplink_item/item/get_goods(var/obj/item/device/uplink/U, var/loc)
var/obj/item/I = new path(loc)
var/obj/I = new path(loc)
return I
/datum/uplink_item/item/description()