Commit graph

306 commits

Author SHA1 Message Date
kabou
64bb50dfd5 Change some crafting recipes to use group:cobble.
* Update crafting recipes for stone tools (pick, shovel, axe, sword and
hoe), furnace and brewing stand to use any cobble group stone.
2022-05-04 15:54:12 +02:00
Nils Dagsson Moskopp
56db877360 Disconnect gourd stems after destruct
While testing the previous commit, it became clear that gourd stems do
not disconnect properly if the gourd disappears while not being dug. A
simple method to create illegal curved stems was to explode the gourd.

This patch changes gourds so that the stem curves back after a gourd is
destroyed, regardless of reason. This hopefully makes curved stems that
are not connected to matching gourds a relict of the past.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
e1d67a2095 Disconnect stems from carved pumpkins after dig
Carved pumpkins can end up being connected to a stem – either if they
were grown in a previous version of MineClone2 or Mineclonia, or if a
player carves them before harvesting them. This patch makes sure that
stems turn into unconnected stems after such a carved pumpkin is dug.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
4fda54b0d1 Remove pumpkin pie recipe with carved pumpkin
Shearing an uncarved pumpkin turns it into a carved pumpkin and drops
four pumpkin seeds. As map generation and growing mechanics have been
changed to generate uncarved pumpkins instead of carved, preserving a
recipe to get pumpkin pie from carved pumpkins enabled players to get
both seeds and pumpkin pie from grown pumpkins, which was unintended.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp
9a53761b08 Remove pumpkin seeds recipe with carved pumpkin
Shearing an uncarved pumpkin turns it into a carved pumpkin and drops
four pumpkin seeds. As map generation and growing mechanics have been
changed to generate uncarved pumpkins instead of carved, preserving a
recipe to get seeds from carved pumpkins enables players to get twice
the amount of seeds as intended. Because of this, the recipe must go.
2022-04-22 18:07:37 +00:00
Alexander Minges
9b614c115c Grow uncarved pumpkin from seeds instead of carved
Carved pumpkin has to be explicitly registered as a separate node, as
registering a carved pumpkin node happened as a side effect of invoking
mcl_farming:add_gourd() for the carved pumpkin.

The iron / snow golem spawning checks that trigger whenever a carved
pumpkin is placed had to be moved out of the mcl_farming:add_gourd()
invocation to preserve the existing behaviour.

