Removed old textures
|
@ -83,16 +83,6 @@ local function wither_spawn(pos, player)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local wither_head = minetest.registered_nodes["mcl_heads:wither_skeleton"]
|
|
||||||
local old_on_place = wither_head.on_place
|
|
||||||
function wither_head.on_place(itemstack, placer, pointed)
|
|
||||||
local n = minetest.get_node(vector.offset(pointed.above,0,-1,0))
|
|
||||||
if n and n.name == "mcl_nether:soul_sand" then
|
|
||||||
minetest.after(0, wither_spawn, pointed.above, placer)
|
|
||||||
end
|
|
||||||
return old_on_place(itemstack, placer, pointed)
|
|
||||||
end
|
|
||||||
|
|
||||||
if anti_troll then
|
if anti_troll then
|
||||||
-- pull wither counts per dimension
|
-- pull wither counts per dimension
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
|
|
|
@ -469,17 +469,6 @@ minetest.register_node("mcl_core:sandstone", {
|
||||||
_mcl_hardness = 0.8,
|
_mcl_hardness = 0.8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:sandstonecarved", {
|
|
||||||
description = S("Chiseled Sandstone"),
|
|
||||||
tiles = {"mcl_core_sandstone_top.png", "mcl_core_sandstone_bottom.png", "mcl_core_sandstone_carved.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
_mcl_blast_resistance = 0.8,
|
|
||||||
_mcl_hardness = 0.8,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- red sandstone --
|
-- red sandstone --
|
||||||
|
|
||||||
minetest.register_node("mcl_core:redsand", {
|
minetest.register_node("mcl_core:redsand", {
|
||||||
|
@ -504,17 +493,6 @@ minetest.register_node("mcl_core:redsandstone", {
|
||||||
_mcl_hardness = 0.8,
|
_mcl_hardness = 0.8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:redsandstonecarved", {
|
|
||||||
description = S("Chiseled Red Sandstone"),
|
|
||||||
tiles = {"mcl_core_red_sandstone_top.png", "mcl_core_red_sandstone_bottom.png", "mcl_core_red_sandstone_carved.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
_mcl_blast_resistance = 0.8,
|
|
||||||
_mcl_hardness = 0.8,
|
|
||||||
})
|
|
||||||
---
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:clay", {
|
minetest.register_node("mcl_core:clay", {
|
||||||
description = S("Clay"),
|
description = S("Clay"),
|
||||||
|
@ -588,72 +566,6 @@ minetest.register_node("mcl_core:mossycobble", {
|
||||||
_mcl_hardness = 2,
|
_mcl_hardness = 2,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:coalblock", {
|
|
||||||
description = S("Block of Coal"),
|
|
||||||
tiles = {"default_coal_block.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=1, flammable=1, building_block=1, material_stone=1, fire_encouragement=5, fire_flammability=5},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
_mcl_blast_resistance = 6,
|
|
||||||
_mcl_hardness = 5,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:ironblock", {
|
|
||||||
description = S("Block of Iron"),
|
|
||||||
tiles = {"default_steel_block.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=2, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_metal_defaults(),
|
|
||||||
_mcl_blast_resistance = 6,
|
|
||||||
_mcl_hardness = 5,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:goldblock", {
|
|
||||||
description = S("Block of Gold"),
|
|
||||||
tiles = {"default_gold_block.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=4, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_metal_defaults(),
|
|
||||||
_mcl_blast_resistance = 6,
|
|
||||||
_mcl_hardness = 3,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:diamondblock", {
|
|
||||||
description = S("Block of Diamond"),
|
|
||||||
tiles = {"default_diamond_block.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=4, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
_mcl_blast_resistance = 6,
|
|
||||||
_mcl_hardness = 5,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:lapisblock", {
|
|
||||||
description = S("Lapis Lazuli Block"),
|
|
||||||
tiles = {"mcl_core_lapis_block.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=3, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
_mcl_blast_resistance = 3,
|
|
||||||
_mcl_hardness = 3,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:emeraldblock", {
|
|
||||||
description = S("Block of Emerald"),
|
|
||||||
tiles = {"mcl_core_emerald_block.png"},
|
|
||||||
is_ground_content = false,
|
|
||||||
stack_max = 64,
|
|
||||||
groups = {pickaxey=4, building_block=1},
|
|
||||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
||||||
_mcl_blast_resistance = 6,
|
|
||||||
_mcl_hardness = 5,
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("mcl_core:obsidian", {
|
minetest.register_node("mcl_core:obsidian", {
|
||||||
description = S("Obsidian"),
|
description = S("Obsidian"),
|
||||||
tiles = {"default_obsidian.png"},
|
tiles = {"default_obsidian.png"},
|
||||||
|
|
|
@ -1,85 +0,0 @@
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
|
||||||
local doc_mod = minetest.get_modpath("doc")
|
|
||||||
|
|
||||||
|
|
||||||
local barks = {
|
|
||||||
{ "", S("Oak Bark Stairs"), S("Oak Bark Slab"), S("Double Oak Bark Slab") },
|
|
||||||
{ "jungle", S("Jungle Bark Stairs"), S("Jungle Bark Slab"), S("Double Jungle Bark Slab") },
|
|
||||||
{ "acacia", S("Acacia Bark Stairs"), S("Acacia Bark Slab"), S("Double Acacia Bark Slab") },
|
|
||||||
{ "spruce", S("Spruce Bark Stairs"), S("Spruce Bark Slab"), S("Double Spruce Bark Slab") },
|
|
||||||
{ "birch", S("Birch Bark Stairs"), S("Birch Bark Slab"), S("Double Birch Bark Slab") },
|
|
||||||
{ "dark", S("Dark Oak Bark Stairs"), S("Dark Oak Bark Slab"), S("Double Dark Oak Bark Slab") },
|
|
||||||
}
|
|
||||||
|
|
||||||
for b=1, #barks do
|
|
||||||
local bark = barks[b]
|
|
||||||
local sub = bark[1].."tree_bark"
|
|
||||||
local id = "mcl_core:tree"
|
|
||||||
if bark[1] ~= "" then
|
|
||||||
id = "mcl_core:"..bark[1].."tree"
|
|
||||||
end
|
|
||||||
mcl_stairs.register_stair(sub, id,
|
|
||||||
{handy=1,axey=1, flammable=3, bark_stairs=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
|
||||||
{minetest.registered_nodes[id].tiles[3]},
|
|
||||||
bark[2],
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), 3, 2,
|
|
||||||
"woodlike")
|
|
||||||
mcl_stairs.register_slab(sub, id,
|
|
||||||
{handy=1,axey=1, flammable=3, bark_slab=1, material_wood=1, fire_encouragement=5, fire_flammability=5},
|
|
||||||
{minetest.registered_nodes[id].tiles[3]},
|
|
||||||
bark[3],
|
|
||||||
mcl_sounds.node_sound_wood_defaults(), 3, 2,
|
|
||||||
bark[4])
|
|
||||||
end
|
|
||||||
|
|
||||||
mcl_stairs.register_slab("lapisblock", "mcl_core:lapisblock",
|
|
||||||
{pickaxey=3},
|
|
||||||
{"mcl_core_lapis_block.png", "mcl_core_lapis_block.png", "mcl_stairs_lapis_block_slab.png"},
|
|
||||||
S("Lapis Lazuli Slab"),
|
|
||||||
nil, nil, nil,
|
|
||||||
S("Double Lapis Lazuli Slab"))
|
|
||||||
mcl_stairs.register_stair("lapisblock", "mcl_core:lapisblock",
|
|
||||||
{pickaxey=3},
|
|
||||||
{"mcl_stairs_lapis_block_slab.png", "mcl_core_lapis_block.png", "mcl_core_lapis_block.png", "mcl_core_lapis_block.png", "mcl_core_lapis_block.png", "mcl_stairs_lapis_block_slab.png"},
|
|
||||||
S("Lapis Lazuli Stairs"),
|
|
||||||
nil, 6, nil,
|
|
||||||
"woodlike")
|
|
||||||
|
|
||||||
mcl_stairs.register_slab("goldblock", "mcl_core:goldblock",
|
|
||||||
{pickaxey=4},
|
|
||||||
{"default_gold_block.png", "default_gold_block.png", "mcl_stairs_gold_block_slab.png"},
|
|
||||||
S("Slab of Gold"),
|
|
||||||
nil, nil, nil,
|
|
||||||
S("Double Slab of Gold"))
|
|
||||||
mcl_stairs.register_stair("goldblock", "mcl_core:goldblock",
|
|
||||||
{pickaxey=4},
|
|
||||||
{"mcl_stairs_gold_block_slab.png", "default_gold_block.png", "default_gold_block.png", "default_gold_block.png", "default_gold_block.png", "mcl_stairs_gold_block_slab.png"},
|
|
||||||
S("Stairs of Gold"),
|
|
||||||
nil, 6, nil,
|
|
||||||
"woodlike")
|
|
||||||
|
|
||||||
mcl_stairs.register_slab("ironblock", "mcl_core:ironblock",
|
|
||||||
{pickaxey=2},
|
|
||||||
{"default_steel_block.png", "default_steel_block.png", "mcl_stairs_iron_block_slab.png"},
|
|
||||||
S("Slab of Iron"),
|
|
||||||
nil, nil, nil,
|
|
||||||
S("Double Slab of Iron"))
|
|
||||||
mcl_stairs.register_stair("ironblock", "mcl_core:ironblock",
|
|
||||||
{pickaxey=2},
|
|
||||||
{"mcl_stairs_iron_block_slab.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "default_steel_block.png", "mcl_stairs_iron_block_slab.png"},
|
|
||||||
S("Stairs of Iron"),
|
|
||||||
nil, 6, nil,
|
|
||||||
"woodlike")
|
|
||||||
-- Fuel
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "group:bark_stairs",
|
|
||||||
-- Same as wood stairs
|
|
||||||
burntime = 15,
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "fuel",
|
|
||||||
recipe = "group:bark_slab",
|
|
||||||
-- Same as wood slab
|
|
||||||
burntime = 8,
|
|
||||||
})
|
|
Before Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 194 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 182 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 123 B |
Before Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 632 B |
Before Width: | Height: | Size: 615 B |
Before Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 756 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 149 B |
Before Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 169 B |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 213 B |