New texturing setup, Fix paramtype2 assignment for future versions
@ -5,8 +5,9 @@ minetest.register_node("elepower_machines:accumulator", {
|
|||||||
description = "Water Accumulator",
|
description = "Water Accumulator",
|
||||||
groups = {fluid_container = 1, oddly_breakable_by_hand = 1, cracky = 1},
|
groups = {fluid_container = 1, oddly_breakable_by_hand = 1, cracky = 1},
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_accumulator.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_side.png^elepower_machine_accumulator.png",
|
||||||
"elepower_machine_accumulator.png", "elepower_machine_accumulator.png", "elepower_machine_accumulator.png",
|
"elepower_machine_side.png^elepower_machine_accumulator.png", "elepower_machine_side.png^elepower_machine_accumulator.png",
|
||||||
|
"elepower_machine_side.png^elepower_machine_accumulator.png",
|
||||||
},
|
},
|
||||||
fluid_buffers = {
|
fluid_buffers = {
|
||||||
water = {
|
water = {
|
||||||
@ -24,8 +25,9 @@ minetest.register_node("elepower_machines:accumulator_heavy", {
|
|||||||
description = "Water Accumulator (Heavy Water)",
|
description = "Water Accumulator (Heavy Water)",
|
||||||
groups = {fluid_container = 1, oddly_breakable_by_hand = 1, cracky = 1, not_in_creative_inventory = 1},
|
groups = {fluid_container = 1, oddly_breakable_by_hand = 1, cracky = 1, not_in_creative_inventory = 1},
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_accumulator.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_side.png^elepower_machine_accumulator.png",
|
||||||
"elepower_machine_accumulator.png", "elepower_machine_accumulator.png", "elepower_machine_accumulator.png",
|
"elepower_machine_side.png^elepower_machine_accumulator.png", "elepower_machine_side.png^elepower_machine_accumulator.png",
|
||||||
|
"elepower_machine_side.png^elepower_machine_accumulator.png",
|
||||||
},
|
},
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 2,
|
max_items = 2,
|
||||||
|
@ -11,12 +11,12 @@ elepm.register_crafter("elepower_machines:alloy_furnace", {
|
|||||||
ele_active_node = true,
|
ele_active_node = true,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_alloy_furnace.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_alloy_furnace.png",
|
||||||
},
|
},
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_alloy_furnace_active.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_alloy_furnace_active.png",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
|
@ -159,7 +159,7 @@ ele.register_base_device("elepower_machines:bucketer", {
|
|||||||
end,
|
end,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_bucketer.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_bucketer.png",
|
||||||
},
|
},
|
||||||
on_receive_fields = get_fields,
|
on_receive_fields = get_fields,
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
elepm.register_craft_type("can", {
|
elepm.register_craft_type("can", {
|
||||||
description = "Canning",
|
description = "Canning",
|
||||||
icon = "elepower_canning_machine.png",
|
icon = "elepower_machine_side.png^elepower_canning_machine.png",
|
||||||
inputs = 2,
|
inputs = 2,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ elepm.register_crafter("elepower_machines:canning_machine", {
|
|||||||
craft_type = "can",
|
craft_type = "can",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_canning_machine.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_canning_machine.png",
|
||||||
},
|
},
|
||||||
groups = {ele_user = 1, oddly_breakable_by_hand = 1},
|
groups = {ele_user = 1, oddly_breakable_by_hand = 1},
|
||||||
})
|
})
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
elepm.register_craft_type("compress", {
|
elepm.register_craft_type("compress", {
|
||||||
description = "Compressing",
|
description = "Compressing",
|
||||||
icon = "elepower_compressor.png",
|
icon = "elepower_machine_side.png^elepower_compressor.png",
|
||||||
inputs = 1,
|
inputs = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -11,7 +11,8 @@ elepm.register_crafter("elepower_machines:compressor", {
|
|||||||
ele_usage = 32,
|
ele_usage = 32,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png^elepower_power_port.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png^elepower_power_port.png",
|
||||||
"elepower_compressor.png", "elepower_compressor.png", "elepower_compressor.png", "elepower_compressor.png",
|
"elepower_machine_side.png^elepower_compressor.png", "elepower_machine_side.png^elepower_compressor.png",
|
||||||
|
"elepower_machine_side.png^elepower_compressor.png", "elepower_machine_side.png^elepower_compressor.png",
|
||||||
},
|
},
|
||||||
ele_no_automatic_ports = true,
|
ele_no_automatic_ports = true,
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
|
@ -161,7 +161,7 @@ ele.register_machine("elepower_machines:electrolyzer", {
|
|||||||
description = "Electrolyzer",
|
description = "Electrolyzer",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_electrolyzer.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_electrolyzer.png",
|
||||||
},
|
},
|
||||||
groups = {fluid_container = 1, cracky = 1, ele_user = 1},
|
groups = {fluid_container = 1, cracky = 1, ele_user = 1},
|
||||||
on_timer = electrolyzer_timer,
|
on_timer = electrolyzer_timer,
|
||||||
|
@ -101,7 +101,7 @@ local function on_timer(pos, elapsed)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local animated = {
|
local animated = {
|
||||||
name = "elepower_machine_vaporidenser_animated.png",
|
name = "elepower_machine_base.png^elepower_machine_vaporidenser_animated.png",
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
aspect_w = 16,
|
aspect_w = 16,
|
||||||
@ -132,7 +132,7 @@ ele.register_machine("elepower_machines:evaporator", {
|
|||||||
end,
|
end,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png^elepower_power_port.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png^elepower_power_port.png",
|
||||||
"elepower_machine_vaporidenser.png",
|
"elepower_machine_side.png^elepower_machine_vaporidenser.png",
|
||||||
},
|
},
|
||||||
ele_active_node = true,
|
ele_active_node = true,
|
||||||
ele_no_automatic_ports = true,
|
ele_no_automatic_ports = true,
|
||||||
|
@ -4,13 +4,13 @@ ele.register_fluid_generator("elepower_machines:fuel_burner", {
|
|||||||
ele_usage = 8,
|
ele_usage = 8,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_fuel_generator.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_fuel_generator.png",
|
||||||
},
|
},
|
||||||
ele_active_node = true,
|
ele_active_node = true,
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_fuel_generator_active.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_fuel_generator_active.png",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fluid_buffers = {
|
fluid_buffers = {
|
||||||
|
@ -10,12 +10,12 @@ elepm.register_crafter("elepower_machines:furnace", {
|
|||||||
ele_usage = 32,
|
ele_usage = 32,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_furnace.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_furnace.png",
|
||||||
},
|
},
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_furnace_active.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_furnace_active.png",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
|
@ -10,12 +10,12 @@ elepm.register_fuel_generator("elepower_machines:generator", {
|
|||||||
ele_usage = 16,
|
ele_usage = 16,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_generator.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_generator.png",
|
||||||
},
|
},
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_generator_active.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_generator_active.png",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
|
@ -140,7 +140,7 @@ ele.register_machine("elepower_machines:lava_cooler", {
|
|||||||
},
|
},
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_lava_cooler.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_lava_cooler.png",
|
||||||
},
|
},
|
||||||
on_construct = function (pos)
|
on_construct = function (pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
@ -4,13 +4,13 @@ ele.register_fluid_generator("elepower_machines:lava_generator", {
|
|||||||
ele_usage = 64,
|
ele_usage = 64,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_lava_generator.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_lava_generator.png",
|
||||||
},
|
},
|
||||||
ele_active_node = true,
|
ele_active_node = true,
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_lava_generator_active.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_lava_generator_active.png",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fluid_buffers = {
|
fluid_buffers = {
|
||||||
|
@ -12,12 +12,12 @@ elepm.register_crafter("elepower_machines:pulverizer", {
|
|||||||
ele_usage = 32,
|
ele_usage = 32,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_grinder.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_grinder.png",
|
||||||
},
|
},
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_grinder_active.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_grinder_active.png",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
|
@ -211,8 +211,10 @@ end
|
|||||||
ele.register_machine("elepower_machines:pump", {
|
ele.register_machine("elepower_machines:pump", {
|
||||||
description = "Pump",
|
description = "Pump",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_pump_base.png", "elepower_pump_side.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png^elepower_pump_base.png",
|
||||||
"elepower_pump_side.png", "elepower_pump_side.png", "elepower_pump_side.png",
|
"elepower_machine_side.png^elepower_pump_side.png",
|
||||||
|
"elepower_machine_side.png^elepower_pump_side.png", "elepower_machine_side.png^elepower_pump_side.png",
|
||||||
|
"elepower_machine_side.png^elepower_pump_side.png",
|
||||||
},
|
},
|
||||||
groups = {
|
groups = {
|
||||||
ele_machine = 1,
|
ele_machine = 1,
|
||||||
|
@ -3,7 +3,7 @@ elepm.register_craft_type("saw", {
|
|||||||
description = "Sawmilling",
|
description = "Sawmilling",
|
||||||
inputs = 1,
|
inputs = 1,
|
||||||
gui_name = "elepower_saw",
|
gui_name = "elepower_saw",
|
||||||
icon = "elepower_sawmill.png",
|
icon = "elepower_machine_side.png^elepower_sawmill.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
elepm.register_crafter("elepower_machines:sawmill", {
|
elepm.register_crafter("elepower_machines:sawmill", {
|
||||||
@ -12,7 +12,7 @@ elepm.register_crafter("elepower_machines:sawmill", {
|
|||||||
ele_usage = 32,
|
ele_usage = 32,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_sawmill.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_sawmill.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
elepm.register_craft_type("solder", {
|
elepm.register_craft_type("solder", {
|
||||||
description = "Soldering",
|
description = "Soldering",
|
||||||
inputs = 3,
|
inputs = 3,
|
||||||
icon = "elepower_solderer.png",
|
icon = "elepower_machine_side.png^elepower_solderer.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
elepm.register_crafter("elepower_machines:solderer", {
|
elepm.register_crafter("elepower_machines:solderer", {
|
||||||
@ -10,7 +10,7 @@ elepm.register_crafter("elepower_machines:solderer", {
|
|||||||
craft_type = "solder",
|
craft_type = "solder",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_solderer.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_solderer.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1, cracky = 2},
|
groups = {oddly_breakable_by_hand = 1, cracky = 2},
|
||||||
ele_usage = 128,
|
ele_usage = 128,
|
||||||
|
@ -18,13 +18,13 @@ ele.register_fluid_generator("elepower_machines:steam_turbine", {
|
|||||||
ele_output = 128,
|
ele_output = 128,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_turbine_side.png", "elepower_turbine_side.png",
|
"elepower_machine_side.png", "elepower_machine_side.png^elepower_turbine_side.png", "elepower_machine_side.png^elepower_turbine_side.png",
|
||||||
},
|
},
|
||||||
ele_active_node = true,
|
ele_active_node = true,
|
||||||
ele_active_nodedef = {
|
ele_active_nodedef = {
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_turbine_side.png", "elepower_turbine_side.png",
|
"elepower_machine_side.png", "elepower_machine_side.png^elepower_turbine_side.png", "elepower_machine_side.png^elepower_turbine_side.png",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fluid_buffers = {
|
fluid_buffers = {
|
||||||
|
@ -10,7 +10,7 @@ elepm.register_storage("elepower_machines:power_cell", {
|
|||||||
ele_output = 128,
|
ele_output = 128,
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_power_cell.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_power_cell.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
@ -26,7 +26,7 @@ elepm.register_storage("elepower_machines:hardened_power_cell", {
|
|||||||
"elepower_machine_side.png^elepower_overlay_hardened.png",
|
"elepower_machine_side.png^elepower_overlay_hardened.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_hardened.png",
|
"elepower_machine_side.png^elepower_overlay_hardened.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_hardened.png",
|
"elepower_machine_side.png^elepower_overlay_hardened.png",
|
||||||
"elepower_power_cell.png^elepower_overlay_hardened.png",
|
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_hardened.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
@ -42,7 +42,7 @@ elepm.register_storage("elepower_machines:reinforced_power_cell", {
|
|||||||
"elepower_machine_side.png^elepower_overlay_reinforced.png",
|
"elepower_machine_side.png^elepower_overlay_reinforced.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_reinforced.png",
|
"elepower_machine_side.png^elepower_overlay_reinforced.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_reinforced.png",
|
"elepower_machine_side.png^elepower_overlay_reinforced.png",
|
||||||
"elepower_power_cell.png^elepower_overlay_reinforced.png",
|
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_reinforced.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
@ -58,7 +58,7 @@ elepm.register_storage("elepower_machines:resonant_power_cell", {
|
|||||||
"elepower_machine_side.png^elepower_overlay_resonant.png",
|
"elepower_machine_side.png^elepower_overlay_resonant.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_resonant.png",
|
"elepower_machine_side.png^elepower_overlay_resonant.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_resonant.png",
|
"elepower_machine_side.png^elepower_overlay_resonant.png",
|
||||||
"elepower_power_cell.png^elepower_overlay_resonant.png",
|
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_resonant.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
@ -74,7 +74,7 @@ elepm.register_storage("elepower_machines:super_power_cell", {
|
|||||||
"elepower_machine_side.png^elepower_overlay_super.png",
|
"elepower_machine_side.png^elepower_overlay_super.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_super.png",
|
"elepower_machine_side.png^elepower_overlay_super.png",
|
||||||
"elepower_machine_side.png^elepower_overlay_super.png",
|
"elepower_machine_side.png^elepower_overlay_super.png",
|
||||||
"elepower_power_cell.png^elepower_overlay_super.png",
|
"elepower_machine_side.png^elepower_power_cell.png^elepower_overlay_super.png",
|
||||||
},
|
},
|
||||||
groups = {oddly_breakable_by_hand = 1}
|
groups = {oddly_breakable_by_hand = 1}
|
||||||
})
|
})
|
||||||
|
@ -121,7 +121,7 @@ ele.register_wind_generator("elepower_machines:wind_turbine", {
|
|||||||
description = "Wind Turbine\nRequires Wind Turbine Blades",
|
description = "Wind Turbine\nRequires Wind Turbine Blades",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_wind_turbine_face.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_wind_turbine_face.png",
|
||||||
},
|
},
|
||||||
ele_upgrades = {
|
ele_upgrades = {
|
||||||
capacitor = {"capacity"},
|
capacitor = {"capacity"},
|
||||||
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 485 B |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 634 B |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 455 B |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 576 B |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 485 B |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 418 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 363 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 487 B |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 418 B |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 639 B |
@ -265,8 +265,10 @@ minetest.register_node("elepower_mining:miner_core", {
|
|||||||
minetest.register_node("elepower_mining:miner_drill", {
|
minetest.register_node("elepower_mining:miner_drill", {
|
||||||
description = "Miner Drill\nMachine Component",
|
description = "Miner Drill\nMachine Component",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png^elepower_power_port.png", "elepower_mining_apparatus_base.png", "elepower_mining_apparatus_side.png",
|
"elepower_machine_top.png^elepower_power_port.png", "elepower_mining_apparatus_base.png",
|
||||||
"elepower_mining_apparatus_side.png", "elepower_mining_apparatus_side.png", "elepower_mining_apparatus_side.png",
|
"elepower_machine_side.png^elepower_mining_apparatus_side.png",
|
||||||
|
"elepower_machine_side.png^elepower_mining_apparatus_side.png",
|
||||||
|
"elepower_machine_side.png^elepower_mining_apparatus_side.png", "elepower_machine_side.png^elepower_mining_apparatus_side.png",
|
||||||
},
|
},
|
||||||
groups = {fluid_container = 1, oddly_breakable_by_hand = 1, cracky = 1},
|
groups = {fluid_container = 1, oddly_breakable_by_hand = 1, cracky = 1},
|
||||||
after_dig_node = recalc_on_break,
|
after_dig_node = recalc_on_break,
|
||||||
|
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 448 B |
@ -474,6 +474,8 @@ function ele.register_machine(nodename, nodedef)
|
|||||||
|
|
||||||
if nodedef.paramtype2 ~= 0 or not nodedef.paramtype2 then
|
if nodedef.paramtype2 ~= 0 or not nodedef.paramtype2 then
|
||||||
nodedef.paramtype2 = "facedir"
|
nodedef.paramtype2 = "facedir"
|
||||||
|
else
|
||||||
|
nodedef.paramtype2 = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Ensure machine group is used properly
|
-- Ensure machine group is used properly
|
||||||
|
@ -116,7 +116,7 @@ ele.register_machine("elepower_tools:ed_reconstructor", {
|
|||||||
description = "Energy Density Reconstructor\nRepairs tools using energy",
|
description = "Energy Density Reconstructor\nRepairs tools using energy",
|
||||||
tiles = {
|
tiles = {
|
||||||
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
"elepower_machine_top.png", "elepower_machine_base.png", "elepower_machine_side.png",
|
||||||
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_ed_reconstructor.png",
|
"elepower_machine_side.png", "elepower_machine_side.png", "elepower_machine_side.png^elepower_machine_ed_reconstructor.png",
|
||||||
},
|
},
|
||||||
groups = {cracky = 1, ele_user = 1},
|
groups = {cracky = 1, ele_user = 1},
|
||||||
on_timer = ed_timer,
|
on_timer = ed_timer,
|
||||||
|
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 525 B |