Add mesecons assets and effectors.lua file
This commit is contained in:
parent
514077d8fb
commit
035009a919
23
mods/kalite/effectors.lua
Normal file
23
mods/kalite/effectors.lua
Normal 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"
|
||||
}
|
||||
})
|
BIN
mods/kalite/textures/jeija_pressure_plate_wood_inv.png
Normal file
BIN
mods/kalite/textures/jeija_pressure_plate_wood_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 716 B |
BIN
mods/kalite/textures/jeija_pressure_plate_wood_off.png
Normal file
BIN
mods/kalite/textures/jeija_pressure_plate_wood_off.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 663 B |
BIN
mods/kalite/textures/jeija_pressure_plate_wood_off_edges.png
Normal file
BIN
mods/kalite/textures/jeija_pressure_plate_wood_off_edges.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 295 B |
BIN
mods/kalite/textures/jeija_pressure_plate_wood_wield.png
Normal file
BIN
mods/kalite/textures/jeija_pressure_plate_wood_wield.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 716 B |
Loading…
x
Reference in New Issue
Block a user