Barotrauma

Barotrauma

Consent Required
27 Comments
guns 21 Oct, 2024 @ 1:55am 
As I and Ydrec found out the code is imitating CS language thus uses non-sandboxed functions in Lua.
guns 21 Oct, 2024 @ 1:53am 
@Сол @RocketLobster Enable CS scripting in your Lua settings (client-side Lua install). It doesn’t say it is needed on description, but it only works with CS scripting.
guns 26 Aug, 2024 @ 2:53am 
Awesome mod, I added it to the neurotrauma fork and changed it to reduce faction rep a bit less and ignore concent on those transport and objective NPCs since this mod makes them aggressive if you try to heal them.:SBpenguin:
Сол 12 Nov, 2023 @ 7:17am 
agree, mod broken @RocketLobster
HK-47 25 Jul, 2023 @ 1:42am 
?
HK-47 25 Jul, 2023 @ 1:41am 
Any vanilla version of this but for players where they can't just grab you without you giving them the right to
RocketLobster 23 Mar, 2023 @ 6:17pm 
Hey just curious will there be an update for this mod for 1.0? It still works with Neurotrauma but from what I've noticed adding morphine (antidama1), fentanyl (antidama2), or opium to the affected items config doesn't change anything. As in bots won't call for help from security and then you can continue taking organs without any restrictions
Jacobin  [author] 21 Jan, 2023 @ 6:37pm 
Find the item identifiers for the stuff you want to add (for morphine I believe it is "antidama1", for opium it is "opium"), and add to the list with each identifier inside double quotes and a comma at the end of each line:

[code]
AffectedItems = {
-- ....
"organscalpel_eyes", -- Organ procurement scalpel: eyes
"antidama1",
"opium",
}
[/code]
Jacobin  [author] 21 Jan, 2023 @ 6:37pm 
@ComorbidDisorder

Navigate to <Consent Required Mod Folder>/Lua/com/github/cintique/ConsentRequired/Config.lua and you will find this:

[code]
AffectedItems = {
-- Neurotrauma
"surgerysaw", -- Surgical saw (amputations)
"organscalpel_liver", -- Organ procurement scalpel: liver
"organscalpel_lungs", -- Organ procurement scalpel: lungs
"organscalpel_kidneys", -- Organ procurement scalpel: kidneys
"organscalpel_heart", -- Organ procurement scalpel: heart
"organscalpel_brain", -- Organ procurement scalpel: brain
"emptybloodpack", -- Empty blood bag (takes blood)
-- NeuroEyes
"organscalpel_eyes", -- Organ procurement scalpel: eyes
}
[/code]
ComorbidDisorder 21 Jan, 2023 @ 6:10pm 
That was exactly what I needed, but now I'm wondering what I need to type to add Morphine and the normal Scalpel to the list. I especially want to add morphine since you can bypass their consent by giving them morphine first.
Jacobin  [author] 21 Jan, 2023 @ 4:53am 
@ComorbidDisorder

Are you using Windows? It may be located in "%LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2783280188".
ComorbidDisorder 21 Jan, 2023 @ 12:08am 
Sorry if this is a dumb question, but how to I find the config file for this mod? I've tried searching the Barotrauma folder, I've even tried just searching my entire PC and the file is nowhere to be found.
MasonMachineGuns 18 Sep, 2022 @ 8:48am 
ooookay then
Jacobin  [author] 17 Sep, 2022 @ 7:16pm 
No.
MasonMachineGuns 17 Sep, 2022 @ 7:02am 
genuinely this is a no brainer for a mod like neurotrauma, if youre good at AI and stuff please get in touch with him and help him fix up the AI. Im bribing you with steam points
Jacobin  [author] 17 Sep, 2022 @ 6:26am 
Yeah that's fine, I don't mind if he integrates it.
MasonMachineGuns 17 Sep, 2022 @ 6:22am 
I have talked to Mannatuu on your behalf and this mod may become an option in the configuration.
Jacobin  [author] 5 Aug, 2022 @ 9:49pm 
@Xiivait I am not the author of the main mod, please contact them about your thoughts instead.
Xiivait 5 Aug, 2022 @ 5:32am 
Please consider adding your fix to the main mod (unless you're looking for Steam points).
The fewer mods the better, otherwise people are hesitant to join (and since we are not English, it is more difficult to find people because Barotrauma is not very popular yet)
Anyway, thank you very much for the mod.
Guide Dog 17 Jun, 2022 @ 7:36pm 
Just say yes.
Jacobin  [author] 13 Jun, 2022 @ 1:32am 
NullReferenceException crash may be fixed now
Jacobin  [author] 29 May, 2022 @ 8:17pm 
I'll revert to the last version. I don't know how to fix this NRE issue with Lua only and not hijacking converters (which would break other mods e.g. Neurotrauma), so for the meantime there will be the occasional crash if you try giving certain treatments to an NPC you've offended (so avoid using medicine on them I guess, Neurotrauma stuff may still work because they don't rely heavily on StatusEffects).
Acetylsalicylic Acid 29 May, 2022 @ 4:22am 
The recent update has caused Neurotrauma to cause errors.
Afflictions fail to update in time and server occasionally freezes and turns all NPC's & Players invisible. Also gives the lualess affliction when server freezes.
I can provide error.
[SV LUA ERROR] C:/Users/[REDACTED]/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2776270649/Lua/Scripts/ondamaged.lua:(20,4-59): bad argument #1 to '!!next_i!!' (table expected, got userdata).

Disabling your mod caused the error to disappear and afflictions update in time.
Hara 23 Apr, 2022 @ 10:24am 
my organs now
they are
YellowKnight 27 Mar, 2022 @ 11:02am 
You must...
Kameha 27 Mar, 2022 @ 6:57am 
Yes.
Doodle-Dip 24 Mar, 2022 @ 6:40am 
Organs you want?
Ask for consent, you must...