Neveix
3b3bf8e878
Inventory enhancements #897 : 2, 5, 9, 11, 12 ( #931 )
...
* implement a bit
* change shift to ctrl
* add enhancement #2
* add ctrl-interaction with content access
* fix libinventory.move bug (none checking)
* fix p.5
* move shareinv logic into inventory_utils
* add inventory utils
* small refactor
* fix iframe.src = ""
---------
Co-authored-by: MihailRis <mexaruc@gmail.com>
2026-08-14 21:25:42 +03:00
MihailRis
53a9d47905
Merge branch 'environments' into refactor-world-renderer
2026-07-26 23:56:40 +03:00
MihailRis
8e719eace6
add missing inventory function
2026-07-19 22:43:50 +03:00
MihailRis
c73b036099
cleanup World references
2026-06-20 22:17:27 +03:00
MihailRis
0012419651
test content events names cache
2026-01-29 20:30:38 +03:00
MihailRis
d708e8d21c
cleanup
2025-12-16 00:45:15 +03:00
MihailRis
923ca2b89e
format Inventories.hpp
2025-12-16 00:39:30 +03:00
MihailRis
180dd5051b
fix fatal error on invalid item id in inventory
2025-12-16 00:17:51 +03:00
MihailRis
4df4209bc5
fix generated item's script
2025-12-02 18:21:52 +03:00
MihailRis
4fed90246f
fix Block::cloneTo, ItemDef::cloneTo
2025-09-10 01:02:08 +03:00
MihailRis
185b6cc661
add block.has_tag, item.has_tag
2025-08-30 23:46:45 +03:00
MihailRis
8bdf31d7bb
add block/item tags
2025-08-30 23:26:07 +03:00
GHOST11111100
0caed92baa
added docs and fixed desc loading from item def
2025-07-26 17:58:57 +03:00
GHOST11111100
21364af7a3
added description to item
2025-07-26 16:49:39 +03:00
MihailRis
f5a4b5ca79
fix inventory.move_range
2025-03-18 03:45:20 +03:00
MihailRis
b66937c61d
feat: scripts classification
2025-03-13 00:28:40 +03:00
MihailRis
b1bd4feee7
add 'number' uses display mode
2025-02-18 12:49:15 +03:00
MihailRis
df2cff3e4c
add item 'uses-display' property
2025-02-18 03:24:52 +03:00
MihailRis
3aa7d6ac28
feat: support items data in base pack
2025-02-18 01:03:34 +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
231fc7e0d0
refactor InventoryView & add 'uses' item property (WIP)
2025-02-16 20:41:13 +03:00
MihailRis
d86c5508d2
add ItemStack::fields
2025-02-15 20:30:22 +03:00
MihailRis
4306573320
refactor
2025-02-06 20:26:06 +03:00
MihailRis
9164edf971
move 'player.pick' binding handler to Lua
2024-12-23 12:37:26 +03:00
MihailRis
c3f22c6854
rename
2024-12-21 13:11:23 +03:00
MihailRis
605d7e7897
small fixes
2024-12-05 22:36:12 +03:00
MihailRis
bad2b44c96
fix incorrect virtual inventory id in scripting
2024-12-05 14:42:33 +03:00
MihailRis
f6ab0de5af
update Inventory::move
2024-11-26 08:53:32 +03:00
MihailRis
cd630463b3
add block.properties, item.properties (experimental)
2024-11-22 11:08:36 +03:00
MihailRis
1ba5b0ce33
fix: actual block inventory size not updating on inventory-size property update
2024-11-17 16:58:58 +03:00
MihailRis
0618028df1
add 'model-name' item property
2024-10-30 12:46:36 +03:00
MihailRis
fae372d19f
feat: item models generation simple & remove core:item_models
2024-10-26 18:42:21 +03:00
MihailRis
5ff42929f9
remove extra inventory convert implementation
2024-10-15 02:55:49 +03:00
MihailRis
ea9ad08bfd
Merge branch 'main' into heightmaps
2024-10-03 19:12:37 +03:00
MihailRis
36eed38b4c
add new methods to PseudoRandom & move this class to util::
2024-09-24 22:37:31 +03:00
MihailRis
28b6ec2a0e
Merge branch 'main' into blocks-metadata
2024-09-19 14:51:47 +03:00
MihailRis
34d2e6d400
migrate from dynamic::Value to dv::value & total erase namespace 'dynamic'
2024-09-18 23:31:18 +03:00
MihailRis
728795f0f3
update WorldConverter (WIP)
2024-09-02 23:24:59 +03:00
MihailRis
3f826a88d3
rename ContentLUT to ContentReport
2024-09-02 09:40:00 +03:00
REDxEYE
5f6ae5daba
ItemDef/EntityDef/Block: Add method cloneTo to definition to other definition
...
ContentBuilder: Add method `get` to get definition or nullptr
ContentLoader: Add functionality to clone from definition specified in `parent` field in json
2024-08-20 21:58:01 +03:00
MihailRis
de5c75d782
replace include guards with pragma once
2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2
update project includes format
2024-08-10 01:37:48 +03:00
InfiniteCoder
54f15ecaea
maths/
2024-08-06 00:06:23 +03:00
InfiniteCoder
eb6bb19dc6
interfaces/
2024-08-06 00:04:32 +03:00
InfiniteCoder
8f9c7eb7ff
data/
2024-08-05 23:59:42 +03:00
InfiniteCoder
9f9b9f2d64
world/
2024-08-05 23:49:11 +03:00
InfiniteCoder
5c9bc83bbd
items/ + objects/ + util/
2024-08-04 22:26:08 +03:00
InfiniteCoder
e1e3456139
content/
2024-08-04 12:45:08 +03:00
InfiniteCoder
d5dc68dd38
Root includes
2024-08-04 10:24:11 +03:00
MihailRis
47db626145
refactor: PVS-Studio warnings fixes
2024-08-04 01:30:52 +03:00