mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 02:10:18 +01:00
Added AND block basic code + textures
This commit is contained in:
parent
11ae41f119
commit
3a1bc021e3
@ -1,5 +1,13 @@
|
||||
--Whiskers75's code
|
||||
--AND block
|
||||
|
||||
-- Make the block:
|
||||
|
||||
minetest.register_node("mesecons_whiskers75:andblock", {
|
||||
tile_images = {"whiskers75andblock.png"},
|
||||
material = minetest.digprop_constanttime(1),
|
||||
})
|
||||
|
||||
local update = function(pos)
|
||||
local node = minetest.env:get_node(pos)
|
||||
if node.name=="mesecons_whiskers75:andblock" then
|
||||
|
BIN
mesecons_whiskers75/textures/Untitled.xcf
Normal file
BIN
mesecons_whiskers75/textures/Untitled.xcf
Normal file
Binary file not shown.
BIN
mesecons_whiskers75/textures/whiskers75andblock.png
Normal file
BIN
mesecons_whiskers75/textures/whiskers75andblock.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 242 B |
Loading…
Reference in New Issue
Block a user