RimWorld
39 평점
Carry Different Medicine Types
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Mod, 1.4, 1.5, 1.6
파일 크기
게시일
업데이트일
204.773 KB
2023년 8월 3일 오전 7시 27분
2025년 6월 11일 오후 4시 11분
업데이트 노트 5개 (보기)

다운로드 위해 구독하기
Carry Different Medicine Types

설명
A simple mod that allows your colonists to carry different types of medicines in their inventories.

This feature was requested by users of another mod of mine: Choose Your Medicine.
Since it is not related to a doctors selection of medicine when tending/operating, I decided to make it its own mod.


  • Compatibility:
    Works for mod added medicines, as long as the corresponding thingDef has a statBase 'MedicalPotency'.
    Not compatible with mods that change the gui element 'carry' in the assign tab.


  • Performance:
    • Obviously the more things a colonist should carry, the higher the impact on performance.
      I did not measure it, but I assume it is fine for a few colonist and a few different things.

    • The change to the assign tab gui has a surprisingly positive effect.
      A test with about 50 pawns showed the calculation for vanilla took about 0.3ms on average, while with the mod about 0.12ms.

  • Limitations:
    The mod uses the vanilla system to make colonists put the medicines in their inventories, so be aware of the following:
    • Colonists will not clear their inventories. (If they have 10 herbals in their inventory and you set it to 5, they will not drop the surplus)
    • Colonists will not respect their 'mass carried limit' when picking up medicine.


  • Adding/Removing from a save:
    Should be fine. There will be errors when removing from a save once, but they can be ignored. Make a backup anyway!


  • Else:
    I am not 100% happy that you have to open another gui to set the medicines to carry. If you can think of a better solution, feel free to comment it!

    Source of the mod is included.

    Credits and Thanks to:
    Ratzinger for giving feedback.
    Brrainz for Harmony.
    Dubs for Dubs Performance Analyzer.
    Marnador for the RimWorld font, used in the preview picture.
    Tynan and Ludeon for RimWorld.

    License [creativecommons.org]
댓글 25
Kopp  [작성자] 2025년 8월 16일 오후 1시 24분 
@dudenaut
I agree, it might be nice to have that option.
But it makes things way more complicated.
It is a very simple mod, only using the vanilla system.
Thanks for the suggestion, but will not happen.
dudenaut 2025년 8월 16일 오후 12시 27분 
Allowing pawns to carry multiple types of medicine is really useful. The only thing I’m missing is an option in settings menu to keep the vanilla limit (3 in total) but still allow different types. For example: 2 herbal + 1 industrial. Having a toggle in the settings for this would be perfect for balance.
The Blind One 2025년 4월 11일 오후 8시 57분 
You were extremely quick to reply, thanks for the consideration at the very least :cozybethesda:
Kopp  [작성자] 2025년 4월 11일 오전 10시 01분 
@The Blind One
Noted.
Not sure if/when I am able to come around though.

@Luv N Hugz |UwU|
Pardon the late reply.
I might take a look into this, but it might be too complicated to add.
The Blind One 2025년 4월 11일 오전 6시 56분 
Would love to be able to drag the settings over to other pawns and possibly a quick save / load settings. Other then that this is awesome.
Luv N Hugz |UwU| 2024년 9월 18일 오후 12시 59분 
I'd love to see a variation of this where instead of choosing different medicines they will just grab the next best medicine. Meaning: if I set them to glitter, and my colony has 0 glitter, they will replace it with normal medicine.
Kopp  [작성자] 2024년 7월 22일 오전 2시 39분 
@Artifrack @Jaggid Edje @东方彩虹🌈
v1.0.3 (RW1.5):
- Should now work correctly with DubsMintMenus, as well as other mods that add new inventoryStockGroupDefs
东方彩虹🌈 2024년 6월 16일 오후 8시 09분 
Oh yes, thank you very much
Kopp  [작성자] 2024년 6월 16일 오후 6시 49분 
@东方彩虹🌈
Dubs Mint Menus.
东方彩虹🌈 2024년 6월 16일 오후 6시 04분 
I have a bit of a problem...for me instead of the 3 types of medicine as options, it shows simple meals, beer and just herbal for medicine as carry options.

I'm sure it's a mod conflict, but I have no idea which one could cause that. Anyone have any advice?