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