Skip to content

Allergies (again. I hate Database changes.)#307

Open
ScarlettJFG wants to merge 4 commits intoFloof-Station:masterfrom
ScarlettJFG:Allergies
Open

Allergies (again. I hate Database changes.)#307
ScarlettJFG wants to merge 4 commits intoFloof-Station:masterfrom
ScarlettJFG:Allergies

Conversation

@ScarlettJFG
Copy link
Copy Markdown
Contributor

About the PR

Adds Allergies and the associated effects to the game.

Why / Balance

EVERYONE WANTS MEDICAL TO [SUFFER](https://discord.com/channels/1255902263667331193/1478151943078674484/1482892877188173925)

Technical details

I'll be completely honest: It's a near 1:1 port from this PR, but with a minor change (I...didn't need to add lines for the allergies to grab what was processed). This adds changes to the server.database folder for records, HumanoidCharacterProfile for attaching the allergies, Histamine in the toxins.yml, and frankly, this is just a port. All of the edits however, allows the selections from the profile editor in lobby to be used, but does not sync the "Allergies" text field, with what is selected. Medical should be able to pick up on an allergen fairly quickly however, so this doesn't...completely screw them over.

Asked to Reupload PR to see if this fixes the Database errors that were present in the previous PR.

Media

Click to show

Discord link to Video (Will open in browser, a little too big to upload here)

Requirements

  • I have tested all added content and changes.
  • I have added media to this PR or it does not require an ingame showcase.

Licensing:

Breaking changes

Allergies selected do not update in the Allergies text field in records.
Transforming (Geras or fox form) will temporarily pause allergic reactions, at least until transformed back. This can be used as a way to treat certain issues you might otherwise be allergic to, without death...unless it's too late.

Sources

As listed above, This PR is where the port is from.

Changelog

🆑

  • add: Added Allergies, fun! Actually no, as a medical main, this is pain...

@ScarlettJFG
Copy link
Copy Markdown
Contributor Author

Please, whatever god is listening, let this work.

@Mudyin
Copy link
Copy Markdown

Mudyin commented Mar 22, 2026

I may not be god, but it looks like its gonna work

@SyaoranFox
Copy link
Copy Markdown
Contributor

So it looks like those SQL errors are legitimate. You may want to go through what Mnemo said and see if that fixes things.

@Arbitrated
Copy link
Copy Markdown

We're pretty sure that databases were invented in hell to punish contributors.

@Arbitrated
Copy link
Copy Markdown

Also checking the comments of the original PR, this was mentioned: cosmatic-drift-14/cosmatic-drift#649 (comment)

It may be part of the solution as they mentioned databases in this PR that comment is referencing: cosmatic-drift-14/cosmatic-drift#727 (comment)

Copy link
Copy Markdown
Collaborator

@Mnemotechnician Mnemotechnician left a comment

Choose a reason for hiding this comment

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

Missing database migrations, errors might or might not be related

# Conflicts:
#	Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs
#	Content.Server.Database/CDModel.cs
#	Content.Server.Database/Model.cs
#	Content.Server/Database/ServerDbBase.cs
#	Content.Shared/Preferences/HumanoidCharacterProfile.cs
@github-actions github-actions bot added size/XL and removed size/L labels Mar 26, 2026
@ScarlettJFG ScarlettJFG changed the title OK ALLERGIES 2.0 LETS FUCKING PRAY Allergies (again. I hate Database changes.) Mar 26, 2026
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.

5 participants