mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Give CSM access to use core.colorize()
(#5113)
This commit is contained in:
parent
7b74f04a61
commit
d31750cb93
4 changed files with 74 additions and 33 deletions
|
@ -40,6 +40,12 @@ core.register_chatcommand("dump", {
|
|||
end,
|
||||
})
|
||||
|
||||
core.register_chatcommand("colorize_test", {
|
||||
func = function(param)
|
||||
return true, core.colorize("red", param)
|
||||
end,
|
||||
})
|
||||
|
||||
core.register_chatcommand("test_node", {
|
||||
func = function(param)
|
||||
core.display_chat_message(dump(core.get_node({x=0, y=0, z=0})))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue