2022-02-14 07:49:05 +01:00
|
|
|
|
|
|
|
if minetest.get_modpath("basic_materials") then
|
|
|
|
minetest.override_item("basic_materials:gear_steel", {
|
|
|
|
groups = {shaft_gear = 1},
|
|
|
|
})
|
|
|
|
end
|
2022-02-18 17:42:36 +01:00
|
|
|
|
|
|
|
if minetest.get_modpath("farming") then
|
|
|
|
if minetest.registered_items["farming:hemp_oil"] then
|
|
|
|
minetest.override_item("farming:hemp_oil", {
|
|
|
|
_agrease = 1,
|
|
|
|
_qgrease = 0.5,
|
2022-04-30 21:03:43 +02:00
|
|
|
_grease_empty = "vessels:glass_bottle",
|
2022-04-11 18:20:46 +02:00
|
|
|
_inspect_msg_func = power_generators.grease_inspect_msg,
|
2022-02-18 17:42:36 +01:00
|
|
|
on_use = power_generators.apply_grease,
|
|
|
|
})
|
2022-02-18 20:46:12 +01:00
|
|
|
appliances.add_item_help("farming:hemp_oil", "Can be used as grease.")
|
2022-02-18 17:42:36 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("hades_extrafarming") then
|
|
|
|
minetest.override_item("hades_extrafarming:hemp_oil", {
|
|
|
|
_agrease = 1,
|
|
|
|
_qgrease = 0.5,
|
2022-04-30 21:03:43 +02:00
|
|
|
_grease_empty = "vessels:glass_bottle",
|
|
|
|
_inspect_msg_func = power_generators.grease_inspect_msg,
|
2022-02-18 17:42:36 +01:00
|
|
|
on_use = power_generators.apply_grease,
|
|
|
|
})
|
2022-02-18 20:46:12 +01:00
|
|
|
appliances.add_item_help("hades_extrafarming:hemp_oil", "Can be used as grease.")
|
2022-02-18 17:42:36 +01:00
|
|
|
end
|
2022-02-18 20:46:12 +01:00
|
|
|
|