Prosthetic Item arms no longer prevent ventcrawling: the remake (#93499)

## About The Pull Request
This is me picking up #93077 but with code changes relative to the two
new flags that Krysonism added in his PR, which unfortunately he never
finished.

## Why It's Good For The Game
Monkeys should be able to ventcrawl even if their left or right arm is
actually a chainsaw or armblade or whatever. See #93077

## Changelog
🆑 Krysonism
balance: prosthetic item limbs are no longer considered equipped items
for some purposes such as ventcrawling.
/🆑

---------

Co-authored-by: Krysonism <robustness13@hotmail.com>
This commit is contained in:
Ghom
2025-10-23 11:13:18 -04:00
committed by GitHub
co-authored by Krysonism
parent e044772e81
commit 38bebeaf47
26 changed files with 54 additions and 41 deletions
+2 -2
View File
@@ -56,7 +56,7 @@
carbon_target = target
visible_items = carbon_target.get_visible_items()
else
visible_items = target.get_equipped_items()
visible_items = target.get_equipped_items(INCLUDE_HELD)
visible_items -= src // the multitool cannot mark itself.
@@ -89,7 +89,7 @@
return
var/atom/movable/chosen = locate(picked_ref)
if(chosen == target || (chosen in (carbon_target ? carbon_target.get_visible_items() : target.get_equipped_items())))
if(chosen == target || (chosen in (carbon_target ? carbon_target.get_visible_items() : target.get_equipped_items(INCLUDE_HELD))))
mark_target(chosen)
else
balloon_alert(user, "cannot mark entity")