Time |
Nick |
Message |
00:01 |
|
AliasStillTaken joined #minetest |
00:03 |
|
fling joined #minetest |
00:05 |
|
diceLibrarian joined #minetest |
00:10 |
|
YuGiOhJCJ joined #minetest |
00:19 |
|
wallabra joined #minetest |
00:50 |
|
jwmhjwmh joined #minetest |
01:00 |
|
sagax joined #minetest |
01:19 |
|
dridron joined #minetest |
01:24 |
|
smk joined #minetest |
01:43 |
|
Bombo joined #minetest |
01:43 |
|
Bombo joined #minetest |
01:44 |
|
wallabra_ joined #minetest |
01:50 |
|
wallabra joined #minetest |
02:30 |
|
Trifton joined #minetest |
03:04 |
|
dridron_ joined #minetest |
03:10 |
|
wallabra_ joined #minetest |
03:26 |
ensayia |
is there a function to make an item drop into the world, like a player would drop an item, that can be picked up by clocking? |
03:28 |
ensayia |
an ItemStack I suppose |
03:29 |
|
proller joined #minetest |
03:55 |
MTDiscord |
<kimapr> minetest.drop_item i think |
04:00 |
|
MTDiscord joined #minetest |
04:06 |
|
dabbill joined #minetest |
04:12 |
|
YuGiOhJCJ joined #minetest |
04:12 |
ensayia |
I got the behavior I wanted out of .add_item but thank you for responding |
04:24 |
|
wallabra_ joined #minetest |
04:24 |
|
calcul0n_ joined #minetest |
04:24 |
ensayia |
If I want to give an item to a player, but drop it on the ground if the player's inventory is full, I have a function to check that and add the item or spawn it. The trouble is that my item has a max stack of 8, and if I have some in my inventory it only checks for open spots, not if any of the stacks are able to be added to. |
04:26 |
ensayia |
So I can have one stack of 6 of the item in question, and if I add_item, but have no open slots, it does not make it to 7, it sees there is no room. Do I need to iterate over every stack in a player's inventory to do it properly? |
04:38 |
|
sometalgoo joined #minetest |
04:47 |
ensayia |
I swear, it's like magic. I ask a question here and like 20 minutes later find the answer all on my own. |
04:48 |
ensayia |
Thank you, mostly silent community, for being my rubber ducky. |
04:59 |
MTDiscord |
<kimapr> if you want to give items to player you can use handle_node_drops |
05:25 |
|
jaca122 joined #minetest |
05:35 |
|
wallabra_ joined #minetest |
06:14 |
|
Trifton_ joined #minetest |
06:48 |
|
wallabra joined #minetest |
07:11 |
|
TomTom joined #minetest |
07:55 |
|
est31 joined #minetest |
08:02 |
|
orwell96 joined #minetest |
08:12 |
|
wallabra joined #minetest |
09:18 |
sfan5 |
ensayia: I'm pretty sure InventoryRef:add_item() checks for stackable items properly |
09:18 |
sfan5 |
the standard way is to call that and if you have a non-empty stack left over call minetest.drop_item on it |
09:22 |
|
wallabra joined #minetest |
09:34 |
|
Trifton2 joined #minetest |
10:31 |
MinetestBot |
[git] Wuzzy2 -> minetest/minetest: Fix inconsistent craft replacements (#9250) (#12819) 6eb7d57 https://github.com/minetest/minetest/commit/6eb7d57ed335d43a893992ff7cc388075f37ad5f (2022-09-30T10:30:39Z) |
10:31 |
MinetestBot |
[git] TurkeyMcMac -> minetest/minetest: Avert collision static detection rounding error (#12822) e832cee https://github.com/minetest/minetest/commit/e832cee1e60c3e615d38711a87737691245df35d (2022-09-30T10:31:24Z) |
10:41 |
|
sparky4 joined #minetest |
10:45 |
|
wallabra joined #minetest |
10:50 |
|
definitelya joined #minetest |
11:01 |
|
sparky4 joined #minetest |
11:07 |
|
appguru joined #minetest |
11:41 |
|
debiankaios joined #minetest |
11:42 |
|
proller joined #minetest |
11:43 |
|
sparky4 joined #minetest |
12:02 |
MinetestBot |
[git] srifqi -> minetest/minetest: Improve double tap for jump detection (#12793) 13a8948 https://github.com/minetest/minetest/commit/13a8948edd24a593bde4ae328392e680966877f5 (2022-09-30T12:02:06Z) |
12:02 |
MinetestBot |
[git] sfan5 -> minetest/minetest: Clean up Game::handleDigging() and some related parts bbdb192 https://github.com/minetest/minetest/commit/bbdb1929c61a7cf851b498f34154ac0f9528fbb4 (2022-09-30T12:02:14Z) |
12:02 |
MinetestBot |
[git] sfan5 -> minetest/minetest: Implement tool use sounds 525fc38 https://github.com/minetest/minetest/commit/525fc3833c40dcca478719533a87bc7b5e285e4e (2022-09-30T12:02:14Z) |
12:17 |
|
srifqi joined #minetest |
12:21 |
|
sparky4 joined #minetest |
12:35 |
|
appguru joined #minetest |
13:17 |
|
cranez_mt_linux joined #minetest |
13:18 |
|
cranezhou joined #minetest |
13:47 |
|
wallabra joined #minetest |
13:47 |
|
Markow joined #minetest |
13:50 |
|
proller joined #minetest |
14:07 |
|
est31 joined #minetest |
14:15 |
|
est31 joined #minetest |
14:25 |
|
Govindas[m] joined #minetest |
14:30 |
|
srifqi1 joined #minetest |
14:35 |
|
dridron joined #minetest |
14:49 |
|
appguru joined #minetest |
15:03 |
|
orwell96 joined #minetest |
15:40 |
|
Trifton2 joined #minetest |
16:13 |
|
debiankaios_ joined #minetest |
16:21 |
|
isAAAc joined #minetest |
16:30 |
|
sys4 joined #minetest |
16:44 |
|
appguru joined #minetest |
16:45 |
|
garywhite joined #minetest |
16:45 |
|
garywhite joined #minetest |
17:24 |
|
Desour joined #minetest |
17:45 |
|
sparky4 joined #minetest |
17:50 |
|
Meowie_Gamer joined #minetest |
17:51 |
|
Verticen joined #minetest |
18:29 |
|
olliy joined #minetest |
18:51 |
|
sys4 joined #minetest |
18:55 |
|
est31 joined #minetest |
19:04 |
|
olliy joined #minetest |
19:21 |
|
sys4 joined #minetest |
19:28 |
|
specing joined #minetest |
19:28 |
|
kamdard joined #minetest |
19:33 |
|
sparky4 joined #minetest |
19:35 |
|
Fixer joined #minetest |
19:56 |
|
Thelie joined #minetest |
20:06 |
|
Thermoriax joined #minetest |
20:15 |
|
Talkless joined #minetest |
20:20 |
ensayia |
sfan5, I was trying to give the player an ItemStack instead of just an item, doing the latter produced expected behavior |
20:22 |
|
sys4 joined #minetest |
20:29 |
|
Shorp_Tr joined #minetest |
20:36 |
|
appguru joined #minetest |
21:02 |
|
Fixer_ joined #minetest |
21:05 |
|
Shorp_Tr joined #minetest |
21:08 |
|
garywhite joined #minetest |
21:08 |
|
garywhite joined #minetest |
21:19 |
|
appguru joined #minetest |
21:30 |
|
Desour joined #minetest |
21:30 |
|
Shorp_Tr joined #minetest |
21:31 |
|
garywhite1 joined #minetest |
21:40 |
|
Shorp_Tr joined #minetest |
21:55 |
|
garywhite joined #minetest |
22:09 |
|
garywhite1 joined #minetest |
22:28 |
|
Lesha_Vel joined #minetest |
22:35 |
|
panwolfram joined #minetest |
22:57 |
|
gff_ joined #minetest |
22:58 |
|
proller joined #minetest |
23:13 |
|
est31 joined #minetest |
23:17 |
|
proller joined #minetest |
23:23 |
|
est31 joined #minetest |
23:25 |
|
Shorp_Tr joined #minetest |
23:47 |
|
Shorp_Tr joined #minetest |
23:49 |
Teckla |
I have both Minetest 5.4.1 and 5.6.1 installed (separate directories). Is there a way to copy my worlds from 5.4.1 to 5.6.1? Copying the worlds directory alone appears to be insufficient. |
23:50 |
MTDiscord |
<MisterE> Try upgrading in order. I believe 5.5 had a feature of changing the world format |
23:50 |
Desour |
you have to have the subgames and mods installed |
23:53 |
Teckla |
Ok, thank you MisterE and Desour :) |