Commit Graph

64 Commits

Author SHA1 Message Date
Nils Dagsson Moskopp c4912effaf
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-14 00:23:01 +02:00
Nils Dagsson Moskopp 1967e10a52
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-14 00:23:00 +02:00
Nils Dagsson Moskopp 3948a0e7af
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-14 00:22:59 +02:00
Nils Dagsson Moskopp a44fd9c88b
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-14 00:22:59 +02:00
Alexander Minges 59b013f766
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-14 00:22:58 +02:00
Wuzzy 39a0fdd24c No enchant 4 flint&steel,pumpkin,head,screwdriver 2020-12-19 16:26:12 +01:00
Lizzy 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
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 6e2f47a1ce Make pumpkins wearable 2017-06-11 15:21:20 +02:00
Wuzzy 0f4573c594 Update help of all food items 2017-05-21 04:21:12 +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 c201ee7533 Add plant group to plants, required for farmland 2017-05-14 21:37:21 +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 6a3769f854 Fix typos in jack o'lantern help 2017-03-14 05:51:11 +01:00
Wuzzy 5083d23f86 Help update for gourd stems and gourd blocks 2017-03-14 05:46:57 +01:00
Wuzzy 36e6c78eeb Auto-connect stem after stem construction 2017-03-14 04:17:35 +01:00
Wuzzy d4f9c5c122 Different colors for different stem stages 2017-03-14 03:26:48 +01:00
Wuzzy 6794911023 Stems: 8 stages, fix bone meal and selection box 2017-03-14 02:37:42 +01:00
Wuzzy 7cd7b27d55 Clean up gourd API 2017-03-13 22:53:49 +01:00
Wuzzy 50814a6d5f Introduce the old melon/pumpkin growth times again 2017-03-13 22:43:47 +01:00
Wuzzy 589eb9dc3d Farming: Add gourd API to reduce redundancy, rework pumpkin 2017-03-13 22:30:37 +01:00
Wuzzy a841d02325 Much more MC-like pumpkin growth, fix stem bugs
- Pumpkins now grow randomly
- Stems now disconnect properly after removing pumpkin
- Remove lots of ugly code duplication
2017-03-13 21:25:11 +01:00