Skip to content

Light splat helper refactors#691

Open
FalloutFalcon wants to merge 11 commits intoDarkPack13:masterfrom
FalloutFalcon:splat_helpers
Open

Light splat helper refactors#691
FalloutFalcon wants to merge 11 commits intoDarkPack13:masterfrom
FalloutFalcon:splat_helpers

Conversation

@FalloutFalcon
Copy link
Member

@FalloutFalcon FalloutFalcon commented Feb 21, 2026

About The Pull Request

Adds logic for getting the "most important" splat on a mob, functionally right now, its the firs full splat you have.

Renames the issplat helpers to be more clear that they are getters instead of returning truth

Why It's Good For The Game

In theory should simplfy some logic if you need to decide a singular splat to use. And some helpers for halfsplat checks if someone finds that useful

issplat is a bit confusing.

Changelog

🆑
refactor: Cleans up some syntax on splat helpers
/:cl:

@chazzyjazzy
Copy link
Contributor

changelog

@FalloutFalcon
Copy link
Member Author

changelog

Changelog (atleast in TG) arent required if its a non-player facing code change. As the changelog is primarly for the players...

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd argue that none of these should exist since their entire purpose is to ignore edge cases and introduce unpredictable behavior (eg, an abomination can have its primary splat be either Kindred or Garou based only on the mood the code was in)

Copy link
Member Author

Choose a reason for hiding this comment

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

We can just make sure they have unique ids then. Let me fix that.

them ideal servants to their domitors."
id = SPLAT_GHOUL

splat_priority = 70 + SPLAT_PRIO_HALFSPLAT
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be a define.

/datum/splat/vampire/ghoul
)

splat_priority = 60 + SPLAT_PRIO_SPLAT
Copy link
Collaborator

Choose a reason for hiding this comment

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

Define

name = "Kinfolk"
id = SPLAT_KINFOLK

splat_priority = 40 + SPLAT_PRIO_HALFSPLAT
Copy link
Collaborator

Choose a reason for hiding this comment

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

Define.

uses_rage = TRUE
uses_gnosis = TRUE

splat_priority = 40 + SPLAT_PRIO_SPLAT
Copy link
Collaborator

Choose a reason for hiding this comment

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

Define.

@github-actions github-actions bot requested a review from XeonMations February 26, 2026 03:45
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.

4 participants