604fc65154901dc9b957a0c165df4aab5d826ad9
- Replaced item name comparisons with Prefab.NameMatches (-> item names can be changed without breaking the AIs). - Having an AIObjective set as the current order of the character doesn't automatically cause it to have a high priority. For example, the order to fix leaks has a low priority if there are no leaks to fix. - AIObjectiveFixLeaks makes sure the character is wearing a diving suit before going to fix a leak. The characters used to run in and out of flooded rooms because the AIObjectiveFindSafety objective would become active as soon as the character entered the room, causing the character to run out, and then immediately run back because they are no longer in immediate danger of drowning, making the FixLeaks objective the most high-priority one. - Characters attempt to find a room with no water in AIObjectiveIdle even if the character is wearing a diving suit. - AIObjectiveFindSafety considers flooded rooms dangerous even if the character is wearing a diving suit (-> the character attempts to go into a more dry room instead of happily idling in the flooded one). - Distance to a hull doesn't decrease its desirability nearly as much in AIObjectiveFindSafety (-> fixes characters not bothering to move into a non-flooded room if it's far away). - AIObjectiveOperateItem makes sure the item is equipped before using it (-> characters can't weld leaks with the welder in their inventory).
Barotrauma
Copyright © Undertow Games 2017
Before downloading the source code, please read the EULA.
Links:
Official Website: www.undertowgames.com/barotrauma
Forums: http://undertowgames.com/forum/
Wiki: http://barotrauma.gamepedia.com/Barotrauma_Wiki
Prerequisities:
- Visual Studio with C# 6.0 support (VS 2015 or later recommended)
- MonoGame 3.6
Description
Languages
C#
63.2%
C
26.8%
C++
5.9%
Shell
1.1%
Makefile
0.8%
Other
1.9%