93 Commits

Author SHA1 Message Date
MihailRis
d7ad7ff460 add Chat hotkey 2025-01-11 22:58:41 +03:00
MihailRis
653d1d20d4 add app.is_content_loaded() 2025-01-09 18:53:25 +03:00
MihailRis
13de581b4b add socket:available() --> int 2025-01-07 18:44:40 +03:00
MihailRis
e2bc168914 add app.reset_content() 2025-01-06 20:10:24 +03:00
MihailRis
d65da966d2 add app.load_content 2025-01-06 16:54:03 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
136c35591c add file.name(), file.stem() & add 'path' to pack info & add start_coroutine() 2025-01-05 22:44:32 +03:00
MihailRis
c51a7e0153 improve logging 2025-01-05 16:16:07 +03:00
MihailRis
f62fc5a039 fix errors handling in event handlers 2025-01-05 15:32:03 +03:00
MihailRis
bd9018dafe add pack.assemble(...), app.config_packs(...) 2025-01-03 23:51:36 +03:00
MihailRis
03a3062940 fix error handling in events and runnables 2024-12-31 10:25:26 +03:00
MihailRis
ed7dc1f901 feat: add app.save_world() function and update documentation 2024-12-25 15:15:11 +03:00
MihailRis
8179b9c249 add app.get_setting 2024-12-25 07:01:26 +03:00
MihailRis
be0945b4a5 add app.get_version, app.get_setting_info 2024-12-25 06:52:30 +03:00
MihailRis
686ace37f1 fix: app.sleep_until max_ticks ignored 2024-12-25 06:10:38 +03:00
MihailRis
ad6a6666da rename test library to app & rename app.name to app.script 2024-12-25 06:06:55 +03:00
MihailRis
9164edf971 move 'player.pick' binding handler to Lua 2024-12-23 12:37:26 +03:00
MihailRis
a144dd75b7 update vctest & add new test 2024-12-18 05:16:06 +03:00
MihailRis
5e55e20ec4 add test.quit, test.reopen_world 2024-12-18 02:25:28 +03:00
MihailRis
9ec8788838 add player.create, test.set_setting, test.sleep_until, world.count_chunks 2024-12-12 15:54:56 +03:00
MihailRis
cfc16679cb add test.open_world 2024-12-11 14:49:52 +03:00
MihailRis
b05c2fc911 fix 'timeit' in headless mode 2024-12-11 14:08:24 +03:00
MihailRis
3c2eb30a29 add test.reconfig_packs & fix world.get_total_time() & enable level controller 2024-12-10 20:14:18 +03:00
MihailRis
d3f74b56fa add test.close_world(bool) 2024-12-10 19:14:51 +03:00
MihailRis
9b4dd8f65e refactor & add test.new_world 2024-12-10 18:41:39 +03:00
MihailRis
59402b6607 add 'test' library 2024-12-07 22:16:50 +03:00
MihailRis
5e8805f241 add vctest (WIP) 2024-12-07 15:49:23 +03:00
MihailRis
6ec33ab98c fix stdlib.lua 2024-11-23 14:14:19 +03:00
MihailRis
f4f479d389 move 'devtools:console' binding handler to __vc_on_hud_open 2024-11-20 12:15:09 +03:00
MihailRis
78ea12aa26 add console on_open 'mode' argument 2024-11-19 08:30:50 +03:00
MihailRis
618a9f0411 add RadioButton Lua class 2024-11-18 07:11:07 +03:00
MihailRis
aba994f2b2 add 'allow-fast-interaction' 2024-11-07 20:44:00 +03:00
MihailRis
c80ad48f42 add assets.load_texture & update CHANGELOG.md 2024-11-07 07:58:31 +03:00
MihailRis
cfa5365b95 rename 'show-content-access' to 'allow-content-access' 2024-11-07 00:22:46 +03:00
MihailRis
ae6a323ff3 fix 'player.pick' is available when 'show-content-access' is false 2024-11-07 00:21:06 +03:00
MihailRis
d27179b6c3 update std rules & add player.destroy binding 2024-11-06 21:28:12 +03:00
MihailRis
fd88015511 add rules.reset(name) 2024-11-06 19:39:40 +03:00
MihailRis
8c8c844dd4 feat: save rules 2024-11-06 19:37:20 +03:00
MihailRis
6602584c13 add more cheating-related rules 2024-11-06 18:54:20 +03:00
MihailRis
5e9b290aea add 'cheat-commands' rule 2024-11-06 18:01:00 +03:00
MihailRis
2e24d60404 add rules & add 'show-content-access' rule 2024-11-06 17:31:31 +03:00
MihailRis
e762cf9b23 add events.reset 2024-11-01 17:18:12 +03:00
MihailRis
72d5eca632 update events & update some built-in events codes 2024-11-01 15:05:06 +03:00
MihailRis
1543a0ce4c update events system 2024-10-29 21:34:40 +03:00
MihailRis
44fd5416a9 fix string.replace 2024-10-29 21:06:49 +03:00
MihailRis
a1407a1d1f extend stdmin.lua & add module base:generation/ores 2024-10-14 07:38:54 +03:00
MihailRis
6e0304248b add stdmin.lua 2024-10-09 05:30:02 +03:00
MihailRis
15342c2df2 add 'config' entry point, pack.shared_file(...) & refactor engine_paths.cpp 2024-10-04 22:40:05 +03:00
MihailRis
7bc96affbb add one-time warnings to deprecated blocks-related functions 2024-08-04 00:00:42 +03:00
sekta
4894d4cf42 1000 ms in 1 sec 2024-07-31 18:03:23 +04:00