Commit Graph

30252 Commits

Author SHA1 Message Date
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
Pieter-Jan Briers
df798b3338 Update that mf submodule 2020-08-12 21:19:34 +02:00
Pieter-Jan Briers
e76003948b Remove this parameter from FloatMath.Clamp.
That was a stupid idea.
2020-08-12 21:19:34 +02:00
Pieter-Jan Briers
f182ff5613 Remove CannyFastMath. 2020-08-12 21:19:34 +02:00
Víctor Aguilera Puerto
3ca3b5e684 Update submodule. 2020-08-12 21:02:49 +02:00
DrSmugleaf
60163e85bf Fix restartround crash with the DoAfter system (#1658) 2020-08-12 20:44:18 +02:00
Víctor Aguilera Puerto
1fc941b3b3 Removes CannyFastMath usage from Atmos. 2020-08-12 19:37:07 +02:00
juliangiebel
f0e9729508 Merge branch 'master' of https://github.com/space-wizards/space-station-14 2020-08-12 18:27:35 +02:00
Acruid
cdc6ec3bfc Ranged weapon firing does not depend on DefaultGrid anymore. 2020-08-11 16:44:15 -07:00
Víctor Aguilera Puerto
32e4c24342 Adds atmos helpers, welding tool now lights up fires 2020-08-11 22:34:37 +02:00
DrSmugleaf
6fe95d635d Fix thrown items not going over tables (#1652) 2020-08-11 13:03:10 -07:00
metalgearsloth
b34bd7c188 AI preset curves and expandable optimisation (#1346)
* AI preset curves and expandable optimisation

Added preset curves for considerations to use just to avoid repeating the same variables all over the shop.

Moved common considerations for expanded actions onto the expandable action e.g. you need a free hand to be able to PickUpGloves so we'll just check it the once rather than for each action.

* FIX PRAGMA

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-08-11 22:01:55 +02:00
Julian Giebel
c00a08f504 Add disposal-charging state to disposal rsi (#1649)
Add charging state to UpdateVisualState in Content.Server/DisposalUnitComponent
2020-08-11 17:52:37 +02:00
Víctor Aguilera Puerto
2c9ca2f44d Removes AssumeAir from IGasMixtureHolder interface. 2020-08-11 17:42:16 +02:00
Exp
58371b60ab Fix Exception as non admin (#1646) 2020-08-11 17:38:14 +02:00
ShadowCommander
0d29b15ae0 Fix StackComponent not getting removed from containers when empty (#1645) 2020-08-11 17:38:00 +02:00
metalgearsloth
452a67032f Fix the pathfinding leak (#1647)
Off-grid entities were continually expanding the graph indefinitely which is... bad.

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-08-11 17:36:40 +02:00
juliangiebel
f65d0b98ad Merge branch 'master' of https://github.com/space-wizards/space-station-14 2020-08-11 14:49:51 +02:00
Víctor Aguilera Puerto
89fff7dab2 Add two new TurfHelpers 2020-08-11 03:45:40 +02:00
DrSmugleaf
5388bf0738 Add command to add underplating to all walls on a grid (#1644) 2020-08-11 03:13:41 +02:00
ike709
b1771ff27b oi you got a loicense for that mate? (#1643) 2020-08-11 02:39:49 +02:00
Swept
679fe8ad04 Removes USA and Soviet vending machines (#1641)
* Removes sprites

* Remove da machines
2020-08-11 01:56:17 +02:00
Julian Giebel
27bbb89fbf Add a check for construction ghosts beeing present to ConstructionSystem/SpawnGhost (#1642) 2020-08-11 01:55:18 +02:00
Swept
b7dbd74947 Adds Memory Leek (#1640)
* It is done

* Fixed attribution
2020-08-11 01:53:19 +02:00
Julian Giebel
7b0f8faf66 Merge pull request #1 from space-wizards/master
Pull changes from remote
2020-08-10 22:00:33 +02:00
DrSmugleaf
65f9a5fb3d Add total number of gases atmospherics test (#1639) 2020-08-10 20:17:18 +02:00