[MIRROR] [NO GBP] Changes how the nukie medbot enables airplane mode (#26289)

* [NO GBP] Changes how the nukie medbot enables airplane mode (#81152)

## About The Pull Request
When I wrote #81113, I foolishly set the flags on the nukie medbot by
typing out all the parent flags and removing the one I did not want.
This PR changes that to use the `parent_type::` operator and get the
actual parent flags, then removing the one we do not want. Not player
facing.
## Why It's Good For The Game
Looks cleaner in the code and probably helps maintainability.

* [NO GBP] Changes how the nukie medbot enables airplane mode

---------

Co-authored-by: Vladin Heir <44104681+VladinXXV@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-01-29 19:58:13 +01:00
committed by GitHub
co-authored by Vladin Heir
parent aaea5825e3
commit 164d37d584
@@ -399,7 +399,7 @@
health = 40
maxHealth = 40
maints_access_required = list(ACCESS_SYNDICATE)
bot_mode_flags = BOT_MODE_ON | BOT_MODE_CAN_BE_SAPIENT | BOT_MODE_ROUNDSTART_POSSESSION
bot_mode_flags = parent_type::bot_mode_flags & ~BOT_MODE_REMOTE_ENABLED
radio_key = /obj/item/encryptionkey/syndicate
radio_channel = RADIO_CHANNEL_SYNDICATE
damage_type_healer = HEAL_ALL_DAMAGE