Commit Graph

2149 Commits

Author SHA1 Message Date
Joonas Rikkonen 7c9c3195bf Need to copypaste more carefully (e15fa11) 2018-04-25 20:58:11 +03:00
Joonas Rikkonen e15fa11d6e Fixed meds not being usable with a medical syringe. Closes #388 2018-04-25 16:39:12 +03:00
Joonas Rikkonen ed22ca360f Fixed AND/OR or components staying inactive until they receive their first signal. Closes #387 2018-04-25 14:43:44 +03:00
Joonas Rikkonen 8190358d2b v0.8.1.1 2018-04-24 22:21:16 +03:00
Joonas Rikkonen 87bfa89f80 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-24 22:19:33 +03:00
Joonas Rikkonen fdcd34fc12 v0.8.1.0 2018-04-24 22:19:21 +03:00
Joonas Rikkonen 88eabef8af Made characterusable default to false (as it did before 91d6c7b) 2018-04-24 20:58:42 +03:00
Joonas Rikkonen 8cf26e2d7f Fixed null reference exception if a statuseffect removes an item when a round is not running. Closes #385 2018-04-24 18:02:53 +03:00
Joonas Rikkonen 91d6c7b91f Fixed explosives being directly usable by characters, causing them to explode when left clicking while holding them due to 9dd9425c. See #385 2018-04-24 18:00:36 +03:00
Joonas Rikkonen 1f460c401e Readded oxygenite shard as containable to diving suit (accidentally removed in f2842c2) 2018-04-23 16:08:44 +03:00
Joonas Rikkonen 1d98df11a3 PropertyConditionals match if any of the targets match, junction boxes only take damage underwater when therey're powered up (because trying to fix all boxes in a flooded sub before they break again is pain in the ass) 2018-04-23 15:25:46 +03:00
Joonas Rikkonen f2842c265c Removed the need for batteries in diving suits, now the light stays on as long as the suit is worn by a living character. 2018-04-23 15:24:55 +03:00
Joonas Rikkonen eff5976461 PropertyConditional fixes:
- Fixed Equals/NotEquals not working at all because they checked for float values when the property is not a float and vice versa.
- Bool comparisons work now.
- Removed unnecessary property.GetValue calls, no need to get the value twice in the same method.
2018-04-23 15:19:40 +03:00
Joonas Rikkonen 6e666939a0 Wearables apply OnWearing StatusEffects in all the components of an item, not just the Wearable component. 2018-04-23 15:17:25 +03:00
Joonas Rikkonen c71315f4da Fixed StatusEffects of child ItemComponents not being added to an item's StatusEffect lists 2018-04-23 15:16:51 +03:00
Joonas Rikkonen ceaba2f5ca Fixed some entities occasionally not being removed at the end of a round. CargoMission removed the cargo items at the end of a round without checking if the items have already been removed, which could cause another entity to be removed from the entity dictionary if it's taken the ID of the cargo item. This prevented the new entity from being removed in Entity.RemoveAll, causing errors during the next round. Closes #278 2018-04-23 13:55:08 +03:00
Joonas Rikkonen e61dc5ae5f Option to log debug console output to a file. Closes #318 2018-04-20 20:11:01 +03:00
Joonas Rikkonen 177f31d538 Some more logging to help diagnose #278, a potential workaround to remove items/characters that Entity.RemoveAll failed to remove for some reason. 2018-04-20 16:50:10 +03:00
Joonas Rikkonen 395ca3c5c2 Removed debug code from PhysicsBody.ApplyLinearImpulse 2018-04-18 17:27:06 +03:00
Joonas Rikkonen c6f3d0c1b8 Attempt to fix characters occasionally getting launched out of the sub at lightspeed when the sub crashes into something (even if the impact doesn't appear to be that hard): impacts don't increase the velocity of the characters above 20 units/s. 2018-04-18 17:24:10 +03:00
Joonas Rikkonen eed7b72b4e Fixed player-controlled creatures being able to do damage to themselves and RepairTools causing damage to the user regardless of the user's skills. 2018-04-18 15:04:18 +03:00
Joonas Rikkonen edf5bacc89 Fixed EndRound music looping forever. Closes #334 2018-04-18 11:02:58 +03:00
Joonas Rikkonen 9a8f13140e Cherry-picked [ab78991]: Rendering tiled sprites with scaling works correctly now (I think?), added option to edit the offset of structure textures 2018-04-17 14:06:40 +03:00
Joonas Rikkonen 607acb6e8a Fixed wall sections being rendered incorrectly if texture scale is changed, fixed gaps between tiles due to the width/height of the tile being rounded down as a result of texture scaling 2018-04-10 22:28:14 +03:00
itchyOwl 22e2c8d8c2 Fix the gap and submarine position indicator icon position. 2018-04-09 18:11:27 +03:00
Joonas Rikkonen 8c4531188b Fixed scrollable area of GUIListBoxes not changing when children are hidden (e.g. when filtering messages in the server log), fixed new log messages appearing in the server log even if the type of message has been filtered out. 2018-04-09 17:31:03 +03:00
itchyOwl cc92341fae Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-09 16:16:23 +03:00
itchyOwl 7d31f0cdb6 Add a backing field with the default value Vector2.One for TextureScale. Clamp the values between 0.01 and 10 to keep them sensible. 2018-04-09 16:16:17 +03:00
Joonas Rikkonen 324b7f8edd Fixed background fish not being rendered, added scale parameter to bg fish and made them a little smaller and faster. Closes #362 2018-04-09 16:01:38 +03:00
Joonas Rikkonen 3abbfcbc23 Railguns cannot be fired without aiming. Closes #364 2018-04-09 15:22:42 +03:00
Joonas Rikkonen fe064b2170 Added a debug command for mirroring the main sub horizontally 2018-04-09 10:59:56 +03:00
itchyOwl c0dccc550e Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-04-09 09:55:07 +03:00
itchyOwl a34a024f58 Revert to the old tiling logic. Insert texture scale logic in between. Turn the silhouette code block into a separate method. 2018-04-09 09:54:26 +03:00
Joonas Rikkonen 2d39a68ecb Merge pull request #359 from Kampfkarren/patch-1
Make Captain's Jacket able to hold 5 things
2018-04-08 16:44:19 +03:00
boyned//Kampfkarren 9c610a1a82 Make Captain's Jacket able to hold 5 things
It's stupid that all jobs can hold stuff in their jumpsuits except Captain.
2018-04-07 22:09:02 -07:00
Joonas Rikkonen 465b848cb4 Fixed relay components ignoring signals to the toggle and set_state connections if the signal has been passed through other PowerTransfer components. Closes #355 2018-04-06 19:51:16 +03:00
itchyOwl 22c3af6af6 Enable editing of the texture scale of the structures. 2018-04-06 16:07:17 +03:00
itchyOwl 9fc65298e8 Reduce duplicate code in Sprite constructors. 2018-04-06 15:56:32 +03:00
itchyOwl 1d30cbfac7 Add a null check. Simplify. 2018-04-06 15:11:04 +03:00
itchyOwl 061c7d17f1 Clean up a bit. 2018-04-06 14:21:29 +03:00
itchyOwl b86b8cd377 Use a single method with optional parameters for drawing tiled textures. 2018-04-06 11:54:41 +03:00
itchyOwl e89fa0dc5c Add a todo note. 2018-04-06 11:51:52 +03:00
itchyOwl d7d69616e3 Simplify checks and casts, use pattern matching. Add a todo note. 2018-04-06 11:50:54 +03:00
Joonas Rikkonen 807ec87694 Fixed items in cloned/copypasted inventories not being saved. Closes #342 and #38 2018-04-05 13:45:21 +03:00
Joonas Rikkonen 3aeaae0595 Fixed RespawnManager not removing respawn items. Closes #234 2018-04-04 18:53:23 +03:00
Joonas Rikkonen 5731f8a522 Merge pull request #350 from extraneus/master
The preliminary assignments
2018-04-04 18:48:29 +03:00
Joonas Rikkonen 9dd9425caa Explosives, chemicals and medical items disappear when their condition falls to 0 (i.e. when they're fully used).
Railgun shells, detonators and depth charges also now "use" their contents instead of destroying them. (See #322)
2018-04-03 22:43:41 +03:00
itchyOwl b599206294 Add a GUI slider for setting the auto ban duration. Define the max auto ban length in the server settings. (Issue #128) 2018-03-27 11:29:36 +03:00
itchyOwl a48a4975ca Auto ban users that have been vote kicked. Define the auto ban time in the server settings. (Issue #128) NOTE: Not tested! 2018-03-27 11:27:57 +03:00
itchyOwl 3106efa023 Add "respawn" tag to the items that should persist in the Respawn Shuttle. Ignore the items with this tag when resetting the shuttle. (Issue #234) 2018-03-27 11:24:11 +03:00