[Mod] Item drops, pickups. Rewrite, new features [item_drop]

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

[Mod] Item drops, pickups. Rewrite, new features [item_drop]

by texmex » Wed Mar 08, 2017 09:21

item_drop
A refresh of PilzAdam's item_drop. License LGPL 2.1.

Features
- pulls items to the player's inventory if item_drop.enable_item_pickup. (true by default)
- drops items in-world on dig if item_drop.enable_item_drop is set to true. (true by default)
- picks items one by one, sounds better.
- displays a particle of the item just picked above the player, useful in multiplayer

Settings
- Enable item pickups: Pick up items automatically.
- Enable item drops: Drop items in-world on dig, does nothing in creative mode.
- Use pickup key: Use a key to pick up items.
- Invert pickup key: Collect items when the key is not pressed instead of when it is pressed.
- Pickup keytype: What keytype to use as pickup key.
- Pickup sound gain: The volume of the pickup sound.
- Pickup radius: Player pickup radius, the maximum distance from which items can be collected.
- Magnet radius: Magnet radius, items between pickup_radius and this begin flying to the player.
- Magnet time: Item flight duration, items flying for more than this time are added to the player's inventory.
- Pickup age: Time delay in seconds after autopicking an item if it's dropped by a player.
- Pickup particle: Display a particle of the item picked up above the player
(All settings may be configured from Settings tab > Advanced settings > Mods > item_drop)

Notes
remove_items feature was removed as item_entity_ttl is now in engine.

Download (zip)
Source
Last edited by texmex on Sat Jun 23, 2018 14:29, edited 18 times in total.
 

User avatar
DS-minetest
Member
 
Posts: 969
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] Item drops, key-triggered item pickups [item_picku

by DS-minetest » Fri Mar 10, 2017 16:41

Maybe nice.
Last edited by DS-minetest on Mon Jun 26, 2017 15:01, edited 1 time in total.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

LouisCyfer
Member
 
Posts: 46
Joined: Sun Jun 25, 2017 02:24
GitHub: LouisCyfer
 

User avatar
DS-minetest
Member
 
Posts: 969
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by DS-minetest » Wed Aug 02, 2017 09:54

@texmex: On github you could enable issues in the settings.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
Phoenixflo44
Member
 
Posts: 370
Joined: Fri Jul 28, 2017 15:01
Location: Behind my PC, in Germany
In-game: Phoenixflo44
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

User avatar
Stix
Member
 
Posts: 1049
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix + Stix_
In-game: Stix

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by Stix » Fri May 11, 2018 14:13

This is really great! a plea: could you change the key from auxiliary to left-shift? thats how its set up on the survivalX server and it works great!
*EDIT: nvm, just tealized there was an option for that #dum.
The harder you think the more you'll achieve --Caleb #Hi-five for no good reason --Caleb
Need to know something? "Google it" --GreenDimond
Next release of your favorite game? "Bugfixes" --Wuzzy
[OLD]The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by texmex » Mon Jun 18, 2018 08:28

New multiplayer feature: Pickup particle. Display a particle of the item picked up above the player.

Sorry for the horrible gif
Image
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by texmex » Mon Jun 18, 2018 08:51

All newish features are back in the dev branch since a fatal bug was discovered.
Last edited by texmex on Sat Jun 23, 2018 08:17, edited 1 time in total.
 

User avatar
bosapara
Member
 
Posts: 209
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara
In-game: Jozet

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by bosapara » Mon Jun 18, 2018 11:29

How to setup it, if i need pickup only, not drop?
checked this, but doesnt work
local drop = minetest.settings:get_bool("enable_item_drop") ~= false
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

User avatar
Otter
Member
 
Posts: 140
Joined: Fri May 12, 2017 21:17

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by Otter » Mon Jun 18, 2018 22:10

The option to delete instead of just drop might be nice for particular objects. Cobble and gravel both come to mind as targets for this.
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by texmex » Sat Jun 23, 2018 08:17

The bug that caused the mod to crash when dropping 0 items has been resolved, and the dev branch has been merged into master with all the good new stuff.
 

User avatar
texmex
Member
 
Posts: 830
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Maintained item_drop, key-triggered pickup [item_d

by texmex » Sat Jun 23, 2018 08:35

Otter wrote:The option to delete instead of just drop might be nice for particular objects. Cobble and gravel both come to mind as targets for this.

I can look into it.
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 9 guests