1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Adding again mesecons

- It's an easier way to update it than to copy the files over the old ones..

Signed-off-by: LeMagnesium <mg.minetest@gmail.com>
This commit is contained in:
LeMagnesium
2014-11-29 20:24:59 +01:00
parent 83acee73fd
commit 736d4e6951
247 changed files with 7633 additions and 0 deletions

View File

@ -0,0 +1 @@
mesecons

View File

@ -0,0 +1,31 @@
-- The POWER_PLANT
-- Just emits power. always.
minetest.register_node("mesecons_powerplant:power_plant", {
drawtype = "plantlike",
visual_scale = 1,
tiles = {"jeija_power_plant.png"},
inventory_image = "jeija_power_plant.png",
paramtype = "light",
walkable = false,
groups = {dig_immediate=3, mesecon = 2},
light_source = LIGHT_MAX-9,
description="Power Plant",
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, -0.5+0.7, 0.3},
},
sounds = default.node_sound_leaves_defaults(),
mesecons = {receptor = {
state = mesecon.state.on
}}
})
minetest.register_craft({
output = "mesecons_powerplant:power_plant 1",
recipe = {
{"group:mesecon_conductor_craftable"},
{"group:mesecon_conductor_craftable"},
{"default:sapling"},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B