mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-06 15:42:28 +00:00
By pressing four or clicking on the on-screen object, the AI can now change its intent. This is only useful (for now) for when the AI is controlling a mech, as it can now punch people instead of pushing them.
6 lines
136 B
Plaintext
6 lines
136 B
Plaintext
/mob/living/silicon/ai/key_down(_key, client/user)
|
|
switch(_key)
|
|
if("4")
|
|
a_intent_change(INTENT_HOTKEY_LEFT)
|
|
return
|
|
return ..() |