mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
power monitor changes
New textures, uses facedir, connects from the back as well.
This commit is contained in:
parent
5b473927ca
commit
343c7946d9
@ -15,11 +15,17 @@ minetest.register_craft({
|
|||||||
|
|
||||||
minetest.register_node("technic:power_monitor",{
|
minetest.register_node("technic:power_monitor",{
|
||||||
description = S("Power Monitor"),
|
description = S("Power Monitor"),
|
||||||
tiles = {"technic_water_mill_top_active.png", "technic_water_mill_top_active.png",
|
tiles = {
|
||||||
"technic_water_mill_top_active.png", "technic_water_mill_top_active.png",
|
"technic_power_monitor_sides.png",
|
||||||
"technic_water_mill_top_active.png", "technic_water_mill_top_active.png"},
|
"technic_power_monitor_bottom_back.png",
|
||||||
|
"technic_power_monitor_sides.png",
|
||||||
|
"technic_power_monitor_sides.png",
|
||||||
|
"technic_power_monitor_bottom_back.png",
|
||||||
|
"technic_power_monitor_front.png"
|
||||||
|
},
|
||||||
|
paramtype2 = "facedir",
|
||||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, technic_all_tiers=1, technic_machine=1},
|
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2, technic_all_tiers=1, technic_machine=1},
|
||||||
connect_sides = {"bottom"},
|
connect_sides = {"bottom", "back"},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
BIN
technic/textures/technic_power_monitor_bottom_back.png
Normal file
BIN
technic/textures/technic_power_monitor_bottom_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 506 B |
BIN
technic/textures/technic_power_monitor_front.png
Normal file
BIN
technic/textures/technic_power_monitor_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 428 B |
BIN
technic/textures/technic_power_monitor_sides.png
Normal file
BIN
technic/textures/technic_power_monitor_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 456 B |
Loading…
Reference in New Issue
Block a user