mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[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.
This commit is contained in:
@@ -393,7 +393,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
|
||||
|
||||
Reference in New Issue
Block a user