-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] New Quirk! Cyborg Lover! [MDB IGNORE] (#25762) (#1236)
* New Quirk! Cyborg Lover! (#80023) ## About The Pull Request This PR adds a new quirk for people, who want to play as silicon-friendly crew. Basic quirk info: - It costs 2 points. - It has minor additions to person's mail goodies list (cable coils, basic cells, etc). - It has a few simple mood events, when you pet a borg or being touched/hugged by borg. ## Why It's Good For The Game I think it is nice to have a chance to play as ~~robo-creep~~ person who loves borgos. ## Changelog :cl: add: Added new quirk: Cyborg Lover! /:cl: --------- * New Quirk! Cyborg Lover! --------- Co-authored-by: SkyratBot <[email protected]> Co-authored-by: SSensum <[email protected]> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
- Loading branch information
1 parent
a474668
commit b6aef2b
Showing
7 changed files
with
139 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/datum/quirk/cyborg_lover | ||
name = "Cyborg Lover" | ||
desc = "You find silicon life forms fascinating! You like inspecting and touching their hulls and robo-bodies, as well you like being touched by their manipulators." | ||
icon = FA_ICON_ROBOT | ||
value = 2 | ||
gain_text = span_notice("You are fascinated by silicon life forms.") | ||
lose_text = span_danger("Cyborgs and other silicons aren't cool anymore.") | ||
medical_record_text = "Patient reports being fascinated by silicon life forms." | ||
mail_goodies = list( | ||
/obj/item/stock_parts/cell/potato, | ||
/obj/item/stack/cable_coil, | ||
/obj/item/toy/talking/ai, | ||
/obj/item/toy/figure/borg, | ||
) | ||
|
||
/datum/quirk/cyborg_lover/add(client/client_source) | ||
var/datum/atom_hud/fan = GLOB.huds[DATA_HUD_FAN] | ||
fan.show_to(quirk_holder) | ||
|
||
/datum/quirk/cyborg_lover/add_to_holder(mob/living/new_holder, quirk_transfer, client/client_source) | ||
. = ..() | ||
RegisterSignal(new_holder, COMSIG_MOB_PAT_BORG, PROC_REF(pat_cyborg), override = TRUE) | ||
RegisterSignal(new_holder, COMSIG_BORG_TOUCH_MOB, PROC_REF(touched_by_cyborg), override = TRUE) | ||
RegisterSignal(new_holder, COMSIG_BORG_HUG_MOB, PROC_REF(hugged_by_cyborg), override = TRUE) | ||
|
||
/datum/quirk/cyborg_lover/remove_from_current_holder(quirk_transfer) | ||
UnregisterSignal(quirk_holder, list(COMSIG_MOB_PAT_BORG, COMSIG_BORG_TOUCH_MOB, COMSIG_BORG_HUG_MOB)) | ||
return ..() | ||
|
||
/datum/quirk/cyborg_lover/proc/pat_cyborg() | ||
SIGNAL_HANDLER | ||
quirk_holder.add_mood_event("pat_borg", /datum/mood_event/pat_borg) | ||
|
||
/datum/quirk/cyborg_lover/proc/touched_by_cyborg() | ||
SIGNAL_HANDLER | ||
quirk_holder.add_mood_event("borg_touch", /datum/mood_event/borg_touch) | ||
|
||
/datum/quirk/cyborg_lover/proc/hugged_by_cyborg(borghugitem, mob/living/silicon/robot/hugger) | ||
SIGNAL_HANDLER | ||
hugger.visible_message( | ||
span_notice("[hugger] hugs [quirk_holder] in a firm bear-hug! [quirk_holder] looks satisfied!"), | ||
span_notice("You hug [quirk_holder] firmly to make [quirk_holder.p_them()] feel better! [quirk_holder] looks satisfied!"), | ||
) | ||
quirk_holder.add_mood_event("borg_hug", /datum/mood_event/borg_hug) | ||
return COMSIG_BORG_HUG_HANDLED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters