1
0
Fork 0
Commit Graph

7668 Commits (951df68d579a90010d9c24119e2b7a0f3a4874b6)

Author SHA1 Message Date
kabou 951df68d57 Update bone block to bone meal crafting recipe.
* Update bone block to bone meal crafting recipe that was forgotten when
  updating the bone meal to bone block crafting recipe as part of the
  mcl_dye changes..
2022-05-08 11:18:42 +02:00
kabou fd3df57e5f Update railcorridors chest loot to use lapis items. 2022-05-06 15:09:23 +02:00
kabou 48825117bd Update villager trade to use lapis. 2022-05-06 15:09:23 +02:00
kabou d2257f3303 Remove color specifications from bone meal.
* The bone meal craftitem definition still had color specifications
  from its past as a dye substitute.  These can be removed now.
* Also remove default stack_max setting.
2022-05-06 15:09:23 +02:00
kabou 9ad70d82c8 Remove color specifications from cocoa beans.
* The cocoa beans craftitem definition still had color specifications
  from its past as a dye substitute.  These can be removed now.
2022-05-06 15:09:23 +02:00
kabou 98fff2c608 Update enchanting table to use lapis items. 2022-05-06 15:09:23 +02:00
kabou 2a154838f9 Also generate double grass when bonemealing grass blocks. 2022-05-06 15:09:23 +02:00
kabou b20d06706c Remove expired bone meal API.md from mcl_dye. 2022-05-06 15:09:23 +02:00
kabou 521fc1972a Bonemealing mechanics bugfix.
When applying bonemeal to eg. farm crops, these have a chance to grow in
response to the application of bone meal. When a node can be bonemealed, the
applied bone meal item should always be spent after using it, regardless of
the results.  Currently this does not work correctly, if the result of
bonemealing has no effect on the node, the used bone meal item is not spent.

This commit fixes the behavior of the bone meal item to always be taken when
used on a node that defines a `_mcl_on_bonemealing()` callback.

The nodes that implement the callback imay use the handler's return value
only to signal if the bonemealing was succesful, not to signal if it was at
all possible.  For this reason, some nodes need to be made more strictly
conforming to the API.

* Always take the used bone meal item (if user is not in creative mode),
  regardless of whether the bonemealed node's handler returned `true`.
* Make dispensers spawn particles after succesful bonemealing.
* Trivial comment fix.
* Ripe cocoa pod cannot be bonemealed.
* Update API.md to describe the stricter API semantics.
2022-05-06 15:09:23 +02:00
kabou c83076b756 Improve mcl_bone_meal fr translations.
* Changed the wording after suggestions by AFCMS.
2022-05-06 15:09:23 +02:00
kabou bcc3a22333 Add missing es translation to mcl_bone_meal. 2022-05-06 15:09:23 +02:00
kabou af1b007b77 Fix squid ink sac description and add translations.
* Fix the squid ink sac craftitem description.
* Update de translation.
* Add es, fr, pl and ru 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.
2022-05-06 15:09:23 +02:00
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