mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
[MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)
This has zero reason to exist in our code base. We have no procs or variables tied to this. I removed it to make future modifications cleaner. --------- Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
/datum/uplink_item/abstract/announcements
|
||||
category = /datum/uplink_category/services
|
||||
|
||||
/datum/uplink_item/abstract/announcements/buy(var/obj/item/device/uplink/U, var/mob/user)
|
||||
/datum/uplink_item/abstract/announcements/buy(var/obj/item/uplink/U, var/mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
log_and_message_admins("has triggered a falsified [src]", user)
|
||||
@@ -25,7 +25,7 @@
|
||||
return
|
||||
return list("title" = strip_html_readd_newlines(title), "message" = strip_html_readd_newlines(message))
|
||||
|
||||
/datum/uplink_item/abstract/announcements/fake_centcom/get_goods(var/obj/item/device/uplink/U, var/loc, var/mob/user, var/list/arguments)
|
||||
/datum/uplink_item/abstract/announcements/fake_centcom/get_goods(var/obj/item/uplink/U, var/loc, var/mob/user, var/list/arguments)
|
||||
command_announcement.Announce(arguments["message"], arguments["title"], do_newscast=1, do_print=1, msg_sanitized=TRUE)
|
||||
return TRUE
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
telecrystal_cost = 4
|
||||
bluecrystal_cost = 4
|
||||
|
||||
/datum/uplink_item/abstract/announcements/fake_crew_arrival/get_goods(var/obj/item/device/uplink/U, var/loc, var/mob/user, var/list/arguments)
|
||||
/datum/uplink_item/abstract/announcements/fake_crew_arrival/get_goods(var/obj/item/uplink/U, var/loc, var/mob/user, var/list/arguments)
|
||||
if(!user)
|
||||
return 0
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
telecrystal_cost = 2
|
||||
var/static/cooldown = FALSE
|
||||
|
||||
/datum/uplink_item/abstract/announcements/fake_ion_storm/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/abstract/announcements/fake_ion_storm/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
if(cooldown != TRUE)
|
||||
ion_storm_announcement()
|
||||
cooldown = TRUE
|
||||
@@ -117,7 +117,7 @@
|
||||
telecrystal_cost = 3
|
||||
var/static/cooldown = 0
|
||||
|
||||
/datum/uplink_item/abstract/announcements/fake_radiation/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/abstract/announcements/fake_radiation/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
if(cooldown != TRUE)
|
||||
var/datum/event_meta/EM = new(EVENT_LEVEL_MUNDANE, "Fake Radiation Storm", add_to_queue = 0)
|
||||
new/datum/event/radiation_storm/syndicate(EM)
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
name = "Random Item"
|
||||
desc = "Buys you one random item."
|
||||
|
||||
/datum/uplink_item/item/badassery/random_one/buy(var/obj/item/device/uplink/U, var/mob/user)
|
||||
/datum/uplink_item/item/badassery/random_one/buy(var/obj/item/uplink/U, var/mob/user)
|
||||
var/datum/uplink_item/item = GLOB.default_uplink_selection.get_random_item(U.telecrystals)
|
||||
return item.buy(U, user)
|
||||
|
||||
/datum/uplink_item/item/badassery/random_one/can_buy_telecrystals(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/item/badassery/random_one/can_buy_telecrystals(obj/item/uplink/U)
|
||||
return GLOB.default_uplink_selection.get_random_item(U.telecrystals, U) != null
|
||||
|
||||
/datum/uplink_item/item/badassery/random_many
|
||||
@@ -40,7 +40,7 @@
|
||||
/datum/uplink_item/item/badassery/random_many/telecrystal_cost(var/telecrystals)
|
||||
return max(1, telecrystals)
|
||||
|
||||
/datum/uplink_item/item/badassery/random_many/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/item/badassery/random_many/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
var/list/bought_items = list()
|
||||
for(var/datum/uplink_item/UI in get_random_uplink_items(U, U.telecrystals, loc))
|
||||
UI.purchase_log(U)
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
return bought_items
|
||||
|
||||
/datum/uplink_item/item/badassery/random_many/purchase_log(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/item/badassery/random_many/purchase_log(obj/item/uplink/U)
|
||||
feedback_add_details("traitor_uplink_items_bought", "[src]")
|
||||
log_and_message_admins("used \the [U.loc] to buy \a [src]")
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
..()
|
||||
desc = "A crate containing [item_worth] telecrystal\s worth of surplus leftovers."
|
||||
|
||||
/datum/uplink_item/item/badassery/surplus/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/item/badassery/surplus/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
var/obj/structure/largecrate/C = new(loc)
|
||||
var/random_items = get_random_uplink_items(null, item_worth, C)
|
||||
for(var/datum/uplink_item/I in random_items)
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/datum/uplink_item/item/tools/firingpin //todo, make this a special syndicate one instead of just a normal one?
|
||||
name = "Firing Pin"
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/firing_pin
|
||||
path = /obj/item/firing_pin
|
||||
desc = "An unmarked firing pin - It should be compatible with nearly every weapon onboard."
|
||||
|
||||
/datum/uplink_item/item/tools/surge
|
||||
@@ -59,14 +59,14 @@
|
||||
name = "Encrypted Radio Channel Key"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/encryptionkey/syndicate
|
||||
path = /obj/item/encryptionkey/syndicate
|
||||
desc = "An encryption key for use in a headset, intercepts all frequencies and grants access to a secure private frequency."
|
||||
|
||||
/datum/uplink_item/item/tools/encryptionkey_binary
|
||||
name = "Binary Translator Key"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/encryptionkey/binary
|
||||
path = /obj/item/encryptionkey/binary
|
||||
desc = "An encryption key for use in a headset, capable of intercepting stationbound binary communications."
|
||||
|
||||
/datum/uplink_item/item/tools/emag
|
||||
@@ -82,13 +82,13 @@
|
||||
This can only be bought once."
|
||||
telecrystal_cost = 1
|
||||
item_limit = 1
|
||||
path = /obj/item/device/personal_shield
|
||||
path = /obj/item/personal_shield
|
||||
|
||||
/datum/uplink_item/item/tools/hacking_tool
|
||||
name = "Door Hacking Tool"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/multitool/hacktool
|
||||
path = /obj/item/multitool/hacktool
|
||||
desc = "Appears and functions as a standard multitool until the mode is toggled by applying a screwdriver appropriately. \
|
||||
When in hacking mode this device will grant full access to any standard airlock within 7 to 13 seconds. \
|
||||
This device will also be able to immediately access the last 6 to 8 hacked airlocks."
|
||||
@@ -109,7 +109,7 @@
|
||||
name = "Powersink (DANGER!)"
|
||||
telecrystal_cost = 6
|
||||
bluecrystal_cost = 6
|
||||
path = /obj/item/device/powersink
|
||||
path = /obj/item/powersink
|
||||
|
||||
/datum/uplink_item/item/tools/ai_module
|
||||
name = "Hacked AI Upload Module"
|
||||
@@ -174,35 +174,35 @@
|
||||
name = "Portable suit cooling unit"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/suit_cooling_unit
|
||||
path = /obj/item/suit_cooling_unit
|
||||
desc = "A suit cooling unit with a high capacity power cell."
|
||||
|
||||
/datum/uplink_item/item/tools/keypad
|
||||
name = "Keypad Mag-Lock"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/magnetic_lock/keypad
|
||||
path = /obj/item/magnetic_lock/keypad
|
||||
desc = "A maglock that requires the user to enter a passcode to lock and then later unlock."
|
||||
|
||||
/datum/uplink_item/item/tools/personal_ai
|
||||
name = "Personal AI"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/paicard
|
||||
path = /obj/item/paicard
|
||||
desc = "An unmodified personal AI that can assist you in your ventures."
|
||||
|
||||
/datum/uplink_item/item/tools/pin_extractor
|
||||
name = "Firing Pin Extractor"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/pin_extractor
|
||||
path = /obj/item/pin_extractor
|
||||
desc = "An extractor tool capable of extracting firing pins from most firearms."
|
||||
|
||||
/datum/uplink_item/item/tools/radio_jammer
|
||||
name = "Radio Jammer"
|
||||
telecrystal_cost = 2
|
||||
bluecrystal_cost = 2
|
||||
path = /obj/item/device/radiojammer
|
||||
path = /obj/item/radiojammer
|
||||
desc = "A small jammer that can fit inside a pocket. Capable of disrupting nearby radios and hivenet transmitters."
|
||||
|
||||
/datum/uplink_item/item/tools/jetpack
|
||||
@@ -215,7 +215,7 @@
|
||||
name = "Electropack"
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/radio/electropack
|
||||
path = /obj/item/radio/electropack
|
||||
desc = "A backpack wired with electrodes. Sync up with a signaller, attach to an unwilling host and pulse the signal to shock them."
|
||||
|
||||
/datum/uplink_item/item/tools/ammo_display
|
||||
@@ -243,7 +243,7 @@
|
||||
desc = "This set of earmuffs has a secret compartment housing radio gear, allowing it to function as a standard headset."
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/radio/headset/earmuff
|
||||
path = /obj/item/radio/headset/earmuff
|
||||
|
||||
/datum/uplink_item/item/tools/liquidbags
|
||||
name = "25 Liquid-Bags"
|
||||
|
||||
@@ -5,22 +5,22 @@
|
||||
name = "Combat Exosuit Dropper"
|
||||
desc = "A device that can be used to drop in a combat exosuit. Can only be used outside [SSatlas.current_map.station_name] areas, unless emagged, which is hazardous."
|
||||
telecrystal_cost = 25
|
||||
path = /obj/item/device/orbital_dropper/mecha/combat
|
||||
path = /obj/item/orbital_dropper/mecha/combat
|
||||
|
||||
/datum/uplink_item/item/exosuit/heavy/New()
|
||||
name = "Heavy Exosuit Dropper"
|
||||
desc = "A device that can be used to drop in a heavy exosuit. Can only be used outside [SSatlas.current_map.station_name] areas, unless emagged, which is hazardous."
|
||||
telecrystal_cost = 20
|
||||
path = /obj/item/device/orbital_dropper/mecha/heavy
|
||||
path = /obj/item/orbital_dropper/mecha/heavy
|
||||
|
||||
/datum/uplink_item/item/exosuit/light/New()
|
||||
name = "Light Exosuit Dropper"
|
||||
desc = "A device that can be used to drop in a light exosuit. Can only be used outside [SSatlas.current_map.station_name] areas, unless emagged, which is hazardous."
|
||||
telecrystal_cost = 15
|
||||
path = /obj/item/device/orbital_dropper/mecha
|
||||
path = /obj/item/orbital_dropper/mecha
|
||||
|
||||
/datum/uplink_item/item/exosuit/powerloader/New()
|
||||
name = "Powerloader Exosuit Dropper"
|
||||
desc = "A device that can be used to drop in a powerloader exosuit. Can only be used outside [SSatlas.current_map.station_name] areas, unless emagged, which is hazardous."
|
||||
telecrystal_cost = 10
|
||||
path = /obj/item/device/orbital_dropper/mecha/powerloader
|
||||
path = /obj/item/orbital_dropper/mecha/powerloader
|
||||
|
||||
@@ -41,25 +41,25 @@
|
||||
name = "Combitool Augment Implanter"
|
||||
bluecrystal_cost = 1
|
||||
desc = "An augment implanter, with the combitool augment."
|
||||
path = /obj/item/device/augment_implanter/combitool
|
||||
path = /obj/item/augment_implanter/combitool
|
||||
|
||||
/datum/uplink_item/item/implants/aug_health_scanner
|
||||
name = "Health Scanner Augment Implanter"
|
||||
bluecrystal_cost = 1
|
||||
desc = "An augment implanter, with the integrated health scanner augment."
|
||||
path = /obj/item/device/augment_implanter/health_scanner
|
||||
path = /obj/item/augment_implanter/health_scanner
|
||||
|
||||
/datum/uplink_item/item/implants/hiveshield
|
||||
name = "Vaurca Hivenet Defense Implanter"
|
||||
bluecrystal_cost = 1
|
||||
desc = "An augment implanter, with a Hivenet defense augment. ONLY WORKS ON VAURCA!"
|
||||
path = /obj/item/device/augment_implanter/hivenet_shield
|
||||
path = /obj/item/augment_implanter/hivenet_shield
|
||||
|
||||
/datum/uplink_item/item/implants/hivewarfare
|
||||
name = "Vaurca Hivenet Warfare Suite"
|
||||
bluecrystal_cost = 5
|
||||
desc = "A augment implanter, with a Hivenet defense augment and electronic warfare suite. ONLY WORKS ON VAURCA!"
|
||||
path = /obj/item/device/augment_implanter/hivenet_warfare
|
||||
path = /obj/item/augment_implanter/hivenet_warfare
|
||||
|
||||
/datum/uplink_item/item/implants/telefreedom_kit
|
||||
name = "Telefreedom Kit"
|
||||
@@ -74,39 +74,39 @@
|
||||
bluecrystal_cost = 3
|
||||
telecrystal_cost = 3
|
||||
desc = "An augment implanter, with a Auxiliary Heart bioaug. ONLY WORKS ON HUMANS!"
|
||||
path = /obj/item/device/augment_implanter/auxiliary_heart
|
||||
path = /obj/item/augment_implanter/auxiliary_heart
|
||||
|
||||
/datum/uplink_item/item/implants/gravity_adaptations
|
||||
name = "Galatean Gravity Adaptations Implanter"
|
||||
bluecrystal_cost = 1
|
||||
telecrystal_cost = 1
|
||||
desc = "An augment implanter, with a Gravity Adaptations bioaug. ONLY WORKS ON OFF-WORLDERS!"
|
||||
path = /obj/item/device/augment_implanter/gravity_adaptations
|
||||
path = /obj/item/augment_implanter/gravity_adaptations
|
||||
|
||||
/datum/uplink_item/item/implants/mind_blanker
|
||||
name = "Galatean Mind Blanker Implanter"
|
||||
bluecrystal_cost = 2
|
||||
telecrystal_cost = 2
|
||||
desc = "An augment implanter, with a Mind Blanker bioaug. ONLY WORKS ON HUMANS!"
|
||||
path = /obj/item/device/augment_implanter/mind_blanker
|
||||
path = /obj/item/augment_implanter/mind_blanker
|
||||
|
||||
/datum/uplink_item/item/implants/mind_blanker_lethal
|
||||
name = "Galatean Mind Blanker (Lethal) Implanter"
|
||||
bluecrystal_cost = 4
|
||||
telecrystal_cost = 4
|
||||
desc = "An augment implanter, with a Lethal Mind Blanker bioaug. ONLY WORKS ON HUMANS!"
|
||||
path = /obj/item/device/augment_implanter/mind_blanker_lethal
|
||||
path = /obj/item/augment_implanter/mind_blanker_lethal
|
||||
|
||||
/datum/uplink_item/item/implants/platelet_factories
|
||||
name = "Galatean Platelet Factories Implanter"
|
||||
bluecrystal_cost = 3
|
||||
telecrystal_cost = 3
|
||||
desc = "An augment implanter, with a Platelet Factories bioaug. ONLY WORKS ON HUMANS!"
|
||||
path = /obj/item/device/augment_implanter/platelet_factories
|
||||
path = /obj/item/augment_implanter/platelet_factories
|
||||
|
||||
/datum/uplink_item/item/implants/subdermal_carapace
|
||||
name = "Galatean Subdermal Carapace Implanter"
|
||||
bluecrystal_cost = 5
|
||||
telecrystal_cost = 5
|
||||
desc = "An augment implanter, with a Subdermal Carapace bioaug. ONLY WORKS ON HUMANS!"
|
||||
path = /obj/item/device/augment_implanter/subdermal_carapace
|
||||
path = /obj/item/augment_implanter/subdermal_carapace
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
name = "Armory Dropper"
|
||||
desc = "A device that can be used to drop in an armory-worth of guns. Can only be used outside [SSatlas.current_map.station_short] areas, unless emagged, which is hazardous."
|
||||
telecrystal_cost = 25
|
||||
path = /obj/item/device/orbital_dropper/armory/syndicate
|
||||
path = /obj/item/orbital_dropper/armory/syndicate
|
||||
|
||||
/datum/uplink_item/item/revolution/implants
|
||||
name = "Box of Aggression Implants"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
desc = "A small self-contained auto-surgery device that has the ability to conduct larynxial, facial and even melanin re-structuring surgery, in a (mostly) blood-less manner."
|
||||
telecrystal_cost = 1
|
||||
bluecrystal_cost = 1
|
||||
path = /obj/item/device/cosmetic_surgery_kit
|
||||
path = /obj/item/cosmetic_surgery_kit
|
||||
|
||||
/datum/uplink_item/item/stealth_items/chameleon_kit
|
||||
name = "Chameleon Kit"
|
||||
@@ -52,7 +52,7 @@
|
||||
name = "Chameleon-Projector"
|
||||
desc = "A device that can be used to mimic common items by scanning, then transforming into them."
|
||||
telecrystal_cost = 2
|
||||
path = /obj/item/device/chameleon
|
||||
path = /obj/item/chameleon
|
||||
|
||||
/datum/uplink_item/item/stealth_items/venenum
|
||||
name = "Vial of Venenum"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
category = /datum/uplink_category/crystals
|
||||
desc = "Acquire the uplink telecrystals in pure form."
|
||||
|
||||
/datum/uplink_item/item/telecrystal/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/item/telecrystal/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
return new /obj/item/stack/telecrystal(loc, telecrystal_cost(U.telecrystals))
|
||||
|
||||
/datum/uplink_item/item/telecrystal/one
|
||||
@@ -35,7 +35,7 @@
|
||||
category = /datum/uplink_category/crystals
|
||||
desc = "Acquire the uplink bluecrystals in pure form."
|
||||
|
||||
/datum/uplink_item/item/bluecrystal/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/item/bluecrystal/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
return new /obj/item/stack/telecrystal/blue(loc, bluecrystal_cost(U.bluecrystals))
|
||||
|
||||
/datum/uplink_item/item/bluecrystal/one
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
..()
|
||||
items = list()
|
||||
|
||||
/datum/uplink_category/proc/can_view(obj/item/device/uplink/U)
|
||||
/datum/uplink_category/proc/can_view(obj/item/uplink/U)
|
||||
if(LAZYLEN(restricted_antags))
|
||||
for(var/antag_role in restricted_antags)
|
||||
var/datum/antagonist/antag = GLOB.all_antag_types[antag_role]
|
||||
|
||||
@@ -44,7 +44,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
/datum/uplink_item/item
|
||||
var/path
|
||||
|
||||
/datum/uplink_item/proc/buy(var/obj/item/device/uplink/U, var/mob/user)
|
||||
/datum/uplink_item/proc/buy(var/obj/item/uplink/U, var/mob/user)
|
||||
var/extra_args = extra_args(user)
|
||||
if(!extra_args)
|
||||
return
|
||||
@@ -76,7 +76,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
if(istype(implanter))
|
||||
var/obj/item/implant/uplink/uplink_implant = implanter.imp
|
||||
if(istype(uplink_implant))
|
||||
var/obj/item/device/uplink/hidden/hidden_uplink = uplink_implant.hidden_uplink
|
||||
var/obj/item/uplink/hidden/hidden_uplink = uplink_implant.hidden_uplink
|
||||
if(istype(hidden_uplink))
|
||||
hidden_uplink.purchase_log = U.purchase_log
|
||||
|
||||
@@ -87,7 +87,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
/datum/uplink_item/proc/extra_args(var/mob/user)
|
||||
return 1
|
||||
|
||||
/datum/uplink_item/proc/can_buy_telecrystals(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/proc/can_buy_telecrystals(obj/item/uplink/U)
|
||||
if(isnull(telecrystal_cost))
|
||||
return FALSE
|
||||
|
||||
@@ -99,7 +99,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
|
||||
return can_view(U)
|
||||
|
||||
/datum/uplink_item/proc/can_buy_bluecrystals(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/proc/can_buy_bluecrystals(obj/item/uplink/U)
|
||||
if(isnull(bluecrystal_cost))
|
||||
return FALSE
|
||||
|
||||
@@ -111,10 +111,10 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
|
||||
return can_view(U)
|
||||
|
||||
/datum/uplink_item/proc/items_left(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/proc/items_left(obj/item/uplink/U)
|
||||
return item_limit - U.purchase_log[src]
|
||||
|
||||
/datum/uplink_item/proc/can_view(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/proc/can_view(obj/item/uplink/U)
|
||||
// Making the assumption that if no uplink was supplied, then we don't care about antag roles
|
||||
if(!U || (!length(antag_roles) && !antag_job))
|
||||
return TRUE
|
||||
@@ -142,13 +142,13 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
return desc
|
||||
|
||||
// get_goods does not necessarily return physical objects, it is simply a way to acquire the uplink item without paying
|
||||
/datum/uplink_item/proc/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/proc/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
return FALSE
|
||||
|
||||
/datum/uplink_item/proc/log_icon()
|
||||
return
|
||||
|
||||
/datum/uplink_item/proc/purchase_log(obj/item/device/uplink/U)
|
||||
/datum/uplink_item/proc/purchase_log(obj/item/uplink/U)
|
||||
feedback_add_details("traitor_uplink_items_bought", "[src]")
|
||||
log_and_message_admins("used \the [U.loc] to buy \a [src]")
|
||||
U.purchase_log[src] = U.purchase_log[src] + 1
|
||||
@@ -158,7 +158,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
* Physical Uplink Entries *
|
||||
* *
|
||||
********************************/
|
||||
/datum/uplink_item/item/buy(var/obj/item/device/uplink/U, var/mob/user)
|
||||
/datum/uplink_item/item/buy(var/obj/item/uplink/U, var/mob/user)
|
||||
var/obj/item/I = ..()
|
||||
if(!I)
|
||||
return
|
||||
@@ -172,7 +172,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
A.put_in_any_hand_if_possible(I)
|
||||
return I
|
||||
|
||||
/datum/uplink_item/item/get_goods(var/obj/item/device/uplink/U, var/loc)
|
||||
/datum/uplink_item/item/get_goods(var/obj/item/uplink/U, var/loc)
|
||||
var/obj/I = new path(loc)
|
||||
return I
|
||||
|
||||
@@ -204,7 +204,7 @@ GLOBAL_DATUM(uplink, /datum/uplink)
|
||||
/****************
|
||||
* Support procs *
|
||||
****************/
|
||||
/proc/get_random_uplink_items(var/obj/item/device/uplink/U, var/remaining_TC, var/loc)
|
||||
/proc/get_random_uplink_items(var/obj/item/uplink/U, var/remaining_TC, var/loc)
|
||||
var/list/bought_items = list()
|
||||
while(remaining_TC)
|
||||
var/datum/uplink_item/I = GLOB.default_uplink_selection.get_random_item(remaining_TC, U, bought_items)
|
||||
|
||||
Reference in New Issue
Block a user