RimWorld

RimWorld

58 ratings
Only If 'Tolerance' Below in Drug Policy
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
1.809 MB
18 Nov, 2023 @ 8:43pm
28 Apr @ 7:42am
8 Change Notes ( view )

Subscribe to download
Only If 'Tolerance' Below in Drug Policy

In 1 collection by SeoHyeon
Mods I made
6 items
Description
This mod is a very simple and lightweight mod.

It adds a slide bar in Drug Policy. If it sets below 'Any', The colonist will take the drug only if their tolerance level of the drug's chemical below this threshold.
Useful when you want to ensure that the colonist do not become addicted to drugs.

It's only applicable for drugs that are addictive and give the ingester tolerance such as 'beer', 'psychite tea', etc.


Compatible with existing saves, any mods.
And designed to be used in conjunction with other mods that add drugs sharing the same chemical substances such as Vanilla Brewing Expanded


If you want to automatically generate the drug policy that safe from addiction, then you can use this mod with Safe Drug Policy Generator.

source: https://github.com/csh1668/OnlyIfToleranceBelow
40 Comments
VitaKaninen 14 hours ago 
@Micah I would guess that the mod does exactly what it says. It allows a pawn to take the drug when the tolerance is under the specified value. If the Mod author had added special checks for the hidden overdose effect, I think he would have told you when you asked him. He said he didn't know, so I think you can assume there are no checks in place to ensure that the pawn is not under a hidden overdose effect.
Micah 14 hours ago 
I'm getting back into the game and noticed that you responded to my previous comment:
> @Micah I'm not sure about that.

Which part aren't you sure about? The overdosing behavior is well documented on the wiki, the only part I'm uncertain about is the exact code underlying the mechanic and how a mod would be able to interact with the hidden overdose value.
cherry-wave 24 Jul @ 11:34am 
This mod prevents alcoholics if you have many different alcohol-type drugs, thanks <3
VoiD 28 Apr @ 11:25am 
Working for me, too. Thank you for the update! I can see the slider now in QHD.
VitaKaninen 28 Apr @ 8:05am 
Works again, thanks!
SeoHyeon  [author] 28 Apr @ 7:40am 
== update ==
- fixed error when loaded [1.5][KV] Save Storage, Outfit, Crafting, Drug, & Operation Settings

@VoiD
If you don't see the slide bar, it's perhaps related to your screen resolution. In FHD, the slider is visible.
SeoHyeon  [author] 24 Apr @ 8:06pm 
@VoiD
I have exams until this week. I will check after this
VoiD 24 Apr @ 7:03pm 
Thanks for the quick response, SeoHyeon.

No, i don't use Yayocombat3. Here is my modlist and a link to the log. Error starts at line 478.

https://imgur.com/a/czxN1nC

gist.github.com/HugsLibRecordKeeper/e2c131620591652e20fb73aa30306851
SeoHyeon  [author] 24 Apr @ 4:42pm 
@VitaKanine
I think a compatibility patch for [Kv]save storages blahblah is outdated. It will not be harmful but I'll fix in my spare time.

@VoiD
Ummm strange... does you using Yayocombat3? Otherwise, can I request your modlist?🤔

@Micah
I'm not sure about that.
VitaKaninen 24 Apr @ 12:31pm 
I am not getting the slider either. I was sure it was there a week or so ago when I set it up...