Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 03bfd9b

Browse files
authored
delete (#21471)
1 parent 61d2cb2 commit 03bfd9b

File tree

4 files changed

+6
-113
lines changed

4 files changed

+6
-113
lines changed

code/modules/cargo/bounties/syndicate.dm

Lines changed: 0 additions & 69 deletions
This file was deleted.

code/modules/cargo/bounty.dm

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
GLOBAL_LIST_EMPTY(bounties_list)
2-
GLOBAL_LIST_EMPTY(bounties_list_syndicate)
32

43
/datum/bounty
54
var/name
@@ -58,19 +57,16 @@ GLOBAL_LIST_EMPTY(bounties_list_syndicate)
5857
/proc/bounty_ship_item_and_contents(atom/movable/AM, dry_run=FALSE)
5958
if(!GLOB.bounties_list.len)
6059
setup_bounties()
61-
if(!GLOB.bounties_list_syndicate.len)
62-
setup_syndicate_bounties()
6360

6461
var/list/matched_one = FALSE
6562
for(var/thing in reverse_range(AM.get_all_contents()))
6663
var/matched_this = FALSE
67-
for(var/list/i in list(GLOB.bounties_list,GLOB.bounties_list_syndicate))
68-
for(var/datum/bounty/B in i)
69-
if(B.applies_to(thing))
70-
matched_one = TRUE
71-
matched_this = TRUE
72-
if(!dry_run)
73-
B.ship(thing)
64+
for(var/datum/bounty/B as anything in GLOB.bounties_list)
65+
if(B.applies_to(thing))
66+
matched_one = TRUE
67+
matched_this = TRUE
68+
if(!dry_run)
69+
B.ship(thing)
7470
if(!dry_run && matched_this)
7571
qdel(thing)
7672
return matched_one
@@ -204,23 +200,6 @@ GLOBAL_LIST_EMPTY(bounties_list_syndicate)
204200
for(var/low_priority_bounty in low_priority_strict_type_list)
205201
try_add_bounty(new low_priority_bounty)
206202

207-
/proc/setup_syndicate_bounties() //Much simpler as we're only picking from one pool of bounties
208-
for(var/i in 0 to 5)
209-
var/pick = pick(subtypesof(/datum/bounty/item/syndicate))
210-
if(!(try_add_syndie_bounty(new pick)))
211-
i -= 1
212-
213-
214-
/proc/try_add_syndie_bounty(datum/bounty/new_bounty)
215-
if(!new_bounty || !new_bounty.name || !new_bounty.description)
216-
return FALSE
217-
for(var/i in GLOB.bounties_list_syndicate)
218-
var/datum/bounty/B = i
219-
if(!B.compatible_with(new_bounty) || !new_bounty.compatible_with(B))
220-
return FALSE
221-
GLOB.bounties_list_syndicate += new_bounty
222-
return TRUE
223-
224203
/proc/completed_bounty_count()
225204
var/count = 0
226205
for(var/i in GLOB.bounties_list)

code/modules/cargo/bounty_console.dm

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,12 @@
3131
<ul><li>Reward: [B.reward_string()]</li>
3232
<li>Completed: [B.completion_string()]</li></ul>"}
3333

34-
/obj/machinery/computer/bounty/emag_act(mob/user, obj/item/card/emag/emag_card)
35-
if(obj_flags & EMAGGED)
36-
return FALSE
37-
if(istype(emag_card, /obj/item/card/emag/improvised)) // We can't have nice things.
38-
to_chat(user, span_notice("The cheap circuitry isn't strong enough to subvert this!"))
39-
return FALSE
40-
to_chat(user, span_warning("You adjust the antenna on \The [src], tuning it to a syndicate frequency."))
41-
obj_flags |= EMAGGED
42-
do_sparks(8, FALSE, loc)
43-
return TRUE
44-
4534
/obj/machinery/computer/bounty/proc/get_list_to_use()
46-
if(obj_flags & EMAGGED)
47-
return GLOB.bounties_list_syndicate
4835
return GLOB.bounties_list
4936

5037
/obj/machinery/computer/bounty/ui_interact(mob/user, datum/tgui/ui)
5138
var/list/list_to_use = get_list_to_use()
5239
if(!list_to_use.len)
53-
if(get_list_to_use() == GLOB.bounties_list_syndicate)
54-
setup_syndicate_bounties()
5540
setup_bounties()
5641
ui = SStgui.try_update_ui(user, src, ui)
5742
if(!ui)
@@ -65,7 +50,6 @@
6550
bountyinfo += list(list("name" = B.name, "description" = B.description, "reward_string" = B.reward_string(), "completion_string" = B.completion_string() , "claimed" = B.claimed, "can_claim" = B.can_claim(), "priority" = B.high_priority, "bounty_ref" = REF(B)))
6651
data["stored_cash"] = cargocash.account_balance
6752
data["bountydata"] = bountyinfo
68-
data["emagged"] = (obj_flags & EMAGGED)
6953
return data
7054

7155
/obj/machinery/computer/bounty/ui_act(action,params)

yogstation.dme

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,6 @@
21882188
#include "code\modules\cargo\bounties\security.dm"
21892189
#include "code\modules\cargo\bounties\slime.dm"
21902190
#include "code\modules\cargo\bounties\special.dm"
2191-
#include "code\modules\cargo\bounties\syndicate.dm"
21922191
#include "code\modules\cargo\bounties\virus.dm"
21932192
#include "code\modules\cargo\exports\gear.dm"
21942193
#include "code\modules\cargo\exports\large_objects.dm"

0 commit comments

Comments
 (0)