This commit is contained in:
vm-silicons
2025-12-19 21:53:57 -08:00
parent ada5c19928
commit c90f9d8a92
38 changed files with 158 additions and 127 deletions
@@ -203,7 +203,7 @@ Doesn't work on other aliens/AI.*/
action.button_icon_state = "alien_neurotoxin_[active]"
action.UpdateButtons()
/obj/effect/proc_holder/alien/neurotoxin/InterceptClickOn(mob/living/caller, params, atom/target)
/obj/effect/proc_holder/alien/neurotoxin/InterceptClickOn(mob/living/, params, atom/target)
if(..())
return
var/p_cost = 50
@@ -543,7 +543,7 @@ Pass a positive integer as an argument to override a bot's default speed.
if(mode != BOT_SUMMON && mode != BOT_RESPONDING)
access_card.access = prev_access
/mob/living/simple_animal/bot/proc/call_bot(caller, turf/waypoint, message=TRUE)
/mob/living/simple_animal/bot/proc/call_bot(, turf/waypoint, message=TRUE)
bot_reset() //Reset a bot before setting it to call mode.
//For giving the bot temporary all-access.
@@ -552,7 +552,7 @@ Pass a positive integer as an argument to override a bot's default speed.
all_access.access = All.get_access()
set_path(get_path_to(src, waypoint, 200, id=all_access))
calling_ai = caller //Link the AI to the bot!
calling_ai = //Link the AI to the bot!
ai_waypoint = waypoint
if(path && path.len) //Ensures that a valid path is calculated!
@@ -562,7 +562,7 @@ Pass a positive integer as an argument to override a bot's default speed.
access_card = all_access //Give the bot all-access while under the AI's command.
if(client)
reset_access_timer_id = addtimer(CALLBACK (src, PROC_REF(bot_reset)), 600, TIMER_UNIQUE|TIMER_OVERRIDE|TIMER_STOPPABLE) //if the bot is player controlled, they get the extra access for a limited time
to_chat(src, "<span class='notice'><span class='big'>Priority waypoint set by [icon2html(calling_ai, src)] <b>[caller]</b>. Proceed to <b>[end_area]</b>.</span><br>[path.len-1] meters to destination. You have been granted additional door access for 60 seconds.</span>")
to_chat(src, "<span class='notice'><span class='big'>Priority waypoint set by [icon2html(calling_ai, src)] <b>[]</b>. Proceed to <b>[end_area]</b>.</span><br>[path.len-1] meters to destination. You have been granted additional door access for 60 seconds.</span>")
if(message)
to_chat(calling_ai, "<span class='notice'>[icon2html(src, calling_ai)] [name] called to [end_area]. [path.len-1] meters to destination.</span>")
pathset = 1
@@ -421,7 +421,7 @@
add_ranged_ability(user, message, TRUE)
return TRUE
/obj/effect/proc_holder/wrap/InterceptClickOn(mob/living/caller, params, atom/target)
/obj/effect/proc_holder/wrap/InterceptClickOn(mob/living/, params, atom/target)
if(..())
return
if(ranged_ability_user.incapacitated() || !istype(ranged_ability_user, /mob/living/simple_animal/hostile/poison/giant_spider/nurse))