[MIRROR] Objective-specific equipment will always be given. (#7862)

* Objective-specific equipment will always be given.

* Update datum_traitor.dm

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-09-01 16:43:53 +01:00
committed by GitHub
co-authored by Y0SH1M4S73R Gandalf
parent a17bbe7049
commit 133633ac90
6 changed files with 96 additions and 21 deletions
+13
View File
@@ -2065,3 +2065,16 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
cost = 1
purchasable_from = UPLINK_CLOWN_OPS
illegal_tech = FALSE
// Special equipment (Dynamically fills in uplink component)
/datum/uplink_item/special_equipment
category = "Objective-Specific Equipment"
name = "Objective-Specific Equipment"
desc = "Equipment necessary for accomplishing specific objectives. If you are seeing this, something has gone wrong."
limited_stock = 1
illegal_tech = FALSE
/datum/uplink_item/special_equipment/purchase(mob/user, datum/component/uplink/U)
..()
if(user?.mind?.failed_special_equipment)
user.mind.failed_special_equipment -= item