188 Commits

Author SHA1 Message Date
MihailRis
9e8acac783 minor refactor 2025-08-01 22:00:29 +03:00
MihailRis
b28aa71845 add Schedule class & add time.schedule.world schedule group 2025-08-01 21:36:54 +03:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
8e8cabf2d1 add data argument to container:add(...) 2025-04-24 22:42:15 +03:00
MihailRis
61af8ba943 fix incomplete content reset 2025-04-19 22:17:58 +03:00
MihailRis
9e28b783fd make BlockMaterial serializable 2025-04-13 20:52:03 +03:00
MihailRis
e442402e43 refactor Engine 2025-04-02 15:01:24 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
bbe5688a53 fix entities.spawn in coroutines 2025-03-27 08:50:42 +03:00
MihailRis
6fb14ee0a4 feat: reloading hud scripts 2025-03-15 21:12:19 +03:00
MihailRis
f9998f0a93 feat: world script reloading 2025-03-14 17:07:10 +03:00
MihailRis
1bb25e99c6 add core.capture_output 2025-03-13 22:05:14 +03:00
MihailRis
e48216da40 experimental optimize canvas:set_data using ffi 2025-03-08 18:04:10 +03:00
MihailRis
e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
b12982655d fix gui.alert 2025-01-21 09:39:06 +03:00
MihailRis
f2101f6504 add entity:set_enabled(...) 2025-01-21 05:31:07 +03:00
MihailRis
80128a4190 add on_inventory_open and on_inventory_closed events 2025-01-12 17:14:01 +03:00
MihailRis
22c7cb8398 add on_chunk_present and on_chunk_remove events 2025-01-12 05:41:42 +03:00
MihailRis
dbf366eca3 fixes 2025-01-07 23:49:09 +03:00
MihailRis
45807fdcb1 fix on_block_common 2024-12-29 21:20:21 +03:00
MihailRis
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
4363883728 add 'on_breaking', 'on_block_breaking' events 2024-12-21 14:09:17 +03:00
MihailRis
c3f22c6854 rename 2024-12-21 13:11:23 +03:00
MihailRis
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
eaffc0cb57 Merge branch 'main' into headless-mode 2024-12-08 01:39:45 +03:00
MihailRis
59402b6607 add 'test' library 2024-12-07 22:16:50 +03:00
MihailRis
92fb19ba5e fix item.properties 2024-12-07 20:42:10 +03:00
MihailRis
5e8805f241 add vctest (WIP) 2024-12-07 15:49:23 +03:00
MihailRis
d1f92c21d0 fix on_block_interact & fix segfault after engine finished 2024-12-07 02:10:36 +03:00
MihailRis
32ba027fac replace getContentPacks with getAllContentPacks in global events emitting 2024-11-27 12:12:20 +03:00
MihailRis
3933baccd2 remove double world.lua run in 'core' 2024-11-27 10:55:55 +03:00
MihailRis
b3ac1bd8f4 update base:drop component 2024-11-26 11:01:29 +03:00
MihailRis
f095edda7a Merge branch 'main' into user-properties 2024-11-24 12:58:09 +03:00
MihailRis
1a00a91b60 fix: commands repository not reset before world open 2024-11-24 12:54:05 +03:00
MihailRis
f2e7a54180 add on_replaced block event and on_block_replaced world event 2024-11-22 12:31:45 +03:00
MihailRis
cd630463b3 add block.properties, item.properties (experimental) 2024-11-22 11:08:36 +03:00
MihailRis
8543be87df add block.materials table 2024-11-22 09:36:48 +03:00
MihailRis
a641099d36 feat: load block and item scripts after content load 2024-11-22 08:56:59 +03:00
MihailRis
61b1aa8e3d add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00
MihailRis
f9f150f0aa fix entity component script source path in lua traceback 2024-11-19 07:35:38 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
8c8c844dd4 feat: save rules 2024-11-06 19:37:20 +03:00
MihailRis
2e24d60404 add rules & add 'show-content-access' rule 2024-11-06 17:31:31 +03:00
MihailRis
9728664f5a fix 2024-11-05 14:40:51 +03:00
MihailRis
f6f82644d4 add on_block_interact world event 2024-11-05 13:55:07 +03:00
MihailRis
e762cf9b23 add events.reset 2024-11-01 17:18:12 +03:00
MihailRis
ac6084f904 fix console focus on open 2024-11-01 16:20:58 +03:00
MihailRis
72d5eca632 update events & update some built-in events codes 2024-11-01 15:05:06 +03:00
MihailRis
3b5857ee62 fix: on_block_placed not calling 2024-10-23 12:10:02 +03:00