Add mesecons assets and effectors.lua file

This commit is contained in:
James Stevenson 2016-01-27 06:44:48 -05:00
parent 514077d8fb
commit 035009a919
5 changed files with 23 additions and 0 deletions

23
mods/kalite/effectors.lua Normal file
View File

@ -0,0 +1,23 @@
-- Portions taken from Mesecons
-- https://github.com/jeija/minetest-mod-mesecons
-- Textures CC BY-SA 3.0
local function get_effector(nodename)
return minetest.registered_nodes[nodename].mesecons.effector
end
minetest.register_node("kalite:pressure_plate_wood", {
drawtype = "nodebox",
inventory_image = "jeija_pressure_plate_wood_inv.png",
wield_image = "jeija_pressure_plate_wood_wield.png",
paramtype = "light",
description = "Wooden Pressure Plate",
node_box = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}},
groups = {snappy = 2, oddly_breakable_by_hand = 3},
tiles = {
"jeija_pressure_plate_wood_off.png",
"jeija_pressure_plate_wood_off.png",
"jeija_pressure_plate_wood_off_edges.png"
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B