obeys_commands ![code/datums/components/pet_commands/obeys_commands.dm 7](git.png)
Vars | |
available_commands | List of commands you can give to the owner of this component |
---|---|
radial_menu_lifetime | after how long we shutdown radial menus |
radial_menu_offset | offset to display the radial menu |
radial_menu_radius | radius of our radial menu |
radial_relative_to_user | should the commands move with the pet owner's screen? |
radial_viewers | Users currently viewing our radial options |
Procs | |
Initialize | The available_commands parameter should be passed as a list of typepaths |
add_friend | Add someone to our friends list |
display_menu | Displays a radial menu of commands |
display_radial_menu | Actually display the radial menu and then do something with the result |
on_examine | Add a note about whether they will follow the instructions of the inspecting mob |
remove_friend | Remove someone from our friends list |
Var Details
available_commands ![code/datums/components/pet_commands/obeys_commands.dm 9](git.png)
List of commands you can give to the owner of this component
radial_menu_lifetime ![code/datums/components/pet_commands/obeys_commands.dm 15](git.png)
after how long we shutdown radial menus
radial_menu_offset ![code/datums/components/pet_commands/obeys_commands.dm 17](git.png)
offset to display the radial menu
radial_menu_radius ![code/datums/components/pet_commands/obeys_commands.dm 13](git.png)
radius of our radial menu
radial_relative_to_user ![code/datums/components/pet_commands/obeys_commands.dm 21](git.png)
should the commands move with the pet owner's screen?
radial_viewers ![code/datums/components/pet_commands/obeys_commands.dm 11](git.png)
Users currently viewing our radial options
Proc Details
Initialize
The available_commands parameter should be passed as a list of typepaths
add_friend
Add someone to our friends list
display_menu
Displays a radial menu of commands
display_radial_menu
Actually display the radial menu and then do something with the result
on_examine
Add a note about whether they will follow the instructions of the inspecting mob
remove_friend
Remove someone from our friends list