RimWorld

RimWorld

91 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, 2024 @ 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
47 Comments
SeoHyeon  [author] 23 hours ago 
Prepatcher (dependency mod) is not updated yet
ic0612 11 Jul @ 6:34am 
1.6?
Evono 16 May @ 3:47am 
This mod throws this error on boot "1x) Error while instantiating a mod of type DrugPolicyEnhanced.Mod: System.Reflection.TargetInvocationException

DrugPolicyEnhanced.Mod"
Evono 14 May @ 4:29am 
thanks for making it
ggfirst 20 Dec, 2024 @ 12:47am 
글씨가 깨지고 내성수치 설정을 못합니다.
Save outfit... 쓰고있었어서 뺴고 다시한번 해봤는데도 그래요 ㅠㅜ
Micah 26 Jul, 2024 @ 11:31pm 
@VitaKaninen Yes, you are correct. The mod doesn't currently do anything about overdosing. My original request was to add overdose protection support. If you look back 1 page on the comments you can see the previous discussion I had with @SeoHyeon on the subject.
VitaKaninen 26 Jul, 2024 @ 4:36am 
@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 26 Jul, 2024 @ 4:04am 
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, 2024 @ 11:34am 
This mod prevents alcoholics if you have many different alcohol-type drugs, thanks <3