Add Galoshes slowdown over slippery surfaces (#30967)

* first draft

* Fixed it all, just need to rename stuff

* Rename and add comments

* Clean-up

* Access added
This commit is contained in:
SlamBamActionman
2024-08-23 11:59:51 +02:00
committed by GitHub
parent 14567a1d3b
commit 9ee43eed2c
11 changed files with 177 additions and 18 deletions

View File

@@ -158,7 +158,7 @@ public sealed partial class SleepingSystem : EntitySystem
private void OnSlip(Entity<SleepingComponent> ent, ref SlipAttemptEvent args)
{
args.Cancel();
args.NoSlip = true;
}
private void OnConsciousAttempt(Entity<SleepingComponent> ent, ref ConsciousAttemptEvent args)