Consent Required
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«Consent Required» — материал мастерской Barotrauma. Моды, подлодки, предметы и новые задания для экипажа. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Causes the AI to become hostile towards you if you perform certain treatments on them without their consent.
This is originally an addon for Neurotrauma that triggers the AI's combat retaliation if you take their organs or blood without permission, and you are not on their team. It can now be easily extended to include other items too, which can be user specified (see Configuration below) or added by a sub-mod (see API/Sub-modding below).
This mod uses Lua and therefore must be used with Lua For Barotrauma.
Lua For Barotrauma made by Evil Factory et al: https://steamcommunity.com/workshop/filedetails/?id=2559634234.
Neurotrauma made by Mannatu et al: https://steamcommunity.com/sharedfiles/filedetails/?id=2776270649.
Configuration
If you would like to see what items are affected, and add more of your own, see file <Consent Required Mod Folder>/Lua/com/github/cintique/ConsentRequired/Config.lua.
API/Sub-modding
This mod has an API; see the file <Consent Required Mod Folder>/Lua/com/github/cintique/ConsentRequired/Api.lua. Here is an example of how to include the API and add an item to the list of affected items:
local Api = require "com.github.cintique.ConsentRequired.Api"
local myItemIdentifier = "badmedicine"
Api.AddAffectedItem(myItemIdentifier)
This code can be run at any time (but it is best to do it during initalisation), no need to worry about load order.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.