233 Commits

Author SHA1 Message Date
ChancellorIkseew
ac20676b3a
add weather.list command (#526) 2025-05-05 20:30:50 +03:00
MihailRis
20703e2b94 fix: attempt to index global 'ffi' (a nil value) in stdmin.lua 2025-05-02 18:51:07 +03:00
MihailRis
805e3fdd7d add Bytearray '__pairs` metamethod 2025-05-01 18:20:02 +03:00
MihailRis
1c76870228 fix gui.template(...) 2025-04-27 18:23:13 +03:00
MihailRis
34295faca2 fix containers refreshing 2025-04-27 10:55:49 +03:00
MihailRis
032b5ae9dc fix 2025-04-26 21:58:09 +03:00
MihailRis
f944dfb51d optimize gui.template 2025-04-26 20:17:37 +03:00
MihailRis
38e0753382 add __ipairs metamethod support if missing in LuaJIT 2025-04-17 19:54:58 +03:00
MihailRis
3e493a4a97 add uinode.parent read-only property 2025-04-16 20:58:57 +03:00
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
Onran
e279e4ea50
execute and compile of bitwise expressions exported to bit library 2025-04-06 22:17:28 +09:00
MihailRis
513bac81b5
fix crc32 in static build (#488)
fix crc32 in static build
2025-03-17 20:16:52 +03:00
MihailRis
13c309667b add crc32 function 2025-03-17 02:39:28 +03:00
MihailRis
12aced92cc feat: reloading modules 2025-03-16 22:27:08 +03:00
MihailRis
267aebe7bd add core:internal/scripts_registry module 2025-03-16 15:33:10 +03:00
MihailRis
ffac010e54 update built-in error handling 2025-03-13 22:03:45 +03:00
MihailRis
b66937c61d feat: scripts classification 2025-03-13 00:28:40 +03:00
MihailRis
4b09b108fd fix file.parent 2025-03-12 23:40:34 +03:00
MihailRis
9286f297c1 add file.path(...), file.join(...) 2025-03-11 16:19:09 +03:00
MihailRis
c6492b3d25 add file.parent(...) 2025-03-11 00:39:59 +03:00
MihailRis
bf5a5b243f Merge branch 'main' into precipitation 2025-03-09 23:13:04 +03:00
MihailRis
db620010a3 move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
MihailRis
e48216da40 experimental optimize canvas:set_data using ffi 2025-03-08 18:04:10 +03:00
Xertis
0d9cd6fefc
table.filter bug fix 2025-03-06 15:54:40 +03:00
MihailRis
7a86cbdd60 move weather library out of gfx 2025-03-05 18:39:34 +03:00
MihailRis
7c32a42cc5 add 'weather' command 2025-02-28 18:50:35 +03:00
MihailRis
a152237f26 add gfx.weather.get_current, get_current_data, get_fall_intencity 2025-02-28 05:23:29 +03:00
MihailRis
4d5b450145 add gfx.weather library & add weather.set command 2025-02-27 07:30:49 +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
bbfc0dbf17 add inventory.get_uses, inventory.use, item.uses & update base:bazalt_breaker 2025-02-17 04:40:18 +03:00
MihailRis
c7061c70cb fix: console/chat open still available when menu is open & cleanup 2025-02-16 00:38:33 +03:00
MihailRis
f0c7bc6377
Merge pull request #451 from Xertis/patch-4
Added new extensions for tables and math
2025-02-12 03:10:48 +03:00
Xertis
39f3f12382
fix pad 2025-02-10 17:39:20 +03:00
Xertis
78ceff54e7 upd 2025-02-10 16:39:05 +03:00
Xertis
185b0e5cbd upd string.left/right _padding 2025-02-10 16:24:28 +03:00
Xertis
c22f7e0eb5 add string.padding 2025-02-09 14:06:23 +03:00
Xertis
0d32b1987c I forgot about "t[x] or default" 2025-02-04 20:09:36 +03:00
Xertis
e106a31d82 correction table.slice & adding get_default 2025-02-04 19:54:01 +03:00
Xertis
17ce49bdf1 add table.slice 2025-02-01 01:34:11 +03:00
MihailRis
e5f9efd87a fix: error message is not included in coroutine error alert 2025-01-31 18:09:31 +03:00
Xertis
6592684db1 math.sum return 2025-01-26 20:47:45 +03:00
Xertis
089d86d0a1 documentation and stdmin corrections 2025-01-26 20:28:58 +03:00
Xertis
5187ee76e9
Changes to comply with the documentation 2025-01-26 14:21:44 +03:00
Xertis
35004c2075
Added new extensions for tables and math 2025-01-26 14:02:38 +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