Commit Graph

3494 Commits

Author SHA1 Message Date
Leon Friedrich b1e719c70d
Remove IUse (#7074) 2022-03-12 23:33:23 +11:00
Moony f5f3e65e1d
Implement Intrinsic UIs (#6926)
* Implement Intrinsic UIs, allowing the admin ghost to double as a computer.

* ignore moment

* remove debug statement, sort the actions.

* ffs

* didn't ever use this and don't need to, removed.

* rm dead code

* lil bit of commenting.
2022-03-10 23:37:35 -06:00
metalgearsloth 6bf24e748b
Revert "Predicted footstep sounds" (#7068) 2022-03-11 14:56:43 +11:00
metalgearsloth f1e6a352a8
Predicted footstep sounds (#7060) 2022-03-11 12:48:03 +11:00
Moony 12b682ee4d
Tile variants content (#6956) 2022-03-09 20:59:44 +01:00
Leon Friedrich 0f435f31c8
Predict general interactions. (#6856) 2022-03-09 18:12:17 +11:00
Leon Friedrich 17132385d4
Make combat check CanInteract (#7046) 2022-03-09 17:40:07 +11:00
ScalyChimp d691161542
Removes obsolete uses of IMapManager events. (#7036) 2022-03-09 17:39:03 +11:00
Moony 1f52ad9ec1
Allow admins with prototype load privileges to override. (#7033) 2022-03-07 23:40:25 -06:00
Moony 5c26555144
Fix a bug in rolebans. (#7029) 2022-03-07 22:28:47 -06:00
Fishfish458 7f43f38cc7
Add health analyzer and medical scanner ECS (#6907)
Co-authored-by: fishfish458 <fishfish458>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-03-08 14:45:52 +11:00
Alex Evgrashin db4322e5b3
Welder flame fix (#7021) 2022-03-08 12:06:09 +11:00
Moony 0d3498e8d9
Makes grids that pass a certain size airtight. (#6934)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-03-07 23:09:54 +11:00
Vera Aguilera Puerto bcef118489 Extra checks in MindSystem entity deletion ghost spawning.
I have a feeling this might be the cause of the round restart bugs, so make sure the round hasn't ended in the spawned timer code and log every ghost spawned by this.
2022-03-07 12:56:19 +01:00
Rane f5fa1ac80d
Drone 1984 (#7009) 2022-03-07 22:46:36 +11:00
Alex Evgrashin 5f632e20ad
Musician PDA quick fix (#7018) 2022-03-07 22:41:50 +11:00
Radrark 718ba1158b
Fix the mass scanner ui (#7012) 2022-03-07 18:04:26 +11:00
Leon Friedrich f0b36d7275
Fix electrocution (#7015) 2022-03-07 16:14:55 +11:00
Radrark 401ccfba0a
Tweak shuttle movement (#6468)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-03-07 16:03:53 +11:00
Leon Friedrich 7fd559dafd
fix blood loss divide by zero (#7004) 2022-03-05 19:28:04 -06:00
Leon Friedrich c95516e5b2
Revert "Explosion refactor TEST MERG (#6995)" (#7005) 2022-03-06 04:02:34 +11:00
Vera Aguilera Puerto cd1902cdf2 Fix EndRound exception when a mind doesn't have a character name nor valid entity. 2022-03-05 12:42:24 +01:00
Vera Aguilera Puerto ab1b90c6b8 Fix suicide exception when entity has no hands.
Can be the case with ghost roles, etc.
2022-03-05 11:38:13 +01:00
Vera Aguilera Puerto e4029bc968 Exception tolerance for `GameTicker.ResettingCleanup`. 2022-03-05 11:01:51 +01:00
Vera Aguilera Puerto c76414362d Account for graph actions being able to delete the entity in ChangeNode.
Fixes an exception that occurs if a node action deletes a construction.
2022-03-05 10:59:01 +01:00
Vera Aguilera Puerto 8f0fb24914 Move MapManager restart after deleting every entity with a for loop. 2022-03-05 01:30:03 +01:00
Vera Aguilera Puerto a67b846786 Fix deletion check in ProjectileSystem.
Another casualty from the IEntity removal.
2022-03-05 01:29:08 +01:00
Pieter-Jan Briers 950ead9b47 Introduce artificial delay into SQLite on DEBUG.
This makes SQLite DB ops properly asynchronous (instead of synchronously completing tasks). This makes them more consistent with postgres and means that any deadlock bugs introduced the next time somebody does .Result will be caught on SQLite too.
2022-03-04 23:55:35 +01:00
Pieter-Jan Briers 2c721226d6 Revert "Revert "Load Maps on Round Start, not Round Restart v3 (#6989)" (#6990)"
This reverts commit 4aa65b6708.

Fixed the deadlock bug on postgres.
2022-03-04 23:53:44 +01:00
Moony 4a466f4927
Explosion refactor TEST MERG (#6995)
* Explosions

* fix yaml typo

and prevent silly UI inputs

* oop

Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2022-03-04 13:48:01 -06:00
Moony 4aa65b6708
Revert "Load Maps on Round Start, not Round Restart v3 (#6989)" (#6990)
This reverts commit 9ab3bb5811.
2022-03-04 11:42:55 -06:00
Vera Aguilera Puerto 9ab3bb5811
Load Maps on Round Start, not Round Restart v3 (#6989)
* Load Maps on Round Start, not Round Restart

* Fix admin log test.
It assumed maps/grids existed during pre-round, wihch is not a valid assumption anymore after this PR.

* Shutdown server if round fails to start 5 times.

* Fix bugs with round starting flag.

* Make StartRound not async, synchronously get new round ID from DB.

* Handle StationId.Invalid in PickBestAvailableJob
Instead of crashing, return null.
SpawnPlayer will handle this by making the player an observer or returning them to the lobby.
2022-03-04 11:32:33 -06:00
Vera Aguilera Puerto 1ff687f482 FlammableComponent has an empty Damage field by default.
Prevents NRE exceptions when admemes are involved, etc?
2022-03-04 17:00:35 +01:00
Vera Aguilera Puerto 37fb2bd3c7 Log better error for incorrect Construction Graphs.
Also improves integration tests for them to catch more errors.
2022-03-04 16:53:06 +01:00
Vera Aguilera Puerto 0b0de4fe10 FlammableSystem only calls TemperatureSystem.ChangeHeat if the entity has the appropriate component. 2022-03-04 16:25:32 +01:00
Vera Aguilera Puerto 4eb778ad43 Add missing return statement to GameTicker.GamePreset 2022-03-04 16:19:48 +01:00
Leon Friedrich 49831aff9d
fix potted plant (#6983) 2022-03-04 17:54:26 +11:00
Pancake 0f599ad160
Positional audio for Monkey Cubes. (#6982) 2022-03-04 17:30:44 +11:00
Moony 255865b7b7
Revert "Load Maps on Round Start, not Round Restart. Shut down server if Round fails to Start 5 times. (#6977)" (#6980)
This reverts commit 4098f7fd9b.
2022-03-03 13:34:16 -06:00
Vera Aguilera Puerto 4098f7fd9b
Load Maps on Round Start, not Round Restart. Shut down server if Round fails to Start 5 times. (#6977) 2022-03-03 12:15:15 -07:00
Vera Aguilera Puerto e292418766 Fix incorrect if statement in FlammableSystem.
Should fix the FlammableComponent resolve errors on live servers.
2022-03-03 11:48:27 +01:00
metalgearsloth 836930e733
EntityLookup as a system for content (#6931) 2022-03-03 21:18:35 +11:00
Kevin Zheng 551f5a7e78
Let items on conveyor belts round corners (#6964) 2022-03-03 09:32:33 +11:00
wrexbe 075f18c277
Check mass on climb glass table (#6959)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-03-03 01:07:48 +11:00
Leon Friedrich 08a220d3e6
Fix rcd obstruction check (#6963) 2022-03-03 00:38:19 +11:00
Leon Friedrich c4c238bda9
Add multi-layer in-hand and clothing support (#6740) 2022-03-02 10:29:42 +11:00
Leon Friedrich 36fcca8337
Mapping Actions (#6877) 2022-03-02 10:12:34 +11:00
Chris V 3a31a33075
Add a Color parameter to dispatching announcements, change the color of certain common messages (#6840) 2022-03-02 00:21:28 +11:00
metalgearsloth 85736bfd6b
Adjust mapping command order (#6929) 2022-03-01 21:11:22 +11:00
mirrorcult 903dabf0db
Jumpsuit butchering and gauze crafting (#6787)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-03-01 14:38:39 +11:00
Moony 76e6cacce6
Revert "Load Maps on Round Start, not Round Restart (#6930)" (#6945)
This reverts commit 650b8b6600.
2022-02-28 20:49:50 -06:00
Vera Aguilera Puerto 650b8b6600
Load Maps on Round Start, not Round Restart (#6930)
* Load Maps on Round Start, not Round Restart

* Fix admin log test.
It assumed maps/grids existed during pre-round, wihch is not a valid assumption anymore after this PR.
2022-02-28 20:20:21 -06:00
Fishfish458 86925774f2
Remove dice spam (#6941)
Co-authored-by: fishfish458 <fishfish458>
2022-02-28 19:18:36 -07:00
moonheart08 e320ae80ee oops. 2022-02-28 10:46:47 -06:00
moonheart08 a3bc28476d Quick fix join bug. 2022-02-28 10:38:36 -06:00
Leon Friedrich ee7d0440f3
Limit atmos device rates (#6533) 2022-03-01 01:39:30 +11:00
metalgearsloth ffed5eec81
Adjust some frametiming stuff (#6496) 2022-03-01 01:11:25 +11:00
Pieter-Jan Briers eeef210ae4
Fix admin logs always causing an exception on first batch. (#6356) 2022-02-28 21:21:29 +11:00
metalgearsloth eaee0a8a4c
Don't mapinit when mapping creates a blank map (#6928) 2022-02-28 16:38:33 +11:00
Leon Friedrich 587de74ac3
Add metadata flags to actions component (#6922) 2022-02-28 12:21:44 +11:00
Leon Friedrich 9a54ea67c4
update mapping command (#6925) 2022-02-28 12:21:15 +11:00
metalgearsloth e3c8b8383f
Add cangetcompstate flag support to flashable (#6815) 2022-02-28 00:46:38 +11:00
metalgearsloth 47dca34780
type serializer for computer boards (#6915) 2022-02-28 00:25:56 +11:00
Leeroy fb858ab514
Medical items sound support + sounds (#6871) 2022-02-27 00:02:00 -07:00
Moony 7d9c7e46ab
Fancier powergrid check (#6901) 2022-02-27 00:01:39 -07:00
moonheart08 3cc5efc86d Fix bug not caught in testing. 2022-02-26 21:52:47 -06:00
Moony 8b2184a53c
Two more events (#6906)
* vent clog!

* forgot you

* Breaker flip event, to annoy engineering.

* small fix.
2022-02-26 21:04:01 -06:00
Leon Friedrich ff2589d07c
Fix two action bugs (#6909) 2022-02-27 14:02:39 +11:00
Kara D 6eea261d74
butcher canreach
fixes #6900
2022-02-26 18:00:38 -07:00
Fishfish458 6b7379dad0
Add basic handheld GPS (#6896)
Co-authored-by: fishfish458 <fishfish458>
2022-02-26 16:59:20 +11:00
moonheart08 44d5d41d60 fix the fact that RandomSentience was not actually making a ghost role. Oops! 2022-02-25 23:40:15 -06:00
Leon Friedrich ff7d4ed9f6
Patched Actions Rework (#6899)
* Rejig Actions

* fix merge errors

* lambda-b-gon

* fix PAI, add innate actions

* Revert "fix PAI, add innate actions"

This reverts commit 4b501ac083e979e31ebd98d7b98077e0dbdd344b.

* Just fix by making nullable.

if only require: true actually did something somehow.

* Make AddActions() ensure an actions component

and misc comments

* misc cleanup

* Limit range even when not checking for obstructions

* remove old guardian code

* rename function and make EntityUid nullable

* fix magboot bug

* fix action search menu

* make targeting toggle all equivalent actions

* fix combat popups (enabling <-> disabling)

* fix networking

* Allow action locking

* prevent telepathy
2022-02-25 23:24:08 -06:00
Chris V efafdcd95f
Make flashbang's bang respect distance to players (#6898) 2022-02-25 22:11:10 -07:00
Moony 0898c8a837
More events (#6894)
* Implements bureaucratic error and random sentience.

* Adds the Vent Critters event.

* bug moment

* forgot ignores.

* undo something i included in the PR by mistake.

* address review
2022-02-25 23:10:09 -06:00
Leon Friedrich 49ae383f06
Revert "Actions Rework" (#6888) 2022-02-25 16:55:18 +11:00
Leon Friedrich 5ac5dd6a64
Actions Rework (#6791)
* Rejig Actions

* fix merge errors

* lambda-b-gon

* fix PAI, add innate actions

* Revert "fix PAI, add innate actions"

This reverts commit 4b501ac083e979e31ebd98d7b98077e0dbdd344b.

* Just fix by making nullable.

if only require: true actually did something somehow.

* Make AddActions() ensure an actions component

and misc comments

* misc cleanup

* Limit range even when not checking for obstructions

* remove old guardian code

* rename function and make EntityUid nullable

* fix magboot bug

* fix action search menu

* make targeting toggle all equivalent actions

* fix combat popups (enabling <-> disabling)
2022-02-24 22:12:29 -06:00
Leon Friedrich c6a0d9ac52
Fix midi verb (#6880) 2022-02-24 22:10:12 +11:00
Leon Friedrich 53c9ecbf6a
Add utility verbs (#6473) 2022-02-24 21:48:53 +11:00
Alex Evgrashin df970b2283
Nuke fixes (#6868)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-02-23 17:00:51 -07:00
SplinterGP 351c518582
Makes repairable component able to heal a set amount of damage (#6852) 2022-02-23 17:00:39 -07:00
metalgearsloth bee627ac6a
Turn SandboxManager into a system (#6867) 2022-02-23 17:00:30 -07:00
Willhelm53 b4b2f02264
Possums and Raccoons and Ferrets, Oh My! (#6808)
* * Fixed Reagent Tanks so they now dispense an amount according to the transfer amount of the bucket you use.

* Revert "* Fixed Reagent Tanks so they now dispense an amount according to the transfer amount of the bucket you use."

This reverts commit 3b565c0509e0a802b5aec63fc62007205ec330f1.

* Adds possums along with their sound effects and petting popup messages.

* Adds Morty my beloved

* Fixed a small error in InteractionPopupSystem that was causing an error: "[ERRO] root: Server tried to play audio file  which does not exist."

* Added raccoons

* Adds Morticia the raccoon. Morticia my beloved! (Original character do not steal :P)

* Adds ferrets and their SFX

* Well excuuu-uuuuse ME, Princess!

* "It can't be THAT easy..." --Spider-man Noir

* It's that easy.
2022-02-23 12:40:31 -06:00
mirrorcult 73ff1513de
Thermomachine UI (#6833) 2022-02-22 21:09:01 -07:00
Leon Friedrich 536234f232
Fix two interaction obstruction checks (#6793) 2022-02-21 22:01:01 -07:00
ShadowCommander 4a68718050
Role ban improvements (#6855) 2022-02-21 22:00:55 -07:00
ShadowCommander 8ccdff4416
Prevent players from late joining as role banned jobs (#6853) 2022-02-21 19:45:59 -08:00
ShadowCommander 4825142210
Role bans (#6703) 2022-02-21 23:11:39 +01:00
mirrorcult e88f179b5f
Examine fixes (#6831) 2022-02-20 20:42:16 -07:00
metalgearsloth b87806f7ed
Fix some build warnings (#6832)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-02-21 14:41:50 +11:00
metalgearsloth f9c853f100
Make recyclers great again (#6653)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-02-21 14:39:24 +11:00
mirrorcult e85bdc2d87
More blood tweaks (#6811) 2022-02-20 17:18:24 -07:00
mirrorcult d91f969451
Thermomachine fix + machine boards (#6803) 2022-02-20 17:17:45 -07:00
Fishfish458 c208c4f5ba
Change stun baton throwing to be a chance (#6830)
Co-authored-by: fishfish458 <fishfish458>
2022-02-20 17:17:34 -07:00
Ygg01 c76ee013b0
Fix overflow algo again so small ammounts don't spread infinitely (aka Infinite Cum Works) (#6796) 2022-02-20 12:54:05 -07:00
metalgearsloth 07b38e5acd
Minor atmos optimisations (#6625) 2022-02-20 17:43:20 +11:00
mirrorcult 4967cb98f6
Revert pulling newtons third law stuff (#6813) 2022-02-20 17:17:49 +11:00
mirrorcult 34c96439f6
Detach ghosts from parents on spawn (#6816) 2022-02-19 23:16:55 -07:00
Kara D 8491b320c2
How on earth does no one report these 2022-02-19 23:10:30 -07:00
Rane e99694362f
Stop drones from throwing (#6818) 2022-02-19 23:02:05 -07:00
Fishfish458 6ed77509c1
Pill fix (#6817)
Co-authored-by: fishfish458 <fishfish458>
2022-02-19 23:01:59 -07:00