mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 12:11:45 +00:00
* Improvements for `can_perform_action()` (#84006) ## About The Pull Request The proc `can_perform_action()` now - Accepts atoms & not just movables without runtiming. Fixes #83985 - It now uses `CanReach()` instead of `Adjacent()`. Allows you to - Check if the target object is placed on top & not hidden - Is the object inside another storage atom & such - Properly checks for recursive locs. Before we were passing the direct atom & not the type to `recursive_loc_check()` causing this proc to always return true & giving us false positives. Now this proc has been adjusted to accept both type paths & real atoms - Removes `can_perform_turf_action()` since its now obsolete ## Changelog 🆑 fix: no more runtimes when dragging turfs onto other stuff code: most actions now properly check for recursive locs & better adjacency /🆑 * Improvements for `can_perform_action()` --------- Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>