From 6e7b0467961ed389699d44bc74a1d707f450ed48 Mon Sep 17 00:00:00 2001 From: SilverSokolova <80606782+SilverSokolova@users.noreply.github.com> Date: Tue, 30 Jul 2024 03:24:08 -0500 Subject: [PATCH] player.(set)favoriteColor documentation --- doc/lua/openstarbound.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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.