Commit graph

7656 commits

Author SHA1 Message Date
kabou
35049c765e Update lapis lazuli description translations.
* Updated de, es, fr, pl, ru and zh_TW translations for the new lapis
  lazuli craftitem description.
  Note that I do not master all of these languages and this is a best
  effort based on picking what I guessed are the most likely translations
  from web pages.
2022-05-06 15:09:23 +02:00
kabou
7e54c3d5bf Update cocoa beans description.
After the cocoa beans <-> brown dye change, some of the old dye use was still
left in the description and usage help texts of the cocoa beans craftitem.
The mcl_cocoa locale template and translations are also updated.

* Update the cocoa beans craftitem description and usage help text.
* Update de, es, fr, pl, ru and zh_TW translations.
  Note that I do not master all of these languages and this is a best effort
  based on picking what I guessed are the most likely translations.
* Don't set stack_max to what would be the default anyway.
2022-05-06 15:09:23 +02:00
kabou
b5a0a792a9 Remove stray line from locale template.
* Removed a line from the mcl_bone_meal locale template that had by
  accident put there during the bone meal <-> white dye changes.
2022-05-06 15:09:23 +02:00
kabou
f6fd0b4c37 Update mcl_dye translations.
* Added de, es, fr, pl, ru and zh_TW translations for the new white
  black and brown dye items.  The new blue dye description is unchanged
  and needs no translation update.
  Note that I do not master all of these languages and this is a best
  effort based on picking what I guessed are the most likely translations
  from web pages.
2022-05-06 15:09:23 +02:00
kabou
70a1fdad5a Add black, white, blue and brown dyes.
Until now, the black, white, blue and brown dyes doubled as squid ink sac,
bone meal, lapis lazuli and cocoa beans.  Since these latter items have all
been given their own craftitem registration, the missing dyes can finally
be added in their own right.

* Add `"mcl_dye:black"` and its crafting recipe.
* Add `"mcl_dye:white"` and its crafting recipe.
* Add `"mcl_dye:blue"` and its crafting recipe.
* Add `"mcl_dye:brown"` and its crafting recipe.
* Remove aliases for white and brown dyes.
* Rename dye item images to be conforming to mineclone naming standards.
* Minor simplifications of mcl_dye/init.lua.
2022-05-06 15:09:23 +02:00
kabou
cb6a9e7e35 Replace blue dye with "mcl_core:lapis".
The lapis ore drop has been registered as `"mcl_dye:blue"`
because it doubled as the blue dye for lack of a proper blue dye.
This commit makes the lapis item its own `"mcl_core:lapis"` item and
updates the lapis users (but not the blue dye users.)

* Add craftitem for `"mcl_core:lapis"`.
* Update crafting recipes for lapis block.
* Update lapis ore drops.
2022-05-06 15:09:23 +02:00
kabou
81ea298011 Replace black dye with "mcl_mobitems:ink_sac".
The squid ink sac mob drop has been registered as `"mcl_dye:black"`
because it doubled as the black dye for lack of a proper black dye.
This commit makes the squid ink sac its own `"mcl_mobitems:ink_sac"`
item and updates the ink sac users (but not the black dye users.)

* Add craftitem for "mcl_mobitems:ink_sac".
* Update squid drop.
* Update crafting recipe for book and quill.
* Update fishing loot.
2022-05-06 15:09:23 +02:00
kabou
df08a113b7 Revert vector-fu.
* Metatable based direct operator maths on vectors are new in minetest
  5.5 which means that they are not yet supported in 5.4.  Revert back
  to vector.subtract().
2022-05-06 15:09:23 +02:00
kabou
8072f2089d Use better override mechanism.
* Use `minetest.override_item()` instead of re-registering the node with
  ":" prefixed to its name.  Thanks again to wsor for mentioning this.
2022-05-06 15:09:23 +02:00
kabou
8131950287 Update bone block crafting recipe.
* Update `mcl_core:bone_block` crafting recipe with new bone meal
  itemname.
2022-05-06 15:09:23 +02:00
kabou
195f0dfbaa Move cocoa beans item to mcl_cocoas.
* Add `mcl_cocoas:coca_beans` craftitem to mcl_cocoas.
* Remove `mcl_dye:brown` craftitem from mcl_dye.
* Move cocoa beans translations from mcl_dye to mcl_cocoas.
* Add `mcl_dye:brown` alias for `mcl_cocoas:cocoa_beans` to
  mcl_dye.
* Abstract cocoa pod node registration into a loop.
* Update chocolate cookies crafting recipe in mcl_farming.
2022-05-06 15:09:07 +02:00
kabou
82112e42fe Add more particles when bonemealing grass.
* Bonemealing dirt_with_grass spawns new growth over a wide area, so it
  looks better if we spawn a few more extra bone meal particles.
* Update mod.conf depends to mcl_bone_meal.
2022-05-06 14:39:35 +02:00
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