RimWorld

RimWorld

Safe Drug Policy Generator
58 Comments
Babaloo321 Sep 25 @ 1:33pm 
Just commenting to let people know that the prerequisite for "Only If 'Tolerance' Below for Drug Policy" is indeed updated now.
SeoHyeon  [author] Aug 23 @ 1:28am 
@Futstub
Yeah, due to limitation of the game this is not very useful.
So I recommend to use this mod with "Only if tolerance below" which adds exactly what you said.

Sadly that mod is not updated since its dependency mod is not updated yet.
Futstub Aug 19 @ 11:56pm 
So this makes it only safe from addiction if you use only one type of drug from a category, because addictions get triggered from tolerance. If you have several types of alcohol, your pawns will still get addicted, because there is no slider for "tolreance below"... nice idea for a mod, but not very useful...
VitaKaninen Jun 13 @ 1:51am 
Thanks for updating!
Arthur GC Jun 12 @ 4:15am 
:(
SeoHyeon  [author] Jun 11 @ 8:38pm 
Updated for 1.6
- fixed settings issue (only for 1.6... since I'm currently busy now sorry!)
Justacommonegg May 10 @ 1:20pm 
Same as everyone else, settings not saving
Hun Alexander May 1 @ 9:34pm 
설정에서 재미 기준치와 기분 기준치가 100% 인경우 설정이 적용되지 않네요.
재현 방식은 일단 기준치를 100%외의 값(ex. 35%)으로 설정하고, 그 다음 100%으로 다시 설정할 경우 이전에 설정한 값(35%)으로 적용됩니다. 설정 창에서는 값(100%)이 남아있지만 정책을 생성할 경우 이전 값(35%)으로 적용됩니다.
Arthur GC Aug 6, 2024 @ 3:40pm 
Also having the issue Victor raised: settings aren't being saved.
graublau Jun 15, 2024 @ 1:55am 
Yeah, I'm having the same issue as Victor. I finally remembered that I might be able to just change it permanently in the config.xml but ... there is none? Which might explain the issue.
Victor May 19, 2024 @ 6:22pm 
Well, I finally tested this mod with only Core+Harmony loaded, and indeed changing the default settings and clicking apply still gets reset after closing the game
Victor May 4, 2024 @ 1:01pm 
Maybe it is another mod causing it? I would suspect Rocketman
Victor May 4, 2024 @ 1:00pm 
The setting slider is not saved correctly, each new game I have to change it again and generate a new policy
hallister Apr 9, 2024 @ 4:45pm 
Oh so it turns out I'm just an idiot lol. Thanks!
SeoHyeon  [author] Apr 9, 2024 @ 3:41pm 
@hallister
Well, you can add the policy manually in the mod settings of this mod.
Load the existing save, and just adjust some values in the mod settings, then you can see the button labeled 'add to current save'
hallister Apr 9, 2024 @ 10:34am 
I finally had to give up on this mod since I literally cannot figure out how to make it generate a new policy for an existing save. Someone mentioned a setting for having to enable create on load in the settings, but there is no such setting for this mod.

This really needs a HugsLib menu in game that you can one-click generate a new policy. It's a little weird to be pressing an apply button in mod options, when it's unclear what that is even doing.

But rather than just rant about your free labor, is there a repo for this? I'm no modder, but I would like to see if I can figure out how to make this work with HugsLib if you aren't interested in what I imagine is a rewrite.
SeoHyeon  [author] Mar 13, 2024 @ 4:47pm 
== Update ==
- recompiled for 1.5


@Victor
Thanks for your report, I'll figure out. But in my case, No such issue has occurred.
Victor Feb 21, 2024 @ 6:35pm 
I think since last update, the settings are not being saved correctly, whenever I start a new save, my set values are reset.
SeoHyeon  [author] Dec 15, 2023 @ 9:13pm 
@wrightc214
These drugs are never safe drugs. So they are allowed for addiction only, therefore they would work as same as Vanilla.
You need to manually allow them for Wasters or Hussars
wrightc214 Dec 15, 2023 @ 8:15pm 
Will this let VE Wasters and Hussars get their genetically required flake/go juice?
ray12031203 Dec 12, 2023 @ 12:12am 
@SeoHyeon 정말 감사합니다!!
SeoHyeon  [author] Dec 12, 2023 @ 12:12am 
Update:
Added integration with "Only If Tolerance Below for Drug Policy".
No more duplicates drug policy and you need to manually add by its options if you want to add the policy existing saves.
No more requires Harmony
SeoHyeon  [author] Dec 12, 2023 @ 12:10am 
@ray12031203
해드렸읍니다
ray12031203 Dec 9, 2023 @ 11:50pm 
혹시 "약물 정책 '내성 기준치' "모드랑 호환시켜 주실 수 있습니까? 안전한 정책을 생성할 때 내성 기준도 같이 설정해주면 좋을 것 같습니다.
Victor Aug 29, 2023 @ 10:20am 
Hi, can you add a patch for not allowing the Aperitif from Vanilla Factions Expanded - Empire to be used for recreation by default? It empties the stomach and makes the colonist vomit everywhere.
DisKorruptd Aug 19, 2023 @ 8:24am 
Can you add a policy that only does "never addictive" drugs?
Cosmo Corban May 31, 2023 @ 8:28pm 
How do I use this mod? lol
Aster Feb 14, 2023 @ 8:30am 
@Arky there is now a "stop duplicating the policy on load" option enabled by default. I had to briefly turn it off for a new save to have it generate for the first time, but it does prevent issues when re-enabled.
Arky Jan 9, 2023 @ 2:31am 
Does this still creates endless policies?
Agraza Nov 6, 2022 @ 8:27am 
They definitely still get addicted if you have several of the same kind of joygiver present, but its better than nothing. Thanks.
Oct 29, 2022 @ 10:35am 
조아요 :love13:
SeoHyeon  [author] Oct 29, 2022 @ 3:03am 
@brucethemoose
Yes!
brucethemoose Oct 9, 2022 @ 6:34am 
1.4?
NRFBToyStore Aug 30, 2022 @ 9:56pm 
@Arky Or create a simple import/export feature like other mods have.
Astrobia Mar 28, 2022 @ 6:48pm 
This sounds great but it needs an option to push a button in the mod options to generate a list rather than doing it every load.
Arky Sep 7, 2021 @ 10:46pm 
Generate policies at every load. I honestly think it would be better to generate a single policy like in vanilla and do not update it, even if we delete it.
Hyomoto Sep 6, 2021 @ 12:41pm 
I have the same issue as Deepfield, it seems to make a new policy at every load.
Ryusho Yosei Sep 3, 2021 @ 10:51am 
My mistake, it can be set in its options, so maybe that should be its "Default" setting, at like 50% or something.
Ryusho Yosei Sep 3, 2021 @ 10:51am 
I actually had two people join and..promtly get blackout drunk on the safe polocy because it assiggns all the alcohols to "Safe to take once per day." but it assigns it as to take every day, period, I think it should default to "Take only if below a certian mood threshhold and recreation threshhold" to help...preven them suddenly going taking all t he things and..potentially overdosing/dying or going fully blackout drunk for...over 24 hours...
dingus Aug 31, 2021 @ 11:47pm 
Somebody recommended this mod to me but it does not have the feature I want. I want to be able to make a pawn take wake-up when they are tired. Would you please add a slider for tiredness?
Aesrys Aug 29, 2021 @ 7:30am 
@Beter Are you using Pawn Rules (or something like that) by chance? I think that's the mod that adds that button. I've seen it before this mod was released.
Mr Nimbus Aug 28, 2021 @ 6:31pm 
@seohyeon I'm using lots of mods, but none that affect drug policies, nor are there any red errors.

However, this mod seems to break the drug policy ui, by adding a weird box at the end of the "delete policy" box, which does nothing: https://imgur.com/a/CiwxwuI
Deepfield Aug 28, 2021 @ 4:16am 
Policies seem to be duplicating for some reason with every load
SeoHyeon  [author] Aug 28, 2021 @ 12:18am 
@Beter
It appears likely to be a conflict with other mods. Was there any red errors or what mods did you using?
Mr Nimbus Aug 27, 2021 @ 7:52pm 
Also, further to my previous comment, this mod doesn't appear to have done anything - the "Safe From Addiction" policy was generated, but not a single schedule was assigned to any of the drugs...
Dirty Mike and The Boys Aug 27, 2021 @ 4:15am 
TheGoofyOne has a mod series where he makes all the alcohols more or less addiction free, that's what I use with VBE

https://steamcommunity.com/sharedfiles/filedetails/?id=2362096220
Deepfield Aug 27, 2021 @ 2:19am 
@Beter
I agree. For the moment i just swap between types every quad or so.
Mr Nimbus Aug 24, 2021 @ 3:52pm 
Based on what @Black★Rock Shooter, I kinda wish drug policies were addiction-based, not interval based, I.e. my drug policies would be based on whether or not taking the drug will get them addicted. As it stands, all of the different alcohols in VBE make it impossible to properly assign drug policies for pawns, unless you restrict them to only one type.
SeoHyeon  [author] Aug 23, 2021 @ 8:43pm 
@Black★Rock Shooter
In mod settings, try increasing the value of additional frequency.
Bic Boy Aug 23, 2021 @ 7:50pm 
I was just scrolling through popular and this genuinely blew my fucking mind lmao, amazing stuff