847 Commits

Author SHA1 Message Date
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
ChancellorIkseew
7e25b6f825 binding lock/unlock refactoring 2024-11-02 19:44:27 +10:00
ChancellorIkseew
7763157cdc bindings bug fix
If binding was blocked in one world, it stayed being blocked in other.
2024-11-02 05:09:55 +10:00
ChancellorIkseew
63304712f3 add lua function block/unbloc bindings 2024-11-02 03:40:35 +10: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
f7ac76064b
Merge pull request #330 from MihailRis/item-models
Add item models
2024-11-01 12:34:05 +03:00
ChancellorIkseew
b4d3f9ea15 add contentpacks controls reset 2024-11-01 17:42:02 +10:00
MihailRis
e0624b11d0 rename item.get_model_name and item.get_placing_block 2024-10-31 21:53:56 +03:00
MihailRis
e217476e84 fix renderHands with third person cameras 2024-10-31 21:27:30 +03:00
ChancellorIkseew
0733ddb38e add controls reset 2024-10-31 20:57:56 +10:00
MihailRis
7c933f89c6 add item.get_model 2024-10-30 12:55:08 +03:00
MihailRis
a43002cf54 add 'def' to settings info 2024-10-30 11:50:39 +03:00
MihailRis
d3def8e741 Merge branch 'main' into item-models 2024-10-29 23:05:14 +03:00
MihailRis
effdac2d4d add entities.def_hitbox function 2024-10-29 21:16:25 +03:00
MihailRis
751f8a7544 add item.get_placing_block 2024-10-28 13:07:10 +03:00
MihailRis
962c1afc4a Merge branch 'main' into item-models 2024-10-28 10:18:04 +03:00
MihailRis
7819a5cd68 add fragment:place & add 'fragment.place' command 2024-10-28 10:03:08 +03:00
MihailRis
9ffc45cbdc Merge branch 'main' into item-models 2024-10-27 22:20:58 +03:00
MihailRis
072744db00
Merge pull request #332 from MihailRis/upgrade-utf8-lib
Add more functions to utf8 library
2024-10-27 22:15:06 +03:00
MihailRis
176267e7ac fix msvc build again 2024-10-27 22:05:57 +03:00
MihailRis
8ae6d89ed4 fix msvc build again 2024-10-27 21:54:25 +03:00
ChancellorIkseew
2bf6ca9b7a add cubic interpolation type 2024-10-28 04:47:40 +10:00
MihailRis
bb239c0f49 add missing include 2024-10-27 21:44:15 +03:00
MihailRis
3e86d49a7b add utf8.upper, utf8.lower 2024-10-27 21:32:30 +03:00
MihailRis
c84b14ff0f Merge branch 'main' into item-models 2024-10-26 22:58:41 +03:00
MihailRis
7afdde5912 add world.get_generator 2024-10-26 22:46:26 +03:00
MihailRis
fae372d19f feat: item models generation simple & remove core:item_models 2024-10-26 18:42:21 +03:00
MihailRis
137e6fc767 add utf8.sub 2024-10-26 11:24:58 +03:00
MihailRis
ce7698e9ee rename utf8.encode to utf8.tobytes, utf8.decode to utf8.tostring 2024-10-26 10:54:33 +03:00
MihailRis
3dc334e778 add utf8.length, utf8.codepoint 2024-10-26 10:32:34 +03:00
MihailRis
52ed1abf1c add utf8.decode 2024-10-25 22:56:11 +03:00
MihailRis
52e62bbf95 add utf8.encode 2024-10-25 17:22:54 +03:00
MihailRis
751cde7503 add core.open_folder 2024-10-25 14:07:32 +03:00
MihailRis
3b5857ee62 fix: on_block_placed not calling 2024-10-23 12:10:02 +03:00
MihailRis
5dce372156 fix glm quaternions issues 2024-10-23 09:45:31 +03:00
MihailRis
1f4ef8a4de fix 'access denied' in file.remove for entry points 'export', 'config' 2024-10-21 12:16:24 +03:00
MihailRis
5ca83a572b
Merge pull request #315 from Sergwest585/main
small ide stuff + search controls
2024-10-20 06:03:23 +03:00
Sergwest585
67f7006ad0 add get_binding_text() for script api 2024-10-20 01:22:49 +03:00
Xertis
5ffa6966b2
fix item.caption 2024-10-19 18:56:30 +03:00
MihailRis
6e6f9616cd fix fatal error on wrong placement args 2024-10-19 05:33:59 +03:00
MihailRis
4844997c6a add bjson library & update /doc/en/scripting/filesystem.md 2024-10-17 09:04:31 +03:00
MihailRis
faca68e6c3 replace argument 'seed' with global constant 'SEED' 2024-10-16 08:46:32 +03:00
MihailRis
0ad59fadd9 rename lua_type_voxelstructure.cpp to lua_type_voxelfragment.cpp 2024-10-16 08:07:36 +03:00