Commit Graph

36638 Commits

Author SHA1 Message Date
Pieter-Jan Briers a2920d07dd
Optimize ContainerSlot 2020-07-10 21:00:05 +02:00
metalgearsloth a77f219515
Minor A* optimisations (#1335)
* Add some extra comments
* Remove the redundant closedTiles variable
* Rename some variables to better match the common naming schemes

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-10 20:30:33 +02:00
ike709 405a610009
Replaces the bathroom with a hydroponics room (#1318) 2020-07-10 17:28:06 +02:00
metalgearsloth 2e6661e885
Fix AI shutting storage crash (#1344)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-10 17:27:36 +02:00
ike709 915fffb635
Latejoin Job Selection (#1284)
* UI version 1

* Latejoining

* cleanup

* missed a line

* Various fixes

* comment
2020-07-10 15:27:55 +02:00
tentekal 4a772c9e59
Added a check to ensure the door will not change state to 'closed' or 'deny' if a player without access touches a door opened by a user with access. (#1341) 2020-07-10 15:12:34 +02:00
metalgearsloth 13e3dc7a70
Fix mob panel debug (#1334)
The panel was staying when an individual part was toggled. I also removed some other redundant code.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-10 14:18:21 +02:00
DrSmugleaf 257189141e
Add missing ignored components for the client (#1337)
* Fix client unknown component errors

* Update Content.Client/IgnoredComponents.cs

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-07-10 13:56:39 +02:00
Víctor Aguilera Puerto 8785371563 Makes weapons use GridCoordinates and default to MapCoordinates if grid is invalid 2020-07-10 01:53:36 +02:00
Víctor Aguilera Puerto e54e708cf2 Makes weapons use MapCoordinates instead of GridCoordinates. 2020-07-10 01:19:09 +02:00
Víctor Aguilera Puerto 73f4dba2f6 Fix slippery items not allowing airlocks to close 2020-07-09 17:22:46 +02:00
Víctor Aguilera Puerto 626c8c51a1
Adds slippery items (#1321)
* Start work on Slippery Component

* Slips work

* Add banana peel

* Add required slip speed

* Add slip sound

* Adds soap

* Make soapnt, soapsyndie and soapdeluxe inherit soap

* Adds homemade soap and omega soap

* Fix slipping not taking into account the entity being in a container
2020-07-09 17:00:37 +02:00
metalgearsloth 8938d96402
Fix AI avoiding entities they can't collide with (#1331)
Should stop mobs getting trapped at the bar on saltern as they try to avoid light bulbs

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-09 14:15:48 +02:00
Víctor Aguilera Puerto 9256ff50d0
Merge pull request #1330 from DrSmugleaf/locker-drop-outside-1312
Fix dropping an item inside a locker placing it outside
2020-07-09 13:11:33 +02:00
DrSmugleaf 749a46de20 Fix dropping an item inside a locker placing it outside 2020-07-09 12:35:18 +02:00
ShadowCommander 71f9e7aad2
Fix bag of holding sprite (#1328) 2020-07-08 21:05:50 -07:00
Víctor Aguilera Puerto 6f9736c381
Merge pull request #1323 from DrSmugleaf/thrown-entity-deletion-crash-1286
Fix thrown entity deletion crash
2020-07-09 00:16:43 +02:00
Víctor Aguilera Puerto 7ae114f92c
Merge pull request #1263 from DrSmugleaf/buckle-locker-fix-1262
Fix buckle in general
2020-07-09 00:15:28 +02:00
Víctor Aguilera Puerto b0895a4213
Fix AI steering spamming console (#1322) 2020-07-09 00:15:05 +02:00
Pieter-Jan Briers 023fd60054
Fix throwing in space. 2020-07-08 18:29:13 +02:00
DrSmugleaf 1d7928101b Fix change that was lost in disposals translation 2020-07-08 16:44:56 +02:00
DrSmugleaf dc979f87c2 Remove unused using 2020-07-08 16:43:40 +02:00
DrSmugleaf ecb0448250 Fix thrown entity deletion crash 2020-07-08 16:39:05 +02:00
Metal Gear Sloth 62302bfb23 Use named tuples
Thanks remie
2020-07-09 00:16:57 +10:00
DrSmugleaf 066af63323 Fix not being able to buckle into an entity that is in the same container as you 2020-07-08 16:10:46 +02:00
metalgearsloth b4adfbc15a
Update Content.Server/GameObjects/EntitySystems/AI/Steering/AiSteeringSystem.cs
Co-authored-by: Remie Richards <remierichards@gmail.com>
2020-07-09 00:03:48 +10:00
DrSmugleaf 4ec733577f Fix "You can't reach there!" message being created twice 2020-07-08 16:00:04 +02:00
Metal Gear Sloth 8678d867cf Fix AI steering spamming console
Turns out you shouldn't cancel pending jobs.
2020-07-08 23:44:47 +10:00
DrSmugleaf fb51aecfbf Clean up if check 2020-07-08 15:37:18 +02:00
DrSmugleaf e1f9033a69 Merge branch 'master' into buckle-locker-fix-1262 2020-07-08 15:35:20 +02:00
Víctor Aguilera Puerto e815de7563
Fix pathfinding for entity deletions (#1316)
* Fix pathfinding entity deletions

Also some slight optimisations in the process.

* Remove redundant method

Not used anymore.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-08 15:31:28 +02:00
DrSmugleaf f5a9f91de4 Fix not staying buckled to a strap when both the buckled and the strap go into the same container 2020-07-08 15:30:48 +02:00
Víctor Aguilera Puerto 7e2f13dbe1 Update submodule 2020-07-08 15:30:22 +02:00
DrSmugleaf 8f9af88bb2 Add unbuckling the entity if put into a container 2020-07-08 14:45:25 +02:00
AJCM-git 1fbd32c9d9
Misc path fixes (#1319)
* fixing wall girder sprite

* fixing lathe
2020-07-08 13:58:21 +02:00
DrSmugleaf d20e4969e2
Add light to lit welders (#1282)
* Add light to lit welders

* Fix null errors

* Make the welder light orange
2020-07-08 13:41:32 +02:00
DrSmugleaf 770d4e72e7 Add 0.25 second delay to unbuckling after recently buckling and more summaries 2020-07-08 13:22:14 +02:00
Metal Gear Sloth facaee0cab Remove redundant method
Not used anymore.
2020-07-08 21:12:23 +10:00
Metal Gear Sloth ae1c578e8e Fix pathfinding entity deletions
Also some slight optimisations in the process.
2020-07-08 21:05:27 +10:00
DrSmugleaf f9a948ace3 Fix wrong buckle status effect icon texture path 2020-07-08 13:02:38 +02:00
DrSmugleaf 39b650da38 Fix "You're already buckled in" not appearing if trying to buckle while already buckled 2020-07-08 13:01:08 +02:00
DrSmugleaf da4b55814a Fix halved buckle range not applying, add range property to strap 2020-07-08 12:54:00 +02:00
ike709 2d2385032a
Admin chat (#1287)
* Admin chat

* Change it to show username, not character name

* moves the thing

* Removes SenderEntity
2020-07-08 12:18:16 +02:00
bhespiritu df395b9435
Fixed Welding Tool Not Updating (#1314)
* Fix Welding Tool Not Updating

- Added in the ISolutionChange interface so that it dirties the entity any time the amount of welding fuel changes. This applies whether it's lit or unlit.
- I also removed some redundant code.

* Update Content.Server/GameObjects/Components/Interactable/WelderComponent.cs

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-07-08 11:46:54 +02:00
Pieter-Jan Briers 4721fd2035
The fix was inside us all along. 2020-07-08 02:59:07 +02:00
Pieter-Jan Briers 5d0b86c659
Hide transfer verbs when right clicking reagent container in active hand.
Fixes #1313
2020-07-08 02:54:54 +02:00
metalgearsloth 1d96adcc2c
Add Breadth-First Search pathfinder (#1283)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-08 01:41:41 +02:00
DrSmugleaf e7d756811e
Replace CanBeNull annotations with nullable reference types (#1270)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-07-08 01:41:20 +02:00
metalgearsloth 5aefae184c
Refactor AI considerations (#1278)
Considerations are now instantiated under a manager and re-used between entities where they pass in their blackboard to get a score back.
Also makes the API a bit nicer to use.
Also some random cleanup.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-08 01:37:35 +02:00
Pieter-Jan Briers c25c1e1094
Probably fix moonwalking? 2020-07-08 01:31:07 +02:00