-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Monkey eyes fix and noticable organ display refactor; AI mon…
…keys no longer catatonic (#2184) (#3060) * Monkey eyes fix and noticable organ display refactor; AI monkeys no longer catatonic (#82669) ## About The Pull Request It turns out monkeys being catatonic got broken 2 years ago in a PR that was meant to fix something else; also, it turns out monkeys are supposed to have primal eyes when turned into humans, and that got broken too. I fixed both of those things, and while I was at it I did a refactor to make it easier to give noticable organs (or anything else that you'd want correct pronoun and verb tenses) easier to implement. 1) AI controlled mobs now properly display their noticable organs when appropriate 2) Added some macros and a helper proc for replacing appropriate pronouns and verb tenses in text 3) The noticable organ HTML is no longer broken, so you can pass text with spans into it, if you want the text to be pretty or big or whatever 4) Monkeys are no longer catatonic if they have an active AI controller; this goes for any carbon actually but I think monkeys are the only one with AI controllers at the moment ## Why It's Good For The Game Fixes the logic for displaying organs on AI controller mobs (currently monkeys) Makes it easier to add these kind of organs for carbons, AI controlled or not, in the future Look! An actual use-case for split editor: ![image](https://github.com/tgstation/tgstation/assets/49173900/8cd0d69e-8091-4431-9418-6bd29e1713b5) ## Changelog Humanized monkeys now have their primal eyes again; monkeys with active AI are no longer catatonic. :cl: Bisar fix: AI controlled monkeys are no longer catatonic, and they have primal eyes again when turned into humans. spellcheck: Noticable organs now have more modular grammar, and their current grammar is fixed. refactor: Refactored the code for displaying the messages for noticable organs. config: Added a documented define of all our pronouns /:cl: --------- * Monkey eyes fix and noticable organ display refactor; AI monkeys no longer catatonic --------- Co-authored-by: NovaBot <[email protected]> Co-authored-by: Joshua Kidder <[email protected]> Co-authored-by: MrMelbert <[email protected]>
- Loading branch information
1 parent
728a89c
commit 819095c
Showing
12 changed files
with
97 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/// she, he, they, it "%PRONOUN_they" = "p_they" | ||
/// She, He, They, It "%PRONOUN_They" = "p_They" | ||
/// her, his, their, its "%PRONOUN_their" = "p_their" | ||
/// Her, His, Their, Its "%PRONOUN_Their" = "p_Their" | ||
/// hers, his, theirs, its "%PRONOUN_theirs" = "p_theirs" | ||
/// Hers, His, Theirs, Its "%PRONOUN_Theirs" = "p_Theirs" | ||
/// her, him, them, it "%PRONOUN_them" = "p_them" | ||
/// Her, Him, Them, It "%PRONOUN_Them" = "p_Them" | ||
/// has, have "%PRONOUN_have" = "p_have" | ||
/// is, are "%PRONOUN_are" = "p_are" | ||
/// was, were "%PRONOUN_were" = "p_were" | ||
/// does, do "%PRONOUN_do" = "p_do" | ||
/// she has, he has, they have, it has "%PRONOUN_theyve" = "p_theyve" | ||
/// She has, He has, They have, It has "%PRONOUN_Theyve" = "p_Theyve" | ||
/// she is, he is, they are, it is "%PRONOUN_theyre" = "p_theyre" | ||
/// She is, He is, They are, It is "%PRONOUN_Theyre" = "p_Theyre" | ||
/// s, null (she looks, they look) "%PRONOUN_s" = "p_s" | ||
/// es, null (she goes, they go) "%PRONOUN_es" = "p_es" | ||
|
||
/// A list for all the pronoun procs, if you need to iterate or search through it or something. | ||
#define ALL_PRONOUNS list( \ | ||
"%PRONOUN_they" = TYPE_PROC_REF(/datum, p_they), \ | ||
"%PRONOUN_They" = TYPE_PROC_REF(/datum, p_They), \ | ||
"%PRONOUN_their" = TYPE_PROC_REF(/datum, p_their), \ | ||
"%PRONOUN_Their" = TYPE_PROC_REF(/datum, p_Their), \ | ||
"%PRONOUN_theirs" = TYPE_PROC_REF(/datum, p_theirs), \ | ||
"%PRONOUN_Theirs" = TYPE_PROC_REF(/datum, p_Theirs), \ | ||
"%PRONOUN_them" = TYPE_PROC_REF(/datum, p_them), \ | ||
"%PRONOUN_Them" = TYPE_PROC_REF(/datum, p_Them), \ | ||
"%PRONOUN_have" = TYPE_PROC_REF(/datum, p_have), \ | ||
"%PRONOUN_are" = TYPE_PROC_REF(/datum, p_are), \ | ||
"%PRONOUN_were" = TYPE_PROC_REF(/datum, p_were), \ | ||
"%PRONOUN_do" = TYPE_PROC_REF(/datum, p_do), \ | ||
"%PRONOUN_theyve" = TYPE_PROC_REF(/datum, p_theyve), \ | ||
"%PRONOUN_Theyve" = TYPE_PROC_REF(/datum, p_Theyve), \ | ||
"%PRONOUN_theyre" = TYPE_PROC_REF(/datum, p_theyre), \ | ||
"%PRONOUN_Theyre" = TYPE_PROC_REF(/datum, p_Theyre), \ | ||
"%PRONOUN_s" = TYPE_PROC_REF(/datum, p_s), \ | ||
"%PRONOUN_es" = TYPE_PROC_REF(/datum, p_es) \ | ||
) |
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
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