50 Commits

Author SHA1 Message Date
MihailRis
2de5f5c646 ui callbacks update 2024-02-12 19:59:58 +03:00
MihailRis
87f50f79c9 block inventories (backend) 2024-02-12 18:28:18 +03:00
MihailRis
e16f7567b1 lua: inventory library 2024-02-12 13:56:46 +03:00
MihailRis
617017d979 content-pack specific variables PACK_ENV and PACK_ID 2024-02-12 03:22:08 +03:00
MihailRis
49fe2108d3 new lua functions 2024-02-12 02:39:45 +03:00
MihailRis
e4f7315cc3 lua: uidocuments sub-environment 2024-02-11 23:56:24 +03:00
MihailRis
4ce46f34bf inventory id argument 2024-02-11 17:42:19 +03:00
MihailRis
8e529eb63b inventory script, modules 2024-02-11 17:38:30 +03:00
MihailRis
6fc312b651 lua content pack environments test 2024-02-09 19:47:22 +03:00
MihailRis
fce77bc896 lua environmnents-related update 2024-02-09 15:46:43 +03:00
MihailRis
241d15e349 ContentPackRuntime + refactor 2024-02-08 20:53:12 +03:00
MihailRis
1dd0e9f939 UiDocument 2024-02-07 19:29:20 +03:00
MihailRis
52e60c979b fixes 2024-02-05 22:30:23 +03:00
MihailRis
bcc6fef74b lua: added toml library + content menu fix 2024-02-05 04:05:58 +03:00
MihailRis
4fd398844e UiXmlReader update 2024-02-05 01:10:05 +03:00
MihailRis
b38afe9e34 refactor 2024-02-04 23:45:15 +03:00
MihailRis
0e2fc14dc8 luaL_openlib renamed to openlib 2024-02-02 22:37:52 +03:00
MihailRis
bc72742ee3 locale independent util::parse_double 2024-02-02 20:02:30 +03:00
MihailRis
7434cb66e8 l_print update 2024-01-30 20:19:57 +03:00
MihailRis
180ad0a605 lua: print function patch 2024-01-30 19:45:15 +03:00
MihailRis
7df98f7b35 lua: on_block_interact prevent default feature 2024-01-29 01:37:40 +03:00
MihailRis
b14da32867 lua: added file.mkdir 2024-01-27 22:12:40 +03:00
MihailRis
abc3e47feb world.lua script 2024-01-26 18:37:10 +03:00
MihailRis
b42a517cc6 lua: file.write fix 2024-01-26 01:41:32 +03:00
MihailRis
04a9c2045e lua: file library 2024-01-25 16:04:02 +03:00
MihailRis
e457e3da39 lua: 'core' prefix support + minor refactor 2024-01-23 23:52:42 +03:00
MihailRis
5c36f59b4f added time.uptime() and sleep(timesec) 2024-01-22 18:38:46 +03:00
MihailRis
5188ee7bd8 on_blocks_tick event 2024-01-22 14:28:39 +03:00
MihailRis
31eda1abb2 lua: world.get_total_time + set_block_user_bits fix 2024-01-22 09:52:26 +03:00
MihailRis
ff7f18fa7b added stdlib.lua + lua errors handling update 2024-01-22 08:14:52 +03:00
MihailRis
d7f2771da4 lua: pack.get_folder(pack_name) + shader fix 2024-01-17 23:10:06 +03:00
MihailRis
377c8e5029 the big refactor + extracted data classes from coders/json to data/dynamic 2024-01-17 16:32:53 +03:00
MihailRis
3837cdcf95 binary json format introduced + specification 2024-01-16 19:05:27 +03:00
MihailRis
cec8d75b7d added content error message screen on world creation 2024-01-14 20:10:50 +03:00
MihailRis
0b48a77e2d world.set_day_time fix 2024-01-14 17:37:42 +03:00
MihailRis
beddfb5359 scripting prevent-default fix 2024-01-14 15:00:11 +03:00
MihailRis
3183513e55 luaL_openlib replacement fix 2024-01-13 20:48:24 +03:00
MihailRis
40987f16b6 small lua fix 2024-01-13 11:16:44 +03:00
MihailRis
444a2061c5 lua: player functions update 2024-01-12 14:18:29 +03:00
MihailRis
faabb8178a New scripting features 2024-01-12 12:16:54 +03:00
MihailRis
b5739c678f Items intruduced (part II) 2024-01-09 00:49:17 +03:00
MihailRis
4a57e71e81 Items intruduced (WIP) 2024-01-08 01:11:22 +03:00
A-lex-Ra
d671188680 small refactoring 2024-01-05 13:13:02 +06:00
MihailRis
ee691f8c3f script states renamed to user bits 2024-01-04 15:34:51 +03:00
MihailRis
06f66ffd71 Voxel changed from 16 bit to 32 bit + new lua functions 2024-01-04 15:27:07 +03:00
MihailRis
0d36f52bdd Lua: added get_player_rot, set_player_rot 2024-01-03 16:53:33 +03:00
MihailRis
9ebbe1029d New block properties and lua functions 2023-12-29 21:18:14 +03:00
MihailRis
d2a40d31a4 scripting: get_player_pos, set_player_pos 2023-12-29 00:46:26 +03:00
MihailRis
2c75a0bee4 scripting: on_interact (right click on block) callback 2023-12-29 00:31:21 +03:00
MihailRis
acce49f188
Scripting WIP (#70)
* Scripting introduced

* AppImage workflow fixes

* AppImage workflow simplified

* README.md update

* README.md update

* small fix
2023-12-25 05:26:03 +03:00