Move glass of water def to items.lua

This commit is contained in:
James Stevenson 2016-02-06 17:51:51 -05:00
parent ea612c59d5
commit c8c4e41cae
3 changed files with 6 additions and 6 deletions

@ -1,5 +0,0 @@
minetest.register_craftitem("claycrafter:glass_of_water", {
description = "Glass of Water",
inventory_image = "claycrafter_glass_of_water.png",
groups = {h2o = 1, vessel = 1}, -- How much time to convert 1 compressed dirt to 4 clay
})

@ -5,4 +5,3 @@ local modpath = minetest.get_modpath("claycrafter")
dofile(modpath .. "/items.lua") dofile(modpath .. "/items.lua")
dofile(modpath .. "/recipes.lua") dofile(modpath .. "/recipes.lua")
dofile(modpath .. "/claycrafter.lua") dofile(modpath .. "/claycrafter.lua")
dofile(modpath .. "/glass_of_water.lua")

@ -3,3 +3,9 @@ minetest.register_node("claycrafter:compressed_dirt", {
tiles = {"claycrafter_compressed_dirt.png"}, tiles = {"claycrafter_compressed_dirt.png"},
groups = {crumbly = 1, oddly_breakable_by_hand = 1, soil = 1, cracky =1} groups = {crumbly = 1, oddly_breakable_by_hand = 1, soil = 1, cracky =1}
}) })
minetest.register_craftitem("claycrafter:glass_of_water", {
description = "Glass of Water",
inventory_image = "claycrafter_glass_of_water.png",
groups = {h2o = 1, vessel = 1}, -- How much time to convert 1 compressed dirt to 4 clay
})