Commit Graph

3399 Commits

Author SHA1 Message Date
Leon Friedrich 1914560773
Fix firelock door init (#6384) 2022-01-30 15:47:24 +11:00
metalgearsloth e8b95dd88a
Tile prying do_after (#6341) 2022-01-30 14:48:18 +11:00
Leon Friedrich 47e597ca47
Predict inventory slot interactions. (#6033) 2022-01-30 11:50:10 +11:00
Leon Friedrich c465715273
ECS Doors (#5887) 2022-01-30 11:49:56 +11:00
metalgearsloth ee179762fd
Remove IRangedInteract (#6374)
* Remove IRangedInteract

Apparently this has been gone for a while anyway.

* Also this woops
2022-01-29 10:58:59 -06:00
metalgearsloth b5f816c815
ECS CablePlacer (#6371) 2022-01-29 22:45:57 +11:00
metalgearsloth 803d6056d8
ECS OnUseTimerTrigger (#6369) 2022-01-29 22:45:50 +11:00
metalgearsloth dfa4277e47
ECS StorageFill (#6351) 2022-01-29 22:45:40 +11:00
Alex Evgrashin 2a68023143
Move WindowComponent to ECS (#6267)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-01-29 16:21:38 +11:00
Pieter-Jan Briers 764010fea0
Revert "Log ban hits in DB. (#6337)" (#6357)
This reverts commit b75f005bb4.
2022-01-28 19:33:09 +01:00
Pieter-Jan Briers b75f005bb4
Log ban hits in DB. (#6337) 2022-01-28 19:10:44 +01:00
Pieter-Jan Briers a3aabf59ad Unify remaining DB model classes between SQLite and Postgres.
As part of this, the ban and unban table were renamed to server_* on SQLite to move them in line with Postgres. Data is preserved.
2022-01-27 18:12:09 +01:00
Vera Aguilera Puerto fa0c43475c Instruments respect MIDI limits by default again.
Cleans up the limit stun.
2022-01-27 13:07:46 +01:00
Peptide90 fe2e24cf98
Led light brightness nerf + power increase (#6259) 2022-01-27 11:01:32 +11:00
metalgearsloth efc4bef3b4
Remove LOOC range limit for ghosts (#6322) 2022-01-26 14:18:56 +01:00
metalgearsloth 48e075b67e
Optimise high pressure movements slightly (#6287) 2022-01-26 22:17:15 +11:00
metalgearsloth 3f7f3baa16
Remove component.Paused (#6285) 2022-01-26 17:57:48 +11:00
wrexbe b2229a951d
Test ignored component names (#6308) 2022-01-26 16:41:28 +11:00
metalgearsloth 73e7b53edf
Nerf hacking a smidge (#5940) 2022-01-26 15:26:53 +11:00
metalgearsloth 705dd5beff
Fix weh spam (#6312) 2022-01-26 14:07:45 +11:00
Vera Aguilera Puerto f917c18ff8
Fix air alarm system keeping deleted entity UIDs around. (#6307) 2022-01-25 16:37:34 -07:00
metalgearsloth bd69210710
Add docking command (#6303) 2022-01-25 16:36:19 -07:00
Clyybber 107806775e
Apply smiley filter on me-command (#6153) 2022-01-25 20:38:52 +11:00
Júlio César Ueti 5a32c14216
Fixes RandomTraitorAliveCondition icon (#6300) 2022-01-25 20:29:31 +11:00
metalgearsloth c50f2a2a4e
Use hitevent sound for swings (#6293) 2022-01-25 11:22:25 +11:00
Pieter-Jan Briers 775c18d525 Translate newlines in MoMMI relay to spaces.
Fixes #6299
2022-01-24 23:36:42 +01:00
Kara D 2f033ae26f
forcefeed collide resolve 2022-01-24 13:06:51 -07:00
Júlio César Ueti 7d61970b9e
Fixes #6294 - Stay alive objective shows an error sprite (#6297) 2022-01-24 12:32:41 -07:00
metalgearsloth 0cc28d4b6b Fix esword 2022-01-25 01:01:21 +11:00
Júlio César Ueti 6d5eee0d4c
Add ESwords (now Inventory refactor compliant!) (#6000)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-24 23:55:48 +11:00
wrexbe 2842f83454
HeightComparer is a little faster (#6021) 2022-01-24 22:37:49 +11:00
Moony 4e540a13bd
Tweak some probabilities. (#6281)
selfmerg, sue me
2022-01-23 15:17:04 -06:00
Pancake e54195575b
Readjust radiation collectors. (#6255)
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2022-01-23 13:40:27 -07:00
wrexbe 6a0a0cffd1
Fix no lobby, no job spawn (#6265) 2022-01-23 10:44:27 -07:00
Willhelm53 02cbadb766
Mop & Bucket Behaviour Change (#6193) 2022-01-22 22:27:22 -07:00
Alex Evgrashin 8d6565ea42
Xenoarchaeology artifacts (#6069)
Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com>
2022-01-22 23:55:11 +11:00
Jack Fox 90a5c6ea54
Disposal Pipe Crafting (#6188) 2022-01-22 23:54:26 +11:00
mirrorcult 1880db9c75
Glass tables break when climbed on (#6246) 2022-01-22 23:52:35 +11:00
metalgearsloth 0f910a7ab2
Construction graph serv3 (#6262) 2022-01-21 10:40:21 +01:00
wrexbe cea1b21832
Fixing some warnings (#6250)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-01-21 10:38:35 +01:00
Moony 1a62cefdf9
Add an exception to the soft max player cap for players who joined the game at some point during the current round. (#6245) 2022-01-19 16:01:21 -07:00
Leon Friedrich 4f6c3efdc2
fix flashlight clothing prefix (hardsuit lights) (#6237) 2022-01-19 13:04:54 +01:00
metalgearsloth a1b67bc505
Chat adminlogs (#6209) 2022-01-18 19:35:31 -07:00
Demetre Beroshvili facb2ea849
Added Checkers (#6219) 2022-01-18 16:44:24 -07:00
Alex Evgrashin 16a532137d
Muzzle (#6194)
Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
2022-01-18 15:18:22 -07:00
Leon Friedrich ac36f15a70
Extend RgbLightController (#6179) 2022-01-18 15:18:16 -07:00
Leon Friedrich b89557bb49
Fix cable cutting and allow tool system to raise directed events (#6175) 2022-01-18 15:17:46 -07:00
Sam Weaver adddd2fac6
FIXED: Chemistry JSON dump tool and companion GitHub Action (#6222)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2022-01-18 14:44:22 -07:00
Leon Friedrich 65eeae7188
Required air alarm offset changes for engine PR (#6216) 2022-01-18 19:39:39 +11:00
Leon Friedrich 3413dc732c
Optimize ExtensionCableSystem (#6158) 2022-01-18 19:08:57 +11:00
Leon Friedrich 36a96b7e14
Cut corners on excessive damage (#6190) 2022-01-18 18:48:17 +11:00
Vera Aguilera Puerto c2bbc01ff2
Smokables can now expose temperature to the atmosphere, causing fires. (#6142)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-01-18 17:35:17 +11:00
Moony 5fd45fc82a
Revert "Chemistry JSON dump tool and companion GitHub Action (#6134)" (#6217)
This reverts commit 40e2e78e0f.
2022-01-17 16:06:19 -06:00
Sam Weaver 40e2e78e0f
Chemistry JSON dump tool and companion GitHub Action (#6134)
* fuck

* oh boy

* Sorted every chem into guide groups

* WHY ARE YOU NOT ABSTRACT

* removes the target thing in favor of simply generating everything.

* eee

* Add group for med

* Update wiki JSON generation to use System.Text.Json

* Fix error on shutdown during wiki JSON generation

* First pass at automatic wiki workflow

* Add a temporary workaround while the build is continuing to give errors

* Update workflow to reference correct API url, track dependency.

* Compile wiki actions into one job rather than two

* Update page name to reference editable page

* Add other JSON file and parameterize root page path

* A few steps closer to using `System.Text.Json` to serialize properly

* Revert System.Text.Json and return to Newtonsoft.Json.

* Revert the revert. Return to System.Text.Json.

This reverts commit a5ea98dfdcfab3f605ac4d82d3b110f099324308.

* Add and register UniversalJsonConverter class.

* Narrow triggers for update-wiki GitHub action.

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2022-01-17 13:50:02 -06:00
ScalyChimp 89decdb122
you can now only put up to 500 characters into a page of paper (#6213) 2022-01-17 12:24:09 -07:00
Leon Friedrich 5679f1e4fb
Make item slot containers nullable (#6198) 2022-01-17 12:22:35 -07:00
keronshb 2a70ba88f7
Adds bola and a crafting recipe for them. (#6185) 2022-01-17 12:21:57 -07:00
Morbo 69091eea24
NT Block Arcade correct session registeration (#6202)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-01-17 12:34:39 +01:00
Morbo 4c5c934f8e
Medical Scanner check session active (#6197) 2022-01-16 13:10:48 -07:00
mirrorcult a997626d00
Zoom user's eye when piloting a shuttle (#6171) 2022-01-16 13:07:15 -07:00
Kara D c9eae9b17b
give multistation stuff VV R/W for mappers 2022-01-16 12:52:00 -07:00
Vera Aguilera Puerto 748dfb2ecb
Changes required for VirtualController EntitySystems (#6161) 2022-01-16 18:48:11 +11:00
mirrorcult e3be84b5f8
Multi-map and multi-station gameticker loading (#6167) 2022-01-15 15:43:14 -07:00
mirrorcult 1fcc484a12
ECS APCs (#6118) 2022-01-15 11:32:46 -07:00
wrexbe 94207a42e9
Make manual valves work (#6121)
* Make manual valves work

* Change some GasValveSystem lookups
2022-01-15 05:18:45 -08:00
ShadowCommander a3c1d8f22a
Add job column to PlayerTab (#6181) 2022-01-15 14:17:33 +01:00
ShadowCommander d1a033644b
Update admin overlay when player is renamed (#6180) 2022-01-15 14:15:41 +01:00
Leon Friedrich 55f52f76be
Fix more component-dependency purge issues (#6178) 2022-01-15 00:06:48 -07:00
Rane 0280b81eb4
Rebalanced traitor objective difficulty (#6173) 2022-01-14 22:02:16 -07:00
Leon Friedrich 353e95c75c
Fix airlock hacking. (#6177) 2022-01-14 21:10:06 -07:00
Leon Friedrich 737da76b65
Make wires only electrocute when cut or attacked (#6047) 2022-01-15 13:34:43 +11:00
Paul Ritter 9e1607722d
removes componentdependencies (#6160) 2022-01-15 13:26:37 +11:00
Leon Friedrich 2947b33481
Fix cable unanchor bug (#6159) 2022-01-15 03:26:52 +11:00
Leon Friedrich 723e38f9ab
Added insertion blocking to Strap and Foldable components (#6151) 2022-01-14 02:09:42 +11:00
Rane b5f03f4682
New Objective: Ensure another traitor stays alive. (#6020)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-14 01:53:50 +11:00
Sam Weaver e42d99ddda
Fixes #6041. Multi-steps in construction graph visible in examine menu. (#6043) 2022-01-14 01:33:39 +11:00
ShadowCommander 4f80dfda0d
Verb confirmation (#6137) 2022-01-14 01:28:17 +11:00
Michael Phillips e1c3fc727b
Fixes issue of smiling over the radio (#6148) 2022-01-14 01:26:57 +11:00
Alex Evgrashin 206d7c119e
Filled bucket will spill player when it is worn on their head (#6114) 2022-01-14 01:22:19 +11:00
Leon Friedrich 15c8aaca66
ECS cable (#6141) 2022-01-14 01:21:30 +11:00
Vera Aguilera Puerto daef343c2c
Fires now play a sound effect. (#6138) 2022-01-14 01:18:17 +11:00
Moony bd359dd54c
Makes magboots grant gravity. (#6054) 2022-01-14 01:13:25 +11:00
Leon Friedrich 21480c716a
Correct anchor events (#6140) 2022-01-12 18:49:28 +01:00
Vera Aguilera Puerto c4bf0a9479
AdminManager can now load permissions for registered callback commands. (#6025) 2022-01-12 11:05:39 +01:00
metalgearsloth ec9550c2e0
Make any mind added remove ghost role (#6127) 2022-01-12 18:25:05 +11:00
mirrorcult abd4eac921
ECS AsteroidRock and add a doafter to mining (#6120)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-12 13:12:08 +11:00
Michael Phillips ffa19077b7
Fixed Obfuscated messages for ghosts (#6133) 2022-01-12 10:51:49 +11:00
Michael Phillips 86812c1ad7
Added Whisper system for talking with players 2 tiles away. (#5994)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-12 01:48:18 +11:00
metalgearsloth 4ddd55f2d6
Docking serialization (#6086) 2022-01-12 00:47:13 +11:00
Morbo 62221d7b92
Add LOOC and change OOC color (#5841) 2022-01-12 00:29:55 +11:00
metalgearsloth fd9698617e
Shuttle modes verb (#6096) 2022-01-11 18:17:54 +11:00
Lamrr 951bdabcd0
Removes LowWall. (#6063) 2022-01-11 18:03:27 +11:00
metalgearsloth db8c6e4bc8
Replace loadbp usages with loadmap (#6085) 2022-01-11 17:51:52 +11:00
Pancake 61da69ee74
Singulo/Radiation Tweaks (#6045)
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2022-01-11 17:30:17 +11:00
Leon Friedrich 05df798f11
Fix body bags not taking humans (#6125) 2022-01-10 21:55:27 -07:00
Leon Friedrich fd83fc8d8e
Hide deconstruct verb if user cannot interact. (#6122) 2022-01-10 20:42:39 -07:00
metalgearsloth 6f7cd29fb5
Fix ghost role exceptions (#6106) 2022-01-11 14:12:19 +11:00
metalgearsloth a8d010d6a3
Don't log missing on tryanchor pullable resolves (#6109) 2022-01-10 13:43:58 -07:00
metalgearsloth c19c4bbb29
Plant metabolism dependency fix (#6110) 2022-01-10 13:43:36 -07:00
wrexbe 76c6ee08e7
Refactored RoundEndSystem (2) (#6115)
* No RestartRound if round id changed

* Refactored RoundEndSystem

* Fix round end + add test
2022-01-10 13:24:41 -06:00
Moony 083f2d8acd
Revert "Refactored RoundEndSystem (#5990)" (#6112)
This reverts commit 03c56bf23e.
2022-01-10 10:06:19 -06:00
wrexbe c0416aeaf8
Fix logs blowing up on Sqlite (#6093) 2022-01-10 09:21:39 +01:00
ShadowCommander b46c1d4779
Rename command (#6091)
* Add rename command

* Move EntityUid parsing to a method

* Change to only two arguments.
2022-01-09 23:22:22 -06:00
Leon Friedrich 013edcc545
Prevent inventory events from being relayed to pockets (#6074)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-10 15:37:20 +11:00
Leon Friedrich 19b1c003e0
Fix misc virtual item issues (#5980) 2022-01-10 15:22:56 +11:00
wrexbe 5ceb2372bf
Clean up some warnings (#6088)
* Clean up some warnings

* Remove nullable enable

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-09 22:10:36 -06:00
wrexbe 03c56bf23e
Refactored RoundEndSystem (#5990)
* No RestartRound if round id changed

* Refactored RoundEndSystem
2022-01-09 22:07:40 -06:00
ShadowCommander 951a810fad
Log GhostRole takeovers (#6089)
* Log GhostRole takeovers

* Remove entity word
2022-01-09 19:54:36 -06:00
Pieter-Jan Briers 2125f1dda9
Remove usages of Newtonsoft.Json from StatusHost (#6082) 2022-01-10 01:41:46 +01:00
Leon Friedrich 476ba9cd91
make sure only traitors can see uplink button (#6083)
* make sure only traitors can see uplink button

* comments and pda.Owner -> uid
2022-01-09 09:24:21 -07:00
Leon Friedrich 5a64936ade
Fix taser visuals not updating after charging. (#6065) 2022-01-09 23:48:58 +11:00
metalgearsloth 64de4bbed9
Nuke gridtilelookup (#6030) 2022-01-09 23:47:01 +11:00
Pieter-Jan Briers e648ad72b9 Remove usages of Newtonsoft.Json outside StatusHost 2022-01-09 11:53:18 +01:00
E F R e5cb3f74d7
Only show the Uplink to players with Uplink Accounts (#6080) 2022-01-09 19:02:07 +11:00
Moony ca984036d6
Upstream species (#6066)
* Step 1 of porting; grabbed most of the files via patches.

* Add species field to the DB

* Appearance patches for slimes.

* Fix the db test.

* Add slime's biocompat.

* slimby

* Fixes, allow specifying if a species is playable or not.

* Update Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>

* Update Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>

* Update Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>

* Address reviews.

* Address reviews.

* make an if-case.

* Fix a goof where species wouldn't get shown in the editor correctly (it'd always default to human)

Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>
2022-01-08 19:53:14 -06:00
Leon Friedrich c29489ff4d
Fix foldable-pickup interactions. (#6057) 2022-01-07 17:09:42 +11:00
Leon Friedrich 106f176d13
Interrupt do-afters when the user gets incapacitated. (#6059) 2022-01-07 17:07:06 +11:00
Leon Friedrich 4921ea6850
Make smoking cool again. (#6046) 2022-01-06 23:45:02 +11:00
JustinTime 7d0b06f551
Add ability to resist out of welded lockers and locked closets (#5958)
* Enable lighting of Cigars with IsHotEvent

Subscribed to IsHotEvent in ThrusterSystem, added AfterInteractEvent to SmokingSystem.Cigar which will set SmokableState to Lit if IsHotEvent returns true

This should mean that cigs/Cigars should light on anything hot

* Revert "Enable lighting of Cigars with IsHotEvent"

This reverts commit db896e1f80940892a87d34aa7182b9c605fa53bc.

* Add the ability to kick your way out of welded or locked closets

Added a ResistLocker component/system that hooks into OnRelayMove to begin resisting out of lockers so that players aren't stuck in lockers forever

Also added check to EntityStorageComponent to not print out welded shut message if the entity attempting to open the locker is inside of it.

* Changes based on review

minor formatting changes

make components passed into AttemptResist nullable and resolve them inside of the function

Remove incorrectly named .ftl file

* Changes based on review

Ditched async DoAfter
Used PopupSystem over User.PopupMessage

Added Cancel token to ResistLockerComponent

Subscribed to EntRemovedFromContainer event to cancel DoAfter if the player is removed from a container

* I am in formatting hell, apparently

* Changes based on review

Added TryComp for the EntityStorageComponent instead of the event passed one

* Changes based on review

* Apply suggestions from code review

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

* Formatting changes based on review

* Shuffle functions around in LockSystem to properly trigger visualizer

Moved all the unlocking logic to a Lock method inside of LockSystem and TryUnlock calls this method if the user passes all of the access checks

* Formatting, replacing Resolve with TryComp and making AttemptResist arguments optional

Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>

* Check if the player is inside THE container not A container

me no read good

* ok ok I give my code is bad

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
2022-01-05 22:18:48 -08:00
metalgearsloth 4aaa85f84d
Xeno improvements (#6032) 2022-01-05 18:51:53 -07:00
ZeroDayDaemon de0c94414a
Add more chat filters (#6034) 2022-01-05 18:51:48 -07:00
Acruid 5b1cd2dd96
ECSatize AlertsSystem (#5559) 2022-01-05 19:19:23 +11:00
Rane 8f6192dafa
Added briefings to character menu & the traitor briefing (codewords) (#5971) 2022-01-05 16:46:40 +11:00
Matz05 919053c5f1
Light bulb brightness (and other settings) change clientside PointLights (#5869)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-01-05 16:25:37 +11:00
Leon Friedrich adbc4ee5b0
Partial hand ECS (#5634)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: Paul <ritter.paul1@googlemail.com>
2022-01-05 15:53:08 +11:00
Leon Friedrich 0aa4f9efbe
Power Cell Refactor (#5943)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-05 15:20:25 +11:00
wrexbe 4571dca1eb
Tiles Name->ID, DisplayName->Name (#5991) 2022-01-04 17:26:07 -07:00
metalgearsloth 4fdedc880d
Add type serializer for udders (#6027) 2022-01-04 14:57:26 +01:00
mirrorcult af785f873f
Optional server whitelists (#5979) 2022-01-05 00:37:06 +11:00
Leon Friedrich f13f743c51
Make use-in-hand default to activation interactions. (#5951) 2022-01-05 00:23:01 +11:00
router e4cd2944cf
o7 -> @salutes (#6026) 2022-01-05 00:05:21 +11:00
Vera Aguilera Puerto 675a29ed33
ECS MindComponent (#5917) 2022-01-04 13:37:50 +01:00
ShadowCommander b335ef5e7f
Prevent Holoparasites from attacking their host (#6019) 2022-01-04 10:22:28 +01:00
mirrorcult 5249ea057a
Kill bobby 2.0 (#6023) 2022-01-04 10:17:39 +01:00
Alex Evgrashin c5a98129ff
Sync station rotation with a spawned salvage rotation (#5998)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: Alexander Evgrashin <evgrashin.adl@gmail.com>
2022-01-03 14:32:16 -07:00
ShadowCommander 92d70b0587
Add teleport verbs (#5954)
* Add teleport verbs

* Add ftl file

* Make the verbs run the command serverside
2022-01-03 01:07:33 -08:00
ShadowCommander cd865b9aaa
Remove crit and dead mobs from GhostRole list (#5992) 2022-01-01 23:00:21 -07:00
wrexbe 332ff89609
Convert RandomPlant to entity system (#5952)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-01 22:27:54 -07:00
Flipp Syder b1584793bf
Adds fire/air alarms (#5018)
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
Co-authored-by: E F R <602406+Efruit@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-01-02 15:56:24 +11:00
Rane 37b510901f
Makes the uplink purchase sound much quieter (#5989) 2022-01-01 19:00:01 -07:00
Rane e3de9bcd72
Rebalance traitor objective difficulty (#5988)
* Adjusted traitor steal objectives

* Added theft target to cargo

* Rebalanced difficulty
2022-01-01 23:46:00 +01:00
Leon Friedrich 4acb8c12af
fix stripping (#5983) 2022-01-01 18:03:29 +01:00
Rane ab28be3c54
Adjusted traitor steal objectives (#5974)
* Adjusted traitor steal objectives

* Added theft target to cargo
2022-01-01 17:56:25 +01:00
ShadowCommander 81607d0327
Reregister ghost role when player ghosts while alive (#5956)
* Reregister ghost role when player ghosts while alive

* Add ReregisterOnGhost property
2022-01-01 17:48:45 +01:00
wrexbe 936c2f1d54
Refactored barsign (#5929)
* Refactored barsign

* Check barsign for signs of life.

* TryComp the sprite component

* TryGetBarSignPrototype
2022-01-01 17:45:52 +01:00
ShadowCommander 04be14e057
Prevent equipping HandVirtualItems (#5982) 2022-01-02 00:20:32 +11:00
Paul Ritter c5a3515322 fixes stripping of stunned/dead people
fixes magboots alert
2021-12-31 10:41:08 +01:00
wrexbe abba1e1c2c
Make held entity nullable (#5923) 2021-12-30 19:27:15 -07:00
E F R a5cd3784bf
Rotatable: Allow specifying the rotation increment on the component (#5948) 2021-12-30 19:20:22 -07:00
Michael Phillips 5ddd3a8022
Fixed issue with beaker not displaying liquid content after grind (#5960) 2021-12-30 19:12:37 -07:00
ShadowCommander dc1ca30f7c
Add context menu to AdminMenu PlayerTab entries (#5904)
* XAML PlayerTab entries

* Move command execution to PlayerTab

* Move command logic to the AdminSystem

* Clean up

* Add examine and context menu keybind handling to PlayerTab

* Fix remote admin verbs

* Remove examine for now

* Add server verbs

* Fix requests of verb by non-admins

* Clean up AdminSystem.Menu
2021-12-30 14:11:30 -08:00
Paul Ritter 512d6a38c3
get that crap outta here (completely rewrites inventorysystem) (#5807)
* some work

* equip: done
unequip: todo

* unequipping done & refactored events

* workin

* movin

* reee namespaces

* stun

* mobstate

* fixes

* some work on events

* removes serverside itemcomp & misc fixes

* work

* smol merge fix

* ports template to prototype & finishes ui

* moves relay & adds containerenumerator

* actions & cuffs

* my god what is actioncode

* more fixes

* im loosing my grasp on reality

* more fixes

* more work

* explosions

* yes

* more work

* more fixes

* merge master & misc fixed because i forgot to commit before merging master

* more fixes

* fixes

* moar

* more work

* moar fixes

* suffixmap

* more work on client

* motivation low

* no. no containers

* mirroring client to server

* fixes

* move serverinvcomp

* serverinventorycomponent is dead

* gaming

* only strippable & ai left...

* only ai and richtext left

* fixes ai

* fixes

* fixes sprite layers

* more fixes

* resolves optional

* yes

* stable™️

* fixes

* moar fixes

* moar

* fix some tests

* lmao

* no comment

* good to merge™️

* fixes build but for real

* adresses some reviews

* adresses some more reviews

* nullables, yo

* fixes lobbyscreen

* timid refactor to differentiate actor & target

* adresses more reviews

* more

* my god what a mess

* removed the rest of duplicates

* removed duplicate slotflags and renamed shoes to feet

* removes another unused one

* yes

* fixes lobby & makes tryunequip return unequipped item

* fixes

* some funny renames

* fixes

* misc improvements to attemptevents

* fixes

* merge fixes

Co-authored-by: Paul Ritter <ritter.paul1@gmail.com>
2021-12-30 22:56:10 +01:00
ShadowCommander 9d70bdde9c
Keep players in the PlayerTab until round end (#5921)
* Rework AdminSystem to keep players in the PlayerTab until round end

* Prevent sending PlayerStatus to deadminned admins

* Change _playerList to non-nullable

* Clean up unused usings

* Consolidate duplicate foreach loop code
2021-12-30 16:12:28 +01:00
Vera Aguilera Puerto c9ac29b8dc Fixes holoparasite injector being usable on anything 2021-12-30 11:55:22 +01:00
wrexbe 6ed0b23cc6
Probably fix cloning (#5953) 2021-12-29 19:36:43 -08:00
Paul Ritter 84e0011ba7
fixes up the ahelp relay a bit (#5866)
* fixes up the ahelp relay a bit

* Update Content.Server/Administration/BwoinkSystem.cs
2021-12-29 21:12:07 +01:00
Pieter-Jan Briers 2da3cc299e Configure ACZ correctly with new engine API. 2021-12-29 20:28:17 +01:00
metalgearsloth 88bdf0ce61
Add some more prototype serializers (#5934) 2021-12-30 00:48:18 +11:00
metalgearsloth 39e42899ca
Reduce MaxBuckleDistance (#5938) 2021-12-29 23:14:21 +11:00
AJCM-git 45bfc0b96b
Adds posters (for mapping) (#5812) 2021-12-29 20:24:51 +11:00
ShadowCommander ca8d673fad
Add ShowRules commmand (#5908) 2021-12-29 18:31:18 +11:00
Alex Evgrashin 1705eae96c
Suit sensor and crew monitoring (#5521)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-12-29 16:19:00 +11:00
metalgearsloth e5e144d99c
Rollerbeds (#5681) 2021-12-29 15:57:20 +11:00
CrudeWax 299c4be328
Guardians (Holoparasites) (#5140)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-12-29 14:58:48 +11:00
metalgearsloth 404accb18f
ECS visibility (#5769) 2021-12-29 05:12:28 +11:00
Vera Aguilera Puerto 03b51e675b MapInitialize before spawning players in.
Fixes #5924. This is not ideal, but the way PDA/GameTicker interact to set the owner on the ID Card is ATROCIOUS and I can't be bothered to fix that.
2021-12-28 11:08:33 +01:00
Vera Aguilera Puerto 1882ad55af
Use ByRefEvent attribute in content. (#5918) 2021-12-27 18:50:43 +01:00
Charlese2 6c6c19adba
Make handheld flash not flash thourgh walls. (#5916)
Also make it so mobs don't block the flash.
2021-12-27 17:51:12 +01:00
AJCM-git 3c17c82edd
Fix EntityStorages eating you from afar (#5880)
* Fix lockers eating you from afar

* Reviews
2021-12-27 13:04:18 +01:00
ShadowCommander e51f6ee851
Keep PlayerTab entries until the end of the round (#5910) 2021-12-27 12:46:38 +01:00
metalgearsloth 0705f16898
ECS handheld lights (#5864) 2021-12-27 18:15:16 +11:00
Acruid b3b171da7f
ECSatize CameraRecoilSystem (#5448)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-12-27 17:50:12 +11:00
Leon Friedrich b675bdb789
Move Access & AccessReader to shared. (#5798)
* git mv

* Move Access Component & system.

- Name space changes
- Rename AccessReader to AccessReaderComponent
- Also need an abstract TryGetSlot function for SharedInventoryComponent

* better TryGetSlot

* Ah yes, tests exist.
2021-12-25 20:07:28 -08:00
Morbo 7d28108572
Add AntagPrototype to TraitorRole and Fix traitors choice logic (#5861) 2021-12-26 14:13:37 +11:00
Leon Friedrich afc3ae6335
Make more uids nullable (#5794) 2021-12-26 13:32:45 +11:00
FoLoKe 83114de0e4
Moves spike to ECS (#5706) 2021-12-26 13:32:01 +11:00
DrSmugleaf 0ca8c705ab Use dictionary and hashset for admin log entities and players respectively
Add test for duplicate player ids in an admin log not throwing
2021-12-26 00:50:10 +01:00
Vera Aguilera Puerto 666be08d86
Fix client-only command permissions. (#5899) 2021-12-25 19:53:21 +01:00
DrSmugleaf 1f8152cb02 Cache the last 3 rounds of admin logs in memory
Reduces send logs time from 2/10/45 seconds to 2 milliseconds
Not thread safe
Removes LogRecord
2021-12-25 02:07:12 +01:00
Vera Aguilera Puerto cdc1a70c03 Allow admins to change instrument values with VV.
Just set DirtyRenderer to true after your changes are done, on the server.
2021-12-25 02:03:31 +01:00
DrSmugleaf 2f75b282b9 Change admin log filter types and impacts to use hashsets 2021-12-24 20:48:21 +01:00
Fishfish458 16d96c9dcc
Add backgammon and board game crate (#5884)
* [ADD] backgammon, made pieces generic

* [ADD] board game crate

* [REMOVE] minor whitespace

* Fix BOM

* [CHANGE] feedback changes, condensed backgammon setup

* [CHANGE] swapped backgammon y positions to correct ones

Co-authored-by: fishfish458 <fishfish458>
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
2021-12-24 13:20:20 +01:00
JustinTime 0fd0035581
Light Cigars when interacting with hot stuff (#5879)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-12-24 22:59:14 +11:00
TemporalOroboros 201952e618
Adds temperature to solutions (#5834) 2021-12-24 02:22:34 -07:00
DrSmugleaf 47733b0b22 Fix adding duplicate player entries upon relogging
Fixes https://github.com/space-wizards/space-station-14/issues/5882
2021-12-23 22:13:15 +01:00
Moony c06ee05461
Conditional map support (#5868)
Co-authored-by: E F R <602406+Efruit@users.noreply.github.com>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2021-12-23 19:38:14 +01:00
Pancake e2bcf619d1
Mouse Accent Fix (#5876) 2021-12-23 14:30:33 +01:00
wrexbe 40278353d3
Salvage (#5686)
Co-authored-by: 20kdc <asdd2808@gmail.com>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-12-23 13:14:01 +01:00
metalgearsloth 573e3a1744
ECS Ammo (#5862) 2021-12-23 15:46:43 +11:00
wrexbe 6f84064755
Improve airlock power ui (#5858) 2021-12-23 15:02:26 +11:00
Pieter-Jan Briers ebdd6e817c Use float.IsFinite in some appropriate places previously using IsNan || IsInfinity 2021-12-23 01:22:07 +01:00
Paul Ritter 1b028c5ff7
adds ahelp relay (#5837) 2021-12-22 13:34:09 +01:00
Mariner102 4257e8e731
Custom transfer amount to hydroponic trays (#5833) 2021-12-22 13:52:59 +11:00
Vera Aguilera Puerto 07a3b3a798 Fix roundstart being called multiple times.
...By adding a guard against it. Look, it's not pretty but it works.
2021-12-21 22:20:17 +01:00
Pancake f334f4a4b9
Accents (#5720)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: Paul <ritter.paul1@googlemail.com>
2021-12-21 21:31:20 +01:00
Vera Aguilera Puerto f4d8ec1b35
Refactor Game Modes (#5857) 2021-12-21 21:23:29 +01:00
Paul Ritter 75721c214c
Revert "Refactor Game Modes" oh god oh fuck go back it was too good to be true (#5855) 2021-12-21 19:25:52 +01:00
Vera Aguilera Puerto 8831d08229
Refactor Game Modes (#5819) 2021-12-21 18:56:47 +01:00
Mith-randalf 916d9e1e23
Lighters (#5836)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2021-12-21 18:20:32 +01:00
pointer-to-null 77b2d9354c
Display the name of the map in the lobby. (#5849) 2021-12-21 18:18:08 +01:00
Alex Evgrashin 900a8118c5
ECS secret stash and toilet (#5685)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-12-21 21:07:17 +11:00
metalgearsloth caf28d09b3
Optimise air + cable shutdowns for grid deletion (#5847)
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-12-21 17:17:21 +11:00
DrSmugleaf b5a78073ef Fix fetching the entire database when adding a round or admin log on SQLite
EF Core was a mistake
2021-12-20 17:54:50 +01:00
Paul 97e47178d7 Revert "fixes a bunch of warnings"
This reverts commit d4d85b663f.
2021-12-20 15:20:27 +01:00
Paul 7757b94333 adds a few logitems & bumps bullethit to high/extreme, depending on if a player was hit 2021-12-20 15:17:40 +01:00
Paul d4d85b663f fixes a bunch of warnings 2021-12-20 13:58:30 +01:00
Paul Ritter cc57d1380c
Revert Rich text (#5848) 2021-12-20 12:42:42 +01:00
wrexbe 06d5527772
Add messages on cloner eject fail (#5846) 2021-12-19 23:28:49 -07:00
metalgearsloth ca7697c246
ECS ammoboxes (#5830) 2021-12-19 22:55:01 -07:00
DrSmugleaf f23ca09d09 Add more debug logging to admin logs 2021-12-20 01:23:11 +01:00
pointer-to-null 07c6f39a6f
Stuttering time accumulation fix. (#5817) 2021-12-19 16:27:07 -07:00
ShadowCommander 17fd5096d5 Make ghosted examine color more visible 2021-12-19 15:20:08 -08:00
Fishfish458 026f2ee313
Small changes for crit mobs to be able to gasp and dead mobs to show dead on examine (#5828)
* [ADD] changes to be able to identify living downed players

* [FIX] format of tryGetComponent, fixed string

* [CHANGE] PR mind component suggestions

* [CHANGE] trycomp based on qa feedback

* [CHANGE] Condensed mindcomponent as per feedback

Co-authored-by: fishfish458 <fishfish458>
2021-12-19 14:45:47 -08:00
Vera Aguilera Puerto a51b102949
Add setooc command for +SERVER admins. (#5818) 2021-12-19 23:25:16 +01:00
Leon Friedrich a46af58e59
Make temperature damage not interrupt do-afters (#5835) 2021-12-19 16:39:59 +01:00
Leon Friedrich 876c3aeae6
mustHaveAlivePlant: false (#5831) 2021-12-18 22:52:14 -08:00
Vera Aguilera Puerto a46c2e6c9d
Added some missing engine command permissions. (#5782)
If you want to bikeshed this further, open an issue.
2021-12-18 14:16:34 +01:00
Vera Aguilera Puerto 22d1e8a427 Fix crate deconstruction deleting all of its contents as well. 2021-12-17 01:24:54 +01:00
Vera Aguilera Puerto 0517e12efd Slight AtmosphereSystem cleanup.
- AtmosExposed query now queries transform as well instead of getting it twice.
- Use Proxy methods instead.
2021-12-16 12:10:51 +01:00
Leon Friedrich 7e49b22a74
Verb predict (#5638) 2021-12-16 21:42:02 +11:00
Charlese2 b679980278
Fix handheld flash spamming the server console when used. (#5791)
* Moves the actions of the flash code into the check for FlashableComponent

* Combined if statments.
2021-12-15 14:35:56 -08:00
metalgearsloth a50bc4bb00 Make IRadio implement IComponent 2021-12-15 17:42:56 +11:00
metalgearsloth a2476ed974
Stabilise singularity a lot more (#5725) 2021-12-15 13:47:12 +11:00
metalgearsloth 0162f668fb Minor matchstick optimisation 2021-12-15 13:32:39 +11:00
Moony d24ce4b58d
Retrofit on "mentors" (admins with no perm except +ADMINHELP) (#5626)
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
2021-12-14 22:17:08 +01:00
Vera Aguilera Puerto d75b384213
StackSystem uses the EntitySystem proxy methods. (#5699) 2021-12-14 18:11:26 +01:00
Flipp Syder c0bfe43a05
Adds T-ray Scanners (#5420) 2021-12-14 18:46:47 +11:00
Vera Aguilera Puerto e3478f894e
Re-do InteractionSystem IEntity -> EntityUid conversion (#5767) 2021-12-13 22:17:18 -07:00
Leon Friedrich f2d031934d
fix two pointing bugs (#5766) 2021-12-14 13:21:54 +11:00
Venomii 3c35cb1154
Added phrases "lmao" and "lol" to ChatSanitizationManager (#5774) 2021-12-14 12:33:46 +11:00
Vera Aguilera Puerto 4de2896f58
Adds Administration verb category and AHelp verb. (#5773)
* Adds Administration verb category and AHelp verb.
For more convenient adminin'.

* abbreviate verb category to Admin

* Add explosion verb to admin category
2021-12-13 16:19:34 -08:00
Vera Aguilera Puerto e3e1291e54 VV attributes for Job and Role. 2021-12-14 00:22:43 +01:00
Leon Friedrich 47d012408b
Make cargo use explicit audio filter. (#5654)
* make cargo use explicit audio filter

* OwnerUid -> Owner
2021-12-13 13:22:16 -08:00
Vera Aguilera Puerto 36c5ab551d
Fix mobs not dropping items when falling down. (#5771)
It checked action blockers, meaning it would never actually drop the items.
2021-12-13 12:47:52 -08:00
Leon Friedrich 5a4c08ccdf
Fix tool do-after return values (#5764) 2021-12-14 00:31:40 +11:00
Leon Friedrich 7f81f0b8b8
Add more pretty strings to logs (#5768) 2021-12-13 12:22:58 +01:00
Leon Friedrich 40dfc1f5ce
Allow pulling entities with full hands. (#5758) 2021-12-12 22:46:09 -07:00
Caj Jones 41a9bb1efa
Add anchored checks to GetReachableNodes() for power device nodes (#5760) 2021-12-12 22:45:54 -07:00
metalgearsloth f110e28021
Fix openahelp and quit command perms (#5763)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2021-12-12 22:45:49 -07:00
metalgearsloth e277122237
Cleanup matches on shutdown (#5724) 2021-12-13 15:22:08 +11:00
E F R b2da936848
Everything: Rich text redux (#5625)
* lord save me

* UI/ChatBox: Use the new `defStyle` param for `RenderMarkup`

The previous iteration didn't work because `AddMessage` can't inherit
its color from the PushColor (since we're not doing actual tag stacks
anymore).

* rebase touchup
2021-12-12 18:25:42 -08:00
Leon Friedrich 57fc442a8b
Fix entityUid nullability for handcuffs and morgues (#5757) 2021-12-12 18:53:02 +01:00
Leon Friedrich c7c8dff05a
Save Ian (#5759) 2021-12-13 02:59:12 +11:00
Moony caad34eecb
Mid-game prototype loading for game admins (#5675) 2021-12-11 16:28:16 -07:00
ShadowCommander 703c23d8a5
ECS characterinfo (#5669) 2021-12-11 16:12:55 -07:00
Leon Friedrich 237a90cd48
Make welders only deal burn damage when lit. (#5695) 2021-12-11 16:12:48 -07:00
T-Stalker c041a8339f
Punching and melee hitsounds now have unique SoundCollections (#5748) 2021-12-11 16:12:40 -07:00
Vera Aguilera Puerto c4cd55066f Fix nullability.
Special thanks to rider for not telling me this errored.
2021-12-11 16:01:55 +01:00
Vera Aguilera Puerto f6371c6e62 Make all current admin logs use ToPrettyString 2021-12-11 16:00:10 +01:00
Moony 7bc656bf4d
Add atmos device logs (#5743) 2021-12-10 19:23:18 +01:00