Commit Graph

2627 Commits

Author SHA1 Message Date
Pieter-Jan Briers
2ba86c6476 More efficient prefs serialization over net messages. 2020-07-30 23:40:14 +02:00
Pieter-Jan Briers
a994f6389a NetSerializer string benchmarks. 2020-07-30 23:39:47 +02:00
Pieter-Jan Briers
fca7d8d81a Fix NUnit analyzer warnings in content. 2020-07-30 23:38:35 +02:00
Pieter-Jan Briers
681f1419c7 Remove some bad test cases.
Can't actually assign null to int so these test cases weren't getting ran.
2020-07-30 23:31:00 +02:00
Acruid
e8abe89820 Changes aghost spawning to use map position instead of local grid position. 2020-07-30 11:28:08 -07:00
Víctor Aguilera Puerto
6a948e6dad Update submodule 2020-07-30 13:49:12 +02:00
Swept
1ec90599fa Commit (#1541) 2020-07-30 03:22:26 +02:00
Acruid
a772b505ac IComponentManager API changes. 2020-07-29 15:49:44 -07:00
Exp
a7b2a1ad2f Fix welder making unwanted sounds (#1536)
* Fix Welding making sounds if not actually welded something

* Fix Sound Error

* -Hardcode bad
-Removed duplicate sound on suicide
2020-07-29 15:14:04 +02:00
DrSmugleaf
c1e328bf43 Fix casing on physics and collidable data fields (#1537) 2020-07-29 14:44:38 +02:00
Víctor Aguilera Puerto
2b1f498b0c Update submodule 2020-07-29 14:44:14 +02:00
py01
5cad9636b2 Wire coil yaml cleanup (#1526)
Co-authored-by: py01 <pyronetics01@gmail.com>
2020-07-29 14:29:05 +02:00
DrSmugleaf
e41a6e2589 Fix crash when pulling a potted plant (#1530)
* Fix crash when pulling a potted plant

* Fix being able to pull anchored entities
2020-07-29 14:11:24 +02:00
DrSmugleaf
e0f429c59b Fix being able to pull entities outside of your container (#1533) 2020-07-29 13:32:02 +02:00
Exp
3cd5d7ba3b Add Listening & Radio to IgnoredComponents (#1529) 2020-07-29 13:03:29 +02:00
Exp
01d7a92a2b No pointing at pointing arrows (#1527) 2020-07-29 12:36:31 +02:00
Víctor Aguilera Puerto
835940c4be Update the submodule.
Because apparently I can't drink my morning coffee without being pinged about it. Smh.
2020-07-29 12:24:54 +02:00
Pieter-Jan Briers
da0a4e4270 NetSerializer in-tree compat fixes. (#1524)
* NetSerializer in-tree compat fixes.

* Fix Actions
2020-07-29 00:20:29 -07:00
Moses
def1f70d2e Add security jumpsuits (#1495) 2020-07-29 02:11:58 +02:00
Bright0
86a6ac4a2b Adds Handheld Radio/Listener system (#1457)
* re-do of old PR that got fuckied upp

* simplify foreach as suggested

* pass distance to PassSpeechData for a check, remove GetListenRange()

* adds RadioQuery instead of subscribing/unsubscribing

* change SpreadMessage to accept owner rather than component

* change RadioQuery to EntityQuery

* remove declared EntityQuery (oops, didn't know what shadowcommander meant)

* refactor ListeningSystem & refactor added chat logic into listen sys

* IGNORE the oopsie STOP LOOKING
2020-07-28 15:13:39 -07:00
Acruid
b5667230c1 Construction Improvements (#1381)
* Actually set the tool interaction message to handled.
Remove the floating text explaining why deconstruction failed.

* Removed unused IServerNotifyManager dependency.
2020-07-28 15:11:11 -07:00
metalgearsloth
b7eef464f1 Crit state for xeno (#1521)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-28 15:56:08 +02:00
DrSmugleaf
a91a907fc5 Add slipping moving you forward a few tiles (#1520)
* Add slipping moving you forward

* Check for weightless and change decay to a multiplier

* Pragma moment
2020-07-28 15:53:51 +02:00
DrSmugleaf
00d5effcb8 Fix addhand command (#1519) 2020-07-28 15:38:23 +02:00
DrSmugleaf
c57b1c2914 Fix inhands not displaying (#1517) 2020-07-28 02:53:36 -07:00
Swept
1245823f6d first (#1498) 2020-07-27 23:46:43 -07:00
Swept
fe3637c1b0 Adds pullable component to multiple entities. (#1501)
* First Commit

* Hello

* Mop Bucket
2020-07-27 23:46:13 -07:00
SoulSloth
c579187673 Moved audio playing for melee to be before damage caculation (#1494) 2020-07-27 23:42:32 -07:00
py01
af1a824fcd ResistanceSet Yaml serialization (#1484)
* ResistanceSet serialization

* DefaultResistanceSet

* remove wall resistance

* ResistanceSet ExposeData fix

* Remove commented out code

Co-authored-by: py01 <pyronetics01@gmail.com>
2020-07-27 23:40:08 -07:00
DrSmugleaf
bd7079278e Move moving unbuckling to update to avoid an event bus concurrent modification exception (#1509) 2020-07-27 23:37:03 -07:00
DrSmugleaf
264062cd15 Fix error when pulling a buckled entity (#1510)
* Fix error when pulling a buckled entity

* Cache BuckledTo earlier in the code
2020-07-27 23:34:42 -07:00
py01
5e0ca8a85a Replaces obsolete PhysicsComponent usage in Power and Node (#1515)
* Node Physics replacement

* PowerReceiver Physics replacement

* wires are anchored

Co-authored-by: py01 <pyronetics01@gmail.com>
2020-07-27 23:34:01 -07:00
DrSmugleaf
e2b02c69c9 Add examine verb (#1508)
* Add examine verb

* Move examine verb to the client

* Remove unused imports
2020-07-27 23:33:38 -07:00
metalgearsloth
89e0925c32 Better AI reachable cleanup (#1507)
Haven't profiled so can't say if it definitely fixes the leak.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-27 16:11:07 +02:00
DrSmugleaf
0a82aba88e Add pulling (#1409)
* Initial framework for pulling.

* Make it possible to pull items via (temporary) keybind Ctrl+Click, make items follow the player correctly.

* Make other objects pullable, implement functionality for moving an object being pulled, make only one object able to be pulled at a time.

* Make sure that MoveTo won't allow collisions with the player

* Update everything to work with the new physics engine

* Update Content.Server/GameObjects/EntitySystems/Click/InteractionSystem.cs

Co-authored-by: ComicIronic <comicironic@gmail.com>

* Physics update and convert to direct type casts

* Add notnull checks

* Add pull keybinds to the tutorial window

* Move PullController to shared

* Fix pulled items getting left behind

* Fix moving pulled objects into walls

* Remove flooring of coordinates when moving pulled objects

* Add missing null check in PutInHand

* Change pulling keybind to control and throwing to alt

* Change PhysicsComponent references to IPhysicsComponent

* Add trying to pull a pulled entity disabling the pull

* Add pulled status effect

* Fix merge conflicts

* Merge fixes

* Make players pullable

* Fix being able to pull yourself

* Change pull moving to use a velocity

* Update pulled and pulling icons to not be buckle

A tragedy

* Make pulled and pulling icons more consistent

* Remove empty not pulled and not pulling images

* Pulled icon update

* Pulled icon update

* Add clicking pulling status effect to stop the pull

* Fix spacewalking when pulling

* Merge conflict fixes

* Add a pull verb

* Fix nullable error

* Add pulling through the entity drop down menu

Co-authored-by: Jackson Lewis <inquisitivepenguin@protonmail.com>
Co-authored-by: ComicIronic <comicironic@gmail.com>
2020-07-27 00:54:32 +02:00
Víctor Aguilera Puerto
b9e1f9283d Adds cursed lockers that teleport anything inside them to other lockers (#1493) 2020-07-26 20:49:41 +02:00
Pieter-Jan Briers
804f287ee3 Improve item slot hover.
1. Use a separate SpriteView for the hover entity to avoid any bookkeeping issues
2. don't set storagebutton visibility.
2020-07-26 17:57:48 +02:00
Swept
60a2a400e0 Clothing Cleanup | Phase 1 (#1459) 2020-07-26 17:33:43 +02:00
Pieter-Jan Briers
8767a80c41 Show entity UIDs in the right-click menu if F3 is enabled. (#1490) 2020-07-26 17:28:28 +02:00
Alex S
f44fb104f2 Set Handled for Deconstructing Items (#1483) 2020-07-26 14:30:28 +02:00
L.E.D
d3866a3372 Container light occlusion (#687)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-07-26 14:25:53 +02:00
Moses
8e08c64fcf Show if items can be placed in a slot when hovering (#1480)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2020-07-26 14:25:38 +02:00
Pieter-Jan Briers
bab1345b87 Update submodule 2020-07-26 14:10:20 +02:00
Pieter-Jan Briers
2bd318e83f Make clown clumsy. (#1481)
Co-authored-by: scuffedjays <yetanotherscuffed@gmail.com>
2020-07-26 14:08:09 +02:00
py01
fbbe43fff8 Powernet Recalculation simplification (#1427)
Co-authored-by: py01 <pyronetics01@gmail.com>
2020-07-26 12:14:03 +02:00
DrSmugleaf
96ec60adab Replace Houdini's magical piloting locker with buckle (#1336) 2020-07-26 12:12:53 +02:00
metalgearsloth
4e1597eeb3 Fix AI mem leak? (#1482)
Holy shit I'm dumb for missing that AGAIN.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-25 21:27:24 -07:00
Víctor Aguilera Puerto
452c6b67dd Update submodule. 2020-07-26 03:16:40 +02:00
ShadowCommander
dbfc030c5b Rename DetachHands to AttachToGridOrMap (#1436)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-07-26 01:43:40 +02:00
DrSmugleaf
4b4e83d2bf Add changing the amount of hands on the GUI depending on your body parts (#1406)
* Multiple hands in gui first pass

* Remove IHandsComponent interface

* Create hand class and more hand textures

* Refactor ServerHandsComponent to use a single list of hands

* Seal SharedHand

* Fix picked up items not showing on top of the hand buttons

* Remove HandsGui buttons and panels dictionaries

* Fix items in hands rendering

* Fix wrong hand container comparison

* Fix not updating the location of duplicate hands

* Change ClientHandsComponent to use a SortedList instead of a dictionary

* More merge conflict fixes

* Change SortedList to List

* Fix hand button order

* Add item tooltip for more than 2 hands and updating when removing hands

* Add add hand and remove hand command

* Merge conflict fixes

* Remove nullable reference type from ContainerSlot

* Fix texture errors

* Fix error when reaching 0 hands

* Fix error when swapping hands with no hands

* Merged remove hand methods

* Fix item panel texture errors

* Merge conflict fixes

* Fix addhand and removehand command descriptions

* Add properly displaying tooltips for 2 hands

* Make hand indexes and locations consistent across the client and server

* Add dropping held entity if a hand is removed

* Change hand location to be calculated by index

* Made different hand gui updates more consistent

* Remove human body yml testing changes

* Sanitize addhand and removehand commands

* Merge conflict fixes

* Remove testing changes

* Revert body system changes

* Add missing imports

* Remove obsolete hands parameter in yml files

* Fix broken import

* Fix startup error and adding and removing hands on the same tick

* Make hand container id use an uint

In case someone gets more than 2 billion hands

* Rename hand component files

* Make hands state use an array
2020-07-25 15:11:16 +02:00