update
This commit is contained in:
parent
171898f275
commit
c7d8f11e21
4 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
|
||||
if true then return end
|
||||
|
||||
-- adoors by TumeniNodes (C) 2018
|
||||
|
||||
screwdriver = screwdriver or {}
|
||||
|
|
|
@ -28,6 +28,17 @@ end
|
|||
--Node will be called angledglass:glass_<subname>
|
||||
|
||||
function angledglass.register_glass(subname, recipeitem, groups, images, description, sounds)
|
||||
|
||||
local i=(images[1]=="default_obsidian_glass.png"
|
||||
and "default:obsidian_glass"
|
||||
or "default:glass")
|
||||
minetest.register_craft({
|
||||
output="angledglass:glass"..subname,recipe={
|
||||
{recipeitem,i,recipeitem},
|
||||
{recipeitem,i,recipeitem},
|
||||
{recipeitem,i,recipeitem},
|
||||
}})
|
||||
|
||||
groups.glass = 1
|
||||
|
||||
minetest.register_node(":angledglass:glass" .. subname, {
|
||||
|
|
|
@ -135,6 +135,9 @@ end
|
|||
-- Nodes will be called angledwalls:{angled_wall,low_angled_wall,corner}_<subname>
|
||||
|
||||
function angledwalls.register_angled_wall_and_low_angled_wall_and_corner(subname, recipeitem, groups, images,desc_angled_wall, desc_low_angled_wall, desc_corner, sounds)
|
||||
|
||||
if true then return end
|
||||
|
||||
angledwalls.register_angled_wall(subname, recipeitem, groups, images, desc_angled_wall, sounds)
|
||||
angledwalls.register_low_angled_wall(subname, recipeitem, groups, images, desc_low_angled_wall, sounds)
|
||||
angledwalls.register_corner(subname, recipeitem, groups, images, desc_corner, sounds)
|
||||
|
|
|
@ -6,6 +6,9 @@ slopedwalls = {}
|
|||
-- Node will be called slopedwalls:sloped_wall_<subname>
|
||||
|
||||
function slopedwalls.register_sloped_wall(subname, recipeitem, groups, images, description, sounds)
|
||||
|
||||
if true then return end
|
||||
|
||||
groups.sloped = 1
|
||||
minetest.register_node(":slopedwalls:sloped_wall" .. subname, {
|
||||
description = description,
|
||||
|
|
Loading…
Reference in a new issue