mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
Merge branch 'master' of https://github.com/tgstation/tgstation into upstream-sync
This commit is contained in:
@@ -84,7 +84,7 @@ GLOBAL_LIST_INIT(command_strings, list(
|
||||
var/list/current_pathed_turfs = list()
|
||||
|
||||
///The type of data HUD the bot uses. Diagnostic by default.
|
||||
var/data_hud_type = DATA_HUD_DIAGNOSTIC
|
||||
var/data_hud_type = TRAIT_DIAGNOSTIC_HUD
|
||||
/// If true we will allow ghosts to control this mob
|
||||
var/can_be_possessed = FALSE
|
||||
/// Message to display upon possession
|
||||
@@ -139,8 +139,7 @@ GLOBAL_LIST_INIT(command_strings, list(
|
||||
|
||||
//If a bot has its own HUD (for player bots), provide it.
|
||||
if(!isnull(data_hud_type))
|
||||
var/datum/atom_hud/datahud = GLOB.huds[data_hud_type]
|
||||
datahud.show_to(src)
|
||||
ADD_TRAIT(src, data_hud_type, INNATE_TRAIT)
|
||||
|
||||
if(mapload && is_station_level(z) && (bot_mode_flags & BOT_MODE_CAN_BE_SAPIENT) && (bot_mode_flags & BOT_MODE_ROUNDSTART_POSSESSION))
|
||||
enable_possession(mapload = mapload)
|
||||
|
||||
@@ -39,13 +39,10 @@
|
||||
var/exenteration_cooldown_duration = 0.5 SECONDS
|
||||
//aoe slash ability
|
||||
var/datum/action/cooldown/mob_cooldown/bot/exenterate
|
||||
var/list/remains = list(/obj/effect/gibspawner/robot)
|
||||
|
||||
/mob/living/basic/bot/dedbot/Initialize(mapload)
|
||||
. = ..()
|
||||
if(length(remains))
|
||||
remains = string_list(remains)
|
||||
AddElement(/datum/element/death_drops, remains)
|
||||
AddElement(/datum/element/death_drops, /obj/effect/gibspawner/robot)
|
||||
var/static/list/innate_actions = list(
|
||||
SPIN_SLASH_ABILITY_TYPEPATH = BB_DEDBOT_SLASH,
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
bot_mode_flags = BOT_MODE_ON | BOT_MODE_REMOTE_ENABLED | BOT_MODE_CAN_BE_SAPIENT | BOT_MODE_AUTOPATROL | BOT_MODE_ROUNDSTART_POSSESSION
|
||||
hackables = "sound control systems"
|
||||
path_image_color = "#FF69B4"
|
||||
data_hud_type = DATA_HUD_SECURITY_BASIC
|
||||
data_hud_type = TRAIT_SECURITY_HUD_ID_ONLY
|
||||
additional_access = /datum/id_trim/job/clown
|
||||
possessed_message = "You are a honkbot! Make sure the crew are having a great time!"
|
||||
///our voicelines
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
radio_key = /obj/item/encryptionkey/headset_med
|
||||
radio_channel = RADIO_CHANNEL_MEDICAL
|
||||
bot_type = MED_BOT
|
||||
data_hud_type = DATA_HUD_MEDICAL_ADVANCED
|
||||
data_hud_type = TRAIT_MEDICAL_HUD
|
||||
hackables = "health processor circuits"
|
||||
possessed_message = "You are a medbot! Ensure good health among the crew to the best of your ability!"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
radio_key = /obj/item/encryptionkey/headset_service
|
||||
radio_channel = RADIO_CHANNEL_SERVICE
|
||||
bot_type = VIBE_BOT
|
||||
data_hud_type = DATA_HUD_DIAGNOSTIC
|
||||
data_hud_type = TRAIT_DIAGNOSTIC_HUD
|
||||
path_image_color = "#2cac12"
|
||||
possessed_message = "You are a vibebot! Maintain the station's vibes to the best of your ability!"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user