Redo lots of textures: Add some new blocks
BIN
menu/icon.png
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 7.9 KiB |
|
@ -18,3 +18,25 @@ minetest.register_node("eden:cobble", {
|
|||
is_ground_content = false,
|
||||
groups = {cracky=3},
|
||||
})
|
||||
minetest.register_craftitem("eden:flint", {
|
||||
description = "Flint",
|
||||
inventory_image = "eden_flint.png"
|
||||
})
|
||||
minetest.register_craftitem("eden:rock", {
|
||||
description = "Rock",
|
||||
inventory_image = "eden_rock.png"
|
||||
})
|
||||
-- [Register] Gravel
|
||||
minetest.register_node("eden:gravel", {
|
||||
description = "Gravel",
|
||||
tiles = {"eden_gravel.png"},
|
||||
groups = {crumbly = 2, falling_node = 1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
{items = {'eden:flint'}, rarity = 16},
|
||||
{items = {'eden:rock'}, rarity = 16},
|
||||
{items = {'eden:gravel'}, rarity = 1}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 492 B |
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 840 B |
After Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 337 B |
|
@ -0,0 +1,94 @@
|
|||
--Functions
|
||||
processed_blocks = {}
|
||||
|
||||
--[[
|
||||
--register general nodes
|
||||
function processed_blocks.register_node(node_def)
|
||||
--If no texture name is supplied, fall back to proccessed_blocks_<node_name>.png
|
||||
if node_def.texture == nil then
|
||||
texture = {"processed_blocks_" .. node_def.node_name .. ".png"}
|
||||
end
|
||||
--If no description is supplied, fall back to "Proccessed block"
|
||||
if node_def.desc == nil then
|
||||
desc = "Proccessed block"
|
||||
end
|
||||
--If a keyword (stone, or wood) is passed as the node groups, set the node's groups as the same as those nodes
|
||||
if node_def.harvest_groups == "stone" or "Stone" then
|
||||
node_groups = {cracky = 3, stone = 1}
|
||||
elseif node_def.harvest_groups == "wood" or "Wood" then
|
||||
node_groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1}
|
||||
elseif node_def.harvest_groups == "glass" or "Glass" then
|
||||
node_groups = {cracky = 3, oddly_breakable_by_hand = 3}
|
||||
end
|
||||
--register the node
|
||||
minetest.register_node("processed_blocks:" .. node_def.node_name, {
|
||||
description = desc,
|
||||
tiles = texture,
|
||||
groups = node_groups
|
||||
})
|
||||
end
|
||||
|
||||
--Register treated wood planks
|
||||
function processed_blocks.register_treated_plank(wood_name)
|
||||
processed_blocks.register_node(wood_name .. "_plank", "Treated " .. wood_name .. " planks", "wood", wood_name .. "_plank")
|
||||
end
|
||||
|
||||
|
||||
--Register treated wood planks
|
||||
|
||||
processed_blocks.register_treated_plank("oak")
|
||||
|
||||
--Register bricks
|
||||
|
||||
processed_blocks.register_node("stone_bricks_plain", "Plain stone bricks", "stone")
|
||||
|
||||
--Register misc nodes
|
||||
|
||||
--Wattle will be made with mud (wet dirt), clay, sand & straw
|
||||
processed_blocks.register_node("wattle", "Wattle & Duab", {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1})
|
||||
--]]
|
||||
minetest.register_node("processed_blocks:wattle", {
|
||||
description = "Wattle & Duab",
|
||||
tiles = {"processed_blocks_wattle.png"},
|
||||
groups = {cracky=3}
|
||||
})
|
||||
|
||||
minetest.register_node("processed_blocks:oak_planks", {
|
||||
description = "processed oak planks",
|
||||
tiles = {"processed_blocks_oak_plank.png"},
|
||||
groups = {cracky=3}
|
||||
})
|
||||
|
||||
minetest.register_node("processed_blocks:glass", {
|
||||
description = "Glass",
|
||||
use_texture_alpha = true,
|
||||
drawtype = "glasslike_framed",
|
||||
tiles = {"processed_blocks_glass_block.png", "processed_blocks_glass_block_detail.png"},
|
||||
groups = {cracky=3}
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("processed_blocks:sponge", {
|
||||
description = "Sponge",
|
||||
tiles = {"processed_blocks_sponge.png"},
|
||||
groups = {cracky=3}
|
||||
})
|
||||
|
||||
minetest.register_node("processed_blocks:ladder_wood", {
|
||||
drawtype = "signlike",
|
||||
description = "Wood Ladder",
|
||||
tiles = {"processed_blocks_ladder_wood.png"},
|
||||
wield_image = "processed_blocks_ladder_wood.png",
|
||||
inventory_image = "processed_blocks_ladder_wood.png",
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
climbable = true,
|
||||
is_ground_content = false,
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 3, flammable = 2}
|
||||
})
|
||||
--]]
|
After Width: | Height: | Size: 231 B |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 233 B |
After Width: | Height: | Size: 335 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 269 B |
After Width: | Height: | Size: 299 B |
After Width: | Height: | Size: 778 B |
|
@ -30,9 +30,7 @@ soil.register("dirt", {
|
|||
-- [soil] Dirt with grass
|
||||
soil.register("dirt_with_grass", {
|
||||
description = "Dirt with grass",
|
||||
tiles ={"soil_grass.png", "soil_dirt.png",
|
||||
{name = "soil_dirt.png^soil_grass_side.png",
|
||||
tileable_vertical = false}},
|
||||
tiles ={"soil_grass.png"},
|
||||
groups = {crumbly=3, soil=1},
|
||||
drop = "soil:dirt",
|
||||
})
|
||||
|
|
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 424 B After Width: | Height: | Size: 436 B |
After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 421 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 304 B |
After Width: | Height: | Size: 380 B |
After Width: | Height: | Size: 341 B |
After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 340 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 386 B |
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 332 B |
After Width: | Height: | Size: 450 B |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 371 B |
|
@ -1,8 +1,8 @@
|
|||
-- tools/tools.lua
|
||||
|
||||
tools.register("Steel", "steel", {
|
||||
tools.register("iron", "iron", {
|
||||
material = "ores:iron",
|
||||
pick = {"tools_steel_pick.png", {
|
||||
pick = {"tools_iron_pick.png", {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
|
@ -10,7 +10,7 @@ tools.register("Steel", "steel", {
|
|||
},
|
||||
damage_groups = {fleshy=4},
|
||||
}},
|
||||
axe = {"tools_steel_axe.png", {
|
||||
axe = {"tools_iron_axe.png", {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
|
@ -18,7 +18,7 @@ tools.register("Steel", "steel", {
|
|||
},
|
||||
damage_groups = {fleshy=4},
|
||||
}},
|
||||
shovel = {"tools_steel_shovel.png", {
|
||||
shovel = {"tools_iron_shovel.png", {
|
||||
full_punch_interval = 1.1,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
|
@ -26,8 +26,8 @@ tools.register("Steel", "steel", {
|
|||
},
|
||||
damage_groups = {fleshy=3},
|
||||
}},
|
||||
hoe = {"tools_steel_hoe.png"},
|
||||
sword = {"tools_steel_sword.png", {
|
||||
hoe = {"tools_iron_hoe.png"},
|
||||
sword = {"tools_iron_sword.png", {
|
||||
full_punch_interval = 0.8,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
|
|