-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blood runes actually involve blood + polishing
- Loading branch information
Ava
committed
Mar 13, 2023
1 parent
ec67bb0
commit de64c7d
Showing
13 changed files
with
64 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
/obj/effect/rune/communicate | ||
rune_name = "Communicate" | ||
rune_desc = "Allows you to communicate with other cultists." | ||
rune_shorthand = "Allows undetectable communication with other followers." | ||
rune_desc = "Allows you to communicate with other cultists by speaking aloud next to the rune. Can be muted or unmuted through invocation." | ||
talisman_path = /obj/item/paper/talisman/communicate | ||
circle_words = list(CULT_WORD_SELF, CULT_WORD_OTHER, CULT_WORD_TECHNOLOGY) | ||
invocation = "O bidai nabora se'sma!" | ||
whispered = TRUE | ||
var/muted = FALSE | ||
|
||
/obj/effect/rune/communicate/examine(mob/user, infix, suffix) | ||
. = ..() | ||
if (iscultist(user) || isobserver(user)) | ||
. += SPAN_DANGER("This rune [muted ? "is muted, and must be invoked before it will function" : "can be muted by invoking it"].") | ||
|
||
/obj/effect/rune/communicate/hear_talk(mob/M, list/message_pieces, verb) | ||
var/msg = multilingual_to_message(message_pieces, with_capitalization = TRUE) | ||
if (iscultist(M) && get_dist(M, src) <= 1 && !muted) | ||
cult.cult_speak(M, msg) | ||
|
||
/obj/effect/rune/communicate/invoke(list/invokers) | ||
var/mob/living/L = invokers[1] | ||
var/input = input(L, "Please choose a message to tell to the other acolytes.", "Voice of Blood", "") as null|text | ||
if (!input || !CanInteract(L, physical_state)) | ||
return | ||
input = sanitize(input) | ||
log_and_message_admins("used a communicate rune to say '[input]'", usr) | ||
for (var/mob/M in player_list) | ||
if (iscultist(M) || isobserver(M)) | ||
to_chat(M, SPAN_OCCULT(input)) | ||
muted = !muted | ||
to_chat(L, SPAN_NOTICE("This rune will [muted ? "no longer" : "now"] relay your words to the rest of the flock.")) |
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
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
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