Skip to content

Commit

Permalink
Move glass of water def to items.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
James Stevenson committed Feb 6, 2016
1 parent ea612c5 commit c8c4e41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions glass_of_water.lua

This file was deleted.

1 change: 0 additions & 1 deletion init.lua
Expand Up @@ -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")
6 changes: 6 additions & 0 deletions items.lua
Expand Up @@ -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
})

0 comments on commit c8c4e41

Please sign in to comment.