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

initial commit

subgame + mods
This commit is contained in:
Ombridride
2014-10-28 18:01:32 +01:00
parent baab1b3f7c
commit 232b274c55
6451 changed files with 226156 additions and 0 deletions

View File

@ -0,0 +1 @@
mesecons

View File

@ -0,0 +1,32 @@
-- 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",
sunlight_propagates = true,
walkable = false,
groups = {snappy = 3, mesecon = 2},
light_source = LIGHT_MAX-7,
description = "Power Plant",
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, -0.2, 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: 367 B