16 Commits

Author SHA1 Message Date
MihailRis
af3c315c04 fix inventory.* functions error messages 2025-06-30 21:27:49 +03:00
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
f5a4b5ca79 fix inventory.move_range 2025-03-18 03:45:20 +03:00
MihailRis
8fecc70e05 add inventory.decrement, inventory.set_count 2025-02-20 19:47:50 +03:00
MihailRis
3aa7d6ac28 feat: support items data in base pack 2025-02-18 01:03:34 +03:00
MihailRis
a118016c8f add data argument to inventory.add 2025-02-16 03:31:06 +03:00
MihailRis
d25180406b add data argument to inventory.set & add inventory.get_all_data 2025-02-16 03:00:00 +03:00
MihailRis
8837542561 add inventory.has_data 2025-02-16 02:27:21 +03:00
MihailRis
ace01b6ac9 rename inventory.get_field/set_field to inventory.get_data/set_data 2025-02-16 02:15:53 +03:00
MihailRis
35d0b0f7f6 add inventory.get_field, .set_field & refactor libinventory.cpp 2025-02-15 20:31:00 +03:00
MihailRis
4306573320 refactor 2025-02-06 20:26:06 +03:00
MihailRis
22d207ba28 add player.set_selected_slot, inventory.find_by_item 2024-12-23 12:24:29 +03:00
MihailRis
51eadd397c fix 2024-11-26 09:44:17 +03:00
MihailRis
0ba0584c5d add function inventory.move_range 2024-11-26 09:32:53 +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
736fdbf964 move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00