added nibbles map

master
DonBatman 2015-10-27 05:36:41 -07:00
parent 3837307e5b
commit 55ef5e6230
7 changed files with 30 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

30
nibbles/init.lua Normal file
View File

@ -0,0 +1,30 @@
minetest.register_node("nibbles:floor",{
description = "Floor",
tiles = {"nibbles_floor.png"},
paramtype = "light",
groups = {cracky = 3, disable_jump = 1, not_in_creative_inventory = 0},
})
minetest.register_node("nibbles:wall",{
description = "Floor",
tiles = {
"nibbles_wall.png",
"nibbles_wall.png",
"nibbles_wall_side.png",
"nibbles_wall_side.png",
"nibbles_wall_side.png",
"nibbles_wall_side.png",
},
paramtype = "light",
groups = {cracky = 3, not_in_creative_inventory = 0},
})
minetest.register_node("nibbles:placer",{
description = "Nibbles",
tiles = {"nibbles_wall_side.png^nibbles_button.png"},
paramtype = "light",
groups = {cracky = 3, not_in_creative_inventory = 0},
on_rightclick = function(pos, node, player, itemstack, pointed_thing)
local schem = minetest.get_modpath("nibbles").."/schems/nibbles.mts"
minetest.place_schematic({x=pos.x,y=pos.y-1,z=pos.z},schem,0, "air", true)
end,
})

BIN
nibbles/schems/nibbles.mts Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B