mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 11:53:46 +01:00
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.
This commit is contained in:
parent
4449f74742
commit
f61a7ab4cb
@ -96,13 +96,12 @@ end
|
|||||||
-- End legacy bone meal API
|
-- End legacy bone meal API
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_bone_meal:bone_meal", {
|
minetest.register_craftitem("mcl_bone_meal:bone_meal", {
|
||||||
inventory_image = "mcl_bone_meal.png",
|
|
||||||
description = S("Bone Meal"),
|
description = S("Bone Meal"),
|
||||||
_tt_help = S("Speeds up plant growth"),
|
_tt_help = S("Speeds up plant growth"),
|
||||||
_doc_items_longdesc = longdesc,
|
_doc_items_longdesc = longdesc,
|
||||||
_doc_items_usagehelp = usagehelp,
|
_doc_items_usagehelp = usagehelp,
|
||||||
stack_max = 64,
|
inventory_image = "mcl_bone_meal.png",
|
||||||
groups = {craftitem=1, dye=1, basecolor_white=1, excolor_white=1, unicolor_white=1},
|
groups = {craftitem=1},
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local pos = pointed_thing.under
|
local pos = pointed_thing.under
|
||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user