summaryrefslogtreecommitdiff
path: root/mesecons_walllever/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-05-20 03:00:06 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-05-20 03:00:06 -0400
commit5612f842439daf042ebe65bd04fd66414e6d46bf (patch)
tree1f604030d820df90ce7526deeadcef8751504127 /mesecons_walllever/init.lua
parent3066346d7552d3b7603d0392548b57d6fee8ee99 (diff)
revamp wall lever models
corrected misaligned verticies, removed doubles, made better UV maps that use multiple materials (allows to use multiple small textures)
Diffstat (limited to 'mesecons_walllever/init.lua')
-rw-r--r--mesecons_walllever/init.lua14
1 files changed, 12 insertions, 2 deletions
diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua
index 5b797b1..5ebb6f8 100644
--- a/mesecons_walllever/init.lua
+++ b/mesecons_walllever/init.lua
@@ -24,7 +24,12 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
minetest.sound_play("mesecons_lever", {pos=pos})
end
},{
- tiles = { "jeija_wall_lever_off.png" },
+ tiles = {
+ "jeija_wall_lever_lever_light_off.png",
+ "jeija_wall_lever_front.png",
+ "jeija_wall_lever_front_bump.png",
+ "jeija_wall_lever_back_edges.png"
+ },
mesh="jeija_wall_lever_off.obj",
mesecons = {receptor = {
rules = mesecon.rules.buttonlike_get,
@@ -32,7 +37,12 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
}},
groups = {dig_immediate = 2, mesecon_needs_receiver = 1}
},{
- tiles = { "jeija_wall_lever_on.png" },
+ tiles = {
+ "jeija_wall_lever_lever_light_on.png",
+ "jeija_wall_lever_front.png",
+ "jeija_wall_lever_front_bump.png",
+ "jeija_wall_lever_back_edges.png"
+ },
mesh="jeija_wall_lever_on.obj",
mesecons = {receptor = {
rules = mesecon.rules.buttonlike_get,