Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions code/modules/antagonists/brother/brother.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
SSticker.mode.brothers += owner
objectives += team.objectives
owner.special_role = special_role
equip_bloodbro()
if(owner.current)
give_pinpointer()
finalize_brother()
Expand Down Expand Up @@ -59,6 +60,7 @@
var/brother_text = get_brother_names()
to_chat(owner.current, span_alertsyndie("You are the [owner.special_role] of [brother_text]."))
to_chat(owner.current, "The Syndicate only accepts those that have proven themselves. Prove yourself and prove your [team.member_name]s by completing your objectives together!")
to_chat(owner.current, "You both start with a storage implant containing one item, chosen by your employers. Use it wise!")
owner.announce_objectives()
give_meeting_area()

Expand Down Expand Up @@ -99,7 +101,7 @@

var/datum/antagonist/traitor/tot = new()
tot.give_objectives = FALSE

for(var/datum/objective/obj in objectives)
var/obj_type = obj.type
var/datum/objective/new_obj = new obj_type()
Expand All @@ -108,7 +110,7 @@
tot.add_objective(new_obj)
qdel(obj)
objectives.Cut()

owner.add_antag_datum(tot)
owner.remove_antag_datum(/datum/antagonist/brother)

Expand Down Expand Up @@ -192,3 +194,20 @@

/datum/team/brother_team/antag_listing_name()
return "[name] blood brothers"

/datum/antagonist/brother/proc/equip_bloodbro()
if(!owner || !owner.current || !ishuman(owner.current))
return
var/list/possible_items = list(/obj/item/soap/syndie,/obj/item/pen/sleepy,/obj/item/pen/edagger,/obj/item/codespeak_manual/unlimited,
/obj/item/clothing/shoes/chameleon/noslip/syndicate, /obj/item/armorpolish, /obj/item/storage/box/syndie_kit/c4kit,
/obj/item/storage/box/syndie_kit/throwing_weapons, /obj/item/gun/ballistic/automatic/c20r/toy, /obj/item/storage/box/syndie_kit/emp,
/obj/item/card/id/syndicate, /obj/item/syndicateReverseCard, /obj/item/multitool/ai_detect, /obj/item/storage/box/syndie_kit/chameleon,
/obj/item/storage/box/fancy/cigarettes/cigpack_syndicate,)
var/obj/item/implant/storage/S = locate(/obj/item/implant/storage) in owner.current
if(!S)
S = new(owner.current)
S.implant(owner.current)
var/I = pick(possible_items)
if(ispath(I))
I = new I()
SEND_SIGNAL(S, COMSIG_TRY_STORAGE_INSERT, I, null, TRUE, TRUE)
9 changes: 9 additions & 0 deletions yogstation/code/game/objects/items/storage/uplink_kits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@
new /obj/item/autosurgeon/plasmavessel(src)
new /obj/item/organ/alien/resinspinner(src)
new /obj/item/organ/alien/acid(src)


/obj/item/storage/box/syndie_kit/c4kit
name = "C4 Box"

/obj/item/storage/box/syndie_kit/c4kit/PopulateContents()
new /obj/item/grenade/plastic/c4
new /obj/item/grenade/plastic/c4
new /obj/item/grenade/plastic/c4