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
+1 -1
View File
@@ -355,7 +355,7 @@
if(4)
//Destroy Equipment
selected_turf.visible_message(span_userdanger("Everything [user] is holding and wearing disappears!"))
var/list/belongings = user.get_all_gear()
var/list/belongings = user.get_all_gear(NONE) //don't delete prosthetics or abstract items.
QDEL_LIST(belongings)
if(5)
//Monkeying
+1 -1
View File
@@ -400,7 +400,7 @@
var/bagholdingcheck = FALSE
if(iscarbon(user))
var/mob/living/carbon/teleporting_guy = user
if(locate(/obj/item/storage/backpack/holding) in teleporting_guy.get_all_gear())
if(locate(/obj/item/storage/backpack/holding) in teleporting_guy.get_all_gear(INCLUDE_PROSTHETICS|INCLUDE_ABSTRACT|INCLUDE_ACCESSORIES))
bagholdingcheck = TRUE
if(isclosedturf(destination))