]> git.lizzy.rs Git - Crafter.git/blob - mods/aether/nodes.lua
Add in early prototype of void
[Crafter.git] / mods / aether / nodes.lua
1 local tool = {"main:woodpick","main:stonepick","main:ironpick","main:goldpick","main:diamondpick"}
2
3 local path = minetest.get_modpath("nether")
4 dofile(path.."/schem.lua")
5
6 minetest.register_node("aether:stone", {
7     description = "Aether Stone",
8     tiles = {"stone.png^[colorize:aqua:40"},
9     groups = {stone = 1, hand = 1,pathable = 1},
10     sounds = main.stoneSound(),
11     drop = {
12                 max_items = 1,
13                 items= {
14                         {
15                                 rarity = 0,
16                                 tools = tool,
17                                 items = {"aether:cobble"},
18                         },
19                         },
20                 },
21         })
22         
23         
24 minetest.register_node("aether:cobble", {
25     description = "Aether Cobblestone",
26     tiles = {"cobble.png^[colorize:aqua:40"},
27     groups = {stone = 1, pathable = 1},
28     sounds = main.stoneSound(),
29     drop = {
30                 max_items = 1,
31                 items= {
32                         {
33                                 rarity = 0,
34                                 tools = tool,
35                                 items = {"aether:cobble"},
36                         },
37                         },
38                 },
39 })
40
41
42 minetest.register_node("aether:dirt", {
43     description = "Aether Dirt",
44     tiles = {"dirt.png^[colorize:aqua:40"},
45     groups = {dirt = 1, soil=1,pathable = 1, farm_tillable=1},
46     sounds = main.dirtSound(),
47     paramtype = "light",
48 })
49
50 minetest.register_node("aether:grass", {
51     description = "Aether Grass",
52     tiles = {"grass.png^[colorize:aqua:40"},
53     groups = {grass = 1, soil=1,pathable = 1, farm_tillable=1},
54     sounds = main.dirtSound(),
55     drop="aether:dirt",
56 })