Commit graph

7644 commits

Author SHA1 Message Date
kabou
8f05b612c9 Update to new bone meal API.
* Update to use new mcl_bone_meal API:
* Use new bone meal item and remove related comment.
* Update mod depends in mod.conf
* Spelling fixes: s/bonemeal/bone meal/g
2022-05-06 14:39:35 +02:00
kabou
c9afccd0c3 Add mcl_bone_meal.
* New mod mcl_bone_meal, replacing bone meal functionality previously
  held in mcl_dye.
* Improve bonemealing API using callbacks in the nodes that support
  bonemealing.
* Rename bone meal item to `"mcl_bone_meal:bone_meal"` and updated its
  crafting recipe.
* Implement legacy compatibility for older bone meal API.
* Remove all non dye-related bone meal code, texture and translations from
  mcl_dye.
* Add legacy compatibility shims to mcl_dye that refer to mcl_bone_meal.
* Add an alias for "mcl_dye:white" to keep mcl_dye and its API working
  uniterrupted.
* Update mod depends in mcl_dye mod.conf.
2022-05-06 14:39:35 +02:00
kabou
c5dd0b7016 Add bonemealing callback for fern.
* Adds a _mcl_on_bonemealing callback to fern.
2022-05-06 14:39:35 +02:00
kabou
7b2c1be538 Add bonemealing callback for tall grass.
* Adds a _mcl_on_bonemealing callback to tall grass.
2022-05-06 14:39:35 +02:00
kabou
15c4f5bf2a Add bonemealing callback for double flowers.
* Adds a _mcl_on_bonemealing callback to the double flowers.
2022-05-06 14:39:35 +02:00
kabou
b0111847b7 Add bonemealing callback for dirt with grass.
* Add new file mcl_flowers/bonemeal.lua, containing the bonemealing
  callback for "mcl_core:dirt_with_grass".
* Override "mcl_core:dirt_with_grass" with a _mcl_on_bonemealing handler
  calling a function defined in mcl_flowers. This sidesteps the problem
  that bonemealing a node from mcl_core needs knowledge of mcl_flowers,
  which would create a circular dependency.  H/t to cora for suggesting
  this solution. H/t to wsor for suggesting a solution that also works.
2022-05-06 14:39:35 +02:00
kabou
dcbf5cffdd Add bonemealing callback to cocoa.
* Adds a _mcl_on_bonemealing callback to the unripe cocoa pods.
2022-05-06 14:39:35 +02:00
kabou
d90387edc9 Refactor beetroots and add bonemealing callback.
* Abstract unripe beetroot plant node registrations into a single
  indexed definition and do the registration in a loop.
