forked from MineClone5/MineClone5
Fix light: melon/pumpkin/jack'o lantern
This commit is contained in:
parent
7c3b422a49
commit
ad29d5dbb2
|
@ -19,6 +19,7 @@ local melon_base_def = {
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_melon_side.png", "farming_melon_side.png", "farming_melon_side.png", "farming_melon_side.png"},
|
tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_melon_side.png", "farming_melon_side.png", "farming_melon_side.png", "farming_melon_side.png"},
|
||||||
groups = {handy=1,axey=1, plant=1,building_block=1,dig_by_piston=1},
|
groups = {handy=1,axey=1, plant=1,building_block=1,dig_by_piston=1},
|
||||||
|
paramtype = "light",
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
|
|
|
@ -77,6 +77,7 @@ local pumpkin_base_def = {
|
||||||
description = "Pumpkin",
|
description = "Pumpkin",
|
||||||
_doc_items_longdesc = "A pumpkin is a naturally occouring block from the grasslands and is remarkable for its strange face-like cavity, which is developed naturally. A pumpkin can be worn as a helmet for fun, but it doesn't offer any protection. Pumpkins are grown from pumpkin stems, which in turn are grown from pumpkin seeds.",
|
_doc_items_longdesc = "A pumpkin is a naturally occouring block from the grasslands and is remarkable for its strange face-like cavity, which is developed naturally. A pumpkin can be worn as a helmet for fun, but it doesn't offer any protection. Pumpkins are grown from pumpkin stems, which in turn are grown from pumpkin seeds.",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"},
|
tiles = {"farming_pumpkin_top.png", "farming_pumpkin_top.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_side.png", "farming_pumpkin_face.png"},
|
||||||
groups = {handy=1,axey=1, plant=1,building_block=1, armor_head=1,non_combat_armor=1, dig_by_piston=1},
|
groups = {handy=1,axey=1, plant=1,building_block=1, armor_head=1,non_combat_armor=1, dig_by_piston=1},
|
||||||
|
@ -99,6 +100,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
|
||||||
_doc_items_longdesc = "A jack o'lantern is a traditional Halloween decoration made from a pumpkin. It glows brightly.",
|
_doc_items_longdesc = "A jack o'lantern is a traditional Halloween decoration made from a pumpkin. It glows brightly.",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
-- Real light level: 15 (Minetest caps at 14)
|
-- Real light level: 15 (Minetest caps at 14)
|
||||||
light_source = 14,
|
light_source = 14,
|
||||||
|
|
Loading…
Reference in New Issue