RimWorld

RimWorld

Choose Your Medicine
335 kommentarer
Kopp  [ophavsmand] 2. okt. kl. 8:22 
@IVAN
I guess.
IVAN 2. okt. kl. 7:10 
compatible with more injuries?
Kopp  [ophavsmand] 28. sep. kl. 4:38 
@BeaThePANcake
Take a look at another mod of mine: Carry Different Medicine Types.

@DawnsGlow
I am not making a extra medCareSetting for a single operation.
But if herbal medicine is used for surgeries, it means you have a good doctor and a good hospital.
Just set maxMedCare for colonist operations to industrial and "take best available if surgery causes hediff".
BeaThePANcake 27. sep. kl. 23:22 
would LOVE to see a stock up feature in this mod, so it works even better with more injuries
DawnsGlow 26. sep. kl. 2:01 
Feature Request : A separate medicine choice column for xenogerm implant, set to industrial medicine by default.

I have set all my colonists to use glitterworld medicine. When the Take Best Available Medicine is on, glitterworld medicine is used for xenogerm implant, which is wasteful. When it is off, herbal medicine is used, xenogermic coma is longer. Industrial medicine is a good compromise, but it cannot be selected. if the highest usable medicine is set to glitterworld medicine.
Kopp  [ophavsmand] 22. aug. kl. 3:43 
@Mad Cake
Sure, you need the mod "Mod Medicine Patch".
It is not update to 1.6, but there is a fork.
I just pushed an update to make it work with that fork.
Mad Cake 22. aug. kl. 2:01 
Is there a way to set some modded medicine in medicine categories? I have tribal medicine installed, and that medicine counts as industrial medicine, and that is illogical.
Azure 16. aug. kl. 4:24 
Get it,thank you!
Kopp  [ophavsmand] 16. aug. kl. 1:57 
@Azure
The mods gui settings respect a pawns player settings.
If you assign medicine to a instance of a hediff in a pawns health tab, it does not.
Azure 16. aug. kl. 0:43 
The vanilla setting
Azure 16. aug. kl. 0:43 
Do I need to change the best medicine for the prisoner/pawn rule too?
Kopp  [ophavsmand] 13. aug. kl. 12:17 
@xiaotaidouxx
Vanillas SummaryHealthHandler.SummaryHealthPercent is used for the 'body damaged' value.
It checks all hediffs and missing body parts.
Bleeding probably will not be a factor. It would need its own condition/stage, but the number of conditions is fixed.
xiaotaidouxx 13. aug. kl. 9:55 
Hi @Kopp,
There is a condition call "body damaged greater". How does this condition works? How do you calculate the percentage of damage to whole body?
Also, could you add a feature like use medicine when it's bleeding?
Thx :)
Kopp  [ophavsmand] 4. aug. kl. 10:28 
@Annabellee
It was quite some work to make sure that my mod is compatible with Mod Medicine Patch (= works with mod added medicines)
So just wait until MMP is updated ;)
Gerewoatle 4. aug. kl. 9:29 
@Annabellee - As much as I'd like to see that mod return in some form, I'd rather it not be tied directly to another mod, but released as a standalone.
Annabellee 4. aug. kl. 8:34 
I'm not sure if you would be open to this, but could you add something like Mod Medicine Patch https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1430084631 to this as well?
DawnsGlow 3. aug. kl. 5:41 
@kopp : I get it now, thanks for the explanation
Just 1. aug. kl. 11:14 
@Kopp, in IRL we would hang out in bar :D
Kopp  [ophavsmand] 1. aug. kl. 10:01 
@Just
You are welcome!
Just 1. aug. kl. 10:00 
Either way, thanks for helping with investigation (:
Kopp  [ophavsmand] 1. aug. kl. 10:00 
@Just
You have to either assign the medicine the doc is carrying to the instance of the hediff...
Or to the "correct" stage in the mods main tab gui...
Just 1. aug. kl. 9:58 
Update: pure vanilla in the same circumstances allows to tend...
Okay, I think I get it: it is because there was no need to tend with Industrial grade medicine and therefore there was no such option for force it. If I apply more damage (way more) or if I set this specific wound to be tented with medicine, then this option appears.
Just 1. aug. kl. 9:52 
@Kopp, ha! You can tend Asthma, but you cannot tend bleeding show wounds https://youtu.be/k9DsoYy7qUM Well, now I'm lost
Kopp  [ophavsmand] 1. aug. kl. 9:46 
@Just
https://imgur.com/a/Db8Nl1n
If we knew each other in RL that extra work would cost you a beer...
Just 1. aug. kl. 9:37 
@Kopp, it has an option to tend only without medicine... Can you please make a screen? Mb I need to check my game's integrity then... I just have checked on vanilla + Choose Your Medicine; nothing else
Kopp  [ophavsmand] 1. aug. kl. 9:34 
@Just
I tested it for hediff flu and crack. Worked for both.
Just 1. aug. kl. 9:28 
@Kopp, well they cannot, screenshots attached ( https://imgur.com/a/Zh7mpWS ). But it is not about your mod; it was just one of the feature of "Smart medicine", but because it is incompatible with this mod (doctors ignore rules), then I made a suggestion, that it would be nice to have (if possible of course).
Kopp  [ophavsmand] 1. aug. kl. 7:38 
@Just
If the doc has the "correct" medicine in its inventory, you can draft tend non-downed pawns. Thats a vanilla feature. I made a mod which lets your colonists carry different medicine types.
Just 1. aug. kl. 6:55 
@Kopp, here are examples: https://imgur.com/a/eCDDwFM
Kopp  [ophavsmand] 1. aug. kl. 0:24 
@Just
?
Just 31. juli kl. 17:17 
One thing which "Smart Medicine" has and what is really required is to be able to tend from inventory (also in caravan) and to tend not-downed Pawn with medicine
Kopp  [ophavsmand] 31. juli kl. 0:15 
@Church.exe
Most likely not.
Reason is that the mod is about what medicines doctors are gonna use. Not about when operations should happen.
Second is that it sounds quite complex and I am not sure if I personally would have a use for it.
Church.exe 30. juli kl. 23:13 
This is might be a bit tangential, but would it be possible to add conditional operations as well? For example
"if immunity is X% behind infection : Administer antibiotic"
or
"if blood loss < 5% : Extract hemogen" (e.g. : colonists are consistently donating blood when they don't have bloodloss, which can be an important resource to have on hand depending on your modpack, even if you aren't bloodsuckers. If you have a way to 'stabilize' injuries for instance being able to give someone a hemogen pack without taking the time to fully tend them can be life saving)

It could be better to implement it on a per-operation basis instead of a global responsive basis instead (e.g. you could queue an "administer antibiotic" operation on a colonist but then say "don't do this operation until the infection > immunity" or something) but something even vaguely along those lines would be incredibly useful if it was practical to implement.
Kopp  [ophavsmand] 29. juli kl. 7:28 
@DawnsGlow
Check the preview pictures on the mod page...
In the second, where it says "mods main gui", you can see a list of the hediffs.
Each hediff has a checkbox (in the preview picture activated for "infant illness").
If activated, the dropdown menu for medicine becomes a "box" of medicines.
Add medicines, drag drop to change the order, right click to remove.
The doc will then only use what medicines is in the box and in the exact order.
DawnsGlow 29. juli kl. 6:42 
@Kopp : Where can I see detailed/non-detailed options ? I only checked the mod's default ui options and used the default settings when this happened.
Kopp  [ophavsmand] 28. juli kl. 20:53 
@Aschevacuum
My car not working. Any idea?
Reproducible with only this mod loaded?
If yes, tell me how to reproduce the issue.
If no, tell me the mod combination.
What about a hugslib log?
Aschevacuum 28. juli kl. 18:08 
My mech not performing surgery. any idea?
Kopp  [ophavsmand] 27. juli kl. 6:56 
@DawnsGlow
Depends on your settings.
If you used the "non-detailed" option for that hediff, then it behaves like vanilla:
You set herbal, no herbal available, then it gets tended without medicine.
Use the detailed option, then you can set the exact order of medicine.
DawnsGlow 27. juli kl. 6:05 
The pawns were sick with flu. The immunity was at 67.5 and flu severity was at 37%. According to settings, herbal medicine should be used.

There was no herbal medicine available but industrial and glitterworld medicine was. The pawn did not use any medicine for tending, which significantly reduced the immunity gain speed and can be fatal.

Should they not use better medicine (atleast for diseases), instead of using the worse one ?
Kopp  [ophavsmand] 21. juli kl. 12:14 
@Danna
And I will gladly fix the issue if I know what is happening ;)

You can use the mod "Log Publisher from HugsLib" for publishing a proper log.
"To use the publisher, press Ctrl + F12."
Do it while the issue is happening (or/and the error pops up in the log).
Either use the recommended settings and post the link or copy the log to clipboard and upload it somewhere.

And please tell me how to reproduce both issues, because I cant.
Spawning things per dev mode works fine for me, as well as tending entities.
I might be a issue with the config file of the mod, so uploading it could be useful as well.
File name is "Mod_Choose Your Medicine_Settings_ChooseYourMedicine.xml", found in "C:\Users\*USER*\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config" if you are using windows and you did not change the default config/savegame path.
Danna 21. juli kl. 9:31 
@Kopp Sorry for being so vague, sir. I'm not really 100% healthy today and thought I had done something so I didn't think much about it and just wanted to mention it in case its a known issue already that I just couldn't find. I just don't know what is needed for proper rimworld bug reporting, so I just turned this mod off and kept playing.

But in a nutshell: I can reproduce it with just this mod loaded even in a new game.
Rimworld 1.6.4525
Harmony 2.3.6.0
Mods are Harmony, rimworld and all DLC in order, then this mod.

Not sure how I can give more information or logs, but I'll gladly do so if I can help.
Kopp  [ophavsmand] 21. juli kl. 0:55 
@Danna
If you cant reproduce the issue with just this mod loaded, then congratulations to your mod conflict.
Without a (hugslib) log I dont know if there is errors, which version of RW/mod you are using or see the harmony patches.
What do you expect me to do without useful informations?
Danna 21. juli kl. 0:14 
This can (and likely is) part of something I have done, in choosing the wrong order of mods or just using mods that doesn't work well together.

But this mod makes my debug action menu bug out under certain things like "spawn thing", as well as making me unable to tend anomaly entities completely. When removed with everything else intact, things are fine.
DawnsGlow 19. juli kl. 12:51 
It would be better if the button in the hediff is more visible. eg : it could display what medicine has been selected by the mod or use some other icon

Or you can put the image in the description. I could not find this button by looking at the hediff.
DawnsGlow 19. juli kl. 12:46 
okay, so I should set the allowed medicine in pawn health tab to glitterworld. The mod will automatically use the appropriate medicine.
Kopp  [ophavsmand] 19. juli kl. 10:08 
@DawnsGlow
Player settings = max allowed medicine you set for a pawn in the health tab.
Settings done in the mods main tab gui respect the player settings.
If you assign medicine to a instance of a hediff in the pawns health tab, it does not respect the player settings.
DawnsGlow 19. juli kl. 1:46 
I have set the pawns to use herbal medicine in the Health tab. Will pawns still use better medicine when necessary ? Or should I assign industrial medicine in health tab ?
Paterfamilias 15. juli kl. 7:08 
@Puph From the Description on this very page:

"When using the mod for the first time you may want to check the list of hediffs in the gui and change the medicine for minor stuff, e.g. bruises, cracks, ...
Most of the default settings should work fine and it should be sufficient to change them from time to time if you notice that it would make sense.
So in theory you can set all your pawns to "use best medicine" and do not have to worry about microing or wasting good medicine."
Puph 11. juli kl. 18:35 
Are the default settings in this mod better than RImworld's own healing priorities?

What are good settings for this mod? Anyone able to share or screenshot? I don't wanna waste Glitterworld medecine on prisoners or small bruises.
Kopp  [ophavsmand] 11. juli kl. 9:42 
v1.1.5 (RW1.5 & RW1.6)
- fix: if hediffs were in the wrong category it might happen that it causes errors
- log spam: If hediffs are in the wrong category or not in the gui at all, there is now a log warning once
- if hediffs are not in the mods gui, they will be tended just like in vanilla (using pawns player settings)
- possible fix for indexOutOfRange exception caused by unknown circumstances
- replacing Hediff.TendableNow() prefix with a postfix to eventually improve mod compatibility
- fix: notification spam "pawn fully healed"