Some changes

master
bas080 2013-04-29 04:46:46 +02:00
parent a689e4e66b
commit d75141f80e
4 changed files with 16 additions and 112 deletions

View File

@ -23,7 +23,8 @@
--noncubic.register_element_cross_double(subname, recipeitem, groups3, images3, description3)
--noncubic.register_element_end_double(subname, recipeitem, groups3, images3, description3)
--noncubic.register_stick(subname, recipeitem2, groups2, images2, description2)
--Stair
--noncubic.register_stair(modname, subname, recipeitem, groups, images, description, drop)
--Group nodes
-------------
--noncubic.register_all(modname, subname, recipeitem, groups, images, description)

View File

@ -3,11 +3,11 @@
--reinvented by bas080
noncubic = {}
detail_level = 8
dofile(minetest.get_modpath("noncubic").."/mill.lua")
--dofile(minetest.get_modpath("noncubic").."/mill.lua")
dofile(minetest.get_modpath("noncubic").."/api.lua")
dofile(minetest.get_modpath("noncubic").."/stairsplus.lua")
dofile(minetest.get_modpath("noncubic").."/register.lua")
--for testing
--dofile(minetest.get_modpath("noncubic").."/demo.lua")
dofile(minetest.get_modpath("noncubic").."/demo.lua")

View File

@ -1,3 +1,15 @@
--Stairs
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "grass", "default:dirt",
{crumbly=3},
{"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
"Grass Stairs",
"Grass Slab",
"Grass Panel",
"Grass Microblock",
"grass")
--Noncubic
noncubic.register_stick("noncubic", "wood","default:wood",
{snappy=2,choppy=2,oddly_breakable_by_hand=2},
{"default_wood.png"},

View File

@ -1528,112 +1528,3 @@ function noncubic.register_stair_and_slab_and_panel_and_micro(modname, subname,
noncubic.register_panel(modname, subname, recipeitem, groups, images, desc_panel, drop)
noncubic.register_micro(modname, subname, recipeitem, groups, images, desc_micro, drop)
end
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "wood", "default:wood",
{snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1},
{"default_wood.png"},
"Wooden Stairs",
"Wooden Slab",
"Wooden Panel",
"Wooden Microblock",
"wood")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "stone", "default:stone",
{cracky=3, not_in_creative_inventory=1},
{"default_stone.png"},
"Stone Stairs",
"Stone Slab",
"Stone Panel",
"Stone Microblock",
"cobble")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "cobble", "default:cobble",
{cracky=3, not_in_creative_inventory=1},
{"default_cobble.png"},
"Cobblestone Stairs",
"Cobblestone Slab",
"Cobblestone Panel",
"Cobblestone Microblock",
"cobble")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "mossycobble", "default:mossycobble",
{cracky=3, not_in_creative_inventory=1},
{"default_mossycobble.png"},
"Mossy Cobblestone Stairs",
"Mossy Cobblestone Slab",
"Mossy Cobblestone Panel",
"Mossy Cobblestone Microblock",
"mossycobble")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "brick", "default:brick",
{cracky=3, not_in_creative_inventory=1},
{"default_brick.png"},
"Brick Stairs",
"Brick Slab",
"Brick Panel",
"Brick Microblock",
"brick")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "sandstone", "default:sandstone",
{crumbly=2,cracky=2, not_in_creative_inventory=1},
{"default_sandstone.png"},
"Sandstone Stairs",
"Sandstone Slab",
"Sandstone Panel",
"Sandstone Microblock",
"sandstone")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "steelblock", "default:steelblock",
{snappy=1,bendy=2,cracky=1,melty=2,level=2, not_in_creative_inventory=1},
{"default_steel_block.png"},
"Steel Block Stairs",
"Steel Block Slab",
"Steel Block Panel",
"Steel Microblock",
"steelblock")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "desert_stone", "default:desert_stone",
{cracky=3, not_in_creative_inventory=1},
{"default_desert_stone.png"},
"Desert Stone Stairs",
"Desert Stone Slab",
"Desert Stone Panel",
"Desert Stone Microblock",
"desert_stone")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "glass", "default:glass",
{snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1},
{"default_glass.png"},
"Glass Stairs",
"Glass Slab",
"Glass Panel",
"Glass Microblock",
"glass")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "tree", "default:tree",
{tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1},
{"default_tree_top.png", "default_tree_top.png", "default_tree.png"},
"Tree Stairs",
"Tree Slab",
"Tree Panel",
"Tree Microblock",
"tree")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "jungletree", "default:jungletree",
{tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2, not_in_creative_inventory=1},
{"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"},
"Jungle Tree Stairs",
"Jungle Tree Slab",
"Jungle Tree Panel",
"Jungle Tree Microblock",
"jungletree")
noncubic.register_stair_and_slab_and_panel_and_micro("noncubic", "junglewood", "default:junglewood",
{snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3, not_in_creative_inventory=1},
{"default_junglewood.png"},
"Jungle Wooden Stairs",
"Jungle Wooden Slab",
"Jungle Wooden Panel",
"Jungle Wooden Microblock",
"junglewood")