| Time |
Nick |
Message |
| 00:30 |
|
Cornelia joined #minetest |
| 00:48 |
|
Cornelia joined #minetest |
| 00:53 |
|
swift110 joined #minetest |
| 01:25 |
|
Cornelia joined #minetest |
| 01:26 |
|
Kimapr joined #minetest |
| 02:13 |
|
Cornelia joined #minetest |
| 03:02 |
|
Player-2 joined #minetest |
| 03:26 |
|
NathanS21 joined #minetest |
| 04:52 |
|
Alex94 joined #minetest |
| 04:52 |
Alex94 |
Anyone online? |
| 04:52 |
Alex94 |
I need help |
| 05:40 |
|
Kimapr joined #minetest |
| 05:41 |
jas_ |
hi |
| 07:01 |
|
scr267 joined #minetest |
| 07:29 |
jas_ |
!server |
| 07:29 |
MinetestBot |
jas_: YetiCraft | play.yeticraft.net | Clients: 0/50, 0/3 | Version: 5.1.0-dev / mineclone2 | Ping: 169ms |
| 08:05 |
|
YuGiOhJCJ joined #minetest |
| 08:33 |
|
frostsnow joined #minetest |
| 08:33 |
|
bwarden joined #minetest |
| 08:41 |
|
ShadowNinja joined #minetest |
| 08:49 |
|
ssieb joined #minetest |
| 08:57 |
|
nepugia joined #minetest |
| 08:58 |
|
proller joined #minetest |
| 10:01 |
|
jluc joined #minetest |
| 10:03 |
nepugia |
Hey, what is the proper way to interact with objects on the ground? (i.e coal item), I Have got an objectref from pointed_thing, but i am stuck at getting the inventory part, i see two possible ways from the lua api doc, one would be get_wielded_item on it and the other would be get_inventory, with get_inventory i just get nil back, with wielded item i gett lots of empty values back (as in empty string in get_name and so), am i perhaps mis |
| 10:03 |
nepugia |
sing a third method? |
| 10:04 |
nepugia |
I want to do this to be able to pick up items from lua |
| 10:05 |
sfan5 |
a dropped item entity is neither "wielding" an item nor does it have an inventory |
| 10:05 |
sfan5 |
take a look at builtin/game/item_entity.lua to see how it's implemeneted |
| 10:06 |
ANAND |
The itemname is held in the special field "itemstring" (IIRC) |
| 10:08 |
nepugia |
thanks, i will take a look |
| 10:08 |
VanessaE |
also consider item_tweaks, if picking-up is your main goal |
| 10:08 |
nepugia |
VanessaE, what is that? |
| 10:08 |
VanessaE |
https://github.com/minetest-technic/item_tweaks |
| 10:09 |
VanessaE |
it adds a few things like stacks combining on drop, and auto-pickup as you walk by |
| 10:09 |
nepugia |
Not really usefull for me, and the repo does not have a license, but thansk |
| 10:10 |
VanessaE |
it's WTFPL |
| 10:10 |
VanessaE |
(forked from https://github.com/cyisfor/item_drop) |
| 10:10 |
nepugia |
it still doesnt have a license file :) |
| 10:10 |
VanessaE |
but the code at https://github.com/minetest-technic/item_tweaks/blob/master/item_drop.lua#L50 ought to be close to what you waant |
| 10:10 |
VanessaE |
-a |
| 10:30 |
nepugia |
okay, i have it now |
| 10:30 |
nepugia |
thanks |
| 10:52 |
|
nepugia joined #minetest |
| 10:52 |
|
proller joined #minetest |
| 10:59 |
|
TheSerb joined #minetest |
| 11:26 |
|
Fixer joined #minetest |
| 11:26 |
|
Fixer joined #minetest |
| 11:27 |
|
riff-IRC joined #minetest |
| 11:40 |
|
ensonic joined #minetest |
| 11:55 |
|
proller joined #minetest |
| 12:13 |
|
Cornelia joined #minetest |
| 12:24 |
|
kawaiipunk joined #minetest |
| 12:25 |
|
kawaiipunk joined #minetest |
| 12:38 |
|
nepugia joined #minetest |
| 12:40 |
|
Cornelia joined #minetest |
| 12:59 |
|
proller joined #minetest |
| 13:06 |
|
Azlux joined #minetest |
| 13:16 |
|
majochup joined #minetest |
| 13:21 |
|
Cornelia joined #minetest |
| 13:42 |
|
Emperor_Genshin joined #minetest |
| 13:46 |
|
Lia joined #minetest |
| 13:58 |
|
proller joined #minetest |
| 14:01 |
|
craigger joined #minetest |
| 14:08 |
|
scr267_ joined #minetest |
| 14:33 |
jas_ |
hi |
| 14:33 |
jas_ |
"stacks combining on drop" happens by default, if i'm understanding that right |
| 14:34 |
Calinou |
it does now, yeah |
| 14:35 |
jas_ |
it was referred to earlier as a feature of a mod, i just wanted to let vanessae know in case she didn't already. |
| 14:35 |
VanessaE |
oh right |
| 14:36 |
VanessaE |
I guess the standard issue minetest handles that now. |
| 14:36 |
VanessaE |
I forgot.. |
| 14:36 |
jas_ |
but def not autopickup |
| 14:36 |
jas_ |
i do it from the player instead from the item, prolly crazy but |
| 14:37 |
jas_ |
https://github.com/jastevenson303/Lavaland/blob/master/mods/items/init.lua#L92 i got a glitch or two tho |
| 15:00 |
|
proller joined #minetest |
| 15:02 |
|
puzzlecube joined #minetest |
| 15:03 |
|
ungali_ joined #minetest |
| 15:20 |
|
proller joined #minetest |
| 15:38 |
|
xSmurf joined #minetest |
| 15:40 |
|
Lone_Wolf joined #minetest |
| 15:54 |
|
ssieb joined #minetest |
| 16:19 |
|
illwieckz joined #minetest |
| 16:28 |
|
Soo_Slow joined #minetest |
| 16:35 |
|
Kimapr joined #minetest |
| 17:04 |
|
LMD joined #minetest |
| 17:21 |
|
FreeFull joined #minetest |
| 17:38 |
|
Krock joined #minetest |
| 17:48 |
|
proller joined #minetest |
| 18:32 |
|
ensonic joined #minetest |
| 18:40 |
|
proller joined #minetest |
| 19:02 |
|
proller joined #minetest |
| 19:07 |
|
ssieb joined #minetest |
| 19:09 |
|
nepugia joined #minetest |
| 19:18 |
|
longerstaff13 joined #minetest |
| 19:19 |
|
Blo0D joined #minetest |
| 19:25 |
|
lumberJ joined #minetest |
| 19:36 |
|
luk3yx joined #minetest |
| 19:37 |
|
proller joined #minetest |
| 19:47 |
|
awell joined #minetest |
| 20:22 |
MinetestBot |
[git] sfan5 -> minetest/minetest: Force item entities out of solid nodes (simpler) (#8885) c9ec1a8 https://git.io/fjhNr (2019-09-04T20:21:40Z) |
| 20:51 |
|
lumberJ left #minetest |
| 21:14 |
|
proller joined #minetest |
| 21:16 |
|
proller joined #minetest |
| 21:19 |
|
Ruslan1 joined #minetest |
| 21:27 |
|
cdde joined #minetest |
| 23:33 |
|
Cornelia joined #minetest |
| 23:48 |
|
riff-IRC joined #minetest |
| 23:48 |
|
swift110 joined #minetest |
| 23:49 |
|
swift110 joined #minetest |