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日 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  [作成者] 2023年1月21日 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  [作成者] 2023年1月21日 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 2023年1月21日 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  [作成者] 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日 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 2022年9月18日 8時48分 
ooookay then
Jacobin  [作成者] 2022年9月17日 19時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日 21時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日 19時36分 
Just say yes.
Jacobin  [作成者] 2022年6月13日 1時32分 
NullReferenceException crash may be fixed now
Jacobin  [作成者] 2022年5月29日 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 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...