Files
Bubberstation/code/datums/components/can_flash_from_behind.dm
SkyratBot 0304282fb9 [MIRROR] Blood brothers is now a single person conversion antagonist [MDB IGNORE] (#25338)
* Blood brothers is now a single person conversion antagonist (#79971)

## About The Pull Request
Instead of choosing 2-3 brothers, *one* person will be selected and
given a flash which can convert one other person over. In accordance to
the existing 10% chance for 3 members, there is a 10% chance that the
first person converted will receive a flash of their own.

Expectation is people will flash a friend or a robust guy or whatever.
My intent is primarily to see if this kind of blood brothers is more
enjoyable to play with/against, and if their inclusion in a round
increases the general chaos of it. My theory is that since most likely
blood brothers will be people who know each other, that it can become
more consistently interesting to the rest of the crew. That or they just
murderbone together idk

Fikou and head admins said they wanted this to replace rather than add
which I agree with.

## Why It's Good For The Game
Keeps the sandboxy aspect of blood brothers (no uplink) while likely
making it more enjoyable to play. Conversion is equally as simple as
revs for the user, and is just as intuitive to the one being converted
since there are no new mechanics thrown in your face.

Blood brothers is currently disabled everywhere on the main servers
except for MRP. I think this form will be more appealing to all
rulesets. If left enabled, Dynamic now has more antagonists to make
rounds diverse with and I want that

## Changelog

🆑
add: Instead of teaming up random people together, blood brothers will
now start out with one player and let them convert a single other person
over to blood brother using a flash.
/🆑

* Blood brothers is now a single person conversion antagonist

* Update oneclickantag.dm

---------

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
2023-12-03 01:05:51 -05:00

23 lines
935 B
Plaintext

/// This mob can flash others from behind and still get at least a partial
// Component and not element because elements can't stack.
// I don't want to have a bunch of helpers for that. We need to do this generally
// because this keeps coming up.
/datum/component/can_flash_from_behind
dupe_mode = COMPONENT_DUPE_SOURCES
/datum/component/can_flash_from_behind/Initialize()
if (!ismob(parent))
return COMPONENT_INCOMPATIBLE
/datum/component/can_flash_from_behind/RegisterWithParent()
RegisterSignal(parent, COMSIG_MOB_PRE_FLASHED_CARBON, PROC_REF(on_pre_flashed_carbon))
/datum/component/can_flash_from_behind/UnregisterFromParent()
UnregisterSignal(parent, COMSIG_MOB_PRE_FLASHED_CARBON)
/datum/component/can_flash_from_behind/proc/on_pre_flashed_carbon(source, flashed, flash, deviation)
SIGNAL_HANDLER
// Always partial flash at the very least
return (deviation == DEVIATION_FULL) ? DEVIATION_OVERRIDE_PARTIAL : NONE