diff options
author | Kahrl <kahrl@gmx.net> | 2011-12-03 08:40:32 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-12-03 11:47:37 +0200 |
commit | 392485aa454e871566a67afc61e11331f9d27397 (patch) | |
tree | 7c2a0b971feaa6cad6fafff9569d57d8bda53803 /data/mods/experimental | |
parent | 275a348b75ae710f5cfdb71595ea6e95ecdbcd63 (diff) | |
download | minetest-392485aa454e871566a67afc61e11331f9d27397.tar.gz minetest-392485aa454e871566a67afc61e11331f9d27397.tar.bz2 minetest-392485aa454e871566a67afc61e11331f9d27397.zip |
inventorycube: use all three specified textures; also moved mesh creation / modification functions to mesh.cpp; in lua, inventorycube is now called minetest.inventorycube
Diffstat (limited to 'data/mods/experimental')
-rw-r--r-- | data/mods/experimental/init.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/mods/experimental/init.lua b/data/mods/experimental/init.lua index 326fe1b75..b63bf76fc 100644 --- a/data/mods/experimental/init.lua +++ b/data/mods/experimental/init.lua @@ -8,7 +8,7 @@ minetest.register_node("experimental:luafurnace", { tile_images = {"lava.png", "furnace_side.png", "furnace_side.png", "furnace_side.png", "furnace_side.png", "furnace_front.png"}, --inventory_image = "furnace_front.png", - inventory_image = inventorycube("furnace_front.png"), + inventory_image = minetest.inventorycube("furnace_front.png"), paramtype = "facedir_simple", metadata_name = "generic", material = digprop_stonelike(3.0), @@ -134,7 +134,8 @@ minetest.register_craft({ minetest.register_node("experimental:somenode", { tile_images = {"lava.png", "mese.png", "stone.png", "grass.png", "cobble.png", "tree_top.png"}, - inventory_image = "treeprop.png", + inventory_image = minetest.inventorycube("lava.png", "mese.png", "stone.png"), + --inventory_image = "treeprop.png", material = { diggability = "normal", weight = 0, |