mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
[MIRROR] You now see the vibebot do its thing [MDB IGNORE] (#18938)
You now see the vibebot do its thing (#72885) ## About The Pull Request Fixes #72847 You now see the vibes and not just feel them ## Changelog 🆑 fix: vibebot being invisible /🆑 Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
co-authored by
Fikou
SyncIt21
parent
fe8a9a4054
commit
cb010f7c56
@@ -942,7 +942,7 @@ Pass a positive integer as an argument to override a bot's default speed.
|
||||
ejectpai(usr)
|
||||
|
||||
/mob/living/simple_animal/bot/update_icon_state()
|
||||
icon_state = "[initial(icon_state)][get_bot_flag(bot_mode_flags, BOT_MODE_ON)]"
|
||||
icon_state = "[isnull(base_icon_state) ? initial(icon_state) : base_icon_state][get_bot_flag(bot_mode_flags, BOT_MODE_ON)]"
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/bot/proc/topic_denied(mob/user) //Access check proc for bot topics! Remember to place in a bot's individual Topic if desired.
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
desc = "A little robot. It's just vibing, doing its thing."
|
||||
icon = 'icons/mob/silicon/aibots.dmi'
|
||||
icon_state = "vibebot1"
|
||||
base_icon_state = "vibebot"
|
||||
density = FALSE
|
||||
anchored = FALSE
|
||||
health = 25
|
||||
@@ -24,9 +25,9 @@
|
||||
|
||||
/mob/living/simple_animal/bot/vibebot/Initialize(mapload)
|
||||
. = ..()
|
||||
update_appearance()
|
||||
vibe_ability = new(src)
|
||||
vibe_ability.Grant(src)
|
||||
update_appearance(UPDATE_ICON)
|
||||
|
||||
/mob/living/simple_animal/bot/vibebot/Destroy()
|
||||
QDEL_NULL(vibe_ability)
|
||||
|
||||
Reference in New Issue
Block a user