New drug holding bug

Started by Windslashman, June 01, 2020, 01:09:48 AM

Previous topic - Next topic

Windslashman

I can't have pawns hold onto drugs if they have the "Scheduled" section checked in addition to having a value above 0 in the "Take to inventory" section for the "Drug Policy" menu. I'm trying to make it where I can schedule a drug like Psychite tea to be administered every 2 days if their mood falls below 50%. By allowing them to hold onto it, the efficiency increases because of them not having to walk to my storage to grab it when they want to take it.

My mods are: Expanded Prosthetics and Organ Engineering (https://steamcommunity.com/sharedfiles/filedetails/?id=725956940), A Dog Said... Animal Prosthetics (https://steamcommunity.com/sharedfiles/filedetails/?id=746425621), and EdB Prepare Carefully (https://steamcommunity.com/sharedfiles/filedetails/?id=735106432)

I hope this helps to fix the issue whether it is user error or a bug. But I'm happy to help either way.

P.S. I tried submitting my save file, it but the size was 14.3 MB so it wasn't allowed. Idk if you want me to try to compress it for you, but if needed I can try to do that.

Canute

Hi,
you allways should include your version and/or the player.log so the devs can see if that is maybe allready fixed.

At a quick test i notice the "Take to inventory" works fine, but they only stockup the items when they are use is triggered.
In your case the 50% mood.
Just try it out self, set it too 100% mood until the first one going to smoke and watch if he stockup the drugs.

ison

Does it still happen on the unstable branch?

Windslashman

Yes the issue still happens on the Build 1.1.2709.  I did test it too and what Canute says is true. In this case for finding the item and carrying it of the requested amount only occurs when the time for it to be consumed occurs. So for example a colonist is able to take luciferium to inventory if they are not on a schedule to take it and are just set to carry it. But when you force a schedule of consuming a drug the picking up of the item to carry only occurs once the scheduled time to consume starts.

Pheanox

Thank you for the bug report, I have reproduced this.