1
0
mirror of https://github.com/Dragonop/claycrafter.git synced 2024-11-17 23:58:35 +01:00

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

View File

@ -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
})

View File

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

View File

@ -3,3 +3,9 @@ minetest.register_node("claycrafter:compressed_dirt", {
tiles = {"claycrafter_compressed_dirt.png"},
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
})