aether/nodes.lua

108 lines
3 KiB
Lua
Raw Permalink Normal View History

2017-01-19 23:47:10 +01:00
-- Groups = crumbly =dirt, cracky = stone, snappy = leaves, choppy = wood, explody, oddly_breakable_by_hand
-- New groups = aethersoil, aetherstone, temple, dungeon ,aehtertree
2017-01-19 23:47:10 +01:00
--Dirts
2017-01-23 23:46:06 +01:00
minetest.register_node("aether2:quicksoil", {
description = 'Quick Soil',
2020-09-29 22:54:23 +02:00
tiles = {"blocks/quicksoil.png"},
2017-01-23 23:46:06 +01:00
groups = {crumbly = 1},
})
minetest.register_node("aether2:aether_dirt", {
2017-01-19 23:47:10 +01:00
description = 'Aether Dirt',
2020-09-29 22:54:23 +02:00
tiles = {"blocks/aether_dirt.png"},
2017-01-19 23:47:10 +01:00
groups = {crumbly = 1},
2017-01-20 17:02:45 +01:00
})
2017-01-19 23:47:10 +01:00
minetest.register_node("aether2:aether_dirt_with_grass", {
2017-01-19 23:47:10 +01:00
description = "Aether Grass",
2020-09-29 22:54:23 +02:00
tiles = {"blocks/aether_grass_top.png", "blocks/aether_dirt.png",
{name = "blocks/aether_grass_side.png",
2017-01-19 23:47:10 +01:00
tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
drop = 'aether_dirt',
2017-01-19 23:47:10 +01:00
})
--Stones
minetest.register_node("aether2:holystone", {
description = "Holystone",
2020-09-29 22:54:23 +02:00
tiles = {"blocks/holystone.png"},
groups = {aetherstone = 1},
2017-01-20 17:02:45 +01:00
})
2017-01-19 23:47:10 +01:00
--Trees
2017-01-20 17:02:45 +01:00
minetest.register_node("aether2:skyroot_log", {
description = "skyroot_log",
2020-09-29 22:54:23 +02:00
tiles = {"blocks/skyroot_log_top.png", "blocks/skyroot_log_top.png", "blocks/skyroot_log.png"},
2017-01-20 17:02:45 +01:00
paramtype2 = "facedir",
is_ground_content = false,
groups = {aehtertree = 1},
on_place = minetest.rotate_node,
2017-01-20 17:02:45 +01:00
})
minetest.register_node("aether2:golden_oak_log", {
description = "Golden Oak Log",
2020-09-29 22:54:23 +02:00
tiles = {"blocks/golden_oak_log_top.png", "blocks/golden_oak_log_top.png", "blocks/golden_oak_log.png"},
2017-01-20 17:02:45 +01:00
paramtype2 = "facedir",
is_ground_content = false,
2017-01-23 23:30:42 +01:00
groups = {aehtertree=2 },
on_place = minetest.rotate_node,
2017-01-20 17:02:45 +01:00
drop = {
max_items = 2,
items = {
item = {'aether2:golden_amber'}
},
{
items = {'aether2:golden_oak_log'}
}
2017-01-20 17:02:45 +01:00
}
})
minetest.register_node("aether2:skyroot_leaves", {
2017-01-20 17:02:45 +01:00
description = "Skyroot Leaves",
drawtype = "allfaces_optional",
waving = 1,
2020-09-29 22:54:23 +02:00
tiles = {"sblocks/kyroot_leaves.png"},
special_tiles = {"blocks/skyroot_leaves_opaque.png"},
2017-01-20 17:02:45 +01:00
paramtype = "light",
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, leaves = 1},
})
minetest.register_node("aether2:golden_oak_leaves", {
description = "Golden Oak Leaves",
drawtype = "allfaces_optional",
waving = 1,
2020-09-29 22:54:23 +02:00
tiles = {"blocks/golden_oak_leaves.png"},
special_tiles = {"blocks/golden_oak_leaves_opaque.png"},
paramtype = "light",
is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, leaves = 1},
2017-01-20 17:02:45 +01:00
})
minetest.register_node("aether2:skyroot_planks", {
description = "Skyroot Planks",
2020-09-29 22:54:23 +02:00
tiles = {"blocks/skyroot_planks.png"},
2017-01-23 23:46:06 +01:00
groupts = {choppy=1, oddly_breakable_by_hand=1, snappy = 1,},
2017-01-20 17:02:45 +01:00
})
2017-01-20 18:08:39 +01:00
2017-01-20 20:29:39 +01:00
--Placeable Items
minetest.register_node("aether2:ambrosium_torch", {
2017-01-20 18:08:39 +01:00
description = "Ambrosium Torch",
2017-01-23 23:30:42 +01:00
groups = {oddly_breakable_by_hand=1},
2017-01-20 18:08:39 +01:00
drawtype = "mesh",
2020-09-29 22:54:23 +02:00
mesh = "mbrosium_torch_floor.obj",
inventory_image = "blocks/ambrosium_torch.png",
wield_image = "blocks/ambrosium_torch.png",
2017-01-20 18:08:39 +01:00
tiles = {{
name = "ambrosium_torch_animated.png",
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3}
}}
})