Commit Graph

3008 Commits

Author SHA1 Message Date
Joonas Rikkonen
2ca299af10 (ab07307c5) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-10 13:27:49 +03:00
Joonas Rikkonen
593d99ec38 (df9b1966f) Added an option to disable directional voice chat. Closes #1414 2019-04-10 13:27:30 +03:00
Joonas Rikkonen
74da38bd10 (3315662d5) Implement optional required items (lol) and fix the doors. It's a bit confusing, but should work. 2019-04-10 13:26:56 +03:00
Joonas Rikkonen
f941a21ada (0bb76a38c) made doors repairable with wrench 2019-04-10 13:26:39 +03:00
Joonas Rikkonen
f01dd9f4c6 (8fa3d4cb0) New deterioration values (may I never have to do this again), fixed autodoors (way less doors and hatches closing on player) 2019-04-10 13:26:04 +03:00
Joonas Rikkonen
b86059e223 (2ca7e50c9) Rextured some backwalls for better readability, relit whole sub, new deterioration values (may I never have to do this again) 2019-04-10 13:25:45 +03:00
Joonas Rikkonen
d6f2f0885d (6419950d6) Relit sub, new deterioration values (may I never have to do this ever again), retextured some walls for easier readability. 2019-04-10 13:25:28 +03:00
Joonas Rikkonen
40d0a49958 (0946322ab) Fixed file transfer progress bars not being visible in NetLobbyScreen. Closes #1412 2019-04-10 13:25:10 +03:00
Joonas Rikkonen
ca5e11e859 (476b2ba9b) Don't allow deattaching items when another component of the item is selected (e.g. wiring interface), interrupt picking if the item is removed or moved to an inventory 2019-04-10 13:24:53 +03:00
Joonas Rikkonen
fa4d1caeed (552a3719d) Don't open a door by clicking "select", if the door has any required items (in which case we want to force open it by clicking "use"). 2019-04-10 13:24:36 +03:00
Joonas Rikkonen
c1c869b944 (321793927) Always show the outer clothes slot. Reordered the slots so that the most frequently used ones are closer to the "main" inventory. 2019-04-10 13:24:21 +03:00
Joonas Rikkonen
0f4c7c302f (41e8be463) Revert "Rewiring the door changes it's behavior. TODO: Might be better to implement as two separate type of doors?" (Now using two separate doors instead) 2019-04-10 13:23:31 +03:00
Joonas Rikkonen
e19cf09b71 (d4ff992c6) Updated doors in Berilia_ManualDoorTest 2019-04-10 13:23:14 +03:00
Joonas Rikkonen
fde99f5373 (586e37096) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-10 13:22:57 +03:00
Joonas Rikkonen
bd0c8a9d34 (818a83da1) Alternate door versions with integrated buttons 2019-04-10 13:22:39 +03:00
Joonas Rikkonen
842b6a2e34 (9619c01cd) Change the info text colors and cache the list. 2019-04-10 13:22:19 +03:00
Joonas Rikkonen
d7c88e3055 (f185bce97) Fix an indentation. 2019-04-10 13:22:02 +03:00
Joonas Rikkonen
5a7abc430c (5d7e5eb93) Rewiring the door changes it's behavior. TODO: Might be better to implement as two separate type of doors? 2019-04-10 13:21:45 +03:00
Joonas Rikkonen
25453018fc (3f015888d) Implement manual doors that can be opened simply by clicking on them. Add a test sub (not added in the project -> have to manually place in the local bin folder to test it). 2019-04-10 13:21:25 +03:00
Joonas Rikkonen
3093515600 (b419f4ca5) v0.8.9.10 2019-04-10 13:19:40 +03:00
Joonas Rikkonen
a8240379ac (a6437298b) Added LightComponent.IsOn to the SerializableProperties that can be accessed without reflection. 2019-04-08 23:12:22 +03:00
Joonas Rikkonen
443d199017 (cd7359bb3) StatusEffects can modify item sound and sight ranges (requires an AITarget) 2019-04-08 23:12:09 +03:00
Joonas Rikkonen
71128c27e6 (7764eef2d) CustomInterfaces can apply status effects when a button is pressed or depending on the state of a tickbox (OnUse when the tickbox is checked, OnSecondaryUse otherwise). 2019-04-08 23:11:56 +03:00
Joonas Rikkonen
3877c18d0c (c15419d90) Changelog additions + merge fix 2019-04-08 19:20:05 +03:00
Joonas Rikkonen
4811ec796f (50447ac17) Inventory syncing fixes. Could be related to #768. - When moving an item from an inventory to another, create the event for the target inventory first, then for the inventory the item is being removed from. Otherwise clients would first drop the item, and then put it in the container with the next event, which works most of the time, but if the second event is delayed enough that the item is not within the character's reach by the time it arrives, the client will be unable to put it in the container and the item will just be dropped. - Fixed item velocities not being reset when they're dropped from a character's inventory. I'm not exactly sure why, but sometimes they had very high downwards velocities (even though the body was previously inactive), which caused them to launch through floors and made the previous inventory syncing issue much worse (because a delay of just a couple of frames was enough to move the item out of the character's reach). 2019-04-08 19:18:04 +03:00
Joonas Rikkonen
71d546ff7f (f36b3a111) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-08 19:17:50 +03:00
Joonas Rikkonen
5a9b681c13 (8c99939f6) Fix bots dropping from ladders if there is a non-ladder node in the path (Especially on Typhon). The distance check was incorrect, but after correcting it, I decided that it probably causes more issues than it solves. If there is one node in the path that is not in the current ladder, but the node after that is, we can just follow the path to the node that is on the ladders. Remove an unnecessary IgnorePlatforms assignment. It's handled in the HumanAIController. 2019-04-08 19:17:35 +03:00
Joonas Rikkonen
eb6e919c66 (f832e24f5) Prevent bots jumping from too high. 2019-04-08 19:17:20 +03:00
Joonas Rikkonen
9a829206af (2c264b075) Improve readability (no functional changes). 2019-04-08 19:17:06 +03:00
Joonas Rikkonen
5876097da4 (4b07ea1ca) Removed unused method from HumanoidAnimController 2019-04-08 19:16:51 +03:00
Joonas Rikkonen
63971c90a9 (a9fbb0120) Disable controls when the pause menu or settings menu is open. Closes #1391 2019-04-08 19:16:37 +03:00
Joonas Rikkonen
e19bf22112 (9c93ed664) Fixed fabricators and deconstructors deteriorating when they're powered (not just when fabricating/deconstructing) something 2019-04-08 19:16:23 +03:00
Joonas Rikkonen
d482e6554d (276e03242) Reset Use and Select inputs when releasing the Shoot input to prevent accidentally selecting/using items 2019-04-08 19:16:09 +03:00
Joonas Rikkonen
5d5979c58b (a69e7b9c1) Moved delete button to the top of submarine list in submarine editor load window, to minimize accidental clicks 2019-04-08 19:15:54 +03:00
Joonas Rikkonen
d8b194d249 (91c5faef2) Item deterioration fixes 2019-04-08 19:15:41 +03:00
Joonas Rikkonen
35ee8dc883 (e1516fabb) Don't allow selecting railgun shell or depthcharge ItemContainers (can only be accessed when the item is in the inventory). Fixes characters getting locked to looking towards the shell/charge they're holding. 2019-04-08 16:00:08 +03:00
Joonas Rikkonen
4902de606b (5d9bdaea4) Deterioration values (timer, deterioration rate, whether the timer is currently running, item condition) are visible in debugdraw, fixed items that should only deteriorate for X seconds after being used deteriorating continuously 2019-04-08 15:59:53 +03:00
Joonas Rikkonen
28f2c00255 (02bbfb6a3) Let the ai objectives handle waiting (after switching characters). Currently only idle objective uses wait timer, others ignore it. Reduce the wait time from 20 to 10 secs. 2019-04-08 15:59:36 +03:00
Joonas Rikkonen
eaf8b1275d (f0be0bba0) Fixed inability to repair items when they'er not deteriorating (was caused by 9a14162) 2019-04-08 15:59:19 +03:00
Joonas Rikkonen
e124c593c7 (c9cd4d8f0) Fixed ducts in Berilia, added description 2019-04-08 15:59:05 +03:00
Joonas Rikkonen
a78f8546bd (539ce533b) Added Venture to the vanilla content package 2019-04-08 15:58:50 +03:00
Joonas Rikkonen
33b8c37933 (3cb6209cf) Show the "starting a round" popup to all clients when the server initiates a new round. Closes #1396 2019-04-08 13:37:27 +03:00
Joonas Rikkonen
24794932dc (b1ed113e0) Randomize map seed when opening the "new game" tab. Closes #1399 2019-04-08 13:37:12 +03:00
Joonas Rikkonen
9594ea67a7 (bf037f9b0) Don't allow deleting vanilla subs or subs that are a part of some content package 2019-04-08 13:36:58 +03:00
Joonas Rikkonen
1ffe3e4ec0 (6b95aa87e) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-08 13:36:44 +03:00
Joonas Rikkonen
2efcd200f5 (17490598f) Don't allow putting items into locked inventories by double-clicking (causes them to be dropped in multiplayer) 2019-04-08 13:36:30 +03:00
Joonas Rikkonen
10776572d2 (0eef99a8b) Don't change targets, wander or stay still in ladders. Don't stay still in water. Improve bot behavior in close spaces. 2019-04-08 13:36:16 +03:00
Joonas Rikkonen
9c07ebda53 (8311f9380) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-08 13:36:00 +03:00
Joonas Rikkonen
d28b04ed3b (30308f7e4) Fixed players being able to overwrite vanilla content when the vanilla package is not selected 2019-04-08 13:35:46 +03:00
Joonas Rikkonen
1f8b2325ed (5d487a390) Cleanup. 2019-04-08 13:35:32 +03:00