Remove assets that are no longer needed for pack creation
|
@ -1,52 +0,0 @@
|
|||
local interval = 10
|
||||
local chance = 5
|
||||
|
||||
local function grow(pos, node)
|
||||
local def = minetest.registered_nodes[node.name]
|
||||
local next_gen = def._mcl_amethyst_next_grade
|
||||
if not next_gen then return end
|
||||
|
||||
local dir = minetest.wallmounted_to_dir(node.param2)
|
||||
local ba_pos = vector.add(pos, dir)
|
||||
local ba_node = minetest.get_node(ba_pos)
|
||||
if ba_node.name ~= "mcl_amethyst:budding_amethyst_block" then return end
|
||||
|
||||
local swap_result = table.copy(node)
|
||||
swap_result.name = next_gen
|
||||
minetest.swap_node(pos, swap_result)
|
||||
end
|
||||
|
||||
minetest.register_abm({
|
||||
label = "Amethyst Bud Growth",
|
||||
nodenames = {"group:amethyst_buds"},
|
||||
neighbors = {"mcl_amethyst:budding_amethyst_block"},
|
||||
interval = interval,
|
||||
chance = chance,
|
||||
action = grow,
|
||||
})
|
||||
|
||||
local all_directions = {
|
||||
vector.new(1, 0, 0),
|
||||
vector.new(0, 1, 0),
|
||||
vector.new(0, 0, 1),
|
||||
vector.new(-1, 0, 0),
|
||||
vector.new(0, -1, 0),
|
||||
vector.new(0, 0, -1),
|
||||
}
|
||||
|
||||
minetest.register_abm({
|
||||
label = "Spawn Amethyst Bud",
|
||||
nodenames = {"mcl_amethyst:budding_amethyst_block"},
|
||||
neighbors = {"air", "group:water"},
|
||||
interval = 20,
|
||||
chance = 2,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
if check_node_name ~= "air" and minetest.get_item_group(check_node_name, "water") == 0 then return end
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node = {name = "mcl_amethyst:small_amethyst_bud", param2 = param2}
|
||||
minetest.swap_node(check_pos, new_node)
|
||||
end,
|
||||
})
|
|
@ -1,218 +0,0 @@
|
|||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local sounds = mcl_sounds.node_sound_glass_defaults({
|
||||
footstep = {name = "mcl_amethyst_amethyst_walk", gain = 0.4},
|
||||
dug = {name = "mcl_amethyst_amethyst_break", gain = 0.44},
|
||||
})
|
||||
|
||||
-- Amethyst block
|
||||
minetest.register_node("mcl_amethyst:amethyst_block",{
|
||||
description = S("Block of Amethyst"),
|
||||
_doc_items_longdesc = S("The Block of Amethyst is a decoration block crafted from amethyst shards."),
|
||||
tiles = {"mcl_amethyst_amethyst_block.png"},
|
||||
groups = {pickaxey = 1, building_block = 1},
|
||||
sounds = sounds,
|
||||
is_ground_content = true,
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 1.5,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_amethyst:budding_amethyst_block",{
|
||||
description = S("Budding Amethyst"),
|
||||
_doc_items_longdesc = S("The Budding Amethyst can grow amethyst"),
|
||||
tiles = {"mcl_amethyst_budding_amethyst.png"},
|
||||
drop = "",
|
||||
groups = {
|
||||
pickaxey = 1,
|
||||
building_block = 1,
|
||||
dig_by_piston = 1,
|
||||
},
|
||||
sounds = sounds,
|
||||
is_ground_content = true,
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 1.5,
|
||||
})
|
||||
|
||||
mcl_wip.register_wip_item("mcl_amethyst:budding_amethyst_block")
|
||||
|
||||
-- Amethyst Shard
|
||||
minetest.register_craftitem("mcl_amethyst:amethyst_shard",{
|
||||
description = S("Amethyst Shard"),
|
||||
_doc_items_longdesc = S("An amethyst shard is a crystalline mineral."),
|
||||
inventory_image = "mcl_amethyst_amethyst_shard.png",
|
||||
groups = {craftitem = 1},
|
||||
})
|
||||
|
||||
-- Calcite
|
||||
minetest.register_node("mcl_amethyst:calcite",{
|
||||
description = S("Calcite"),
|
||||
_doc_items_longdesc = S("Calcite can be found as part of amethyst geodes."),
|
||||
tiles = {"mcl_amethyst_calcite_block.png"},
|
||||
groups = {pickaxey = 1, building_block = 1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = true,
|
||||
_mcl_hardness = 0.75,
|
||||
_mcl_blast_resistance = 0.75,
|
||||
})
|
||||
|
||||
-- Tinied Glass
|
||||
minetest.register_node("mcl_amethyst:tinted_glass",{
|
||||
description = S("Tinted Glass"),
|
||||
_doc_items_longdesc = S("Tinted Glass is a type of glass which blocks lights while it is visually transparent."),
|
||||
tiles = {"mcl_amethyst_tinted_glass.png"},
|
||||
_mcl_hardness = 0.3,
|
||||
_mcl_blast_resistance = 0.3,
|
||||
drawtype = "glasslike",
|
||||
use_texture_alpha = "blend",
|
||||
sunlight_propagates = false,
|
||||
groups = {handy = 1, building_block = 1, deco_block = 1},
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
|
||||
-- Amethyst Cluster
|
||||
local bud_def = {
|
||||
{
|
||||
size = "small",
|
||||
description = S("Small Amethyst Bud"),
|
||||
long_desc = S("Small Amethyst Bud is the first growth of amethyst bud."),
|
||||
light_source = 3,
|
||||
next_stage = "mcl_amethyst:medium_amethyst_bud",
|
||||
selection_box = { -4/16, -7/16, -4/16, 4/16, -3/16, 4/16 },
|
||||
},
|
||||
{
|
||||
size = "medium",
|
||||
description = S("Medium Amethyst Bud"),
|
||||
long_desc = S("Medium Amethyst Bud is the second growth of amethyst bud."),
|
||||
light_source = 4,
|
||||
next_stage = "mcl_amethyst:large_amethyst_bud",
|
||||
selection_box = { -4.5/16, -8/16, -4.5/16, 4.5/16, -2/16, 4.5/16 },
|
||||
},
|
||||
{
|
||||
size = "large",
|
||||
description = S("Large Amethyst Bud"),
|
||||
long_desc = S("Large Amethyst Bud is the third growth of amethyst bud."),
|
||||
light_source = 5,
|
||||
next_stage = "mcl_amethyst:amethyst_cluster",
|
||||
selection_box = { -4.5/16, -8/16, -4.5/16, 4.5/16, -1/16, 4.5/16 },
|
||||
},
|
||||
}
|
||||
|
||||
for _, def in pairs(bud_def) do
|
||||
local size = def.size
|
||||
local name = "mcl_amethyst:" .. size .. "_amethyst_bud"
|
||||
local tile = "mcl_amethyst_amethyst_bud_" .. size .. ".png"
|
||||
local inventory_image = "mcl_amethyst_amethyst_bud_" .. size .. ".png"
|
||||
minetest.register_node(name, {
|
||||
description = def.description,
|
||||
_doc_items_longdesc = def.longdesc,
|
||||
drop = "",
|
||||
tiles = {tile},
|
||||
inventory_image = inventory_image,
|
||||
paramtype1 = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
drawtype = "plantlike",
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = def.light_source,
|
||||
groups = {
|
||||
destroy_by_lava_flow = 1,
|
||||
dig_by_piston = 1,
|
||||
pickaxey = 1,
|
||||
deco_block = 1,
|
||||
amethyst_buds = 1,
|
||||
attached_node = 1,
|
||||
},
|
||||
sounds = sounds,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = def.selection_box
|
||||
},
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 1.5,
|
||||
_mcl_silk_touch_drop = true,
|
||||
_mcl_amethyst_next_grade = def.next_stage,
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("mcl_amethyst:amethyst_cluster",{
|
||||
description = S("Amethyst Cluster"),
|
||||
_doc_items_longdesc = S("Amethyst Cluster is the final growth of amethyst bud."),
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{
|
||||
tools = {"~mcl_tools:pick_"},
|
||||
items = {"mcl_amethyst:amethyst_shard 4"},
|
||||
},
|
||||
{
|
||||
items = {"mcl_amethyst:amethyst_shard 2"},
|
||||
},
|
||||
}
|
||||
},
|
||||
tiles = {"mcl_amethyst_amethyst_cluster.png",},
|
||||
inventory_image = "mcl_amethyst_amethyst_cluster.png",
|
||||
paramtype2 = "wallmounted",
|
||||
drawtype = "plantlike",
|
||||
paramtype1 = "light",
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
light_source = 7,
|
||||
groups = {
|
||||
destroy_by_lava_flow = 1,
|
||||
dig_by_piston = 1,
|
||||
pickaxey = 1,
|
||||
deco_block = 1,
|
||||
attached_node = 1,
|
||||
},
|
||||
sounds = sounds,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -4.8/16, -8/16, -4.8/16, 4.8/16, 3.9/16, 4.8/16 },
|
||||
},
|
||||
_mcl_hardness = 1.5,
|
||||
_mcl_blast_resistance = 1.5,
|
||||
_mcl_silk_touch_drop = true,
|
||||
})
|
||||
|
||||
-- Register Crafts
|
||||
minetest.register_craft({
|
||||
output = "mcl_amethyst:amethyst_block",
|
||||
recipe = {
|
||||
{"mcl_amethyst:amethyst_shard", "mcl_amethyst:amethyst_shard"},
|
||||
{"mcl_amethyst:amethyst_shard", "mcl_amethyst:amethyst_shard"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_amethyst:tinted_glass 2",
|
||||
recipe = {
|
||||
{"", "mcl_amethyst:amethyst_shard", ""},
|
||||
{"mcl_amethyst:amethyst_shard", "mcl_core:glass", "mcl_amethyst:amethyst_shard",},
|
||||
{"", "mcl_amethyst:amethyst_shard", ""},
|
||||
},
|
||||
})
|
||||
|
||||
if minetest.get_modpath("mcl_spyglass") then
|
||||
minetest.clear_craft({output = "mcl_spyglass:spyglass",})
|
||||
local function craft_spyglass(ingot)
|
||||
minetest.register_craft({
|
||||
output = "mcl_spyglass:spyglass",
|
||||
recipe = {
|
||||
{"mcl_amethyst:amethyst_shard"},
|
||||
{ingot},
|
||||
{ingot},
|
||||
}
|
||||
})
|
||||
end
|
||||
if minetest.get_modpath("mcl_copper") then
|
||||
craft_spyglass("mcl_copper:copper_ingot")
|
||||
else
|
||||
craft_spyglass("mcl_core:iron_ingot")
|
||||
end
|
||||
end
|
||||
|
||||
-- Amethyst Growing
|
||||
dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/grow.lua")
|
|
@ -1,19 +0,0 @@
|
|||
# textdomain: mcl_amethyst
|
||||
Amethyst Cluster=Agrégat d'améthyste
|
||||
Amethyst Cluster is the final growth of amethyst bud.=L'agrégat d'améthyste est le stade final de la croissance du bourgeon d'améthyste.
|
||||
Amethyst Shard=Éclat d'améthyste
|
||||
An amethyst shard is a crystalline mineral.=Un éclat d'améthyste est un minéral cristallin.
|
||||
Block of Amethyst=Bloc d'améthyste
|
||||
Budding Amethyst=Améthyste bourgeonante
|
||||
Calcite=Calcite
|
||||
Calcite can be found as part of amethyst geodes.=La calcite peut être trouvée dans les géodes d'améthyste.
|
||||
Large Amethyst Bud=Grand bourgeon d'améthyste
|
||||
Large Amethyst Bud is the third growth of amethyst bud.=Le grand bourgeon d'améthyste est le troisième stade de la croissance du bourgeon d'améthyste.
|
||||
Medium Amethyst Bud=Bourgeon d'améthyste moyen
|
||||
Medium Amethyst Bud is the second growth of amethyst bud.=Le bourgeon d'améthyste moyen est le deuxième stade de la croissance du bourgeon d'améthyste.
|
||||
Small Amethyst Bud=Petit bourgeon d'améthyste
|
||||
Small Amethyst Bud is the first growth of amethyst bud.=Le petit bourgeon d'améthyste est le premier stade de la croissance du bourgeon d'améthyste.
|
||||
The Block of Amethyst is a decoration block crafted from amethyst shards.=Le bloc d'améthyste est un bloc décoratif fabriqué à partir d'éclats d'améthyste.
|
||||
The Budding Amethyst can grow amethyst=L'améthyste bourgeonante peut faire croître de l'améthyste.
|
||||
Tinted Glass=Verre teinté
|
||||
Tinted Glass is a type of glass which blocks lights while it is visually transparent.=Le verre teinté est un type de verre qui bloque la lumière tout en étant visuellement transparent.
|
|
@ -1,19 +0,0 @@
|
|||
# textdomain: mcl_amethyst
|
||||
Amethyst Cluster=アメジストの集塊
|
||||
Amethyst Cluster is the final growth of amethyst bud.=アメジストの集塊は、アメジストの芽の成長最終段階です。
|
||||
Amethyst Shard=アメジストの欠片
|
||||
An amethyst shard is a crystalline mineral.=アメジストの欠片は、結晶性の鉱物です。
|
||||
Block of Amethyst=アメジストブロック
|
||||
Budding Amethyst=芽生えたアメジスト
|
||||
Calcite=方解石
|
||||
Calcite can be found as part of amethyst geodes.=方解石は、アメジストジオードの一部として見つけることができます。
|
||||
Large Amethyst Bud=大きなアメジストの芽
|
||||
Large Amethyst Bud is the third growth of amethyst bud.=大きなアメジストの芽は、アメジストの芽の成長三段階目です。
|
||||
Medium Amethyst Bud=中くらいのアメジストの芽
|
||||
Medium Amethyst Bud is the second growth of amethyst bud.=中くらいのアメジストの芽は、アメジストの芽の成長二段階目です。
|
||||
Small Amethyst Bud=小さなアメジストの芽
|
||||
Small Amethyst Bud is the first growth of amethyst bud.=小さなアメジストの芽は、アメジストの芽の成長一段階目です。
|
||||
The Block of Amethyst is a decoration block crafted from amethyst shards.=アメジストブロックは、アメジストの欠片を加工した装飾ブロックです。
|
||||
The Budding Amethyst can grow amethyst=芽生えたアメジストは、アメジストを育成可能
|
||||
Tinted Glass=遮光ガラス
|
||||
Tinted Glass is a type of glass which blocks lights while it is visually transparent.=遮光ガラスは、視覚的には透明でありながら光を遮断するタイプのガラスです。
|
|
@ -1,19 +0,0 @@
|
|||
# textdomain: mcl_amethyst
|
||||
Amethyst Cluster=Аметистовая друза
|
||||
Amethyst Cluster is the final growth of amethyst bud.=Аметистовая друза - это последняя 4-я стадия роста аметистового бутона.
|
||||
Amethyst Shard=Осколок аметиста
|
||||
An amethyst shard is a crystalline mineral.=Осколок аметиста - это кристаллический минерал, получаемый в результате разрушения кластеров аметиста.
|
||||
Block of Amethyst=Аметистовый блок
|
||||
Budding Amethyst=Растущий аметист
|
||||
Calcite=Кальцит
|
||||
Calcite can be found as part of amethyst geodes.=Кальцит можно найти в составе аметистовых жеод.
|
||||
Large Amethyst Bud=Большой росток аметиста
|
||||
Large Amethyst Bud is the third growth of amethyst bud.=Большой росток - третья стадия роста аметиста.
|
||||
Medium Amethyst Bud=Средний росток аметиста
|
||||
Medium Amethyst Bud is the second growth of amethyst bud.=Средний росток - вторая стадия роста аметиста.
|
||||
Small Amethyst Bud=Маленький росток аметиста
|
||||
Small Amethyst Bud is the first growth of amethyst bud.=Маленький росток - первая стадия роста аметиста.
|
||||
The Block of Amethyst is a decoration block crafted from amethyst shards.=Блок аметиста - декоративный блок, скрафченный из осколков аметиста.
|
||||
The Budding Amethyst can grow amethyst=Растущий аметист может вырастить аметист
|
||||
Tinted Glass=Тонированное стекло
|
||||
Tinted Glass is a type of glass which blocks lights while it is visually transparent.=Тонированное стекло блокирует свет, но визуально прозрачно.
|
|
@ -1,19 +0,0 @@
|
|||
# textdomain: mcl_amethyst
|
||||
Amethyst Cluster=
|
||||
Amethyst Cluster is the final growth of amethyst bud.=
|
||||
Amethyst Shard=
|
||||
An amethyst shard is a crystalline mineral.=
|
||||
Block of Amethyst=
|
||||
Budding Amethyst=
|
||||
Calcite=
|
||||
Calcite can be found as part of amethyst geodes.=
|
||||
Large Amethyst Bud=
|
||||
Large Amethyst Bud is the third growth of amethyst bud.=
|
||||
Medium Amethyst Bud=
|
||||
Medium Amethyst Bud is the second growth of amethyst bud.=
|
||||
Small Amethyst Bud=
|
||||
Small Amethyst Bud is the first growth of amethyst bud.=
|
||||
The Block of Amethyst is a decoration block crafted from amethyst shards.=
|
||||
The Budding Amethyst can grow amethyst=
|
||||
Tinted Glass=
|
||||
Tinted Glass is a type of glass which blocks lights while it is visually transparent.=
|
|
@ -1,5 +0,0 @@
|
|||
name = mcl_amethyst
|
||||
author = Emojiminetest, kay27
|
||||
description = Amethyst related stuff
|
||||
depends = mcl_init, mcl_core, mcl_wip
|
||||
optional_depends = mcl_spyglass, mcl_copper
|
|
@ -1 +0,0 @@
|
|||
Nova_Wostra Creative Commons Attribution-Share Alike 4.0 International License https://creativecommons.org/licenses/by-sa/4.0/
|
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 6.2 KiB |
|
@ -1,753 +0,0 @@
|
|||
local modname = minetest.get_current_modname()
|
||||
local S = minetest.get_translator(modname)
|
||||
local modpath = minetest.get_modpath(modname)
|
||||
-- Warped and Crimson fungus
|
||||
-- by debiankaios
|
||||
-- adapted for mcl2 by cora
|
||||
|
||||
local function generate_warped_tree(pos)
|
||||
minetest.place_schematic(pos,modpath.."/schematics/warped_fungus_1.mts","random",nil,false,"place_center_x,place_center_z")
|
||||
end
|
||||
|
||||
function generate_crimson_tree(pos)
|
||||
minetest.place_schematic(pos,modpath.."/schematics/crimson_fungus_1.mts","random",nil,false,"place_center_x,place_center_z")
|
||||
end
|
||||
|
||||
function grow_vines(pos, moreontop ,vine, dir)
|
||||
if dir == nil then dir = 1 end
|
||||
local n
|
||||
repeat
|
||||
pos = vector.offset(pos,0,dir,0)
|
||||
n = minetest.get_node(pos)
|
||||
if n.name == "air" then
|
||||
for i=0,math.max(moreontop,1) do
|
||||
if minetest.get_node(pos).name == "air" then
|
||||
minetest.set_node(vector.offset(pos,0,i*dir,0),{name=vine})
|
||||
end
|
||||
end
|
||||
break
|
||||
end
|
||||
until n.name ~= "air" and n.name ~= vine
|
||||
end
|
||||
|
||||
local nether_plants = {
|
||||
["mcl_crimson:crimson_nylium"] = {
|
||||
"mcl_crimson:crimson_roots",
|
||||
"mcl_crimson:crimson_fungus",
|
||||
"mcl_crimson:warped_fungus",
|
||||
},
|
||||
["mcl_crimson:warped_nylium"] = {
|
||||
"mcl_crimson:warped_roots",
|
||||
"mcl_crimson:warped_fungus",
|
||||
"mcl_crimson:twisting_vines",
|
||||
"mcl_crimson:nether_sprouts",
|
||||
},
|
||||
}
|
||||
|
||||
local function has_nylium_neighbor(pos)
|
||||
local p = minetest.find_node_near(pos,1,{"mcl_crimson:warped_nylium","mcl_crimson:crimson_nylium"})
|
||||
if p then
|
||||
return minetest.get_node(p)
|
||||
end
|
||||
end
|
||||
|
||||
local function spread_nether_plants(pos,node)
|
||||
local n = node.name
|
||||
local nn = minetest.find_nodes_in_area_under_air(vector.offset(pos,-5,-3,-5),vector.offset(pos,5,3,5),{n})
|
||||
table.shuffle(nn)
|
||||
nn[1] = pos
|
||||
for i=1,math.random(1,math.min(#nn,12)) do
|
||||
local p = vector.offset(nn[i],0,1,0)
|
||||
if minetest.get_node(p).name == "air" then
|
||||
minetest.set_node(p,{name=nether_plants[n][math.random(#nether_plants[n])]})
|
||||
mcl_dye.add_bone_meal_particle(vector.offset(nn[i],0,1,0))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_fungus", {
|
||||
description = S("Warped Fungus Mushroom"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "farming_warped_fungus.png" },
|
||||
inventory_image = "farming_warped_fungus.png",
|
||||
wield_image = "farming_warped_fungus.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
groups = {dig_immediate=3,mushroom=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,enderman_takable=1,deco_block=1},
|
||||
light_source = 1,
|
||||
--[[ selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -3/16, -0.5, -3/16, 3/16, -2/16, 3/16 },
|
||||
},]]
|
||||
node_placement_prediction = "",
|
||||
on_rightclick = function(pos, node, pointed_thing, player, itemstack)
|
||||
if pointed_thing:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
|
||||
local nodepos = minetest.get_node({x = pos.x, y = pos.y - 1, z = pos.z})
|
||||
if nodepos.name == "mcl_crimson:warped_nylium" or nodepos.name == "mcl_nether:netherrack" then
|
||||
local random = math.random(1, 5)
|
||||
if random == 1 then
|
||||
minetest.remove_node(pos)
|
||||
generate_warped_tree(pos)
|
||||
end
|
||||
end
|
||||
end
|
||||
end,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
mcl_flowerpots.register_potted_flower("mcl_crimson:warped_fungus", {
|
||||
name = "warped fungus",
|
||||
desc = S("Warped Fungus Mushroom"),
|
||||
image = "farming_warped_fungus.png",
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:twisting_vines", {
|
||||
description = S("Twisting Vines"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "twisting_vines_plant.png" },
|
||||
inventory_image = "twisting_vines.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
buildable_to = true,
|
||||
groups = {dig_immediate=3,vines=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,deco_block=1, shearsy = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -3/16, -0.5, -3/16, 3/16, 0.5, 3/16 },
|
||||
},
|
||||
node_placement_prediction = "",
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local pn = clicker:get_player_name()
|
||||
if clicker:is_player() and minetest.is_protected(vector.offset(pos,0,1,0), pn or "") then
|
||||
minetest.record_protection_violation(vector.offset(pos,0,1,0), pn)
|
||||
return itemstack
|
||||
end
|
||||
if clicker:get_wielded_item():get_name() == "mcl_crimson:twisting_vines" then
|
||||
if not minetest.is_creative_enabled(clicker:get_player_name()) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
grow_vines(pos, 1, "mcl_crimson:twisting_vines")
|
||||
elseif clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
|
||||
if not minetest.is_creative_enabled(clicker:get_player_name()) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
grow_vines(pos, math.random(1, 3),"mcl_crimson:twisting_vines")
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"mcl_crimson:twisting_vines"}, rarity = 3},
|
||||
},
|
||||
},
|
||||
_mcl_shears_drop = true,
|
||||
_mcl_silk_touch_drop = true,
|
||||
_mcl_fortune_drop = {
|
||||
items = {
|
||||
{items = {"mcl_crimson:twisting_vines"}, rarity = 3},
|
||||
},
|
||||
items = {
|
||||
{items = {"mcl_crimson:twisting_vines"}, rarity = 1.8181818181818181},
|
||||
},
|
||||
"mcl_crimson:twisting_vines",
|
||||
"mcl_crimson:twisting_vines",
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:weeping_vines", {
|
||||
description = S("Weeping Vines"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "mcl_crimson_weeping_vines.png" },
|
||||
inventory_image = "mcl_crimson_weeping_vines.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
buildable_to = true,
|
||||
groups = {dig_immediate=3,vines=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,deco_block=1, shearsy = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -3/16, -0.5, -3/16, 3/16, 0.5, 3/16 },
|
||||
},
|
||||
node_placement_prediction = "",
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local pn = clicker:get_player_name()
|
||||
if clicker:is_player() and minetest.is_protected(vector.offset(pos,0,1,0), pn or "") then
|
||||
minetest.record_protection_violation(vector.offset(pos,0,1,0), pn)
|
||||
return itemstack
|
||||
end
|
||||
if clicker:get_wielded_item():get_name() == "mcl_crimson:weeping_vines" then
|
||||
if not minetest.is_creative_enabled(clicker:get_player_name()) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
grow_vines(pos, 1, "mcl_crimson:weeping_vines", -1)
|
||||
elseif clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
|
||||
if not minetest.is_creative_enabled(clicker:get_player_name()) then
|
||||
itemstack:take_item()
|
||||
end
|
||||
grow_vines(pos, math.random(1, 3),"mcl_crimson:weeping_vines", -1)
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {"mcl_crimson:weeping_vines"}, rarity = 3},
|
||||
},
|
||||
},
|
||||
_mcl_shears_drop = true,
|
||||
_mcl_silk_touch_drop = true,
|
||||
_mcl_fortune_drop = {
|
||||
items = {
|
||||
{items = {"mcl_crimson:weeping_vines"}, rarity = 3},
|
||||
},
|
||||
items = {
|
||||
{items = {"mcl_crimson:weeping_vines"}, rarity = 1.8181818181818181},
|
||||
},
|
||||
"mcl_crimson:weeping_vines",
|
||||
"mcl_crimson:weeping_vines",
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:nether_sprouts", {
|
||||
description = S("Nether Sprouts"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "nether_sprouts.png" },
|
||||
inventory_image = "nether_sprouts.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {dig_immediate=3,vines=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,deco_block=1, shearsy = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -4/16, -0.5, -4/16, 4/16, 0, 4/16 },
|
||||
},
|
||||
node_placement_prediction = "",
|
||||
drop = "",
|
||||
_mcl_shears_drop = true,
|
||||
_mcl_silk_touch_drop = false,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_roots", {
|
||||
description = S("Warped Roots"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "warped_roots.png" },
|
||||
inventory_image = "warped_roots.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {dig_immediate=3,vines=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,deco_block=1, shearsy = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -6/16, -0.5, -6/16, 6/16, -4/16, 6/16 },
|
||||
},
|
||||
node_placement_prediction = "",
|
||||
_mcl_silk_touch_drop = false,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
mcl_flowerpots.register_potted_flower("mcl_crimson:warped_roots", {
|
||||
name = "warped roots",
|
||||
desc = S("Warped Roots"),
|
||||
image = "warped_roots.png",
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_wart_block", {
|
||||
description = S("Warped Wart Block"),
|
||||
tiles = {"warped_wart_block.png"},
|
||||
groups = {handy = 1, hoe = 7, swordy = 1, deco_block = 1},
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:shroomlight", {
|
||||
description = S("Shroomlight"),
|
||||
tiles = {"shroomlight.png"},
|
||||
groups = {handy = 1, hoe = 7, swordy = 1, deco_block = 1},
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_hyphae", {
|
||||
description = S("Warped Hyphae"),
|
||||
_doc_items_longdesc = S("The stem of a warped hyphae"),
|
||||
_doc_items_hidden = false,
|
||||
tiles = {
|
||||
"warped_hyphae.png",
|
||||
"warped_hyphae.png",
|
||||
{
|
||||
image="warped_hyphae_side.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
|
||||
},
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, tree = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
_mcl_stripped_variant = "mcl_crimson:stripped_warped_hyphae",
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_nylium", {
|
||||
description = S("Warped Nylium"),
|
||||
tiles = {
|
||||
"warped_nylium.png",
|
||||
"mcl_nether_netherrack.png",
|
||||
"mcl_nether_netherrack.png^warped_nylium_side.png",
|
||||
"mcl_nether_netherrack.png^warped_nylium_side.png",
|
||||
"mcl_nether_netherrack.png^warped_nylium_side.png",
|
||||
"mcl_nether_netherrack.png^warped_nylium_side.png",
|
||||
},
|
||||
is_ground_content = true,
|
||||
drop = "mcl_nether:netherrack",
|
||||
groups = {pickaxey=1, building_block=1, material_stone=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
_mcl_hardness = 0.4,
|
||||
_mcl_blast_resistance = 0.4,
|
||||
_mcl_silk_touch_drop = true,
|
||||
})
|
||||
|
||||
--Stem bark, stripped stem and bark
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_hyphae_bark", {
|
||||
description = S("Warped Hyphae Bark"),
|
||||
_doc_items_longdesc = S("This is a decorative block surrounded by the bark of an hyphae."),
|
||||
tiles = {
|
||||
{
|
||||
image="warped_hyphae_side.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
|
||||
},
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
_mcl_stripped_variant = "mcl_crimson:stripped_warped_hyphae_bark",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_hyphae_bark 3",
|
||||
recipe = {
|
||||
{ "mcl_crimson:warped_hyphae", "mcl_crimson:warped_hyphae" },
|
||||
{ "mcl_crimson:warped_hyphae", "mcl_crimson:warped_hyphae" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:stripped_warped_hyphae", {
|
||||
description = S("Stripped Warped Hyphae"),
|
||||
_doc_items_longdesc = S("The stripped hyphae of a warped fungus"),
|
||||
_doc_items_hidden = false,
|
||||
tiles = {"warped_stem_stripped_top.png", "warped_stem_stripped_top.png", "warped_stem_stripped_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, tree = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:stripped_warped_hyphae_bark", {
|
||||
description = S("Stripped Warped Hyphae Bark"),
|
||||
_doc_items_longdesc = S("The stripped hyphae bark of a warped fungus"),
|
||||
tiles = {"warped_stem_stripped_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:stripped_warped_hyphae_bark 3",
|
||||
recipe = {
|
||||
{ "mcl_crimson:stripped_warped_hyphae", "mcl_crimson:stripped_warped_hyphae" },
|
||||
{ "mcl_crimson:stripped_warped_hyphae", "mcl_crimson:stripped_warped_hyphae" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:warped_hyphae_wood", {
|
||||
description = S("Warped Hyphae Wood"),
|
||||
tiles = {"warped_hyphae_wood.png"},
|
||||
groups = {handy = 5,axey = 1, flammable = 3, wood=1,building_block = 1, material_wood = 1, fire_encouragement = 5, fire_flammability = 20},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
mcl_stairs.register_stair_and_slab_simple("warped_hyphae_wood", "mcl_crimson:warped_hyphae_wood", S("Warped Stair"), S("Warped Slab"), S("Double Warped Slab"))
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_hyphae_wood 4",
|
||||
recipe = {
|
||||
{"mcl_crimson:warped_hyphae"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_nylium 2",
|
||||
recipe = {
|
||||
{"mcl_crimson:warped_wart_block"},
|
||||
{"mcl_nether:netherrack"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:crimson_fungus", {
|
||||
description = S("Crimson Fungus Mushroom"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "farming_crimson_fungus.png" },
|
||||
inventory_image = "farming_crimson_fungus.png",
|
||||
wield_image = "farming_crimson_fungus.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
groups = {dig_immediate=3,mushroom=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,enderman_takable=1,deco_block=1},
|
||||
light_source = 1,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -3/16, -0.5, -3/16, 3/16, -2/16, 3/16 },
|
||||
},
|
||||
node_placement_prediction = "",
|
||||
on_rightclick = function(pos, node, pointed_thing, player)
|
||||
if pointed_thing:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
|
||||
local nodepos = minetest.get_node(vector.offset(pos, 0, -1, 0))
|
||||
if nodepos.name == "mcl_crimson:crimson_nylium" or nodepos.name == "mcl_nether:netherrack" then
|
||||
local random = math.random(1, 5)
|
||||
if random == 1 then
|
||||
minetest.remove_node(pos)
|
||||
generate_crimson_tree(pos)
|
||||
end
|
||||
end
|
||||
end
|
||||
end,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
mcl_flowerpots.register_potted_flower("mcl_crimson:crimson_fungus", {
|
||||
name = "crimson fungus",
|
||||
desc = S("Crimson Fungus Mushroom"),
|
||||
image = "farming_crimson_fungus.png",
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:crimson_roots", {
|
||||
description = S("Crimson Roots"),
|
||||
drawtype = "plantlike",
|
||||
tiles = { "crimson_roots.png" },
|
||||
inventory_image = "crimson_roots.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {dig_immediate=3,vines=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,deco_block=1, shearsy = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -6/16, -0.5, -6/16, 6/16, -4/16, 6/16 },
|
||||
},
|
||||
node_placement_prediction = "",
|
||||
_mcl_silk_touch_drop = false,
|
||||
_mcl_blast_resistance = 0,
|
||||
})
|
||||
|
||||
mcl_flowerpots.register_potted_flower("mcl_crimson:crimson_roots", {
|
||||
name = "crimson roots",
|
||||
desc = S("Crimson Roots"),
|
||||
image = "crimson_roots.png",
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:crimson_hyphae", {
|
||||
description = S("Crimson Hyphae"),
|
||||
_doc_items_longdesc = S("The stem of a crimson hyphae"),
|
||||
_doc_items_hidden = false,
|
||||
tiles = {
|
||||
"crimson_hyphae.png",
|
||||
"crimson_hyphae.png",
|
||||
{
|
||||
image="crimson_hyphae_side.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
|
||||
},
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, tree = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
_mcl_stripped_variant = "mcl_crimson:stripped_crimson_hyphae",
|
||||
})
|
||||
|
||||
--Stem bark, stripped stem and bark
|
||||
|
||||
minetest.register_node("mcl_crimson:crimson_hyphae_bark", {
|
||||
description = S("Crimson Hyphae Bark"),
|
||||
_doc_items_longdesc = S("This is a decorative block surrounded by the bark of an hyphae."),
|
||||
tiles = {
|
||||
{
|
||||
image="crimson_hyphae_side.png",
|
||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
|
||||
},
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
_mcl_stripped_variant = "mcl_crimson:stripped_crimson_hyphae_bark",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_hyphae_bark 3",
|
||||
recipe = {
|
||||
{ "mcl_crimson:crimson_hyphae", "mcl_crimson:crimson_hyphae" },
|
||||
{ "mcl_crimson:crimson_hyphae", "mcl_crimson:crimson_hyphae" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:stripped_crimson_hyphae", {
|
||||
description = S("Stripped Crimson Hyphae"),
|
||||
_doc_items_longdesc = S("The stripped stem of a crimson hyphae"),
|
||||
_doc_items_hidden = false,
|
||||
tiles = {"crimson_stem_stripped_top.png", "crimson_stem_stripped_top.png", "crimson_stem_stripped_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, tree = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:stripped_crimson_hyphae_bark", {
|
||||
description = S("Stripped Crimson Hyphae Bark"),
|
||||
_doc_items_longdesc = S("The stripped wood of a crimson hyphae"),
|
||||
tiles = {"crimson_stem_stripped_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
on_place = mcl_util.rotate_axis,
|
||||
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
is_ground_content = false,
|
||||
_mcl_blast_resistance = 2,
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:stripped_crimson_hyphae_bark 3",
|
||||
recipe = {
|
||||
{ "mcl_crimson:stripped_crimson_hyphae", "mcl_crimson:stripped_crimson_hyphae" },
|
||||
{ "mcl_crimson:stripped_crimson_hyphae", "mcl_crimson:stripped_crimson_hyphae" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:crimson_hyphae_wood", {
|
||||
description = S("Crimson Hyphae Wood"),
|
||||
tiles = {"crimson_hyphae_wood.png"},
|
||||
groups = {handy = 5, axey = 1, wood = 1, building_block = 1, material_wood = 1},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
_mcl_hardness = 2,
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_crimson:crimson_nylium", {
|
||||
description = S("Crimson Nylium"),
|
||||
tiles = {
|
||||
"crimson_nylium.png",
|
||||
"mcl_nether_netherrack.png",
|
||||
"mcl_nether_netherrack.png^crimson_nylium_side.png",
|
||||
"mcl_nether_netherrack.png^crimson_nylium_side.png",
|
||||
"mcl_nether_netherrack.png^crimson_nylium_side.png",
|
||||
"mcl_nether_netherrack.png^crimson_nylium_side.png",
|
||||
},
|
||||
groups = {pickaxey = 1, building_block = 1, material_stone = 1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
is_ground_content = true,
|
||||
drop = "mcl_nether:netherrack",
|
||||
_mcl_hardness = 0.4,
|
||||
_mcl_blast_resistance = 0.4,
|
||||
_mcl_silk_touch_drop = true,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_hyphae_wood 4",
|
||||
recipe = {
|
||||
{"mcl_crimson:crimson_hyphae"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_nylium 2",
|
||||
recipe = {
|
||||
{"mcl_nether:nether_wart"},
|
||||
{"mcl_nether:netherrack"},
|
||||
},
|
||||
})
|
||||
|
||||
mcl_stairs.register_stair_and_slab_simple("crimson_hyphae_wood", "mcl_crimson:crimson_hyphae_wood", S("Crimson Stair"), S("Crimson Slab"), S("Double Crimson Slab"))
|
||||
|
||||
mcl_dye.register_on_bone_meal_apply(function(pt,user)
|
||||
if not pt.type == "node" then return end
|
||||
local node = minetest.get_node(pt.under)
|
||||
if node.name == "mcl_nether:netherrack" then
|
||||
local n = has_nylium_neighbor(pt.under)
|
||||
if n then
|
||||
minetest.set_node(pt.under,n)
|
||||
end
|
||||
elseif node.name == "mcl_crimson:warped_nylium" or node.name == "mcl_crimson:crimson_nylium" then
|
||||
spread_nether_plants(pt.under,node)
|
||||
end
|
||||
end)
|
||||
|
||||
mcl_doors:register_door("mcl_crimson:crimson_door", {
|
||||
description = S("Crimson Door"),
|
||||
_doc_items_longdesc = S("Wooden doors are 2-block high barriers which can be opened or closed by hand and by a redstone signal."),
|
||||
_doc_items_usagehelp = S("To open or close a wooden door, rightclick it or supply its lower half with a redstone signal."),
|
||||
inventory_image = "mcl_crimson_crimson_door.png",
|
||||
groups = {handy=1,axey=1, material_wood=1, flammable=-1},
|
||||
_mcl_hardness = 3,
|
||||
_mcl_blast_resistance = 3,
|
||||
tiles_bottom = {"mcl_crimson_crimson_door_bottom.png", "mcl_doors_door_crimson_side_lower.png"},
|
||||
tiles_top = {"mcl_crimson_crimson_door_top.png", "mcl_doors_door_crimson_side_upper.png"},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
mcl_doors:register_trapdoor("mcl_crimson:crimson_trapdoor", {
|
||||
description = S("Crimson Trapdoor"),
|
||||
_doc_items_longdesc = S("Wooden trapdoors are horizontal barriers which can be opened and closed by hand or a redstone signal. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder."),
|
||||
_doc_items_usagehelp = S("To open or close the trapdoor, rightclick it or send a redstone signal to it."),
|
||||
tile_front = "mcl_crimson_crimson_trapdoor.png",
|
||||
tile_side = "crimson_hyphae_wood.png",
|
||||
wield_image = "mcl_crimson_crimson_trapdoor.png",
|
||||
groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1, flammable=-1},
|
||||
_mcl_hardness = 3,
|
||||
_mcl_blast_resistance = 3,
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate(
|
||||
"crimson_fence",
|
||||
S("Crimson Fence"),
|
||||
S("Crimson Fence Gate"),
|
||||
"mcl_crimson_crimson_fence.png",
|
||||
{handy=1,axey=1, flammable=2,fence_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
minetest.registered_nodes["mcl_crimson:crimson_hyphae"]._mcl_hardness,
|
||||
minetest.registered_nodes["mcl_crimson:crimson_hyphae"]._mcl_blast_resistance,
|
||||
{"group:fence_wood"},
|
||||
mcl_sounds.node_sound_wood_defaults())
|
||||
|
||||
|
||||
mcl_doors:register_door("mcl_crimson:warped_door", {
|
||||
description = S("Warped Door"),
|
||||
_doc_items_longdesc = S("Wooden doors are 2-block high barriers which can be opened or closed by hand and by a redstone signal."),
|
||||
_doc_items_usagehelp = S("To open or close a wooden door, rightclick it or supply its lower half with a redstone signal."),
|
||||
inventory_image = "mcl_crimson_warped_door.png",
|
||||
groups = {handy=1,axey=1, material_wood=1, flammable=-1},
|
||||
_mcl_hardness = 3,
|
||||
_mcl_blast_resistance = 3,
|
||||
tiles_bottom = {"mcl_crimson_warped_door_bottom.png", "mcl_doors_door_warped_side_lower.png"},
|
||||
tiles_top = {"mcl_crimson_warped_door_top.png", "mcl_doors_door_warped_side_upper.png"},
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
mcl_doors:register_trapdoor("mcl_crimson:warped_trapdoor", {
|
||||
description = S("Warped Trapdoor"),
|
||||
_doc_items_longdesc = S("Wooden trapdoors are horizontal barriers which can be opened and closed by hand or a redstone signal. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder."),
|
||||
_doc_items_usagehelp = S("To open or close the trapdoor, rightclick it or send a redstone signal to it."),
|
||||
tile_front = "mcl_crimson_warped_trapdoor.png",
|
||||
tile_side = "warped_hyphae_wood.png",
|
||||
wield_image = "mcl_crimson_warped_trapdoor.png",
|
||||
groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1, flammable=-1},
|
||||
_mcl_hardness = 3,
|
||||
_mcl_blast_resistance = 3,
|
||||
sounds = mcl_sounds.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
mcl_fences.register_fence_and_fence_gate(
|
||||
"warped_fence",
|
||||
S("Warped Fence"),
|
||||
S("Warped Fence Gate"),
|
||||
"mcl_crimson_warped_fence.png",
|
||||
{handy=1,axey=1, flammable=2,fence_wood=1, fire_encouragement=5, fire_flammability=20},
|
||||
minetest.registered_nodes["mcl_crimson:warped_hyphae"]._mcl_hardness,
|
||||
minetest.registered_nodes["mcl_crimson:warped_hyphae"]._mcl_blast_resistance,
|
||||
{"group:fence_wood"},
|
||||
mcl_sounds.node_sound_wood_defaults())
|
||||
|
||||
-- Door, Trapdoor, and Fence/Gate Crafting
|
||||
local crimson_wood = "mcl_crimson:crimson_hyphae_wood"
|
||||
local warped_wood = "mcl_crimson:warped_hyphae_wood"
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_door 3",
|
||||
recipe = {
|
||||
{crimson_wood, crimson_wood},
|
||||
{crimson_wood, crimson_wood},
|
||||
{crimson_wood, crimson_wood}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_door 3",
|
||||
recipe = {
|
||||
{warped_wood, warped_wood},
|
||||
{warped_wood, warped_wood},
|
||||
{warped_wood, warped_wood}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_trapdoor 2",
|
||||
recipe = {
|
||||
{crimson_wood, crimson_wood, crimson_wood},
|
||||
{crimson_wood, crimson_wood, crimson_wood},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_trapdoor 2",
|
||||
recipe = {
|
||||
{warped_wood, warped_wood, warped_wood},
|
||||
{warped_wood, warped_wood, warped_wood},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_fence 3",
|
||||
recipe = {
|
||||
{crimson_wood, "mcl_core:stick", crimson_wood},
|
||||
{crimson_wood, "mcl_core:stick", crimson_wood},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_fence 3",
|
||||
recipe = {
|
||||
{warped_wood, "mcl_core:stick", warped_wood},
|
||||
{warped_wood, "mcl_core:stick", warped_wood},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:crimson_fence_gate",
|
||||
recipe = {
|
||||
{"mcl_core:stick", crimson_wood, "mcl_core:stick"},
|
||||
{"mcl_core:stick", crimson_wood, "mcl_core:stick"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_crimson:warped_fence_gate",
|
||||
recipe = {
|
||||
{"mcl_core:stick", warped_wood, "mcl_core:stick"},
|
||||
{"mcl_core:stick", warped_wood, "mcl_core:stick"},
|
||||
}
|
||||
})
|
|
@ -1,24 +0,0 @@
|
|||
# textdomain: mcl_crimson
|
||||
|
||||
Warped Fungus Mushroom=Wirrpilz
|
||||
Twisting Vines=Zwirbelranken
|
||||
Nether Sprouts=Nethersprossen
|
||||
Warped Roots=Wirrwurzeln
|
||||
Warped Wart Block=Wirrwarzenblock
|
||||
Shroomlight=Pilzlicht
|
||||
Warped Hyphae=Wirrhyphe
|
||||
Warped Nylium=Wirr-Nezel
|
||||
Warped Checknode - only to check!=Wirr Checkblock - Nur zum checken!
|
||||
Warped Hyphae Wood=Wirrhyphen Holz
|
||||
Warped Stair=Wirrtreppe
|
||||
Warped Slab=Wirrstufe
|
||||
Double Warped Slab=Doppelte Wirrstufe
|
||||
Crimson Fungus Mushroom=Karmesinpilz
|
||||
Crimson Roots=Karmesinwurzeln
|
||||
Crimson Hyphae=Karmesinhyphe
|
||||
Crimson Hyphae Wood=Karmesinhyphenholz
|
||||
Crimson Stair=Karmesintreppe
|
||||
Crimson Slab=Karmesinstufe
|
||||
Double Crimson Slab=Doppelte Karmesinstufe
|
||||
Crimson Nylium=Karmesin-Nezel
|
||||
Crimson Checknode - only to check!=Karmesin Checkblock - Nur zum checken!
|
|
@ -1,29 +0,0 @@
|
|||
# textdomain: mcl_crimson
|
||||
|
||||
Warped Fungus Mushroom=Champignon tordu
|
||||
Twisting Vines=Liane tordue
|
||||
Nether Sprouts=Racines du nether
|
||||
Warped Roots=Racines tordues
|
||||
Warped Wart Block=Bloc de verrues tordu
|
||||
Shroomlight=Champilampe
|
||||
Warped Hyphae=Tige tordue
|
||||
Warped Hyphae Bark=Hyphe tordue
|
||||
Stripped warped hyphae=Tige tordue dénudée
|
||||
Stripped warped hyphae bark=Hyphe tordue dénudée
|
||||
Warped Nylium=Nylium tordu
|
||||
Warped Checknode - only to check!=Bloc de vérification tordu - seulement pour vérifier !
|
||||
Warped Hyphae Wood=Planches tordues
|
||||
Warped Stair=Escalier tordu
|
||||
Warped Slab=Dalle tordue
|
||||
Crimson Fungus Mushroom=Champignon écarlate
|
||||
Crimson Roots=Racines écarlates
|
||||
Crimson Hyphae=Tige écarlate
|
||||
Crimson Hyphae Bark=Hyphe écarlate
|
||||
Stripped Crimson Hyphae=Tige écarlate dénudée
|
||||
Stripped Crimson Hyphae Bark=Hyphe écarlate dénudée
|
||||
Crimson Hyphae Wood=Planches écarlates
|
||||
Crimson Stair=Escalier écarlate
|
||||
Crimson Slab=Dalle écarlate
|
||||
Double Crimson Slab=Dalle double écarlate
|
||||
Crimson Nylium=Nylium écarlate
|
||||
Crimson Checknode - only to check!=Bloc de vérification écarlate - seulement pour vérifier !
|
|
@ -1,29 +0,0 @@
|
|||
# textdomain: mcl_crimson
|
||||
|
||||
Warped Fungus Mushroom=歪なキノコ
|
||||
Twisting Vines=ねじれツタ
|
||||
Nether Sprouts=ネザースプラウト
|
||||
Warped Roots=歪な根
|
||||
Warped Wart Block=歪なウォートブロック
|
||||
Shroomlight=シュルームライト
|
||||
Warped Hyphae=歪な菌糸
|
||||
Warped Hyphae Bark=歪な菌糸の表皮
|
||||
Stripped warped hyphae=表皮を剥いだ歪な菌糸
|
||||
Stripped warped hyphae bark=剥がされた歪な菌糸の表皮
|
||||
Warped Nylium=歪なナイリウム
|
||||
Warped Checknode - only to check!=歪なチェックノード - チェックのみ!
|
||||
Warped Hyphae Wood=歪な菌糸の樹
|
||||
Warped Stair=歪な階段
|
||||
Warped Slab=歪なスラブ
|
||||
Crimson Fungus Mushroom=真紅のキノコ
|
||||
Crimson Roots=真紅の根
|
||||
Crimson Hyphae=真紅の菌糸
|
||||
Crimson Hyphae Bark=真紅の菌糸の表皮
|
||||
Stripped Crimson Hyphae=表皮を剥いだ真紅の菌糸
|
||||
Stripped Crimson Hyphae Bark=剥がされた真紅の菌糸の表皮
|
||||
Crimson Hyphae Wood=真紅の菌糸の樹
|
||||
Crimson Stair=真紅の階段
|
||||
Crimson Slab=真紅のスラブ
|
||||
Double Crimson Slab=真紅の2重スラブ
|
||||
Crimson Nylium=真紅のナイリウム
|
||||
Crimson Checknode - only to check!=真紅のチェックノード - チェックのみ!
|
|
@ -1,29 +0,0 @@
|
|||
# textdomain: mcl_crimson
|
||||
|
||||
Warped Fungus Mushroom=
|
||||
Twisting Vines=
|
||||
Nether Sprouts=
|
||||
Warped Roots=
|
||||
Warped Wart Block=
|
||||
Shroomlight=
|
||||
Warped Hyphae=
|
||||
Warped Hyphae Bark=
|
||||
Stripped warped hyphae=
|
||||
Stripped warped hyphae bark=
|
||||
Warped Nylium=
|
||||
Warped Checknode - only to check!=
|
||||
Warped Hyphae Wood=
|
||||
Warped Stair=
|
||||
Warped Slab=
|
||||
Crimson Fungus Mushroom=
|
||||
Crimson Roots=
|
||||
Crimson Hyphae=
|
||||
Crimson Hyphae Bark=
|
||||
Stripped Crimson Hyphae=
|
||||
Stripped Crimson Hyphae Bark=
|
||||
Crimson Hyphae Wood=
|
||||
Crimson Stair=
|
||||
Crimson Slab=
|
||||
Double Crimson Slab=
|
||||
Crimson Nylium=
|
||||
Crimson Checknode - only to check!=
|
|
@ -1,3 +0,0 @@
|
|||
name = mcl_crimson
|
||||
author = debiankaios
|
||||
depends = mcl_core, mcl_stairs, mobs_mc, mcl_util, mcl_dye, mcl_flowerpots
|
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 532 B |
Before Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 186 B |