diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..50386ca --- /dev/null +++ b/depends.txt @@ -0,0 +1,3 @@ +default +tt? +lucky_block? \ No newline at end of file diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..5390591 --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +This mod adds green, blue and red glowshrooms to the MTG. You can cook a glowshroom and eat it! Cooked glowshroom adds from +1.5 hearts (3 points) to +2.5 hearts (5 points). \ No newline at end of file diff --git a/init.lua b/init.lua index 33b5682..66035b9 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,8 @@ +-- *** -- Glowshrooms mod -- by rudzik8 --- version 1.4.0-dev +-- version 1.4.1 +-- *** -- загружены ли поддерживаемые моды? local ttmod = minetest.global_exists("tt") @@ -15,7 +17,7 @@ minetest.register_node("glowshrooms:glowshroom_green", { inventory_image = "glowshrooms_glowshroom_green.png", walkable = false, buildable_to = true, - light_source = 5, + light_source = 4, paramtype = 'light', sounds = default.node_sound_leaves_defaults(), selection_box = { @@ -31,7 +33,7 @@ minetest.register_node("glowshrooms:glowshroom_blue", { inventory_image = "glowshrooms_glowshroom_blue.png", walkable = false, buildable_to = true, - light_source = 5, + light_source = 4, paramtype = 'light', sounds = default.node_sound_leaves_defaults(), selection_box = { @@ -47,7 +49,7 @@ minetest.register_node("glowshrooms:glowshroom_red", { inventory_image = "glowshrooms_glowshroom_red.png", walkable = false, buildable_to = true, - light_source = 5, + light_source = 4, paramtype = 'light', sounds = default.node_sound_leaves_defaults(), selection_box = { @@ -135,7 +137,7 @@ minetest.register_decoration({ if ttmod then tt.register_snippet(function(itemstring) if minetest.get_item_group(itemstring, "glowshroom") == 1 then - return "Glows. Spawns at the top (or in) caves" + return "Glows. Spawns at the top (or in) of caves" end end) end diff --git a/mod.conf b/mod.conf index 0dfb9e4..a263a18 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1 @@ -name = glowshrooms -description = This mod adds green, blue and red glowshrooms to the MTG. You can cook a glowshroom and eat it! Cooked glowshroom adds from +1.5 hearts (3 points) to +2.5 hearts (5 points). -depends = default -optional_depends = tt, lucky_block \ No newline at end of file +name = glowshrooms \ No newline at end of file