Motor component, hand drill
This commit is contained in:
parent
54be1f66a0
commit
8c2db4ce2b
@ -193,7 +193,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:chip 3",
|
||||
output = "elepower_dynamics:chip 6",
|
||||
recipe = {
|
||||
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
|
||||
{"default:mese_crystal", "dye:black", "default:mese_crystal"},
|
||||
@ -202,7 +202,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:capacitor 3",
|
||||
output = "elepower_dynamics:capacitor 6",
|
||||
recipe = {
|
||||
{"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
|
||||
{"moreores:silver_ingot", "default:mese_crystal", "moreores:silver_ingot"},
|
||||
@ -244,6 +244,15 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_dynamics:motor 3",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "elepower_dynamics:wound_copper_coil", "default:steel_ingot"},
|
||||
{"elepower_dynamics:copper_wire", "elepower_dynamics:wound_copper_coil", "elepower_dynamics:copper_wire"},
|
||||
{"default:steel_ingot", "elepower_dynamics:capacitor", "default:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
--------------
|
||||
-- Smelting --
|
||||
--------------
|
||||
|
@ -214,6 +214,12 @@ minetest.register_craftitem("elepower_dynamics:capacitor", {
|
||||
|
||||
-- Assembled Components
|
||||
|
||||
minetest.register_craftitem("elepower_dynamics:motor", {
|
||||
description = "Motor",
|
||||
inventory_image = "elepower_motor.png",
|
||||
groups = {motor = 1, component = 1}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("elepower_dynamics:servo_valve", {
|
||||
description = "Servo Valve",
|
||||
inventory_image = "elepower_servo_valve.png",
|
||||
|
BIN
elepower_dynamics/textures/elepower_motor.png
Normal file
BIN
elepower_dynamics/textures/elepower_motor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 443 B |
@ -19,7 +19,7 @@ minetest.register_craft({
|
||||
recipe = {
|
||||
{"elepower_dynamics:viridisium_ingot", "elepower_dynamics:control_circuit", "elepower_dynamics:viridisium_ingot"},
|
||||
{"farming:hoe_steel", "elepower_farming:device_frame", "farming:hoe_steel"},
|
||||
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:diamond_gear", "elepower_dynamics:wound_copper_coil"},
|
||||
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:motor", "elepower_dynamics:wound_copper_coil"},
|
||||
}
|
||||
})
|
||||
|
||||
@ -29,7 +29,7 @@ minetest.register_craft({
|
||||
recipe = {
|
||||
{"elepower_dynamics:viridisium_ingot", "elepower_dynamics:control_circuit", "elepower_dynamics:viridisium_ingot"},
|
||||
{"default:axe_steel", "elepower_farming:device_frame", "farming:hoe_steel"},
|
||||
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:diamond_gear", "elepower_dynamics:wound_copper_coil"},
|
||||
{"elepower_dynamics:motor", "elepower_dynamics:diamond_gear", "elepower_dynamics:motor"},
|
||||
}
|
||||
})
|
||||
|
||||
@ -37,7 +37,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = "elepower_farming:tree_extractor",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "bucket:bucket_empty", "default:steel_ingot"},
|
||||
{"elepower_dynamics:motor", "bucket:bucket_empty", "elepower_dynamics:motor"},
|
||||
{"elepower_dynamics:tree_tap", "elepower_farming:device_frame", "elepower_dynamics:tree_tap"},
|
||||
{"elepower_dynamics:copper_gear", "elepower_dynamics:servo_valve", "elepower_dynamics:copper_gear"},
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ minetest.register_craft({
|
||||
recipe = {
|
||||
{"elepower_dynamics:viridisium_ingot", "default:steel_ingot", "elepower_dynamics:viridisium_ingot"},
|
||||
{"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
|
||||
{"elepower_dynamics:viridisium_ingot", "elepower_dynamics:tin_gear", "elepower_dynamics:viridisium_ingot"},
|
||||
{"elepower_dynamics:viridisium_ingot", "elepower_dynamics:motor", "elepower_dynamics:viridisium_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
|
17
elepower_tools/crafting.lua
Normal file
17
elepower_tools/crafting.lua
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_tools:drill_bit",
|
||||
recipe = {
|
||||
{"", "default:steel_ingot", ""},
|
||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "elepower_tools:hand_drill",
|
||||
recipe = {
|
||||
{"", "elepower_dynamics:wound_copper_coil", "elepower_tools:drill_bit"},
|
||||
{"default:steel_ingot", "elepower_dynamics:wound_copper_coil", "default:steel_ingot"},
|
||||
{"elepower_dynamics:motor", "elepower_dynamics:capacitor", ""},
|
||||
}
|
||||
})
|
5
elepower_tools/craftitems.lua
Normal file
5
elepower_tools/craftitems.lua
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
minetest.register_craftitem("elepower_tools:drill_bit", {
|
||||
description = "Drill Bit",
|
||||
inventory_image = "eletools_drill_bit.png",
|
||||
})
|
@ -6,15 +6,6 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||
eletool = rawget(_G, "eletool") or {}
|
||||
eletool.modpath = modpath
|
||||
|
||||
ele.register_tool("elepower_tools:test_tool", {
|
||||
description = "Powertool",
|
||||
inventory_image = "elepower_tool_ironpick.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
groupcaps={
|
||||
cracky = {times={[1]=3.90, [2]=1.50, [3]=0.60}, maxlevel=2},
|
||||
},
|
||||
damage_groups = {fleshy=4},
|
||||
},
|
||||
})
|
||||
dofile(modpath .. "/tools.lua")
|
||||
dofile(modpath .. "/craftitems.lua")
|
||||
dofile(modpath .. "/crafting.lua")
|
||||
|
BIN
elepower_tools/textures/eletools_drill_bit.png
Normal file
BIN
elepower_tools/textures/eletools_drill_bit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 796 B |
BIN
elepower_tools/textures/eletools_hand_drill.png
Normal file
BIN
elepower_tools/textures/eletools_hand_drill.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
15
elepower_tools/tools.lua
Normal file
15
elepower_tools/tools.lua
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
ele.register_tool("elepower_tools:hand_drill", {
|
||||
description = "Hand Drill",
|
||||
inventory_image = "eletools_hand_drill.png",
|
||||
wield_image = "eletools_hand_drill.png^[transformFX",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.2,
|
||||
max_drop_level = 1,
|
||||
groupcaps={
|
||||
cracky = {times={[1]=5, [2]=2, [3]=1}, maxlevel=4},
|
||||
},
|
||||
damage_groups = {fleshy=4},
|
||||
},
|
||||
ele_capacity = 8000
|
||||
})
|
Loading…
Reference in New Issue
Block a user