Commit Graph

3084 Commits

Author SHA1 Message Date
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