Commit Graph

65 Commits

Author SHA1 Message Date
tacotexmex
d51b468428 Simplify inventorycube code (again) 2018-06-23 10:09:02 +02:00
tacotexmex
293fd77614 Fix settings bug 2018-06-23 10:02:04 +02:00
tacotexmex
3e6a731cab Fix crash on no drops (@HybridDog) 2018-06-23 10:01:40 +02:00
tacotexmex
8e6b386fe3 Complete pickup particle feature 2018-06-18 10:18:06 +02:00
tacotexmex
31bdc51b42 Look for legacy setting names 2018-06-17 09:27:43 +02:00
Hybrid Dog
49b7bb19ef Rename the key press test function 2017-09-16 13:18:20 +02:00
Hybrid Dog
4c66b76937 Disable item pickup age if the player has to hold a key for taking items 2017-09-16 12:59:28 +02:00
tacotexmex
29df36b2af Typo 2017-09-15 18:40:11 +02:00
Hybrid Dog
92d68aa48a Fix missing division for dropped item velocity calculation 2017-09-15 10:27:28 +02:00
Hybrid Dog
e7b8d02922 Always collect items one by one 2017-09-12 10:13:49 +02:00
Hybrid Dog
0f903cd0b0 Revert "Adjust default key settings"
This reverts commit 3bc3a4bd25d445e0fbffe0158140a13346ced041.
2017-09-12 09:55:16 +02:00
Hybrid Dog
739a62a6c6 Call on_punch to pick items (DS) 2017-09-11 14:44:31 +02:00
Hybrid Dog
271a577881 Don't override handle_node_drops in creative mode 2017-09-11 14:35:55 +02:00
Hybrid Dog
729397b6c9 Update item dropping code 2017-09-11 14:22:17 +02:00
Hybrid Dog
4912d3c828 Update mod load logging
There's no official setting called log_mods
2017-09-11 14:09:24 +02:00
Hybrid Dog
057966141a Do not pick items if the player has no interact 2017-09-11 14:08:01 +02:00
texmex
78ef2a50f6 Lower pickup sound gain 2017-09-11 13:09:11 +02:00
Hybrid Dog
c4365cd4de Higher update delay if no item was found
avoid loud pop noise (in zero velocity mode)
2017-09-08 21:26:08 +02:00
Hybrid Dog
bf0bb807fb Fix key triggering disabling 2017-09-08 20:57:05 +02:00
Hybrid Dog
22763d3b06 Remove damage setting test 2017-09-08 20:46:36 +02:00
Hybrid Dog
169d83840f Fix redundant minetest.after invocations 2017-09-08 20:43:30 +02:00
Hybrid Dog
da2fb1df20 Add item flight time setting, set it to 5 seconds by default 2017-09-08 20:42:28 +02:00
Hybrid Dog
3bc3a4bd25 Adjust default key settings 2017-09-08 20:38:20 +02:00
Hybrid Dog
55e89d3710 Add keyinvert setting 2017-09-08 20:36:36 +02:00
Hybrid Dog
4b5e362395 Add magnet_radius setting 2017-09-08 20:32:48 +02:00
Hybrid Dog
bc5ef09e21 Play the pickup sound positional to all players 2017-09-07 21:22:23 +02:00
Hybrid Dog
bab3c733fa Add code for zero velocity mode 2017-09-07 21:13:10 +02:00
Hybrid Dog
69a68cb247 Fix multiplayer support 2017-09-07 21:00:55 +02:00
Hybrid Dog
b56c1792de Move item flight code 2017-09-07 20:57:02 +02:00
Hybrid Dog
544381bbfe Simplify velocity calculation 2017-09-07 20:44:08 +02:00
Hybrid Dog
9f54694931 Add item pickup age 2017-09-07 20:39:49 +02:00
Hybrid Dog
fb2c076b92 Add item_drop. prefix to settings 2017-09-06 15:56:04 +02:00
Hybrid Dog
46959e79d2 Use tabs for indentation 2017-09-06 15:51:34 +02:00
Hybrid Dog
e84433d41c Use minetest.after instead of globalstep 2017-09-06 13:29:48 +02:00
Hybrid Dog
884824989f Load settings only if they are used 2017-09-06 13:27:21 +02:00
Hybrid Dog
962d0a3889 Short code a bit 2017-09-02 23:58:29 +02:00
tacotexmex
5a6f79a5d2 Code touch-up 2017-08-30 21:13:33 +02:00
LouisCyfer
363b56fc03 Pickup radius, new keytypes, limited globalstep (#1)
Thank you @LouisCyfer 🌮 🎉
2017-08-03 22:42:53 +02:00
tacotexmex
189fea5eff Use ctrl var 2017-07-11 23:29:18 +02:00
tacotexmex
1f9ceb3eb3 Fix var bug 2017-07-09 18:38:44 +02:00
tacotexmex
6befa68ef8 Proper global settingtypes 2017-07-09 17:33:22 +02:00
tacotexmex
d336a226cd Remove remove_items, superseded by item_entity_ttl 2017-07-09 16:25:11 +02:00
tacotexmex
16210c79f7 Fix global settings bool fallbacks 2017-07-09 16:12:57 +02:00
tacotexmex
2c60ac7ab0 Add optional pickup key, either sneak, use or a+d key. Add settable sound gain. 2017-06-26 15:57:23 +02:00
tacotexmex
a666252f1c Add settings for pickups and drops 2017-06-26 15:24:56 +02:00
tacotexmex
d9581ec795 Replace deprecated calls 2017-06-26 15:15:48 +02:00
PilzAdam
a711c073ef Fix typo 2013-09-12 13:45:47 +02:00
PilzAdam
72e2a2b294 Add a hack to not collide with items all the time 2013-05-22 20:03:59 +02:00
PilzAdam
d59ec60058 Set gain to 0.4 2013-04-10 17:52:45 +03:00
PilzAdam
d855a3dc00 Dont drop items in creative mode when player already has it 2013-03-10 18:02:57 +01:00