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

Addictions 2 electric boogaloo #1897

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

Conversation

MilonPL
Copy link
Contributor

@MilonPL MilonPL commented Sep 23, 2024

About the PR

fixes the stupid addictions (forever??)
doesn't actually modify reagents yet, I'll just PR this to CD and pull the changes from there instead of commenting everything

Why / Balance

outdated and not really balanced for MRP
fun fact: I originally learned C# just to fix this one thing

Technical details

uses StatusEffects, the code should be pretty well documented
the SharedAddictionSystem is responsible for adding the status effects, AddictionSystem does all of the updates on the component, the component stores the TimeSpan of last addictive substance metabolism cycle, i spent 3 days figuring out how to solve the issue of suppressing pop-ups

Requirements

Breaking changes

Changelog

no fun yet since it's just the system

@MilonPL MilonPL requested review from a team as code owners September 23, 2024 11:39
@github-actions github-actions bot added Status: Needs Review Changes: YML Changes any yml files Changes: C# Changes any cs files Changes: Localization Changes any ftl files and removed Status: Needs Review labels Sep 23, 2024
@deltanedas
Copy link
Member

rest in piss doping burgers with addictine

@TadJohnson00
Copy link
Contributor

Long story short for everyone who didn't understand "fixes the stupid addictions forever".

Addictions will no longer use the system they did before, wherein they would add a reagent (addictine) to your bloodstream which would make you act up and tweak a bunch even in minor quantities (you eat one dank pizza slice and suddenly you crave weed all day every day). Now it's more similar to alcohol and hallucinogens of old, where it applies a status effect. It makes more sense now.

Obv. dir. approv

Copy link
Member

@deltanedas deltanedas left a comment

Choose a reason for hiding this comment

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

also needs a client system

Content.Shared/DeltaV/Addictions/SharedAddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/EntityEffects/Effects/Addicted.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
Content.Server/DeltaV/Addictions/AddictionSystem.cs Outdated Show resolved Hide resolved
@MilonPL
Copy link
Contributor Author

MilonPL commented Sep 24, 2024

also needs a client system

i stashed it and never committed it after merging master :blunt:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants