AI deploy to shell verb does not take an input (#94664)

## About The Pull Request

Fixes #94663 
It seems that using the "Deploy to Shell" verb as an AI will launch a
popup asking which mob in view you want to trigger the verb as, which is
obviously unintended behaviour.
I've resolved this by moving all of the behaviour to a proc which the
verb calls, so existing code which passes in a mob should still function
as it did previously.

There might be a different way to do this but I'll be honest I try not
to ever add verbs so I don't know what it is.

## Why It's Good For The Game

When you use a verb from the verb panel you implicitly expect to be the
mob using the verb, not to have to select yourself from a list first.

## Changelog

🆑
fix: AI shell deployment verb no longer requires you to select yourself
from a list first
/🆑
This commit is contained in:
Jacquerel
2025-12-31 16:53:27 +00:00
committed by GitHub
parent 62283c9f5b
commit d8e62bc499
3 changed files with 10 additions and 5 deletions
@@ -17,5 +17,5 @@
if(.)
return
var/mob/living/silicon/ai/our_ai = user.mob
our_ai.deploy_to_shell(our_ai.redeploy_action.last_used_shell)
our_ai.select_shell(our_ai.redeploy_action.last_used_shell)
return TRUE