aether/nodes.lua

99 lines
2.6 KiB
Lua
Raw 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
minetest.register_node("aether2:aether_dirt", {
2017-01-19 23:47:10 +01:00
description = 'Aether Dirt',
tiles = {"aether_dirt.png"},
2017-01-19 23:47:10 +01:00
groups = {crumbly = 1},
2017-01-19 23:47:10 +01:00
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",
tiles = {"aether_grass_top.png", "aether_dirt.png",
{name = "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",
2017-01-20 17:02:45 +01:00
tiles = {"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_logs", {
2017-01-20 17:02:45 +01:00
description = "skyroot_logs",
tiles = {"skyroot_log_top.png", "skyroot_log_top.png", "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_logs", {
2017-01-20 17:02:45 +01:00
description = "Golden Oak Logs",
tiles = {"golden_oak_log_top.png", "golden_oak_log_top.png", "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 = {
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,
tiles = {"skyroot_leaves.png"},
special_tiles = {"skyroot_leaves_simple.png"},
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,
tiles = {"golden_oak_leaves.png"},
special_tiles = {"golden_oak_leaves.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",
tiles = {"skyroot_planks.png"},
groupts = {choppy=1, oddly_breakable_by_hand=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",
mesh = "ambrosium_torch_floor.obj",
inventory_image = "ambrosium_torch.png",
wield_image = "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}
}}
})