Commit Graph

2627 Commits

Author SHA1 Message Date
Julian Giebel
beca711ddd Merge branch 'master' of https://github.com/space-wizards/space-station-14 2020-08-16 13:16:06 +02:00
Vince
745f028b89 Merge pull request #2 from space-wizards/master 2020-08-16 13:06:57 +02:00
Vince
b647ad0f42 Refactor UpdateKinematics() and fix a lot of Content warnings (#1709)
Most warnings were related to EntityQuery and IPhysicsComponent.
Partially fixes #1650 and fixes #1682
2020-08-15 20:38:35 -07:00
AJCM-git
8503ab157a Fixing a path (#1707) 2020-08-16 03:37:20 +02:00
Pieter-Jan Briers
93ebd95f8a Fix async issues with SpawnPlayer.
Fixes #1705
2020-08-16 02:22:10 +02:00
Pieter-Jan Briers
05cf8303e4 Make use of new WritableDirProvider APIs to improve file sharing and simplify code. 2020-08-16 01:12:30 +02:00
Pieter-Jan Briers
4d1538da1a Update submodule 2020-08-16 01:11:56 +02:00
Víctor Aguilera Puerto
a7fc2bccbd Fixes explosive depressurization and improves high pressure movements (#1683) 2020-08-15 22:43:55 +02:00
Víctor Aguilera Puerto
33baa73f06 Debug verbs aren't blocked by containers anymore. 2020-08-15 20:42:39 +02:00
DrSmugleaf
add4986001 Fix being able to do most verbs from within a container (#1613)
* Fix being able to do most verbs from within a container

* Fix missing container check when using global verbs
2020-08-15 20:38:37 +02:00
Exp
f37d6343ce Reset velocity after warp (#1680)
* Reset velocity after warp

* Rather than looping through the controllers manually, just call collidable.stop
2020-08-15 20:35:02 +02:00
ancientpower
bb781f4975 fixes ghosts not having a collidable component and adds a ghost collision flag (#1675)
Co-authored-by: ancientpower <ancientpowerer@gmail.com>
2020-08-15 20:34:25 +02:00
Víctor Aguilera Puerto
c3df108b27 Stripping (#1668)
* Start work on stripping.

* more strippable work

* Stripping works

* Nullable

* MORE NULLABLE

* nullable moment

* life is pain

* Interaction check.

* Update Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Client/GameObjects/Components/HUD/Inventory/StrippableBoundUserInterface.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/HandsComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/GameObjects/Components/GUI/SharedStrippableComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Server/GameObjects/Components/GUI/StrippableComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Rename InventoryComponent and HandsComponent's OnChanged event to OnItemChanged

* Apply suggestions from code review

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Use static EquipmentSlotDefines

* Do not expose ContainerSlot on Inventory or Hands.

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2020-08-15 20:33:42 +02:00
Víctor Aguilera Puerto
e047262289 Fix TileAtmosInfo pressure direction being east when created. 2020-08-15 17:16:55 +02:00
Víctor Aguilera Puerto
67fbdb96b3 Fix deconstructing walls creating an atmos void.
This caused a lot of high pressure movements.
2020-08-15 16:51:57 +02:00
Víctor Aguilera Puerto
898e278266 Fix some atmos tiles not being added correctly. 2020-08-15 16:20:31 +02:00
ShadowCommander
915631d51c Refactor collision to use hard instead of a workaround (#1677) 2020-08-15 16:07:09 +02:00
metalgearsloth
845f5af7d0 Fix do_after throwing on attaching to new entity (#1679)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-08-15 16:03:43 +02:00
Vince
c4c3469de5 Merge pull request #1 from space-wizards/master 2020-08-15 15:50:06 +02:00
Víctor Aguilera Puerto
f791719e31 Add damage cooldown to DamageOnHighSpeedImpactComponent. 2020-08-15 03:38:34 +02:00
Víctor Aguilera Puerto
ae1f55656e Fix pressure difference direction being incorrect. 2020-08-15 03:23:57 +02:00
Víctor Aguilera Puerto
02ba98b7cf Update submodule 2020-08-15 03:20:36 +02:00
Víctor Aguilera Puerto
fd40c5157b Pressure movements won't affect entities in containers. Use GetCardinalDirection. 2020-08-15 03:20:25 +02:00
Pieter-Jan Briers
580e14207b Update submodule 2020-08-15 00:33:33 +02:00
Pieter-Jan Briers
f598c6e8c6 Make package_release_build.py include PDBs if available. 2020-08-15 00:33:20 +02:00
Víctor Aguilera Puerto
b2709733a5 Revert "Welders now use EntityQuery to update instead of subscriptions."
This reverts commit a815b50f6d and fixes the issue properly.
2020-08-15 00:12:30 +02:00
Víctor Aguilera Puerto
a815b50f6d Welders now use EntityQuery to update instead of subscriptions. 2020-08-15 00:02:17 +02:00
Víctor Aguilera Puerto
2dc4bbd604 Fix welder updating when deleted 2020-08-14 23:54:50 +02:00
Víctor Aguilera Puerto
7cd32fe587 Fix sandbox panel "ghost" button oversight.
Now defaults to ghost if you don't have aghost perms.
2020-08-14 21:55:39 +02:00
Swept
541ba64c80 More sandbox buttons for fun and pleasure (#1599)
* Aghost Button

* Toggle Lights Button (Shitcode)

* Suicide Button

* Toggle Subfloor Button

* Changed the X icon for windows to be slimmer

* ToggleLights and ToggleSubfloor are no longer shitcode!

* Refactors SandboxWindows.cs

* Added Shows Spawns Button

* Fix

* Show Bounding Boxes Button

* I guess this helps somewhat?

* Nested SandboxWindow.cs inside of SandboxManager.cs for simplicity

* Fixes

* I forgot what I added

* Removed CSI console... for now

* Fix build

Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
2020-08-14 18:09:58 +02:00
Víctor Aguilera Puerto
4ebd7e0dbc Welder now exposes temperature to hotspot every update. 2020-08-14 18:03:52 +02:00
Víctor Aguilera Puerto
8ffd2b411e Make sign names consistent. 2020-08-14 16:50:11 +02:00
Víctor Aguilera Puerto
ff891f106a Interaction outline for base sign. 2020-08-14 16:12:08 +02:00
Víctor Aguilera Puerto
8f1a74dcd1 Fix integration tests failing. 2020-08-14 16:10:19 +02:00
ancientpower
9ffc134f75 Fixes overlays not clearing when using the ghost command (#1669)
* fixes overlays not clearing when ghosting

* fix gonflicts???

* actually fixes gonflicts

Co-authored-by: ancientpower <ancientpowerer@gmail.com>
2020-08-14 15:13:32 +02:00
Swept
47c32a1c6f Signs and plaques! (#1637)
* I think this is a good selection of signs

* Added the rest of the directional signs

* Map Changes

* Fixed phoron plaque

* PROPERLY maps the map :))

* there

* Added a couple more signs

* a TON of little map changes

* Parents

* Why doesn't this work

* Ok Hugal

* Add description and add original atmos plaque

Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
2020-08-14 14:53:02 +02:00
Víctor Aguilera Puerto
0d4ae469e3 Optimizes EqualizePressureInZone to use ArrayPool 2020-08-14 13:17:27 +02:00
metalgearsloth
5962280d36 Station events (#1518)
* Station event system

Adds 2 basic events: (Power) GridCheck and RadiationStorm (based on the goonstation version).
The system itself to choose events is based on tgstation's implementation.
This also adds the event command that can be run to force specific events.

There's still some other TODO items for these to be complete, to my knowledge:
1. There's no worldspace DrawCircle method (though the radstorm could look a lot nicer with a shader).
2. The PlayGlobal power_off / power_on audio seems to cut out halfway-through
3. (I think this is a known issue) lights still emit light until you get closer in a gridcheck so PVS range might need bumping.

* Invariants for event names

* Fix random event shutdown

* Mix stereo announcements to mono

* Address feedback

* Remove redundant client system and use the overlay component instead
* Drop the server prefix

* Fix radiation overlay enum

* use entityquery instead

* zum's feedback

* Use EntityQuery

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-08-13 22:52:17 +02:00
juliangiebel
a85dacf2a7 Merge branch 'bug/anchoring-reagent-dispenser' of https://github.com/juliangiebel/space-station-14 into bug/anchoring-reagent-dispenser 2020-08-13 20:18:15 +02:00
juliangiebel
781faae98a Set interaction priority of PlacableSurfaceComponent to 1 2020-08-13 20:14:07 +02:00
ike709
83a7dfebef Improves the RCD (#1609)
* Improves the RCD

* oops

* Unnecessary

* Merge 2 checks

* RCD whitelist and reorganization

* Makes the RCD great again

* Ignored components

* loicense

* Fix missing using
2020-08-13 19:39:23 +02:00
DrSmugleaf
4a8ed41e3a Fix namespaces and optimize imports (#1651)
* Fix namespaces and optimize imports

* Cleanup fixes

* Merge conflict fixes

* Merge conflict fixes

* Merge conflict fixes
2020-08-13 14:40:27 +02:00
metalgearsloth
05a76d55f7 Vending machine uplift (#1549)
* Let there be (vending machine) light

Cut up vending machines to have unshaded layers.
I scripted the cutting up so there might need to be minor tweaks to some of them.
Added the eris vending machine sound (I liked it more than tg's, fight me).

* Tweak sound reduction

* Mark vending as abstract

Appearance is done on each vending based on what sprite states they have (at the moment) and the vendingmachine shouldn't be spawned on its own anyway.

* Add screen layer back in

* Unstuff what was stuffed

* Removed the Soviet and USA vending machines

* Added proper licensing

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
Co-authored-by: Swept <jamesurquhartwebb@gmail.com>
2020-08-13 14:39:23 +02:00
Víctor Aguilera Puerto
ca68fbe818 Add heat conduction (#1653) 2020-08-13 14:18:26 +02:00
metalgearsloth
619386a04a Server EntitySystem cleanup (#1617)
* Server EntitySystem cleanup

I went after low-hanging fruit systems.

* Add / change to internal access modifiers to systems
* Use EntityQuery to get components instead
* Add sealed modifier to systems
* Remove unused imports
* Add jetbrains annotation for unused classes
* Removed some pragmas for dependencies

This should also fix a decent chunk of the server build warnings, at least the ones that matter.

* Also disposals

* Update Content.Server/GameObjects/EntitySystems/GravitySystem.cs

* Fix build

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-08-13 14:17:12 +02:00
ShadowCommander
f4bf71edfe Fix collision masks and layers (#1654)
* Fix bullets getting stopped by tables

* Fix collision masks
2020-08-13 13:58:28 +02:00
DrSmugleaf
fee5ae05bc Add more atmos helpers (#1661) 2020-08-13 13:51:57 +02:00
Julian Giebel
a41e2d1002 Fix typos in doc comment 2020-08-13 09:54:27 +02:00
juliangiebel
3b894c7de4 Add higher interaction priority to 2020-08-12 23:41:09 +02:00
juliangiebel
ba058ccbdd Add priority sorting to InteractUsing 2020-08-12 23:01:30 +02:00