* Adds a _mcl_on_bonemealing callback to the unripe melon plants.
2022-05-06 14:39:35 +02:00
kabou
a108d5c11f Add bonemealing callback to melons.
* Adds a _mcl_on_bonemealing callback to the unripe melon plants.
2022-05-06 14:39:35 +02:00
kabou
0b792a31b8 Add bonemealing callback to pumpkins.
* Adds a _mcl_on_bonemealing callback to the unripe pumpkin plants.
2022-05-06 14:39:35 +02:00
kabou
b4ff81f311 Add bonemealing callback to carrots.
* Adds a _mcl_on_bonemealing callback to the unripe carrot plants.
2022-05-06 14:39:35 +02:00
kabou
1fccf729ad Add bonemealing callback to potatoes.
* Adds a _mcl_on_bonemealing callback to the unripe potato plants.
2022-05-06 14:39:35 +02:00
kabou
2cec651783 Add bonemealing callback to wheat.
* Adds a _mcl_on_bonemealing callback to the unripe wheat node definitions.
2022-05-06 14:39:35 +02:00
kabou
5217c88daa Add bonemealing callback to small mushrooms.
* Adds a _mcl_on_bonemealing callback to the mushroom node definitions.
2022-05-06 14:39:35 +02:00
kabou
5c7350b78f Add bonemealing callback to saplings.
* Adds a _mcl_on_bonemealing callback to the sapling node definitions.
2022-05-06 14:39:35 +02:00
cora
85fb33aa4c Merge pull request 'Add amethyst stuff by emojigit and kay27' (#2149) from amethyst into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2149
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2022-05-05 20:54:46 +00:00
AFCMS
f9a2dacdd4 Fix texture and sound names in mcl_amethyst 2022-05-05 22:49:23 +02:00
AFCMS
00c70014c7 Fix codestyle and translation of mcl_amethyst 2022-05-05 22:49:23 +02:00
3raven
f4020ebd31 mcl_amethyst.fr.tr
Translation
2022-05-05 22:49:23 +02:00
kay27
74322ead49 #11 Polish amethyst stuff 2022-05-05 22:49:23 +02:00
kay27
1a83f50505 Fix amethyst buds light levels again 2022-05-05 22:49:23 +02:00
kay27
206c98e354 Fix various amethyst errors, better seed function 2022-05-05 22:49:23 +02:00
kay27
69e83d5c0a #11 Spawn buds 2022-05-05 22:49:23 +02:00
kay27
d3dfd13f78 #11 Fix the style, add template.txt, add Russian translation 2022-05-05 22:49:23 +02:00
kay27
e28ccd9a80 #11 Put tabs instead of each 2 spaces 2022-05-05 22:49:23 +02:00
kay27
a5fba06a2c #11 Remove amethyst screenshot 2022-05-05 22:49:23 +02:00
Emojigit
6c36c83a18 AMethyst Growing 2022-05-05 22:49:23 +02:00
Emojigit
48a4e069f9 craft bugfix 2022-05-05 22:49:23 +02:00
Emojigit
60e04438e0 typo missing space 2022-05-05 22:49:23 +02:00
Emojigit
0b01d299ea 更新 'mods/ITEMS/mcl_amethyst/init.lua' 2022-05-05 22:49:23 +02:00
Emojigit
ebdf944dda amethyst bud 2022-05-05 22:49:23 +02:00
Emojigit
794e10df4e [mcl_amethyst] INIT
* Amethyst Block
* Budding Amethyst (won't  grow amethyst now)
* New spyglass recipe
* Tinted Glass
* Calcite
2022-05-05 22:49:23 +02:00
cora
1cc8a7f8df Merge pull request 'Remove ancient backup "init_new.lua"' (#2178) from remove_ancient_backup_file into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2178
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-05-05 12:32:11 +00:00
cora
6a2fe2eb4f remove ancient backup "init_new.lua" 2022-05-05 04:05:08 +00:00
cora
6674684998 Merge pull request 'Add deepslate, copper and raw_ores by NO11' (#2141) from deepslate-copper-rawores into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2141
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2022-05-05 00:40:31 +00:00
kabou
1266396e1d Add cobbled deepslate to cobble group.
By adding cobbled deepslate to the group "cobble", it automatically
inherits  all crafting recipes and tool repair capabilities that apply
to that group.

* Add `cobble=1` to cobbled deepslate node definition groups.  This
  requires a little refactoring of the deepslate variants registration
  function.
* Remove stone tools, furnace and brewing stand crafting recipes.
2022-05-05 01:45:03 +02:00
kabou
f5abc28190 Allow smelting of deepslate ores.
* Register "cooking" crafting recipe for deepslate ores that enables
  smelting these ores in furnaces.
* Extend deepslate ore registration function to allow passing cooking
  result as argument.
* Update the deepslate ore table to include smelting results.
* Put deepslate w/ lapis drops in a separate table, making the deepslate
  ores table less unwieldly.
2022-05-04 23:35:07 +00:00
AFCMS
f8f6ea22c8 Fix codestyle issues with mcl_deepslate, mcl_copper, mcl_raw_ores 2022-05-04 23:35:07 +00:00
cora
b0b8ef3921 Comment out ore registrations for now
The discussion about how to handle the new ores is still ongoing.
This PR was originally only intended to add the new nodes so
that's what it does now.
2022-05-04 23:35:07 +00:00
cora
be6d2db7d4 remove redundant license files 2022-05-04 23:35:07 +00:00
cora
dc40ed18b3 remove raw_ores item override 2022-05-04 23:35:07 +00:00
cora
1b99de73d2 remove screenshots from original mods 2022-05-04 23:35:07 +00:00
NO11
c97e0cd631 Add deepslate 2022-05-04 23:35:07 +00:00
NO11
8c7a8a61d2 Add Copper 2022-05-04 23:35:07 +00:00
NO11
6bdaa9f2d1 Add raw ores 2022-05-04 23:35:06 +00:00
cora
8b8a133381 Merge pull request 'Fix undefined variable in mcl_enchanting/engine.lua.' (#2177) from fix_enchanting into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2177
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-05-04 23:34:18 +00:00
kabou
dceb48bf94 Fix undefined variable in mcl_enchanting/engine.lua. 2022-05-04 23:31:54 +00:00
cora
e10c06ba98 Merge pull request 'Remove 2D preview + fix enchanting overlay (Fix #1869, #2161)' (#2162) from remove_3d_preview into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2162
Reviewed-by: kabou <kabou@noreply.git.minetest.land>
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-05-04 23:20:50 +00:00
AFCMS
8a47a195f6 Remove preview files 2022-05-04 23:15:11 +00:00
AFCMS
d0b60e2399 Fix player armor enchanting overlay (#2161) 2022-05-04 23:15:11 +00:00