83 Commits

Author SHA1 Message Date
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
sekta
509db9790d srakotan 2024-07-31 17:44:25 +04:00
sekta
f9c3ec66be modified math, table and string in one file 2024-07-31 17:30:39 +04:00
sekta
987d6b6d3f . 2024-07-31 17:14:17 +04:00
Mihail
4502a1206e
added some libraries 2024-07-31 16:12:49 +04:00
MihailRis
664faf35e9 fix load_script function return value 2024-07-25 21:57:40 +03:00
MihailRis
18d473b673 improve parsing error alert 2024-07-24 17:11:43 +03:00
MihailRis
02c9c4ced3 add mat4.from_quat(...) & update mat4.decompose(...) 2024-07-19 07:48:42 +03:00
MihailRis
1eac343619 add entities.get_all(...), .get_all_in_box(...), .get_all_in_radius(...) 2024-07-17 14:51:55 +03:00
MihailRis
ffb7aa1189 add 'camera' library 2024-07-12 06:14:13 +03:00
MihailRis
a68be271c6 fix new world entities id & initial state of lua random 2024-07-09 19:40:00 +03:00