RimWorld

RimWorld

Not enough ratings
AWA Addon: Automatic Surgeries
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
424.833 KB
24 May @ 5:19am
15 Sep @ 1:12pm
12 Change Notes ( view )

Subscribe to download
AWA Addon: Automatic Surgeries

In 1 collection by Lomzie
Automatic Work Assignments + Addons
2 items
Description
This is a small addon mod to my Automatic Work Assignments mod, that adds features for automatically performing surgeries on pawns. This was split into its own seperate mod, as I felt this feature would be outside the scope of the main mod.

The central feature of this mod is the new "Add bill" on assignment task, that, well adds a surgery bill to the pawn. This can used to automatically augment your pawns with bionics or implants, or automatically replace missing limbs. Should work with most surgeries, but let me know in the comments if something seems to be wrong.

You do not need to actually use the work automation features, in order to automate surgeries. Work specifications without work are perfectly valid, and are useful for automating things such as schedules, policies, and of course surgeries.

The "Add bill" task tries to avoid adding bills that cannot be completed, such as if it cannot be performed on the pawn or if materials are missing. It will also only assign the amount of surgeries you have available parts for. This is imperfect though, but in my testing it works well enough for bionics at least.

This mod also adds a couple of new fitness functions and conditions, particularily useful to check the health of pawns and their parts.

It should go without saying that surgeries can still fail, and your pawns may die by an automated surgery just as with a regular surgery. I've added a "Any pawn" condition to the main mod that should allow you to only perform automated surgeries if you have skilled enough medics.

Adding valid bills to pawns is a fairly complicated process to automate, and some bills might fail to work. Let me know if you have any issues and I'll look into fixing it.

This mod is freshly released and may contain bugs, let me know if you come across anything that doesn't seem to work right.
48 Comments
Lomzie  [author] 15 hours ago 
Truly a RimWorld moment. If the operations to do this are surgery bills, then it might be possible, at least the ovum extraction. I'm not sure how well it would handle the implantation though, but do let me know if you test it.
nicvampire 15 hours ago 
I know this is a bit fucked up even for rimworld, but can you use this to automatically extract ovums and automatically use the fertilised ones to impregnate female prisoners?
Lomzie  [author] 29 Sep @ 4:11am 
Unfortunately, surgeries for non-colonist pawns such as animals or mechs is not something you can do, and it's not something I expect to ever support. This might change in the future, but don't count on it.
Skelebone 28 Sep @ 5:57pm 
Excuse me, is this mod capable of assigning surgeries to animals and mechanoids? My problem is that I want to create standardized bills for augmenting entire squads of animals and upgraded mechanoids. The mechanoid upgrade mod I'm using is based off of the surgery system (Mechanoid Modifications).

Adding this kind of functionality to animals and mechanoids would be absolutely extravagant. If I can already do this, I haven't been able to figure out how yet. Is this a feature...? If not, would it be possible to convince you to look into that in the future?

Regardless, even if I still have to do my animals and mechanoid mass-upgrades manually, I'm very pleased I can augment my regular supersoldiers en-masse easily now. Thank you!!

P.S. If anybody has a solution for copy-pasting mass surgeries for mechanoids and animals besides this mod, please elucidate me.
Lomzie  [author] 15 Sep @ 1:32pm 
Just a small notification to users of this mod. Recent additions to the main mod allows you to include prisoners when resolving work. This can be done using the "Exclude Pawns" button, third button from the left, bottom left corner.

This should allow you to automate surgeries on prisoners, which has been a commonly requested feature. You can add a Specialist work spec with the new "is prisoner" condition to exclude prisoners from being assigned to work they cannot do further down the list.
Lomzie  [author] 15 Aug @ 4:09am 
@stoiccalm This should be possible by having the "is slave" condition and an "add bill" task with the hemogen extraction surgery. You might also want to check that the slaves does not suffer from blood loss.
stoiccalm 15 Aug @ 3:57am 
Hi,

Can I use this to tell my people to hemofarm my vampires slaves rather than just prisoners? So far I've just been able to automatically have somebody come and conduct the surgery I order manually which isn't what I want. Thanks for the mod and appreciate any assistance. :)
ExoticButts 5 Aug @ 10:20am 
@Lomzie All good, I'll keep up the search. Thanks for the quick reply!
Lomzie  [author] 5 Aug @ 10:14am 
@ExoticButts
Unfortunately this is not something I currently intend or expect to support any time soon.

@BOT Derek
To help with the lists, the Searchable Menus mod might be of use to you. As to auto-implanting xenogerms, I like the idea and will add it to my TODO.
BOT Derek 5 Aug @ 7:28am 
Great mod. Just want to add a couple of feature requests:

1) findable list when you open the add bill button since there’s so many bills with mods
2) auto implant xenogerms and let you select with one from your saved list of xenogerm templates