Renamed function

This commit is contained in:
Thomas--S 2016-03-27 15:04:16 +02:00
parent f14d9719b4
commit bbf2274d46

12
init.lua Normal file → Executable file
View File

@ -1,4 +1,4 @@
function register_furniture(mod, name, description, texture)
function register_ts_furniture(mod, name, description, texture)
local groups = minetest.registered_nodes[mod .. ":" ..name].groups
local furniture_groups = {}
for k,v in pairs(groups) do
@ -140,8 +140,8 @@ function register_furniture(mod, name, description, texture)
})
end
register_furniture("default", "aspen_wood" , "Aspen" , "default_aspen_wood.png" )
register_furniture("default", "pine_wood" , "Pine" , "default_pine_wood.png" )
register_furniture("default", "acacia_wood", "Acacia" , "default_acacia_wood.png")
register_furniture("default", "wood" , "Wooden" , "default_wood.png" )
register_furniture("default", "junglewood" , "Jungle Wood", "default_junglewood.png" )
register_ts_furniture("default", "aspen_wood" , "Aspen" , "default_aspen_wood.png" )
register_ts_furniture("default", "pine_wood" , "Pine" , "default_pine_wood.png" )
register_ts_furniture("default", "acacia_wood", "Acacia" , "default_acacia_wood.png")
register_ts_furniture("default", "wood" , "Wooden" , "default_wood.png" )
register_ts_furniture("default", "junglewood" , "Jungle Wood", "default_junglewood.png" )