1.4.1 commit
parent
09298c0e83
commit
e423df778c
|
@ -0,0 +1,3 @@
|
|||
default
|
||||
tt?
|
||||
lucky_block?
|
|
@ -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).
|
12
init.lua
12
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
|
||||
|
|
5
mod.conf
5
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
|
||||
name = glowshrooms
|
Loading…
Reference in New Issue