Barotrauma
Consent Required
27 comentarii
guns 21 oct. 2024 la 1:55 
As I and Ydrec found out the code is imitating CS language thus uses non-sandboxed functions in Lua.
guns 21 oct. 2024 la 1:53 
@Сол @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 la 2:53 
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 la 7:17 
agree, mod broken @RocketLobster
HK-47 25 iul. 2023 la 1:42 
?
HK-47 25 iul. 2023 la 1:41 
Any vanilla version of this but for players where they can't just grab you without you giving them the right to
RocketLobster 23 mart. 2023 la 18:17 
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  [autor] 21 ian. 2023 la 18:37 
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  [autor] 21 ian. 2023 la 18:37 
@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 ian. 2023 la 18:10 
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  [autor] 21 ian. 2023 la 4:53 
@ComorbidDisorder

Are you using Windows? It may be located in "%LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2783280188".
ComorbidDisorder 21 ian. 2023 la 0:08 
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 sept. 2022 la 8:48 
ooookay then
Jacobin  [autor] 17 sept. 2022 la 19:16 
No.
MasonMachineGuns 17 sept. 2022 la 7:02 
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  [autor] 17 sept. 2022 la 6:26 
Yeah that's fine, I don't mind if he integrates it.
MasonMachineGuns 17 sept. 2022 la 6:22 
I have talked to Mannatuu on your behalf and this mod may become an option in the configuration.
Jacobin  [autor] 5 aug. 2022 la 21:49 
@Xiivait I am not the author of the main mod, please contact them about your thoughts instead.
Xiivait 5 aug. 2022 la 5:32 
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 iun. 2022 la 19:36 
Just say yes.
Jacobin  [autor] 13 iun. 2022 la 1:32 
NullReferenceException crash may be fixed now
Jacobin  [autor] 29 mai 2022 la 20:17 
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 mai 2022 la 4:22 
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 la 10:24 
my organs now
they are
YellowKnight 27 mart. 2022 la 11:02 
You must...
Kameha 27 mart. 2022 la 6:57 
Yes.
Doodle-Dip 24 mart. 2022 la 6:40 
Organs you want?
Ask for consent, you must...