Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[CSM] Add core.get_timeofday & core.get_day_count env calls (#5401)
* [CSM] Add core.get_timeofday & core.get_day_count env calls * [CSM] Add core.get_node_level, core.get_node_max_level, core.find_node_near
- Loading branch information
Showing
with
67 additions
and 25 deletions.
- +9 −0 clientmods/preview/init.lua
- +1 −0 src/client.cpp
- +1 −0 src/clientenvironment.cpp
- +3 −2 src/environment.cpp
- +4 −1 src/environment.h
- +2 −0 src/script/clientscripting.cpp
- +5 −0 src/script/cpp_api/s_client.cpp
- +4 −0 src/script/cpp_api/s_client.h
- +34 −10 src/script/lua_api/l_env.cpp
- +1 −0 src/script/lua_api/l_env.h
- +0 −10 src/script/lua_api/l_internal.h
- +2 −1 src/serverenvironment.cpp
- +1 −1 src/serverenvironment.h