Barotrauma
Consent Required
댓글 27
guns 2024년 10월 21일 오전 1시 55분 
As I and Ydrec found out the code is imitating CS language thus uses non-sandboxed functions in Lua.
guns 2024년 10월 21일 오전 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 2024년 8월 26일 오전 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:
Сол 2023년 11월 12일 오전 7시 17분 
agree, mod broken @RocketLobster
HK-47 2023년 7월 25일 오전 1시 42분 
?
HK-47 2023년 7월 25일 오전 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 2023년 3월 23일 오후 6시 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  [작성자] 2023년 1월 21일 오후 6시 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  [작성자] 2023년 1월 21일 오후 6시 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 2023년 1월 21일 오후 6시 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  [작성자] 2023년 1월 21일 오전 4시 53분 
@ComorbidDisorder

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