X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=doc%2Flua_api.txt;h=8aea490cfcadf36e927c9ae4e3b8500db3d1351b;hb=21df26984da91143c15587f5a03c98d68c3adc4e;hp=e95c5ced8e914bd5fc2adb6a5bf74dea41333201;hpb=ae7664597ed15f9ac779a9bac0595ab4125457c4;p=dragonfireclient.git diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e95c5ced8..8aea490cf 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3283,6 +3283,8 @@ The following functions provide escape sequences: `minetest.get_color_escape_sequence(color) .. message .. minetest.get_color_escape_sequence("#ffffff")` +* `minetest.rainbow(message)`: + * Rainbow colorizes the message. * `minetest.get_background_escape_sequence(color)` * `color` is a ColorString * The escape sequence sets the background of the whole text element to @@ -6782,7 +6784,7 @@ object you are working with still exists. * Fourth column: subject looking to the right * Fifth column: subject viewed from above * Sixth column: subject viewed from below -* `get_entity_name()` (**Deprecated**: Will be removed in a future version) +* `get_entity_name()` (**Deprecated**: Will be removed in a future version, use the field `self.name` instead) * `get_luaentity()` #### Player only (no-op for other objects)