Commit Graph

88 Commits

Author SHA1 Message Date
SmokeyDope
411cb2b9b9 Correct the names of pumpins and carved pumpkins. Slightly update their descriptions. 2024-08-30 18:26:18 +02:00
teknomunk
d2a49799ae Change over internal name so that /spawn_mob works 2024-05-05 16:22:19 +00:00
SmokeyDope
7bf3fbf13c Fix typo in pumpkin.lua 2024-01-05 17:06:22 +00:00
Mikita Wiśniewski
a764818e13 Add a new 'pumpkin' group (#4012)
Creates a new 'pumpkin' group, which combines Pumpkin, Faceless Pumkin and Jack o'Lantern under a shared category. This helps tidy up the mesecons_noteblock code a bit, and possibly other mods too.

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4012
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2023-11-14 15:35:30 +00:00
ancientmarinerdev
60c996b5ac Drop pumpkins, melons and buttons via piston or dirt next to piston 2023-06-07 20:21:05 +00:00
Elias Fleckenstein
e7898352d8 Remove mobs_mc_gameconfig 2022-05-27 02:44:39 +02:00
AFCMS
3ca40cd4e4 Remove 2D preview 2022-05-04 23:15:11 +00: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
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
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
Elias Fleckenstein
33c6e5cdad Fix wearing pumpkin heads as armor 2021-05-04 08:59:01 +02:00
Elias Fleckenstein
ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02: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 Å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
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +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
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
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
a29626881f New translation system, part 7: Items, part 3 2019-03-08 00:00:09 +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
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
ce544cce6e Add faceless pumpkin 2017-11-23 00:05:31 +01:00
Wuzzy
d3dbedd199 Update stem images and automatically colorize them 2017-07-21 19:47:20 +02:00