Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement thoughtsense and apply to Empathic Sense ancestry feature #15115

Open
wants to merge 43 commits into
base: master
Choose a base branch
from

Conversation

farling42
Copy link
Contributor

@farling42 farling42 commented Jun 16, 2024

This is the implementation suggested by #15111

It also updates the "Empathic Sense" ancestry feature for the Kashrishi race to use this new sense out to 15 ft (even behind walls).

The new sense will only detect Actor types of: character, npc, familiar.

It is best tested by giving the PC with "Empathic Sense" the "Deaf" condition (otherwise they can hear it).

This can also be applied to the Cauthooj (in Monster Core) - "The cauthooj senses all non-mindless creatures at the listed range."

Note that Rhu-Chalik (in Monster Core) have this as a precise sense.

@stwlam
Copy link
Collaborator

stwlam commented Jun 17, 2024

I think we'd want a distinct visual effect for this so it can be identified to a user.

@farling42
Copy link
Contributor Author

farling42 commented Jun 17, 2024

Updates change the colour to green.
It fixes the case of the "id" so that "Thoughtsense" works when Rules-Based Vision is disabled.
Set correct localization key.

@farling42 farling42 requested a review from simonward June 17, 2024 17:56
@farling42
Copy link
Contributor Author

Cauthooj creature wrongly had tremorsense when it should have thoughtsense.
Other creatures in Monster Core already have thoughtsense configured on their Actors.

src/module/canvas/perception/modes.ts Outdated Show resolved Hide resolved
src/module/canvas/perception/modes.ts Outdated Show resolved Hide resolved
src/module/canvas/perception/modes.ts Outdated Show resolved Hide resolved
src/module/scene/helpers.ts Outdated Show resolved Hide resolved
@stwlam
Copy link
Collaborator

stwlam commented Jul 4, 2024

You might consider rebasing in the future instead of merging master on top.

farling42 and others added 4 commits July 4, 2024 12:03
Remove walls: false from senseThoughts

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
simplify isOfType check for senseThoughts

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
Remove conditional field access for mindless

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
change thsense to thoughtsense

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
farling42 and others added 19 commits July 4, 2024 12:42
Remove walls: false from senseThoughts

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
simplify isOfType check for senseThoughts

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
Remove conditional field access for mindless

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
change thsense to thoughtsense

Co-authored-by: Shark that walks like a man <106829671+stwlam@users.noreply.github.com>
@farling42 farling42 requested a review from stwlam July 4, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants