# Description
This reverts most code changes done by
https://github.com/Simple-Station/Einstein-Engines/pull/939 and
re-implements them in a better way:
- Players can now toggle under-furniture crawling with a keybind
(shift-R by default)
- Crawling that way is 50% slower for obvious balancing reasons
- The respective cvar for it is now true by default and prevents players
from beginning the "crawl under furniture" thing
Also cleaned up a few methods I was seriously pissed off by. There is
still a lot to clean up and fix, but I will leave it for a dedicated PR
in the future.
# Why (balancing)
Let me lie on the bed instead of under it!!!!!!!
<details><summary><h1>Media</h1></summary>
<p>
https://github.com/user-attachments/assets/5f04c82a-b88b-4005-8052-a1a6f011bcc9
</p>
</details>
# Changelog
🆑
- add: You can now toggle crawling under furniture! The default keybind
is Shift-R, you can change it in settings.
# Description
Fixed some logic issues on downed entities, as beds and being carried
would change their draw depth to a SmallMobs without setting it back
appropriately.
---
# Changelog
🆑 Mocho
- fix: Fixed downed entities having their draw depth set incorrectly
after being picked up, or laying on a bed.
# Description
Adds a CVAR that when enabled, allows entities to crawl under
tables/flaps by lowering their DrawDepth, which in turn protects them
from being targeted for projectiles while crawling.
Additionally tables and plastic flaps were given collision properties
along with reduced damage thresholds, so guns can target & destroy them
easily if your mouse is on top of them.
---
<h1>Media</h1>
<p>
https://github.com/user-attachments/assets/77a04198-11cb-4895-bf2d-6f82b7f2bb5b
</p>
</details>
---
# Changelog
🆑
- add: Adds an optional server variable which allows entities to crawl
under tables.
- tweak: Tables and plastic flaps are less resistant to damage, and can
now be targeted by guns by aiming on top of them.
---------
Signed-off-by: gluesniffler <159397573+gluesniffler@users.noreply.github.com>
Co-authored-by: VMSolidus <evilexecutive@gmail.com>
# Description
This fixes prediction issues, both where pressing the Lay down key
causes all entities on your screen to glitch and lay down, as well as
the bug where upon receiving ANY movement input, a player would be
visually changed on their screen to be laying down.
# Changelog
🆑
- fix: Fixed issues with the LayingDownSystem. Laying down no longer
causes all entities on your screen to lay down at once. Using any
movement input no longer causes the character to appear to the player as
to be laying down.
# Description
Port of https://github.com/WWhiteDreamProject/wwdpublic/pull/2
And now also https://github.com/WWhiteDreamProject/wwdpublic/pull/8
Because Lying Down System is dependent on the Telescope System.
# TODO
- [x] Reconcile the code with core code, do code cleanup. I'll undraft
this when I'm done. Probably not going to be tonight, because I will
have to get some sleep soon to get up early for my calculus classes.
# Changelog
🆑 Spatison (White Dream)
- add: Added lying down system / Добавлена система лежания
- tweak: Lying down now uses do-afters that are visible to other people
to indicate what is going on.
- add: Added telescope system / Добавлена система прицеливания
- tweak: Now you can aim from Hristov / Теперь можно прицеливаться из
Христова
---------
Signed-off-by: VMSolidus <evilexecutive@gmail.com>
Co-authored-by: Spatison <137375981+Spatison@users.noreply.github.com>
Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com>
# Conflicts:
# Content.Client/Input/ContentContexts.cs
# Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
# Content.Shared/Input/ContentKeyFunctions.cs
# Resources/Prototypes/Entities/Objects/Weapons/Guns/Snipers/snipers.yml
# Resources/keybinds.yml