Ludeon Forums

RimWorld => Mods => Topic started by: Festen on July 29, 2019, 09:51:02 AM

Title: [Mod request] Drug to remove anesthetic status
Post by: Festen on July 29, 2019, 09:51:02 AM
hello could someone create a mod that would add to the game a drug that once administered to an anesthesied patient will make in wake up immediatly ?

Of course, I would prefer if the drug in question could potentially have a dangerous side effect like a 20% chance of causing organ failure, brain damage or even death.

Thanks in advance
Title: Re: [Mod request] Drug to remove anesthetic status
Post by: kwangiskhan on July 30, 2019, 10:03:15 AM
Sure I'll give it a whirl it'll be kinda simplistic though. Are you sure you want it 20% or do you want it to be editable via XML?
Title: Re: [Mod request] Drug to remove anesthetic status
Post by: Hjkma on July 30, 2019, 10:41:50 AM
https://steamcommunity.com/sharedfiles/filedetails/?id=1819639144&searchtext=
Title: Re: [Mod request] Drug to remove anesthetic status
Post by: Festen on July 30, 2019, 11:31:01 AM
Quote from: kwangiskhan on July 30, 2019, 10:03:15 AM
Sure I'll give it a whirl it'll be kinda simplistic though. Are you sure you want it 20% or do you want it to be editable via XML?

It was just a suggestion, but if it can be editable the better.

Tnaks a lot
Title: Re: [Mod request] Drug to remove anesthetic status
Post by: kwangiskhan on July 30, 2019, 06:08:26 PM
Alright here you go!

https://github.com/kwang4/Ritalin-Anti-Anesthetic (https://github.com/kwang4/Ritalin-Anti-Anesthetic)
I included the source if you want to tinker with it. Important note, in the XML there is <damageChance>0.2</damageChance>
<deathChance>0.2</deathChance>

There are your chances, damage causes Chemical Brain damage, death kills through overdose.
Feel free to reply if you have any questions!