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

Goon Chemistry: Addiction and Overdosing #7131

Merged
merged 2 commits into from
Jan 19, 2015
Merged

Goon Chemistry: Addiction and Overdosing #7131

merged 2 commits into from
Jan 19, 2015

Conversation

Iamgoofball
Copy link
Contributor

This pull request adds a modular Overdose and Addiction subsystem to the game's chemistry system.

These have been applied to the goon chemistry chemicals that require them.

You can use this to easily add new overdose effects or new addiction effects to chemicals you add.

Adds Itching Powder to the game. It is a toxin that does minor brute damage over time, but can decay to Histamine if left unattended, which can cause problems.

@Fox-McCloud
Copy link
Contributor

If you're going for Goon accuracy, then addiction doesn't incur any damage (overdosing is a different story).

All addiction effects for all chems in Goon are exactly the same--it's a disease (like GBS, Wizaritis, robotic transformation, etc) that has 4 stages; the first couple of stages are mostly just annoying flavortext spam, but stage 3 starts making you fall over----and stage 4 increases this frequency (you may want to do some testing on their server to doublecheck). So basically, what you could do is just make an addiction disease and tie it to a chem's addictiveness var; if the probability check passes, then the addiction disease will be added " addiction".

Taking more of the chem you're addicted to would set your stage back a level or two, but increase the rate at which you progress through the stages you reset back from; the only way to "cure" the addiction would be to wait for it to fully wear off.

@AlexCrimson
Copy link

Seeing as we are getting addiction(which is awesome!), are we going to get bleeding eventually? That seems kinda important as a lot of Goonchem stuff affect "bleeding".

Also might be worth making some of the optional drugs like Hyperzine addictive. Not just narcotics.

@Alek2ander
Copy link
Contributor

Is there any way to get rid of an addiction after surviving the withdrawal symptoms?

@Chocobro
Copy link
Contributor

inb4 sugar addiction

@Iamgoofball
Copy link
Contributor Author

@Fox-McCloud Let's try this for now, and see how it works out.

@Fox-McCloud
Copy link
Contributor

Fair enough, though color me extremely skeptical for a few reasons:

-Most of the drugs that carry addictiveness are combat related drugs that reduce stuns or boost movement speed--therefore, calling a weakened state on the people who are impacted by it directly offsets the effects of the drug once it has worn off (ie: you get a time of good combat effectiveness, now you get a time of very poor combat effectiveness). It also furthers the whole "addiction" theme--you're suffering from a weakened/stunned state...so you want something to counter that...and the very thing that counters it is just going to prolong your addiction.

-Damage; taking damage will effectively turn addiction into a way of killing people---it also means that chemists and scientists will be able to brew up cocktails that 100% counter the addiction side-effects and thus there's no downsides (other than small resource investment) to completely nullify the effects of addiction.

Sorry to wall of text you!

@Iamgoofball
Copy link
Contributor Author

I can lower the damage if needed. But since it only processes addictions every 6 ticks, by the time it gets to higher levels you should be able to mix whatever you're addicted to and pop a pill of it.

I'm debating on adding a way to purge addictions to a chemical, if so, what chemical should I do for that?

Or hell, I could make the addiction go away if you go cold turkey on the shit long enough.

@Fox-McCloud
Copy link
Contributor

I think the very nature of addictions is that the only way to alleviate symptoms is one of two methods:

(1)Taking more of the chem you're addicted to, which only resets the addiction stage back a level or two
(2)stop using the chemical altogether until stage 4 wears off and you're freed of the addiction (until you take it again and roll for a chance to get addicted to it again).

If a chem is added that purges addiction, then addictions become 100% meaningless to chemists and scientists.

@Iamgoofball
Copy link
Contributor Author

Good idea, I'll do that.

if(R.addiction_stage > 30 && R.addiction_stage <= 40)
R.addiction_act_stage4(M)
if(R.addiction_stage > 40)
M << "<span class = 'notice'>You feel like you've gotten over your need for [R.name]."
Copy link
Contributor

Choose a reason for hiding this comment

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

Tag not closed

Copy link
Contributor

Choose a reason for hiding this comment

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

All of the tags there are closed, << isn't a tag.

Copy link
Contributor

Choose a reason for hiding this comment

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

he didnt close the span.

tkdrg added a commit that referenced this pull request Jan 19, 2015
Goon Chemistry: Addiction and Overdosing
@tkdrg tkdrg merged commit 98ecd7f into tgstation:master Jan 19, 2015
tortellinitony pushed a commit to tortellinitony/tgstation that referenced this pull request Mar 19, 2018
* Merge pull request tgstation#36478 from MrStonedOne/patch-495

Gibs admin observers follow links

* Gibs admin observers follow links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Exposes new bugs in interesting ways
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants