Luanti logo

IRC log for #minetest, 2018-12-10

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:03 Pilcrow182 joined #minetest
00:04 Pilcrow182 Wow, slow day today. I just looked at the logs and there hasn't been any chat here for like 9 hours!
00:06 Pilcrow182 Do minetest's schematics support spawning a node with metadata (a chest, for example)?
00:07 rubenwardy look in the minetest-hub logs, lol
00:10 Pilcrow182 heh, that's a lot more active
00:16 Alexand{er|ra} joined #minetest
00:18 paramat schematics can't set metadata
00:19 paramat you do that afterwards knowing where the chest is, but if you have used random rotation you will have to search 4 nodes for the chest because it could be in 4 positions
00:19 rubenwardy might be worth supporting that
00:20 rubenwardy nodes are separate from node meta, which is probably why schematics don't support them
00:25 paramat there's an issue for this discussion somewhere
00:25 paramat or something related
00:28 paramat oh, both issues are 'won't add' :)
00:28 Pilcrow182 That's what I thought, thanks for the answer Paramat. It shouldn't be too hard to figure out a workaround, but I thought I'd make sure it couldn't be done the 'easy way' first...  ;).
00:39 Pilcrow182 Here's some context: I made a mod a long time ago called 'instacabin' (unreleased) that spawned an entire building when the player used an item.
00:39 Pilcrow182 It used worldedit models and a hacked version of the worldedit load function, to support rotation and build at an offset (so the 'door' would be directly in front of the player).
00:40 Pilcrow182 I am now rewriting that mod to use minetest schematics (the lua table kind, so they can be easily edited), but some of the buildings have chests, furnaces, etc.
00:43 Pilcrow182 Finally got all my buildings loaded into it (13 in total), with proper rotation and entrance offset calculation, so now I just need to figure out how to spawn the meta after the building is loaded.
00:45 paramat maybe the API can return a value that shows what random rotation was used on placement ...
00:46 Pilcrow182 It uses a fixed rotation code I made, not random rotation, so I *should* be able to calculate the positions mathematically.
00:49 Pilcrow182 I'll probably release it this time if/when I get it finished, but it's definitely a mod for singleplayer and/or trusted co-op (be it LAN or a hidden server); it has absolutely zero protection/permissions checking (nor even collision checking, for that matter)...  :P
01:02 Pilcrow182 My init so far, if anyone is interested: https://pastebin.com/dJDZT6yv
14 more elements. Show/hide.
05:05 nolsen After all these years, did ubuntu move the location of luaJIT? Because minetest cannot find it. Yes I did install libluajit, luajit, lua5.1, liblua files.
6 more elements. Show/hide.
08:26 MinetestBot [git] Wuzzy2 -> minetest/minetest: Add eat sound (#7956) 5560ec8 https://git.io/fp9bm (2018-12-10T08:25:47Z)
23 more elements. Show/hide.
13:48 MinetestBot [git] meme -> minetest/minetest: Fix dissector script to work with newer versions of Wireshark (#7957) f7cccd4 https://git.io/fpHCq (2018-12-10T13:47:35Z)
23 more elements. Show/hide.
18:19 MinetestBot [git] pauloue -> minetest/minetest: Fix wrong parameter order for inventory callbacks (#7952) afaf7b9 https://git.io/fpH7f (2018-12-10T18:18:03Z)
12 more elements. Show/hide.
20:27 MinetestBot [git] random-geek -> minetest/minetest: Content store: Fix missing screenshot in package view dialog 98fa8a1 https://git.io/fpQey (2018-12-10T20:25:56Z)
12 more elements. Show/hide.

| Channels | #minetest index | Today | | Google Search | Plaintext