mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user