114 Commits

Author SHA1 Message Date
MihailRis
fb07c86ea6 add static Lua-style functions: Bytearray.insert, Bytearray.remove, Bytearray.append 2025-04-12 13:24:55 +03:00
MihailRis
303e861fbb replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
MihailRis
36c2971fcf add FFIBytearray 2025-04-06 22:23:39 +03:00
MihailRis
8fecc70e05 add inventory.decrement, inventory.set_count 2025-02-20 19:47:50 +03:00
MihailRis
3d0d6cab93 Merge branch 'main' into update-items 2025-02-18 18:39:37 +03:00
MihailRis
f0448c3080 move inventory.get_uses, inventory.use from stdmin to stdlib 2025-02-18 04:17:50 +03:00
MihailRis
c7061c70cb fix: console/chat open still available when menu is open & cleanup 2025-02-16 00:38:33 +03:00
MihailRis
e5f9efd87a fix: error message is not included in coroutine error alert 2025-01-31 18:09:31 +03:00
Xertis
9af5dcb68e
fix second gsub 2025-01-26 00:00:25 +03:00
Xertis
46c38edf8a
fix unexpected ")" 2025-01-25 23:32:20 +03:00
Xertis
224f5d9aee
Fix gui.template 2025-01-25 23:24:36 +03:00
MihailRis
b12982655d fix gui.alert 2025-01-21 09:39:06 +03:00
MihailRis
92f226cbcf miscellaneous fixes 2025-01-20 04:39:37 +03:00
MihailRis
c6951e0965 add in-game chat & update gui post-runnables timing & fix panel elements removal 2025-01-18 07:17:52 +03:00
MihailRis
8e8fed2aa2 move core:gui_util to core:internal/gui_util 2025-01-18 05:15:17 +03:00
MihailRis
72d2d9c879 move Document and RadioGroup implementation to core:gui_util 2025-01-18 05:14:06 +03:00
MihailRis
b0a8e8e001 add 'core:chat' event 2025-01-18 05:06:22 +03:00
MihailRis
036e13a2ca improve app scripts error handling 2025-01-17 01:42:01 +03:00
MihailRis
a45487b3c7 move 'key:escape' handler to Lua 2025-01-16 23:11:00 +03:00
MihailRis
1a246e2ae0 feat: menu pages dispatching 2025-01-16 07:40:34 +03:00
MihailRis
b8944f86c6 refactor vc coroutines error-handling & update socket:is_alive(), socket:send(...) 2025-01-15 05:27:10 +03:00
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