Time Nick Message 00:49 rdococ Could I use minetest.create_detached_inventory to store inventories in items? 00:49 rdococ Or is there a better way to do that now? 00:51 rdococ In the past, I've just converted the inventory data to a string when you pick the node up, and then convert it back when you place the node down again. This requires you to place the item to access the inventory, though. 00:52 rdococ In addition, do detached inventories persist between server restarts? 00:57 benrob0329 paramat: what do you think of the idea of being able to scale the smooth lighting resolution to match the texture resolution? 00:57 benrob0329 so that it feels like it's part of the texture, rather than slapped on top of it? 01:07 rdococ that sounds cool 04:15 sofar rdococ: detached inventories are not stored across restarts 10:36 rdococ sofar: how would I store inventories in items? 10:49 IcyDiamond Metadata or modstorage 10:50 IcyDiamond I have used metadata for storing items in items 10:50 rdococ maybe I could have a detached inventory that updates item metadata? 10:51 IcyDiamond Sure 10:51 rdococ in the past, I had a node that stored inventory in its metadata and then converted it back when placed 10:52 rdococ however, this time I want items that can be opened without having to place them 10:53 rdococ alternatively, I could secretly load the mapblocks near the top of the world and place the nodes there automatically 10:53 IcyDiamond Lol 10:55 rdococ what do you think about a lisp-like language where lists and atoms are represented as items? 11:25 rdococ Do item stacks have a unique identity? 11:27 ANAND rdococ: Not really 11:27 ANAND But that can be implemented using ItemStack metadata keys 11:38 rdococ How would I tell when an item is deleted? 11:39 rubenwardy you can't 11:40 ANAND Probably iterate through all items in the inv. and see if an item with the unique ID exists? 11:40 ANAND Possible, but not recommended 11:40 rdococ the item with the inventory could be anywhere 11:40 ANAND ._. 11:40 rdococ I'd have to effectively do my own garbage collection 11:41 ANAND You're storing an inv. within an ItemStack? 11:41 rdococ my plan is to store a unique ID within an itemstack, and then map that to inventory data 11:41 rdococ the reason I don't store the inventory data in the itemstack itself is that the itemstack might move while you're looking at its inventory 11:41 ANAND True 11:42 ANAND What are you working on, if I may ask? :) 11:43 rdococ for now, a way for items to have inventories :P 11:44 ANAND Oookay.. cool :) 11:50 rdococ new plan: each item will have both its inventory data and a unique ID. then, I can check if the item has moved and if it has, close the inventory 12:39 tenplus1 hi folks :) 13:19 * tenplus1 wonders if ShadowBot is away for lunch 13:21 tenplus1 VanessaE: you around ? 13:24 VanessaE no :P 13:25 VanessaE what's up? 13:25 tenplus1 lol, hiiiii 13:25 tenplus1 you left a memo for me reg. BakedClay... but I kinda closed it by mistake... 13:25 VanessaE oh heh 13:26 VanessaE well that was just an "update your shit" comment :) 13:26 tenplus1 ooh, you got an update for me ? 13:26 VanessaE I don't, I was saying you should make it work with Unified Dyes, do like the coloredwood mod. 13:27 tenplus1 ohhhh, wouldnt that mean using an lbm to replace a lot of baked clay blocks and stairs to use the new one ? 13:27 VanessaE yup. 13:27 VanessaE it'd be a pain the rump. :) 13:27 tenplus1 that worries me... 13:27 tenplus1 wb shadow 13:28 tenplus1 will check out coloured wood mod and see if it's worth it :DD 13:59 tenplus1 also xpanes glass would benefit from having unified dye support :) 14:04 tenplus1 wb scr267 14:04 scr267 ty tenplus1 15:09 tenplus1 laters o/