Commit Graph

3449 Commits

Author SHA1 Message Date
Leon Friedrich ec4326748b
Botany fix (#7071) 2022-03-12 15:06:41 -07:00
Kara D 9750e1928a
Change makeghostrole perms
Trialmins can already use VV to do this manually, no reason not to just give them the verb
2022-03-12 12:00:00 -07:00
Kara D e5d1a95f61
vs2022 and license fix 2022-03-12 11:56:42 -07:00
Rane 926e36d81d
Convert almost all IActivate instances that open UIs to ActivatableUI (#7028)
* Chem master

* Drone support for handhelds

* Vending machines, scanners

* Cloners, R&D computers

* make research a little less sussy

* Unfuck wires

* PA control computer

* Unfuck merge

* Clean up git gore for good

* Disposals

* Microwaves

* paper

* Magic mirror

* More vendors for drones

* Solar computer whitelist

* EFR review updates
2022-03-12 11:26:06 -07:00
Leon Friedrich 865c9630bd
Fix use-in-hand interactions (#7085) 2022-03-13 02:05:11 +11:00
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