Time |
Nick |
Message |
00:15 |
|
ANAND joined #minetest |
00:44 |
|
BakerPrime joined #minetest |
01:02 |
|
paramat joined #minetest |
01:37 |
|
opal joined #minetest |
02:03 |
|
Tmanyo joined #minetest |
02:28 |
|
Sokomine joined #minetest |
02:56 |
|
minduser00 joined #minetest |
03:03 |
|
Tmanyo joined #minetest |
03:09 |
|
Sokomine joined #minetest |
03:50 |
|
Guest25977 joined #minetest |
03:54 |
|
nowhere_man joined #minetest |
03:58 |
|
rafalcpp joined #minetest |
05:11 |
|
SmugLeaf joined #minetest |
05:49 |
|
SmugLeaf joined #minetest |
06:43 |
|
Weedy joined #minetest |
06:49 |
|
CWz joined #minetest |
07:05 |
|
Beton joined #minetest |
08:34 |
|
Gael-de-Sailly joined #minetest |
09:08 |
|
Fulgen joined #minetest |
10:00 |
|
nowhereman_ joined #minetest |
10:35 |
|
Krock joined #minetest |
10:47 |
|
Fixer joined #minetest |
11:00 |
|
Scotty_Trees joined #minetest |
11:01 |
|
timdorohin joined #minetest |
11:02 |
|
calcul0n joined #minetest |
11:17 |
|
jluc joined #minetest |
11:22 |
|
BakerPrime joined #minetest |
12:05 |
MinetestBot |
[git] Lourens-Rich -> minetest/minetest: Fix "Hunk #1 FAILED at 9 (different line endings)." 65af7d2 https://git.io/fAFI2 (2018-09-23T12:03:05Z) |
12:09 |
|
pipo joined #minetest |
12:10 |
|
pipo left #minetest |
12:46 |
|
Jordach joined #minetest |
13:04 |
|
epony joined #minetest |
13:57 |
|
illwieckz_ joined #minetest |
14:11 |
|
illwieckz_ joined #minetest |
14:31 |
|
Bhreee joined #minetest |
14:41 |
|
illwieckz_ joined #minetest |
14:44 |
|
Bhreee left #minetest |
15:29 |
|
illwieckz_ joined #minetest |
15:48 |
|
jluc joined #minetest |
15:55 |
|
jluc joined #minetest |
16:08 |
|
illwieckz joined #minetest |
16:10 |
|
illwieckz_ joined #minetest |
16:12 |
|
illwieckz_ joined #minetest |
16:50 |
|
illwieckz joined #minetest |
16:50 |
|
Scotty_Trees joined #minetest |
16:51 |
|
Scotty_Trees joined #minetest |
17:00 |
|
paramat joined #minetest |
17:03 |
|
pietothefirst joined #minetest |
17:23 |
|
SmugLeaf joined #minetest |
17:23 |
|
Cornelia joined #minetest |
17:23 |
|
illwieckz joined #minetest |
17:39 |
|
illwieckz joined #minetest |
17:47 |
|
nowhereman_ joined #minetest |
17:47 |
|
Wuzzy joined #minetest |
17:47 |
Wuzzy |
hey there |
17:48 |
Wuzzy |
is there a way to instantly detect in Lua when an item was added or removed from the player inventory? |
17:48 |
Wuzzy |
a callback would be ideal. i want to avoid polling |
17:49 |
Krock |
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3680 |
17:50 |
Krock |
hello |
17:50 |
Krock |
requires 5.0-dev, though. |
18:13 |
|
nowhereman_ joined #minetest |
18:16 |
Wuzzy |
is this always called when inventory changes? minetest.register_allow_player_inventory_action |
18:20 |
Krock |
it is called when you move itemstacks around |
18:20 |
sfan5 |
i'd imagine :set_stack bypasses those callbacks |
18:21 |
Krock |
yes, also set_size and set_list |
18:21 |
Krock |
I assumed the question was limited to direct user interactions |
18:32 |
|
Gael-de-Sailly joined #minetest |
18:37 |
|
YuGiOhJCJ joined #minetest |
18:55 |
|
IceDragon joined #minetest |
19:03 |
IceDragon |
Hello, I have a lua api question, is there a function that takes a face (an integer 0-5 representing a node's face) and a facedir and returns the face's new rotated equivalent? (whereis_face(face, facedir) => rotated_face), my use case is to determine where the "bottom" of a node is when it's rotated |
19:05 |
paramat |
no |
19:06 |
IceDragon |
ugh, I guess I'll have to write one then, thanks for the quick answer |
19:07 |
Krock |
Screwdriver offers some conversion tables |
19:07 |
Krock |
maybe have a look in there |
19:07 |
Krock |
or pointed facedir to dir functions (not sure if that's what you want) |
19:08 |
Krock |
- off - |
19:13 |
MinetestBot |
[git] paramat -> minetest/minetest: Fix various code issues found by cppcheck (#7741) 8543df7 https://git.io/fAF0O (2018-09-23T19:12:39Z) |
19:30 |
|
minduser00 joined #minetest |
19:32 |
rubenwardy |
Wuzzy: I use a checksum in crafting to do thst |
19:33 |
rubenwardy |
Sha1 of the inventory contents |
19:33 |
|
nowhereman_ joined #minetest |
19:34 |
Wuzzy |
rubenwardy: in crafting? huh? |
19:35 |
Wuzzy |
crafting is not the only way to detect when inventory changed |
19:35 |
Wuzzy |
i mean |
19:35 |
Wuzzy |
there are many other ways the inventory contents might change |
19:35 |
Wuzzy |
collecting item, using chest, craft item, direct inventory manipulation by mod, ... |
19:36 |
Wuzzy |
all i need to |
19:37 |
rubenwardy |
My mod |
19:37 |
rubenwardy |
My mod crafting |
19:37 |
rubenwardy |
My mod crafting uses a checksum to see if the inventory changed. It's not instant though |
19:38 |
rubenwardy |
Can't type much now |
19:56 |
|
nowhereman_ joined #minetest |
20:08 |
MinetestBot |
[git] paramat -> minetest/minetest: Builtin//misc_helpers: Various fixes (#7737) 4a2a112 https://git.io/fAFEH (2018-09-23T20:06:51Z) |
20:45 |
|
nowhereman_ joined #minetest |
21:37 |
|
Hijiri joined #minetest |
22:48 |
|
illwieckz joined #minetest |
22:48 |
|
paramat joined #minetest |
22:55 |
|
swift110 joined #minetest |
23:28 |
|
greeter joined #minetest |
23:33 |
|
greeter joined #minetest |
23:38 |
|
minduser00 joined #minetest |
23:43 |
|
greeter joined #minetest |
23:46 |
|
ChimneySwift joined #minetest |
23:59 |
|
hecks joined #minetest |