RimWorld

RimWorld

Field Medic [1.0-1.5]
Linking third party items
Hello. Is it possible to link the feature of medic bag to another item in the game(for example, another piece of apparel, or regular medicine)? Ive looked into xml and the only unusual (to me, i dont know much, if anything, about moding, so i could be horribly wrong) thing about medic bag was custom thingClass. So, maybe i can add it to another item via adding this property to another item? I would really appreciate you answering this question!
< >
Showing 1-2 of 2 comments
flyfire2002  [developer] Sep 16, 2020 @ 4:41am 
You need to do some coding to transplant the functionality to another apparel.

In Harmony-FloatMenuMakerMap.cs we added a function that adds a stablize option to a pawn when right-clicked. Inside the function the source pawn's apparels are checked, whether it has a medic bag.
In JobDriver_Stabilize.cs also has code directly reference to the medic bag that needs to be changed. These are two starting point. You may come across other references that you need to change (then compile the source code to generate Rimworld-linkable computer code) in order to fully enable another apparel to function as the MedicBag.
Thanks a lot! Will try to look into it
< >
Showing 1-2 of 2 comments
Per page: 1530 50