Skip to content

Scry the Hearthstone bugfixes and enhancements#1101

Open
TheCarnalest wants to merge 7 commits into
DarkPack13:masterfrom
TheCarnalest:fix-visceratika-bug
Open

Scry the Hearthstone bugfixes and enhancements#1101
TheCarnalest wants to merge 7 commits into
DarkPack13:masterfrom
TheCarnalest:fix-visceratika-bug

Conversation

@TheCarnalest

@TheCarnalest TheCarnalest commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

About The Pull Request

Fixes #927 by making the power use guestbook names instead of mob names as well as a runtime when the power is deactivated and activated within an area. Additionally makes the power give you the direction and distance to players in your area, and adds the TTRPG-accurate restriction that the power can only be used indoors, i.e. within a structure. Also neatens the code up.

dreamseeker_9JHhDzj4Nb dreamseeker_zIHzLWPp35

Why It's Good For The Game

Bugfixes, makes the power slightly more useful, and makes it more TTRPG-accurate by not letting Gargoyles use it outside of structures.

Changelog

🆑
fix: Scry the Hearthstone now displays guestbook names.
add: Scry the Hearthstone now gives you direction and distance to players in your area, but can no longer be used outdoors.
/:cl:

@TheCarnalest TheCarnalest requested a review from a team as a code owner June 3, 2026 01:35
@TheCarnalest

Copy link
Copy Markdown
Contributor Author

I added comments so that people know these TTRPG mechanics are missing, but in the TTRPG being pinpointed with this power can be resisted with a roll and Obfuscate can be used to evade it. Should I add them or can they be left out?

@TheCarnalest

Copy link
Copy Markdown
Contributor Author

Also, should I add alerts for when people enter and leave the area you're monitoring? Could be interesting but IDK if it's wanted seeing as they already have thermal vision.

@FalloutFalcon

Copy link
Copy Markdown
Member

I added comments so that people know these TTRPG mechanics are missing, but in the TTRPG being pinpointed with this power can be resisted with a roll and Obfuscate can be used to evade it. Should I add them or can they be left out?

Also, should I add alerts for when people enter and leave the area you're monitoring? Could be interesting but IDK if it's wanted seeing as they already have thermal vision.

I dont feel 2 strongly about either tbh..

Comment on lines +69 to +72
/datum/discipline_power/visceratika/scry_the_hearthstone/New(datum/discipline/discipline)
. = ..()

scry_roll = new()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kinda intresting. None of our rolls really do this, i dont really see the reason not to lazy load the datums on the off chance we dont need to waste the effort of making them. Though i have considered standerdizing a "main_roll" datum for powers (gifts and discs) so we can parse out some behavoir like displaying the stats used and such in the button tooltip.


vitae_cost = 0

/datum/discipline_power/visceratika/armor_of_terra/post_gain()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh huh this never got or gets removed if you loose the disc.

/datum/discipline_power/visceratika/flow_within_the_mountain/can_activate(atom/target, alert)
. = ..()
if (!.)
return.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return.
return .

Comment on lines +104 to +109
var/distance = get_dist(owner, player)
var/location_description
if (distance == 0)
location_description = "close to you"
else
location_description = "[distance] [distance == 1 ? "yard" : "yards"] [dir2text(get_dir(owner, player))]"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, if we are gonna display it using "yards" then we should make sure to convert it using the defines.

Image

@github-actions

Copy link
Copy Markdown
Contributor

This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~7 days. Please address any outstanding review items and ensure your PR is finished - if both are true, and you have auto-staled anyway, you need to actively ask maintainers (by pinging them in the /tg/station Discord) to (re)review or merge your PR. If no maintainer responds to your request, you may wish to close this PR yourself while you seek maintainer comment, as you will later be able to reopen the PR yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visceratika 2 Scry the Hearthstone bugs

3 participants