2016-04-01 20:02:19 -04:00
|
|
|
-- 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",
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
is_ground_content = false,
|
2016-04-01 20:02:19 -04:00
|
|
|
walkable = false,
|
|
|
|
groups = {dig_immediate=3, mesecon = 2},
|
update castles, cottages, digistuff, gloopblocks, locks,
maptools, mesecons, pipeworks, technic, unified inventory,
unified dyes, and xban2
2018-08-03 09:31:05 -04:00
|
|
|
light_source = minetest.LIGHT_MAX-9,
|
2016-04-01 20:02:19 -04:00
|
|
|
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
|
updated boost cart, homedecor modpack, castles modpack, currency, farming-redo,
maptools, mesecons, moreblocks, moreores, pipeworks, quartz
2017-10-27 15:13:31 -04:00
|
|
|
}},
|
|
|
|
on_blast = mesecon.on_blastnode,
|
2016-04-01 20:02:19 -04:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mesecons_powerplant:power_plant 1",
|
|
|
|
recipe = {
|
|
|
|
{"group:mesecon_conductor_craftable"},
|
|
|
|
{"group:mesecon_conductor_craftable"},
|
|
|
|
{"group:sapling"},
|
|
|
|
}
|
|
|
|
})
|