DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
Last edited by jordan4ibanez on Mon Nov 21, 2016 00:30, edited 10 times in total.
hello, am program. do language in rust. make computer do. okay i go now.
I updated it to use moveto to prevent lag from breaking item collection and player throws item farther.
Please use Github!
By the way, too many food particles, it is a bit annoying! :)
I added it to MultiCraft - Best Minecraft clone based Minetest!
You might want to download it again and readd it, I just fixed items falling down if server lags and items following players if they walk away from it and made it feel a little better
And that's awesome.
hello, am program. do language in rust. make computer do. okay i go now.
2016-02-13 20:52:45: ERROR[Main]: ServerError: Runtime error from mod 'item_drop' in callback ScriptApiEnv::environment_Step(): D:\Oyun\Kurulan\Minetest\bin\..\mods\item_drop\init.lua:281: attempt to index local 'vel' (a nil value)
2016-02-13 20:52:45: ERROR[Main]: stack traceback:
2016-02-13 20:52:45: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\mods\item_drop\init.lua:281: in function 'func'
2016-02-13 20:52:45: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\misc.lua:18: in function 'update_timers'
2016-02-13 20:52:45: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\misc.lua:50: in function 'toregister'
2016-02-13 20:52:45: ERROR[Main]: ...n\Kurulan\Minetest\bin\..\builtin\game\mod_profiling.lua:154: in function <...n\Kurulan\Minetest\bin\..\builtin\game\mod_profiling.lua:150>
2016-02-13 20:52:45: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\register.lua:361: in function <D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\register.lua:341>
I really like the minetest way of getting the drop item straight the way to the inventory but it would be a nice addition to pick up dropped items what didn't got straight to inventory (i.e. by killing a sheep the wool and meet falls always on the ground) while holding shift. Would it be possible to collect the dropped items only while holding shift and for the rest as default going straight to inventory?
2016-02-17 18:09:26: ERROR[Main]: ServerError: Runtime error from mod 'item_drop' in callback environment_Step(): ...esktop\minetest\bin\..\games\mk4\mods\item_drop\init.lua:281: attempt to index local 'vel' (a nil value)
Did you see my fork of that item drop mod? I haven't tried this one you made out, but a few years ago I added to the PilzAdam one, preventing items from never expiring, and making items accelerate towards the player as they get close. It worked pretty good when I did it, but it's been a while, so I dunno if yours uses a better technique or not. Still, worth taking a look I hope. I did a lot of refactoring and cleanup too, to make it more readable.
I've updated it to work with mods that use the drop item function, mainly VanessaE's pipeworks mod. The changes throw items further from dispensers and so forth.
hello, am program. do language in rust. make computer do. okay i go now.
By glancing the code it looks like you're checking for sneaking key. Not knowing code that well I'm assuming it's for being able to drop a single item out of an item stack. Can't get that to work however, it throws the whole stack regardless of sneak key being pressed or not.
GreenDimond wrote:Welp, I want to try this, but if I enable it, Minetest disables it for me. Why?
Maybe you need to exit Minetest completely and then edit the setting. If you edit Minetest.conf while Minetest is running (even in main menu) any change will be overwritten
texmex wrote:Coming from Minetest_TNG I'm kinda used to pressing the use key (E) to trigger the pickup function. What would you think of adding such feature to your mod?
Can anyone tell me the right way to install this mod so that it works. I installed it per the readme and a few other ways. While it is activated it doesn't seem to work. Thanks in advance.
Cage wrote:Can anyone tell me the right way to install this mod so that it works. I installed it per the readme and a few other ways. While it is activated it doesn't seem to work. Thanks in advance.
Are you in creative mode? Items don't drop in creative mode
Sometimes items dropping right in front of me (for example when harvesting a tree) just float a little towards me and then disappear without the item being added to my inventory and without the little "plopp" sound :(