Stops you getting into a mech if you have stuff in your hands at all. (#91046)

## About The Pull Request

Makes it so that it is impossible to enter a mech if your hands are
full.

## Why It's Good For The Game

This can result in some...very unintended behavior should somehow you
cannot be forced to drop items in your hands.

## Changelog
🆑
fix: You must have both your hands empty before entering a mech. (But
items which replace your hand, like the light later or the hand of god,
won't prevent you from getting in)
/🆑
This commit is contained in:
necromanceranne
2025-05-13 15:09:22 +03:00
committed by GitHub
parent 45c8a05aec
commit 2073ad23e3
2 changed files with 7 additions and 1 deletions
@@ -62,7 +62,7 @@
activated()
/obj/item/rod_of_asclepius/proc/activated()
item_flags = DROPDEL
item_flags = DROPDEL | ABSTRACT
ADD_TRAIT(src, TRAIT_NODROP, CURSED_ITEM_TRAIT(type))
activated = TRUE
update_appearance()