Files

4 lines
1.5 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/datums/components/pet_commands/pet_command_planning.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a></header><main><h1>code/datums/components/pet_commands/pet_command_planning.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/datums/components/pet_commands/pet_command_planning.dm"><img src="git.png" width="16" height="16" title="code/datums/components/pet_commands/pet_command_planning.dm"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="datum.html">datum</a>/<a href="datum/ai_planning_subtree.html">ai_planning_subtree</a>/pet_planning</th><td>Perform behaviour based on what pet commands you have received. This is delegated to the pet command datum.
When a command is set, we blackboard a key to our currently active command.
The blackboard also has a weak reference to every command datum available to us.
We use the key to figure out which datum to run, then ask it to figure out how to execute its action.</td></tr></table></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>