Note that uncarved pumpkin must not be registered as a separate node,
as invoking mcl_farming:add_gourd() for a registered node name leads to
stems not updating when an adjacent node is manually placed or mined.
2022-04-22 18:07:37 +00:00
kabou
de16eb3c5a Add compostability to node definition group.
* mcl_cake/init.lua (cake);
* mcl_core/craftitems.lua (apple);
* mcl_core/nodes_base.lua (dirt with grass);
* mcl_core/nodes_cactuscane.lua (cactus, sugarcane);
* mcl_core/nodes_climb.lua (vines);
* mcl_core/nodes_trees.lua (leaves, saplings);
* mcl_dye/init.lua (cocoa beans);
* mcl_farming/beetroot.lua (beetroot, & seeds);
* mcl_farming/carrots.lua (carrot);
* mcl_farming/melon.lua (melon, & slice, & seeds);
* mcl_farming/potatoes.lua (potato, baked potato);
* mcl_farming/pumpkin.lua (pumpkin, carved &, & seeds, & pie);
* mcl_farming/wheat.lua (wheat, cookie, bread, hay block);
* mcl_flowers/init.lua (flowers, ferns, grass, & tall variants);
* mcl_mushrooms/small.lua (red and brown mushrooms);
* mcl_mushrooms/huge.lua (red and brown huge mushrooms);
* mcl_nether/init.lua (nether wart block);
* mcl_nether/nether_wart.lua (nether wart);
* mcl_ocean/kelp.lua (kelp, dried &, & block);
* mcl_ocean/sea_pickle.lua (sea pickle);
* mcl_ocean/seagrass.lua (seagrass).
2022-04-02 03:32:56 +02:00
Emojigit
ad42c3588b mcl_farming 2022-02-23 23:58:05 +01:00
Emojigit
9734c74c56 (WIP) mcl_farming 2022-02-23 23:58:05 +01:00
NO11
627c37cd97 Fix pumpkin hud 2022-01-02 12:37:20 +00:00
Elias Fleckenstein
64d3a28578 Merge pull request 'Fix #1795 (Don't remove Pumpkin HUD when it is removed on death if keepinventory is enabled)' (#1796) from pumpkin_hud into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1796
2021-06-14 11:44:21 +00:00
AFCMS
e11dc4b58e fix some luacheck warnings 2021-06-12 00:28:07 +02:00
NO11
3577585d74 Use get_bool 2021-06-10 15:34:57 +00:00
NO11
c350b5158b Fix #1795 (Don't remove Pumpkin HUD when it is removed on death if keepinventory is enabled) 2021-06-09 18:31:21 +00:00
Elias Fleckenstein
4324e97db0 Merge pull request 'Pumpkin hud' (#1754) from pumpkin_hud into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1754
2021-06-08 11:06:22 +00:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
NO11
ec542a142a Improve pumkin hud a bit 2021-05-29 08:56:11 +00:00
NO11
47b6a8d7f8 Remove unused variable 2021-05-25 09:03:06 +00:00
NO11
ba38f787e2 Fix local function code style 2021-05-24 11:09:47 +00:00
NO11
8b11e2fec8 Add multiplayer support for pumpkin hud 2021-05-23 22:31:13 +00:00
NO11
9b9ec13967 „mods/ITEMS/mcl_farming/pumpkin.lua“ ändern 2021-05-23 19:38:49 +00:00
NO11
d5a2e5e514 Add "fake" crosshair when the player is wearing a pumpkin 2021-05-23 17:38:53 +00:00
NO11
dddaed42b6 Obstruct the view of the player when wearing a pumpkin 2021-05-23 16:50:09 +00:00
NO11
973a8201ad Pumpkin blur texture 2021-05-23 16:44:01 +00:00
AFCMS
fcc2087b97 [mcl_farming] fix warnings 2021-05-22 23:50:28 +02:00
Elias Fleckenstein
33c6e5cdad Fix wearing pumpkin heads as armor 2021-05-04 08:59:01 +02:00
Elias Fleckenstein
ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Marcin Serwin
2a06be02b3 Add polish translation of mcl_farming 2021-04-14 21:20:58 +02:00
Elias Fleckenstein
ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
Elias Fleckenstein
d3a3253563 Revert "Revert "Make hoe dig some blocks faster""
This reverts commit db5626fcb4.
2021-04-12 16:34:40 +02:00
Elias Fleckenstein
db5626fcb4 Revert "Make hoe dig some blocks faster"
This reverts commit c1e295de5f.
2021-04-12 15:05:01 +02:00
AFCMS
339e3e2792 fix some tools not using right var 2021-04-05 14:32:48 +02:00
AFCMS
84819bf9f5 MAKE EVERY SINGLE MOD USE PROPER COLORS!!! 2021-03-30 00:01:29 +02:00
Elias Åström
c1e295de5f Make hoe dig some blocks faster
- Sponges
- Hay and kelp blocks
- Nether wart
- Leaves
2021-03-21 12:39:14 +01:00
Nicu
a40e1c4737 Reduce the size of the pumpkin texture
2732 -> 303 bytes

* We need smaller file sizes for better game startup time, especially for multiplayer and mobile gaming.
2021-03-19 17:41:37 +00:00
Elias Fleckenstein
d168bfa791 Fix pumpking breaking armor display 2021-03-19 14:47:52 +01:00
Elias Åström
ed30fa0868 Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.

This was done with a shell script :)
2021-03-18 17:37:12 +01:00
AFCMS
06e8e972cc add help text to mcl_farming 2021-03-12 00:48:53 +01:00
AFCMS
bed3dd87ad Add API for mcl_jukebox 2021-03-12 00:10:50 +01:00
AFCMS
1a60d08a37 mcl_farming make plantlist copy global and mcl_jukebox cleanup
Sorry, I forgot to commit between the 2 features :-(
2021-03-11 23:39:26 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
9b349a1684 More flexible wield rotation determination 2021-02-18 09:28:12 +01:00
Midgard
f27fbd866e
Correct hoe repair material 2021-02-12 17:13:58 +01:00
kay27
fd4ce3c688 Scale mcl_farming_pumpkin_face_preview.png 32x64 to 16x32 according to https://git.minetest.land/Wuzzy/MineClone2/issues/974 2021-01-08 14:30:11 +01:00
Wuzzy
39a0fdd24c No enchant 4 flint&steel,pumpkin,head,screwdriver 2020-12-19 16:26:12 +01:00
Elias Fleckenstein
ed738da016 Added Enchanting Table 2020-11-25 12:47:27 +01:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
kay27
f2d68d909e Add some growth for unloaded farming plants 2020-09-05 21:49:12 +04:00
Wuzzy
eff6c4c476 Clean up poisonous foods 2020-08-13 19:20:52 +02:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Rocher Laurent
c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy
3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Elias Åström
6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Wuzzy
e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +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
6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy
cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
Wuzzy
e4fb7ae533 Add punch_attack_uses to weapons 2020-02-19 15:53:51 +01:00
Wuzzy
ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy
6426e55746 Add on_secondary_use for heads and pumpkin 2020-02-18 22:17:52 +01:00
wuniversales
15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy
92ef7c3b9a Simplify rotation of pillar-like nodes 2019-12-14 23:42:17 +01:00
Wuzzy
101c9b7322 Use minetest.LIGHT_MAX 2019-12-14 18:57:17 +01:00
Wuzzy
7b24ede582 Remove a couple of FIXMEs and legacy 2019-10-16 08:33:22 +02:00
Wuzzy
6cd1fb1119 Change German translation of Jack'o lantern 2019-06-02 10:21:35 +02:00
Wuzzy
8533ff0b75 Hoes and shovels now respect protection
That is, their special action do so.
2019-03-27 13:07:33 +01:00
Wuzzy
967905264d Make many help texts translatable and fix bugs 2019-03-25 12:05:57 +01:00
Wuzzy
c5db9987c3 Fix various typos in German translation 2019-03-25 11:01:52 +01:00
Wuzzy
833f58ff4e Fix incorrect usagehelp for pumpkin (with face) 2019-03-22 22:04:22 +01:00
Wuzzy
c78b1d1354 Add missing translation for pumpkin usagehelp 2019-03-22 22:02:23 +01:00
Wuzzy
53eabf3737 German translation: mcl_farming 2019-03-15 03:41:24 +01:00
Wuzzy
5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy
a29626881f New translation system, part 7: Items, part 3 2019-03-08 00:00:09 +01:00
Wuzzy
1044e96909 Add tool groups (pickaxe, shovel, ...) 2019-02-25 17:46:49 +01:00
Wuzzy
cb8e3fcf82 Fix bone meal failing to grow crops when it's dark 2019-02-08 05:36:43 +01:00
Wuzzy
7d0c647e8b Comment on beetroot seed probability 2019-02-08 05:30:05 +01:00
Wuzzy
058cb2f1ee Rename farmland textures because of MTG clash 2019-02-07 20:06:02 +01:00
Wuzzy
f63342ec72 Rename seed textures 2019-02-05 04:06:28 +01:00
Wuzzy
b5f9a755b3 Tweak item names and images of farming plants 2018-10-24 18:16:39 +02:00
Wuzzy
e19271398d Make pumpkins and melons opaque again 2018-03-13 02:38:57 +01:00
Wuzzy
e97fe05acc Specify the repair material of tools and armor 2018-02-02 02:33:10 +01:00
Wuzzy
83a3cce932 Fix pumpkin pie crafting 2017-11-28 08:31:22 +01:00
Wuzzy
72684f36ff Remove faceless pumpkins from survival again
The top face rotates when you use shears on the pumpkin.
2017-11-27 12:40:07 +01:00
Wuzzy
35407a8b31 Fix pumpkin face group 2017-11-23 01:24:47 +01:00
Wuzzy
f5de6db4aa Add grass path and farmland to creative inventory 2017-11-23 00:32:51 +01:00
Wuzzy
ce544cce6e Add faceless pumpkin 2017-11-23 00:05:31 +01:00
Wuzzy
69ade14509 Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
Wuzzy
72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy
3b7c30fefc Reduce fall damage by 80 on hay bale 2017-08-31 23:27:29 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
ee38a7af9d Rename mod: bucket to mcl_buckets 2017-08-03 16:36:55 +02:00
Wuzzy
79551b1fe2 Fix minor mistake in pumpkin helmet texture 2017-07-26 20:16:42 +02:00
Wuzzy
7721f78ebd Update pumpkin helmet textures to Pixel Perfection 2017-07-26 20:13:52 +02:00
Wuzzy
dcdfbc8520 Make farmland easier to see 2017-07-24 01:17:49 +02:00
Wuzzy
f459a4f716 Fix stem textures 2017-07-21 19:59:08 +02:00
Wuzzy
d3dbedd199 Update stem images and automatically colorize them 2017-07-21 19:47:20 +02:00
Wuzzy
e65029394f Replace most textures with Pixel Perfection
- Using the converter script
- A bunch of textures are still missing
2017-07-20 20:20:45 +02:00
Wuzzy
d45ca46f99 Fix pumpkin placement not connecting pumpkin stems 2017-07-17 15:00:20 +02:00
Wuzzy
fa7cb8397a Add independent connected stem textures 2017-07-17 14:26:25 +02:00
Wuzzy
ca01259b59 Set list of nodes which can be taken by endermen 2017-07-05 20:14:37 +02:00
Wuzzy
fcfb72a643 Make iron golems and snow golems summonable 2017-07-05 19:13:00 +02:00
Wuzzy
ad29d5dbb2 Fix light: melon/pumpkin/jack'o lantern 2017-06-13 14:18:12 +02:00
Wuzzy
62f755f52a Remove heads and pumpkin from combat creative tab 2017-06-11 22:20:25 +02:00
Wuzzy
7101e0719e Fix pumpkin helmet texture rotation 2017-06-11 15:40:51 +02:00
Wuzzy
6e2f47a1ce Make pumpkins wearable 2017-06-11 15:21:20 +02:00
Wuzzy
9f5a310aae Fix bone meal not used up on farming plants 2017-05-25 03:24:11 +02:00
Wuzzy
0f4573c594 Update help of all food items 2017-05-21 04:21:12 +02:00
Wuzzy
579a6ed6f3 Fix incorrect/missing saturation points 2017-05-21 03:26:51 +02:00
Wuzzy
d454aa7745 Update help for poison foods 2017-05-21 01:07:46 +02:00
Wuzzy
4fb404bba5 Update poisonous food help and values 2017-05-21 00:43:30 +02:00
Wuzzy
3291fcb054 Add saturation value to food items 2017-05-20 17:45:04 +02:00
Wuzzy
c49e8dfba0 Destroy some nodes by flowing lava 2017-05-20 04:11:14 +02:00
Wuzzy
5907d43179 Reset farmland, etc. to dirt when gourd grows on top 2017-05-19 13:22:29 +02:00
Wuzzy
80a0e32f4b Turn farmland to dirt when gourd appears on top 2017-05-15 21:55:01 +02:00
Wuzzy
16bdcc5ea3 Fix typo in baked potato help 2017-05-15 19:44:27 +02:00
Wuzzy
da3205837b Add label to all ABMs 2017-05-15 00:45:54 +02:00
Wuzzy
35e928bbb7 Fix confused farmland wettening height 2017-05-14 23:12:22 +02:00
Wuzzy
4d5f1d9d47 Update farmland and grass path help 2017-05-14 22:55:46 +02:00
Wuzzy
3f57f80d54 Grass Path+Farmland→Dirt if below solid, instantly 2017-05-14 22:44:34 +02:00
Wuzzy
5dbf2beb6a Don't make farmland dry while it rains 2017-05-14 22:16:56 +02:00
Wuzzy
f68150528d Fix farmland getting destroyed early 2017-05-14 21:53:34 +02:00
Wuzzy
32f6f4d3bf Destroy farmland when under solid node 2017-05-14 21:47:45 +02:00
Wuzzy
c201ee7533 Add plant group to plants, required for farmland 2017-05-14 21:37:21 +02:00
Wuzzy
b7971ef796 Turn dry farmland to dirt, update farmland wetten 2017-05-14 21:08:02 +02:00
Wuzzy
6eed06f7fc Add equivalence code for the snowy dirt blocks 2017-04-01 06:51:55 +02:00
Wuzzy
5f36c13c92 Add attached_node group to connected stems 2017-04-01 05:21:50 +02:00
Wuzzy
635256c245 Fix some beetroot bugs
- Improve selection box
- Fix incorrect texture of a beetroot stage (used carrot image, lol)
- Did not drop when supporting node was destroyed
2017-04-01 05:10:56 +02:00
Wuzzy
182ea6f58e Tweak selection box of mature carrot plant 2017-04-01 05:02:18 +02:00
Wuzzy
1485795f7a Visible stage warning for carrots/potatoes 2017-04-01 04:58:55 +02:00
Wuzzy
8d8d9e8c43 Grow carrots in 8 stages 2017-04-01 04:56:42 +02:00
Wuzzy
85cec2ac85 Reduce growth intervals of potato and wheat
Because the number of growth stages have increased
2017-04-01 04:46:15 +02:00
Wuzzy
8f0fd120b4 Make wheat attached 2017-04-01 04:44:06 +02:00
Wuzzy
5bb5516706 8 stages of wheat 2017-04-01 04:41:59 +02:00
Wuzzy
2025505b64 8 potato grow stages instead of 3 2017-04-01 04:20:02 +02:00
Wuzzy
d3e2a21d5f Refactor plant growth, improve bone meal on plants 2017-04-01 03:54:58 +02:00
Wuzzy
f64bf438e7 Greatly increase pumpkin/melon stem growth rate 2017-03-30 04:54:27 +02:00
Wuzzy
30564e494e Make many blocks drop when pushed by piston 2017-03-29 22:58:31 +02:00
Wuzzy
767d7cbc3e Add Help aliases for premature farming plants 2017-03-21 04:56:16 +01:00
Wuzzy
6b99e9866a Fix farmland hardness 2017-03-20 19:53:14 +01:00
Wuzzy
21ef2a83b6 Make carrot plants transparent 2017-03-20 19:05:04 +01:00