/tg/ Station 13 - Modules - TypesProc Details

hostile_friend

This code needs to be removed at some point as it doesn't actually utilize the AI.

Procs

befriendBefriends someone
check_altclickedSomeone alt clicked us, see if they're someone we should show the radial command menu to
check_pointSomeone we like is pointing at something, see if it's something we might want to interact with (like if they might want us to fetch something for them)
check_verbal_commandOne of our friends said something, see if it's a valid command, and if so, take action
command_radialShow the command radial menu
on_examinedSomeone is looking at us, if we're currently carrying something then show what it is, and include a message if they're our friend
set_command_modeWhether we got here via radial menu or a verbal command, this is where we actually process what our new command will be
unfriendSomeone is being mean to us, take them off our friends (add actual enemies behavior later)

Proc Details

befriend

Befriends someone

check_altclicked

Someone alt clicked us, see if they're someone we should show the radial command menu to

check_point

Someone we like is pointing at something, see if it's something we might want to interact with (like if they might want us to fetch something for them)

check_verbal_command

One of our friends said something, see if it's a valid command, and if so, take action

command_radial

Show the command radial menu

on_examined

Someone is looking at us, if we're currently carrying something then show what it is, and include a message if they're our friend

set_command_mode

Whether we got here via radial menu or a verbal command, this is where we actually process what our new command will be

unfriend

Someone is being mean to us, take them off our friends (add actual enemies behavior later)