mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[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:
co-authored by
Y0SH1M4S73R
Gandalf
parent
a17bbe7049
commit
133633ac90
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user