Skip to content

Commit

Permalink
add to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
David Brown committed Dec 18, 2019
1 parent 1e4d076 commit 6b24a84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/PLAYER_ACTIVITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ If the activity needs any information during its execution or when it's finished

Those values are automatically saved and restored when loading a game. Other than that they are not changed/examined by any common code. Different types of activities can use them however they need to.

If you are adding an activity that may be possible for NPCs to perform, then please make the activity placement in absolute coords.
As the local coordinate system is based on the avatar position.

### `activity_handlers::<activity>_do_turn` function

To prevent an infinite loop, ensure that one of the following is satisfied:
Expand Down

0 comments on commit 6b24a84

Please sign in to comment.