Commit Graph

141 Commits

Author SHA1 Message Date
kay27
a127136c60 Add Enchanting from Crafter-minetest by Oil_boi 2020-10-19 16:38:21 +04:00
Wuzzy
e361b35724 Fix crash delete item entity with empty itemstring 2020-08-29 10:57:33 +02:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy
71c9d20fff Use larger wield scale for tools 2020-04-08 04:07:16 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy
2e9efe51e8 Tweak drop behavior of ocean plants 2019-12-18 03:10:49 +01:00
Wuzzy
7f70acc8a4 Make dropped items glow if light source node 2019-12-14 17:40:24 +01:00
Wuzzy
1cbee9de18 Fix item entity force-out bias to positive dir 2019-08-27 13:08:54 +02:00
Wuzzy
2203d0df53 Revert "Make item entities a bit more efficient"
This reverts commit ba97dfd02ff849f8df53126834a8907b51794711 because it broke item entities.
2019-04-01 10:59:36 +02:00
Oil_boi
ba97dfd02f Make item entities a bit more efficient 2019-03-26 10:23:52 +01:00
Wuzzy
6188d7b528 Fix other boolean settings default fails 2019-03-25 12:42:37 +01:00
Wuzzy
66c6b373a5 Make many entities non-pointable 2019-03-07 03:53:06 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
a711c7bdb7 handle_node_drops no longer destroys metadata 2019-03-01 17:30:21 +01:00
Wuzzy
0586c0ea18 Destroy items in fire 2019-02-01 08:31:17 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
a88f644001 Update deprecated settings syntax 2018-06-20 19:02:52 +02:00
Wuzzy
f022b747b0 Harden a number of minetest.after player checks 2018-06-03 16:44:37 +02:00
Wuzzy
d5729b8a32 Fix load-crash if _magnet_timer of item entity is uninizialized 2018-05-31 14:34:19 +02:00
Wuzzy
bb6f2f7770 Rename “subgame” to “game” (partial fix) 2018-03-25 22:20:32 +02:00
Wuzzy
1fa141d972 Custom node drops now ignore Creative Mode 2018-03-05 13:35:14 +01:00
Bu-Gee
3ae8119498 Fix crash when pushing pumpkin by piston 2018-03-05 12:53:16 +01:00
Wuzzy
312652552e Delete un-initialized item entities on first step
Due to data corruption, item entities in a world may be loaded with
empty staticdata. These items are now deleted on their first on_step.
This commit also should fix all dropped hand bugs.
2017-12-01 18:50:15 +01:00
Wuzzy
aaef558909 Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
Wuzzy
559e3d68bc Simplify item merge code 2017-09-05 19:17:40 +02:00
Wuzzy
861174dc32 (Hopefully) fix hand rarely dropping as item 2017-09-05 17:25:15 +02:00
Wuzzy
f95bf371d2 Refine hand error logging 2017-09-02 19:00:04 +02:00
Wuzzy
ae74eb3b33 Print error message when player picked up hand
This is __builtin:item with itemstring == "" and should never happen
2017-09-02 18:57:37 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
54fb702c8f Shears selfdrop dead bush, tall grass, fern, vine, leaves 2017-08-03 02:27:55 +02:00
Wuzzy
627d103b20 Don't drop when node dug by too weak tool 2017-08-03 01:01:44 +02:00
Wuzzy
7b16b74903 Fix bad mcl_ default settings 2017-06-13 17:08:45 +02:00
Wuzzy
53791c4f9d Fix item speed not reset when magnet activates
This fixes items sometimes flying upwards when near the player
2017-06-10 21:39:26 +02:00
Wuzzy
5d1c38cb5f Reduce excessive item pickup sound distance 2017-06-10 21:36:39 +02:00
Wuzzy
8cad041c89 Disable item magnet correctly 2017-06-10 21:10:15 +02:00
Wuzzy
817def7d81 Enable item physics right when out of magnet range 2017-06-10 21:08:02 +02:00
Wuzzy
b153104d24 Fix item flying after moving out of liquid 2017-06-10 20:56:53 +02:00
Wuzzy
1a7b455fd2 Fix item entity wiggle on flowing water 2017-06-10 20:47:12 +02:00
Wuzzy
be5d1c08db Refactor item entity physics code 2017-06-10 20:37:17 +02:00
Wuzzy
a589cbc17a Fix global variable bug in mcl_item_entity 2017-06-10 17:23:14 +02:00
Wuzzy
b2b196bccd Rename setting name 2017-06-09 14:11:16 +02:00
Wuzzy
5d5743939f Add tile drops setting 2017-06-09 14:05:58 +02:00
Wuzzy
76f9ba70df Don't collect item too early 2017-06-03 17:36:43 +02:00
Wuzzy
b8df2d4e0a Revert "Reduce collection distance"
This reverts commit f44dffd3748198134f6cf7f01698de2028372f86.
2017-06-03 17:27:58 +02:00
Wuzzy
f44dffd374 Reduce collection distance 2017-06-03 17:24:47 +02:00
Wuzzy
dcc6e3e829 Fix items sometimes flying away after creation 2017-06-03 17:03:22 +02:00
Wuzzy
750ef024d9 Small precision tweaks for item entities 2017-06-01 17:44:25 +02:00
Wuzzy
8994468c5c Enable _insta_collect by default in item entities 2017-05-30 18:16:36 +02:00
Wuzzy
7b075f5772 Fix crash after item hit unloaded chunk 2017-05-30 13:59:26 +02:00
Wuzzy
64c91afa4a Re-enable item physic after player follow failed 2017-05-30 06:00:26 +02:00
Wuzzy
467baaf67c Fix broken item safety code 2017-05-30 05:51:48 +02:00
Wuzzy
1c2825ce6c Final fix-ups for push-item-out code 2017-05-30 00:58:14 +02:00
Wuzzy
f0b9799dee More item refactor 2017-05-29 23:31:41 +02:00
Wuzzy
4fd6e527a1 Disable physics when items are stuck 2017-05-29 23:20:29 +02:00
Wuzzy
4ff31ffa8c Add missing break in mcl_item_entities 2017-05-29 22:56:53 +02:00
Wuzzy
0b28ae2fe9 Push items out of solid opaque nodes 2017-05-29 22:51:13 +02:00
Wuzzy
88fb03a0d8 Refactor mcl_item_entity 2017-05-29 21:42:24 +02:00
Wuzzy
932e2dc6f8 Minor item entity code cleanup 2017-05-29 20:10:51 +02:00
Wuzzy
37f6bfaa9a Increase player collect height 2017-05-29 18:50:57 +02:00
Wuzzy
ce242511f0 Increase item magnet timer 2017-05-29 17:39:01 +02:00
Wuzzy
7bc10b2ade Don't set item age for node drops 2017-05-29 17:32:49 +02:00
Wuzzy
040cead946 Reduce default item despawn time to 5 minutes 2017-05-29 17:18:43 +02:00
Wuzzy
9d5497b347 Items dropped from nodes have no collection delay 2017-05-29 17:13:58 +02:00
Wuzzy
cf9f4ba976 Don't attract item when inventory is full 2017-05-27 18:45:15 +02:00
Wuzzy
1f6548063e Item entity: Double collection radius 2017-05-27 18:39:10 +02:00
Wuzzy
f116bcfb48 Fix items not falling again after failed collect 2017-05-27 17:53:36 +02:00
Wuzzy
db26ba2191 Fix item entity jittering after falling on floor 2017-05-27 17:07:17 +02:00
Wuzzy
e99dd9d085 Fix item entities following player forever 2017-05-27 17:02:17 +02:00
Wuzzy
23c438f427 Re-enable item falling after being in unloaded 2017-05-27 15:37:15 +02:00
Wuzzy
3cda40818c Make item entities respect gravity setting 2017-05-27 15:22:28 +02:00
Wuzzy
0b4ae22c21 Clean up various potential crashes in minetest.after in mcl_item_entities 2017-05-27 15:17:03 +02:00
Wuzzy
0930ab52c9 Item entities: Reduce player collect height 2017-05-27 14:59:13 +02:00
Wuzzy
5834224af5 Don't drop items when digging in Creative Mode 2017-05-23 19:32:20 +02:00
Wuzzy
cf1be05710 Achievements: Fix mineWood, add Cow Tipper 2017-03-05 22:52:19 +01:00
Wuzzy
3539eac6b4 Achievements: Add “Into Fire”, fix “DIAMONDS!” 2017-03-05 22:33:09 +01:00
Wuzzy
82df0ec4e4 Much more precise item flowing behaviour
Thanks to the flowlib by Qwertymine :-)
2017-02-19 23:41:46 +01:00
Wuzzy
635b60c17f Dropping drops entire item stack again 2017-02-18 21:59:24 +01:00
Wuzzy
29b418f719 Remove horrible legacy minetest.env functions 2017-02-18 21:56:07 +01:00
Wuzzy
07d237ce15 Fix possible crash in mcl_item_entity 2017-02-18 02:06:21 +01:00
Wuzzy
2efa5e6c96 Remove broken support for remove_items 2017-02-17 03:18:07 +01:00
Wuzzy
822bedc09a Disable collecting items by punching 2017-02-17 02:47:29 +01:00
Wuzzy
b760c43ac2 Localize item drop settings table 2017-02-17 02:45:10 +01:00
Wuzzy
73cdd17a7c Generalize item destruction logic 2017-02-16 19:33:47 +01:00
Wuzzy
af78e4f3f0 Make item flowing work for all liquids 2017-02-16 19:18:51 +01:00
Wuzzy
515343b0df Fix items stop flowing at last liquid node 2017-02-16 19:15:59 +01:00
Wuzzy
6aa67cd518 Better item flowing 2017-02-16 18:37:11 +01:00
Wuzzy
3e0ac2127b Make items flow on water and burst in lava again 2017-02-16 18:26:38 +01:00
Wuzzy
6912ca832c Update eating sound 2017-02-16 14:47:50 +01:00
Wuzzy
3696ee3761 Organize mods into modpacks for better overview 2017-02-16 01:45:21 +01:00