diff options
author | SilverSokolova <80606782+SilverSokolova@users.noreply.github.com> | 2024-07-30 03:24:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 03:24:08 -0500 |
commit | 6e7b0467961ed389699d44bc74a1d707f450ed48 (patch) | |
tree | 550a0817d256341fc4159f427f9a2b12d8501b67 /doc | |
parent | 420f1d97312702b238fc98237285cdc2fe02684a (diff) |
player.(set)favoriteColor documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua/openstarbound.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/lua/openstarbound.md b/doc/lua/openstarbound.md index d888e55..432743c 100644 --- a/doc/lua/openstarbound.md +++ b/doc/lua/openstarbound.md @@ -302,6 +302,17 @@ Sets the player's mode. **mode** must be either `"casual"`, `"survival"` or `"ha --- +#### `Color` player.favoriteColor() + +Returns the player's favorite color. +It is used for the beam shown when wiring, placing, and highlighting with beam-tools (Matter Manipulator). + +#### `void` player.setFavoriteColor(`Color` color) + +Sets the player's favorite color. **color** can have an optional fourth value for transparency. + +--- + #### `Vec2F` player.aimPosition() Returns the player's aim position. |