691 Commits

Author SHA1 Message Date
MihailRis
2ba90625ce add player.is_instant_destruction, .set_instant_destruction 2024-11-21 05:02:45 +03:00
MihailRis
14b596140d add player.is_infinite_items, .set_infinite_items 2024-11-20 13:19:49 +03:00
MihailRis
f4f479d389 move 'devtools:console' binding handler to __vc_on_hud_open 2024-11-20 12:15:09 +03:00
MihailRis
e842b217da add 'args' parameter to hud.show_overlay 2024-11-20 11:10:05 +03:00
MihailRis
a015d74af5 update file library warnings 2024-11-19 10:04:26 +03:00
MihailRis
c543575150 replace '<string>' source name with '[string]' 2024-11-19 09:53:15 +03:00
MihailRis
f9f150f0aa fix entity component script source path in lua traceback 2024-11-19 07:35:38 +03:00
MihailRis
66be215101 add advanced lua errors handler & fix hud script source path in traceback 2024-11-19 07:26:28 +03:00
MihailRis
c5c9ef379e add textbox:lineAt and textbox:linePos 2024-11-19 05:57:46 +03:00
MihailRis
2cf51a6941 add 'line-numbers' property to textbox & make TextBox extend Container instead of Panel 2024-11-19 04:21:05 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
801650824e add 'text-color' textbox property 2024-11-18 14:03:30 +03:00
MihailRis
0bfc5d2ad4 add base64 library 2024-11-18 11:52:06 +03:00
MihailRis
dcd8871ee1 add utf8.escape, string.escape & reformat extensions.md 2024-11-18 09:21:16 +03:00
MihailRis
04da2f5e69 add .set_rotation(mat4) 2024-11-15 04:29:52 +03:00
MihailRis
a8388a6243 add text3d.get_axis_x, .set_axis_x, .get_axis_y, .set_axis_y 2024-11-15 03:09:05 +03:00
MihailRis
3a1e90f517 add gfx.text3d OOP wrapper 2024-11-14 21:49:43 +03:00
MihailRis
4a74e56eda add update_settings 2024-11-14 21:18:36 +03:00
MihailRis
501f1b568d add get_text, set_text, get_pos, set_pos 2024-11-14 10:57:55 +03:00
MihailRis
d74b530a83 rename spawn to show & add gfx.text3d.hide(...) 2024-11-14 10:45:37 +03:00
MihailRis
eb5715eba9 add gfx.text3d.spawn(...) 2024-11-14 10:32:50 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis
d72f758dc5 add 'hint' property to TextBox 2024-11-12 23:20:43 +03:00
MihailRis
c902bcc6c7
Merge pull request #355 from opchik98/main
Feature #152 and potential fix #320
2024-11-10 21:36:17 +03:00
MihailRis
71eadb2fde add 'write to read-only entry point' warnings 2024-11-07 21:57:27 +03:00
opchik98
8e549fe806 Feature #152 and potential fix #320
- Added Lua scripts hud.open, inventory.create and inventory.remove
- Window now resizes even if it is not focused
2024-11-07 18:38:24 +02:00
MihailRis
c80ad48f42 add assets.load_texture & update CHANGELOG.md 2024-11-07 07:58:31 +03:00
MihailRis
6e6de5fc24 fix utf8.tostring 2024-11-07 07:56:50 +03:00
MihailRis
fdbe8ca9c6 move particles to gfx.particles 2024-11-06 20:18:57 +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
2e24d60404 add rules & add 'show-content-access' rule 2024-11-06 17:31:31 +03:00
MihailRis
8e00e73b8e add utf8.encode(...) 2024-11-06 16:26:35 +03:00
MihailRis
961773c9f9 fix potential null dereferences on incorrect block.* functions use & refactor 2024-11-06 02:55:37 +03:00
MihailRis
9728664f5a fix 2024-11-05 14:40:51 +03:00
MihailRis
4932fd8b4b add file.read_combined_object & update filesystem docs 2024-11-05 14:33:56 +03:00
MihailRis
d4f0c906d2 add world.is_open() 2024-11-05 14:05:32 +03:00
MihailRis
f6f82644d4 add on_block_interact world event 2024-11-05 13:55:07 +03:00
MihailRis
f95b743a6c add particles.is_alive 2024-11-05 04:10:56 +03:00
MihailRis
edb4ce02ca add particles.get_origin(...), particles.set_origin(...) 2024-11-05 04:08:55 +03:00
MihailRis
b844e53ba1 Merge branch 'main' into particles-first 2024-11-04 22:49:39 +03:00
REDxEYE
5ba96945e6 Remove fog api as it soon to be deprecated 2024-11-04 21:18:15 +03:00
REDxEYE
3383566e6a libitem: Minor cleanup 2024-11-04 21:18:13 +03:00
REDxEYE
a4b1b2100b libentities: deprecate in favour of official implementation 2024-11-04 21:17:20 +03:00
REDxEYE
7f5bc41835 libentities: add get_hitbox that returns a hitbox from entity definition 2024-11-04 21:17:20 +03:00
REDxEYE
803981e2a8 libworld: expose WorldInfo::fog value to lua 2024-11-04 21:17:20 +03:00
REDxEYE
76fc7b5fb4 libitem: exposed placing_block and emission to lua 2024-11-04 21:17:17 +03:00
MihailRis
3ecb7b447f add particles.stop(...) 2024-11-04 14:55:35 +03:00
MihailRis
c8187c5f25 add particles.emit(...) (WIP) 2024-11-03 16:01:07 +03:00
MihailRis
839211a310 update doc/*/scripting/user-input.md 2024-11-02 13:15:17 +03:00