Leon Friedrich
ec824896ee
Changes required for serialization fix. ( #7177 )
2022-03-25 11:56:05 +01:00
Leon Friedrich
c95516e5b2
Revert "Explosion refactor TEST MERG ( #6995 )" ( #7005 )
2022-03-06 04:02:34 +11: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
metalgearsloth
836930e733
EntityLookup as a system for content ( #6931 )
2022-03-03 21:18:35 +11:00
mirrorcult
ec4d4688c7
Seal/abstract/virtual everything ( #6739 )
2022-02-16 18:23:23 +11:00
wrexbe
17db0775c8
Auto comp ( #6416 )
2022-02-02 14:35:40 +11:00
Leon Friedrich
05df798f11
Fix body bags not taking humans ( #6125 )
2022-01-10 21:55:27 -07: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
e5e144d99c
Rollerbeds ( #5681 )
2021-12-29 15:57:20 +11: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
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
cdc8336695
Even more resolve removals.
2021-12-08 17:41:14 +01:00
Vera Aguilera Puerto
3f79e3754f
Merge branch 'master' into 2021-12-03-remove-IEntity-komm-süsser-todd
...
# Conflicts:
# Content.Client/Crayon/CrayonDecalVisualizer.cs
# Content.Client/Tabletop/TabletopSystem.cs
# Content.IntegrationTests/Tests/InventoryHelpersTest.cs
# Content.Server/AI/EntitySystems/AiSystem.cs
# Content.Server/AI/Utility/AiLogic/UtilityAI.cs
# Content.Server/AME/AMENodeGroup.cs
# Content.Server/Administration/AdminVerbSystem.cs
# Content.Server/Body/Systems/RespiratorSystem.cs
# Content.Server/Chemistry/Components/InjectorComponent.cs
# Content.Server/Chemistry/TileReactions/CleanTileReaction.cs
# Content.Server/Chemistry/TileReactions/SpillTileReaction.cs
# Content.Server/Crayon/CrayonComponent.cs
# Content.Server/Doors/Components/ServerDoorComponent.cs
# Content.Server/Explosion/EntitySystems/TriggerSystem.cs
# Content.Server/Fluids/Components/MopComponent.cs
# Content.Server/Fluids/Components/SpillExtensions.cs
# Content.Server/Fluids/EntitySystems/PuddleSystem.cs
# Content.Server/Instruments/InstrumentSystem.cs
# Content.Server/Nutrition/EntitySystems/DrinkSystem.cs
# Content.Server/Nutrition/EntitySystems/FoodSystem.cs
# Content.Server/PneumaticCannon/PneumaticCannonSystem.cs
# Content.Server/Storage/Components/EntityStorageComponent.cs
# Content.Server/Storage/Components/StorageFillComponent.cs
# Content.Server/Stunnable/StunbatonSystem.cs
# Content.Server/Throwing/ThrowHelper.cs
# Content.Server/Weapon/Ranged/Barrels/BarrelSystem.cs
# Content.Server/Weapon/Ranged/Barrels/Components/ServerBatteryBarrelComponent.cs
# Content.Server/Weapon/Ranged/ServerRangedWeaponComponent.cs
# Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs
# Content.Shared/Damage/Components/DamageableComponent.cs
# Content.Shared/Damage/Systems/DamageableSystem.cs
# Content.Shared/MobState/Components/MobStateComponent.cs
# Content.Shared/Slippery/SharedSlipperySystem.cs
2021-12-07 17:48:49 +01:00
metalgearsloth
373b5988d7
Remove redundant IComponent casts
2021-12-07 21:54:00 +11:00
DrSmugleaf
2a3b7d809d
Fix 3000 errors
2021-12-05 18:09:01 +01:00
Vera Aguilera Puerto
f386b57148
Inline OwnerUid
2021-12-03 16:30:34 +01:00
Vera Aguilera Puerto
5cd42c9ad6
Inline UID
2021-12-03 15:53:09 +01:00
Vera Aguilera Puerto
a5b57c8e10
Inline Transform
2021-12-03 14:20:34 +01:00
Vera Aguilera Puerto
69b270017b
Inline TryGetComponent completely, for real
2021-12-03 14:17:01 +01:00
Vera Aguilera Puerto
f10ed6c0c3
Inline GetAllComponents
2021-12-03 11:42:24 +01:00
metalgearsloth
07b2ce138d
entitystorage fixes ( #5660 )
2021-12-03 21:19:53 +11:00
Vera Aguilera Puerto
5e177ae734
Inline EntityManager
2021-12-03 11:18:05 +01:00
metalgearsloth
1c089a4079
Fixtures (again) ( #5636 )
2021-12-01 18:32:37 +11:00
metalgearsloth
43b637826d
Revert "Content update for fixture changes ( #5524 )"
...
This reverts commit 0a843b671f .
2021-12-01 13:55:24 +11:00
metalgearsloth
0a843b671f
Content update for fixture changes ( #5524 )
2021-12-01 13:05:08 +11:00
Acruid
fa0ec5cbd9
AppearanceComponent API Changes ( #5446 )
2021-11-23 18:22:59 +11:00
20kdc
0c0a60e432
Stop Item EntityStorages being able to eat people ( #5268 )
2021-11-11 23:56:38 +11:00
metalgearsloth
f320c6dd8f
Fix storage closing bounds on rotated grids ( #5033 )
2021-10-27 10:27:25 +02:00
metalgearsloth
a4cd222bea
Don't include anchored entities for entitystorage
2021-10-24 17:10:05 +11:00
metalgearsloth
7beb363285
Deprecate a bunch of IActionBlocker ( #4852 )
...
* Deprecate IActionBlocker ChangeDirectionAttempt
* Woops
* Throw and interact
* Deperacte speech
* ActionBlocker in fucking shambles
* CanEmote go byebye
* CanAttack is GONE
* IActionBlocker finally ded
* DRY
2021-10-21 13:03:14 +11:00
Vera Aguilera Puerto
0b57420d6e
ToolSystem UseTool doesn't log missing components, slight cleanup for things using tools.
2021-10-07 23:08:16 +02:00
Vera Aguilera Puerto
365c7da4dc
Makes tools and welders ECS, add ToolQualityPrototype. ( #4741 )
2021-10-07 13:01:27 +02:00
Vera Aguilera Puerto
94a29978b5
Fix being able to trap aghosts in lockers.
...
This ain't an ideal fix, I'll admit. But it's better than nothing.
Fixes #4767
2021-10-06 11:45:52 +02:00
Vera Aguilera Puerto
d16c299af1
PlaceableSurfaceSystem uses resolves.
2021-10-06 11:40:05 +02:00
Leon Friedrich
6cb58e608b
ECS verbs and update context menu ( #4594 )
...
* Functioning ECS verbs
Currently only ID card console works.
* Changed verb types and allow ID card insertions
* Verb GUI sorting and verb networking
* More networking, and shared components
* Clientside verbs work now.
* Verb enums changed to bitmask flags
* Verb Categories redo
* Fix range check
* GasTank Verb
* Remove unnecessary bodypart verb
* Buckle Verb
* buckle & unbuckle verbs
* Updated range checks
* Item cabinet verbs
* Add range user override
* construction verb
* Chemistry machine verbs
* Climb Verb
* Generalise pulled entity verbs
* ViewVariables Verb
* rejuvenate, delete, sentient, control verbs
* Outfit verb
* inrangeunoccluded and tubedirection verbs
* attach-to verbs
* remove unused verbs and move VV
* Rename DebugVerbSystem
* Ghost role and pointing verbs
* Remove global verbs
* Allow verbs to raise events
* Changing categories and simplifying debug verbs
* Add rotate and flip verbs
* fix rejuvenate test
* redo context menu
* new Add Gas debug verb
* Add Set Temperature debug verb
* Uncuff verb
* Disposal unit verbs
* Add pickup verb
* lock/unlock verb
* Remove verb type, add specific verb events
* rename verb messages -> events
* Context menu displays verbs by interaction type
* Updated context menu HandleMove
previously, checked if entities moved 1 tile from click location.
Now checks if entities moved out of view.
Now you can actually right-click interact with yourself while walking!
* Misc Verb menu GUI changes
* Fix non-human/ghost verbs
* Update types and categories
* Allow non-ghost/human to open context menu
* configuration verb
* tagger verb
* Morgue Verbs
* Medical Scanner Verbs
* Fix solution refactor merge issues
* Fix context menu in-view check
* Remove prepare GUI
* Redo verb restrictions
* Fix context menu UI
* Disposal Verbs
* Spill verb
* Light verb
* Hand Held light verb
* power cell verbs
* storage verbs
and adding names to insert/eject
* Pulling verb
* Close context menu on verb execution
* Strip verb
* AmmoBox verb
* fix pull verb
* gun barrel verbs
revolver verb
energy weapon verbs
Bolt action verb
* Magazine gun barrel verbs
* Add charger verbs
* PDA verbs
* Transfer amount verb
* Add reagent verb
* make alt-click use ECS verbs
* Delete old verb files
* Magboot verb
* finalising tweaks
* context menu visibility changes
* code cleanup
* Update AdminAddReagentUI.cs
* Remove HasFlag
* Consistent verb keys
* Remove Linq, add comment
* Fix in-inventory check
* Update GUI text alignment and padding
* Added close-menu option
* Changed some "interaction" verbs to "activation"
* Remove verb keys, use sorted sets
* fix master merge
* update some verb text
* Undo Changes
Remove some new verbs that can be added later
undid some .ftl bugfixes, can and should be done separately
* fix merge
* Undo file rename
* fix merge
* Misc Cleanup
* remove contraction
* Fix keybinding issue
* fix comment
* merge fix
* fix merge
* fix merge
* fix merge
* fix merge
* fix open-close verbs
* adjust uncuff verb
* fix merge
and undo the renaming of SharedPullableComponent to PullableComponent. I'm tired of all of those merge conflicts
2021-10-04 20:29:03 -07:00
Vera Aguilera Puerto
0767bd3777
Popup ECS Refactor ( #4692 )
2021-09-26 15:18:45 +02:00
metalgearsloth
578ed16b8f
Remove IRelayMoveInput ( #4663 )
...
* Remove IRelayMoveInput
This interface gets called every time a movement key is pressed so it gets called a lot.
* Remove RelayMovementEntityMessage
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com >
2021-09-20 11:06:48 +02:00
Swept
c00e82462b
Tweaks ambient sound values and improves some existing sounds ( #4576 )
...
* Updates singularity to use AmbientSound
* Removed hum from light tubes and tweaked vending/bulb ambience
* Adds more explosion sound effects
* Moves closet open/close.ogg and adds wooden closet sound effect
* Updates flashlight on/off sound
* Adds HL Scientist scream collection
* Tweaks APC Ambience
* Minor oversight on det locker
* Addressed reviews
2021-09-10 11:31:54 +10:00
Vera Aguilera Puerto
fd8872cc4e
Makes PlaceableSurface ECS
2021-08-20 10:21:39 +02:00
ShadowCommander
a1db43ab34
Merge branch 'master' into replace-sounds-with-sound-specifier
2021-08-10 15:05:49 -07:00
Paul Ritter
d14b82a1e6
fixes morgue (almost) ( #4375 )
...
* fixes morgue (almost)
* yes
Co-authored-by: Paul <ritter.paul1+git@googlemail.com >
2021-08-01 14:13:46 +10:00
Galactic Chimp
57016d14b4
removed TryGetSound + made some SoundSpecifier datafields required
2021-07-31 19:52:33 +02:00
Galactic Chimp
5363f59a90
Merge branch 'master' into replace-sounds-with-sound-specifier
...
# Conflicts:
# Content.Server/Kitchen/Components/ReagentGrinderComponent.cs
# Content.Server/Storage/Components/SecureEntityStorageComponent.cs
2021-07-30 20:26:22 +02:00
Galactic Chimp
898bdc9491
#4420 Replaced SecureEntityStorageComp with LockComponent (new ECS) ( #4228 )
...
* #4420 moved sound components to a better spot in the project
* MWF-4420 - ported SecureEntityStorageComponent to new ECS system, as a LockComponent
* MWF-4420 - removed unused usings
* #4420 removed dumb ToggleLockVerb override workaround
* #4420 added SoundSpecifier to LockComponent
2021-07-30 10:22:06 -07:00
Galactic Chimp
f531c65a0b
Merge branch 'master' into replace-sounds-with-sound-specifier
...
# Conflicts:
# Content.Server/Actions/Actions/DisarmAction.cs
# Content.Server/Actions/Actions/ScreamAction.cs
# Content.Server/Arcade/Components/SpaceVillainArcadeComponent.cs
# Content.Server/Damage/Components/DamageOnHighSpeedImpactComponent.cs
# Content.Server/Explosion/Components/FlashExplosiveComponent.cs
# Content.Server/Physics/Controllers/MoverController.cs
# Content.Server/Portal/Components/PortalComponent.cs
# Content.Server/Portal/Components/TeleporterComponent.cs
# Content.Server/Projectiles/Components/ProjectileComponent.cs
# Content.Server/Singularity/Components/EmitterComponent.cs
# Content.Server/Sound/EmitSoundSystem.cs
# Content.Server/Stunnable/Components/StunbatonComponent.cs
# Content.Server/Tools/Components/MultitoolComponent.cs
# Content.Server/Weapon/Ranged/Barrels/Components/ServerBatteryBarrelComponent.cs
# Content.Shared/Gravity/GravityComponent.cs
# Content.Shared/Light/Component/SharedExpendableLightComponent.cs
# Content.Shared/Maps/ContentTileDefinition.cs
# Content.Shared/Slippery/SlipperyComponent.cs
# Content.Shared/Standing/StandingStateComponent.cs
# Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml
2021-07-25 14:12:00 +02:00
Visne
b7dc3c81ae
Remove redundant #nullable enable ( #4275 )
2021-07-16 17:37:09 -07:00
Galactic Chimp
ce3c59e0e6
replacing sound (collection) names with SoundSpecifier - part 1
2021-07-10 17:35:33 +02:00
Galactic Chimp
769daedaa9
#1607 deprecate IEntityQuery ( #4204 )
...
* #1607 partial progress
* #1607 partial progress
* #1607 almost done
* #1607 PR suggestions
* #1607 PR suggestions
* #1607 PR suggestions
* #1607 PR tweak
* #1607 PR tweak
* #1607 removed unused namespaces
* #1607 PR tweak
* Fix jank
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2021-06-27 13:40:03 +10:00
Galactic Chimp
392b820796
Removed old Loc.GetString() use instances ( #4155 )
...
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2021-06-21 02:13:54 +02:00
Acruid
15fb554c28
Engine Entity Anchoring Changes ( #4195 )
...
* Converted all SnapGridPositionChangedEvent subscriptions to AnchorStateChangedEvent.
* Fixes power tests with new anchored requirements.
* Moved AnchorableComponent into construction.
AnchorableComponent now uses Transform.Anchored.
* Fixed bug with nodes, power works again.
* Adds lifetime stages to Component.
* Update Engine to v0.4.70.
2021-06-19 19:41:26 -07:00