From 03bfd9b10caecff709a4bc0afa84b58b6169fdf0 Mon Sep 17 00:00:00 2001 From: Molti <108117184+Moltijoe@users.noreply.github.com> Date: Sun, 25 Feb 2024 06:36:37 -0600 Subject: [PATCH] delete (#21471) --- code/modules/cargo/bounties/syndicate.dm | 69 ------------------------ code/modules/cargo/bounty.dm | 33 +++--------- code/modules/cargo/bounty_console.dm | 16 ------ yogstation.dme | 1 - 4 files changed, 6 insertions(+), 113 deletions(-) delete mode 100644 code/modules/cargo/bounties/syndicate.dm diff --git a/code/modules/cargo/bounties/syndicate.dm b/code/modules/cargo/bounties/syndicate.dm deleted file mode 100644 index d3289478fc8b..000000000000 --- a/code/modules/cargo/bounties/syndicate.dm +++ /dev/null @@ -1,69 +0,0 @@ -/datum/bounty/item/syndicate - -/datum/bounty/item/syndicate/claim(mob/user) //Syndicate bounties add TCs to your uplink - if(can_claim()) - var/datum/mind/claimer = user.mind - if(claimer.find_syndicate_uplink()) - var/datum/component/uplink/U = claimer.find_syndicate_uplink() - U.telecrystals += reward - claimed = TRUE //to prevent deleting the TCs if you claim it with no uplink - -/datum/bounty/item/syndicate/reward_string() - return "!&@#WE'LL GIVE YOU [reward] TELECRYSTALS IF YOU DO THIS FOR US!#@*$" - -/datum/bounty/item/syndicate/saber - name = "!&@#THE CAPTAIN'S SABRE!#@*$" - description = "!&@#WE'RE TESTING OUT OUR ARMOR'S PROTECTIVE ABILITY, BUT WE NEED SOMETHING SHARP! PROVIDE IT TO US FOR A REWARD!#@*$" - wanted_types = list(/obj/item/melee/sabre) - reward = 5 -/datum/bounty/item/syndicate/capsuit - name = "!&@#THE CAPTAIN'S SWAT SUIT!#@*$" - description = "!&@#OUR NEW BATCH OF ARMOR-PIERCING ROUNDS HAVE JUST COME OFF THE PRODUCTION LINE, AND WE NEED SOMETHING TO TEST THEM ON! HELP US OUT AND YOU'LL BE REWARDED!#@*$" - wanted_types = list(/obj/item/clothing/suit/space/hardsuit/swat/captain) - reward = 4 -/datum/bounty/item/syndicate/aicontrol - name = "!&@#AI CONTROL CONSOLE BOARD!#@*$" - description = "!&@#A CONSOLE TO REMOTELY DISABLE AI UNITS WOULD BE QUITE HELPFUL FOR US, SO GET US ONE!#@*$" - wanted_types = list(/obj/item/circuitboard/computer/ai_upload_download) - reward = 2 -/datum/bounty/item/syndicate/rdsuit - name = "!&@#PROTOTYPE HARDSUIT!#@*$" - description = "!&@#WE'RE INTERESTED IN DEVELOPING ARMOR THAT CAN RESIST EXPLOSIVES BETTER. THE PROTOTYPE HARDSUIT WOULD BE HELPFUL FOR THIS GOAL!#@*$" - wanted_types = list(/obj/item/clothing/suit/space/hardsuit/rd) - reward = 3 -/datum/bounty/item/syndicate/boh - name = "!&@#BAG OF HOLDING!#@*$" - description = "!&@#EXPERIMENTAL BLUESPACE TECHNOLOGY LIKE A BAG OF HOLDING WOULD BE APPRECIATED BY THE LAB BOYS. THEY'RE WILLING TO PAY HANDSOMELY, TOO#@*$" - wanted_types = list(/obj/item/storage/backpack/holding,/obj/item/storage/backpack/holding/rd) - reward = 4 -/datum/bounty/item/syndicate/aeg - name = "!&@#ADVANCED ENERGY GUN!#@*$" - description = "!&@#WE'RE LOOKING FOR FLAWS IN NANOTRASEN WEAPONS TECHNOLOGY TO EXPLOIT. SEND US SOME EXAMPLES OF THEIR TECHNOLOGY, AND WE'LL REWARD YOU#@*$" - wanted_types = list(/obj/item/gun/energy/e_gun/nuclear) - required_count = 3 - reward = 5 -/datum/bounty/item/syndicate/aiupload - name = "!&@#AI UPLOAD CONSOLE BOARD!#@*$" - description = "!&@#WE'RE PROBING NANOTRASEN AIS FOR SECURITY FLAWS. A CONSOLE LIKE THIS COULD ACCOMPLISH OUR GOAL#@*$" - wanted_types = list(/obj/item/circuitboard/computer/aiupload) - reward = 5 -/datum/bounty/item/syndicate/borgupload - name = "!&@#CYBORG UPLOAD CONSOLE BOARD!#@*$" - description = "!&@#WE'RE PROBING NANOTRASEN CYBORGS FOR SECURITY FLAWS. A CONSOLE LIKE THIS COULD ACCOMPLISH OUR GOAL#@*$" - wanted_types = list(/obj/item/circuitboard/computer/borgupload) - reward = 2 -/datum/bounty/item/syndicate/wardenshotgun - name = "!&@#COMPACT COMBAT SHOTGUN!#@*$" - description = "!&@#WHILE INFERIOR TO OUR BULLDOG SHOTGUNS, COMPACT COMBAT SHOTGUNS CONTAIN AN EXPENSIVE PART THAT'S REQUIRED TO MANUFACTURE BULLDOG SHOTGUNS. YOU'LL SAVE US A PRETTY PENNY BY GIVING US ONE, AND WE'LL PAY YOU IN RETURN#@*$" - wanted_types = list(/obj/item/gun/ballistic/shotgun/automatic/combat/compact) - reward = 5 //you gotta kill the warden //not harder than killing a captain -/datum/bounty/item/syndicate/advancedhardsuit - name = "!&@#ADVANCED HARDSUIT!#@*$" - description = "!&@#THE RADIATION SHIELDING BUILT INTO THE ADVANCED HARDSUIT IS SERIOUSLY HIGH-TECH, AND WE WANT A GOOD LOOK AT IT. BRING IT TO US AND WE'LL GIVE YOU A REWARD.#@*$" - wanted_types = list(/obj/item/clothing/suit/space/hardsuit/engine/elite) - reward = 5 -/datum/bounty/item/syndicate/phazon - name = "!&@#PHAZON EXOSUIT!#@*$" - description = "!&@#WE'D LOVE TO GET OUR HANDS ON ONE OF THESE. IT MAY BE HARD TO SOURCE, BUT WE WILL REWARD YOU GENEROUSLY IF YOU SUCCEED.#@*$" - wanted_types = list(/obj/mecha/combat/phazon) - reward = 10 //you need an anomaly core and robotics for this one broski, it's gotta be worth a lot diff --git a/code/modules/cargo/bounty.dm b/code/modules/cargo/bounty.dm index cd4b156ad934..2a98d2caa9ec 100644 --- a/code/modules/cargo/bounty.dm +++ b/code/modules/cargo/bounty.dm @@ -1,5 +1,4 @@ GLOBAL_LIST_EMPTY(bounties_list) -GLOBAL_LIST_EMPTY(bounties_list_syndicate) /datum/bounty var/name @@ -58,19 +57,16 @@ GLOBAL_LIST_EMPTY(bounties_list_syndicate) /proc/bounty_ship_item_and_contents(atom/movable/AM, dry_run=FALSE) if(!GLOB.bounties_list.len) setup_bounties() - if(!GLOB.bounties_list_syndicate.len) - setup_syndicate_bounties() var/list/matched_one = FALSE for(var/thing in reverse_range(AM.get_all_contents())) var/matched_this = FALSE - for(var/list/i in list(GLOB.bounties_list,GLOB.bounties_list_syndicate)) - for(var/datum/bounty/B in i) - if(B.applies_to(thing)) - matched_one = TRUE - matched_this = TRUE - if(!dry_run) - B.ship(thing) + for(var/datum/bounty/B as anything in GLOB.bounties_list) + if(B.applies_to(thing)) + matched_one = TRUE + matched_this = TRUE + if(!dry_run) + B.ship(thing) if(!dry_run && matched_this) qdel(thing) return matched_one @@ -204,23 +200,6 @@ GLOBAL_LIST_EMPTY(bounties_list_syndicate) for(var/low_priority_bounty in low_priority_strict_type_list) try_add_bounty(new low_priority_bounty) -/proc/setup_syndicate_bounties() //Much simpler as we're only picking from one pool of bounties - for(var/i in 0 to 5) - var/pick = pick(subtypesof(/datum/bounty/item/syndicate)) - if(!(try_add_syndie_bounty(new pick))) - i -= 1 - - -/proc/try_add_syndie_bounty(datum/bounty/new_bounty) - if(!new_bounty || !new_bounty.name || !new_bounty.description) - return FALSE - for(var/i in GLOB.bounties_list_syndicate) - var/datum/bounty/B = i - if(!B.compatible_with(new_bounty) || !new_bounty.compatible_with(B)) - return FALSE - GLOB.bounties_list_syndicate += new_bounty - return TRUE - /proc/completed_bounty_count() var/count = 0 for(var/i in GLOB.bounties_list) diff --git a/code/modules/cargo/bounty_console.dm b/code/modules/cargo/bounty_console.dm index de917a924e00..a8f74dec826e 100644 --- a/code/modules/cargo/bounty_console.dm +++ b/code/modules/cargo/bounty_console.dm @@ -31,27 +31,12 @@