mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17: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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user