Rezepte bearbeitet, nicht verwendete mods gelöscht, Höhlen schöner gemacht
This commit is contained in:
parent
cf017b2ca1
commit
11f0b9fb09
695 changed files with 3432 additions and 15035 deletions
|
@ -804,7 +804,7 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("ethereal") then
|
||||
if x_farming.ethereal then
|
||||
minetest.register_craft({
|
||||
output = 'x_farming:rope',
|
||||
recipe = {
|
||||
|
@ -815,7 +815,7 @@ if minetest.get_modpath("ethereal") then
|
|||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("farming") and farming.mod == "redo" then
|
||||
if x_farming.farming and farming.mod == "redo" then
|
||||
minetest.register_alias_force("farming:hemp_rope","x_farming:rope")
|
||||
minetest.register_craft({
|
||||
output = 'x_farming:rope',
|
||||
|
@ -954,7 +954,7 @@ minetest.register_craft({
|
|||
recipe = { 'group:food_rice', 'group:food_seaweed', 'group:fish' }
|
||||
})
|
||||
|
||||
if not(minetest.get_modpath("ethereal")) then
|
||||
if not x_farming.ethereal then
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'shapeless',
|
||||
|
|
|
@ -15,6 +15,11 @@
|
|||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to juraj.vajda@gmail.com
|
||||
--]]
|
||||
x_farming = {}
|
||||
x_farming.farming = minetest.get_modpath("farming")
|
||||
x_farming.sandwiches = minetest.get_modpath("sandwiches")
|
||||
x_farming.ethereal = minetest.get_modpath("ethereal")
|
||||
x_farming.mcl_farming = minetest.get_modpath('mcl_farming')
|
||||
|
||||
local mod_start_time = minetest.get_us_time()
|
||||
local path = minetest.get_modpath('x_farming')
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
--]]
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
local mcl_farming = x_farming.mcl_farming
|
||||
|
||||
|
||||
-- Donuts
|
||||
local donut_def = {
|
||||
|
@ -67,7 +69,7 @@ local donut_def = {
|
|||
sunlight_propagates = true
|
||||
}
|
||||
|
||||
if minetest.get_modpath('mcl_farming') then
|
||||
if mcl_farming then
|
||||
donut_def.on_secondary_use = minetest.item_eat(3)
|
||||
end
|
||||
|
||||
|
@ -121,7 +123,7 @@ local donut_chocolate_def = {
|
|||
sunlight_propagates = true
|
||||
}
|
||||
|
||||
if minetest.get_modpath('mcl_farming') then
|
||||
if mcl_farming then
|
||||
donut_chocolate_def.on_secondary_use = minetest.item_eat(4)
|
||||
end
|
||||
|
||||
|
@ -177,7 +179,7 @@ local fries_def = {
|
|||
sunlight_propagates = true
|
||||
}
|
||||
|
||||
if minetest.get_modpath('mcl_farming') then
|
||||
if mcl_farming then
|
||||
fries_def.on_secondary_use = minetest.item_eat(6)
|
||||
end
|
||||
|
||||
|
@ -233,7 +235,7 @@ local pumpkin_pie_def = {
|
|||
sunlight_propagates = true
|
||||
}
|
||||
|
||||
if minetest.get_modpath('mcl_farming') then
|
||||
if mcl_farming then
|
||||
pumpkin_pie_def.on_secondary_use = minetest.item_eat(6)
|
||||
end
|
||||
|
||||
|
@ -289,7 +291,7 @@ local beetroot_soup_def = {
|
|||
_mcl_hardness = 0,
|
||||
}
|
||||
|
||||
if minetest.get_modpath('mcl_farming') then
|
||||
if mcl_farming then
|
||||
beetroot_soup_def.on_secondary_use = minetest.item_eat(6, 'x_farming:bowl')
|
||||
end
|
||||
|
||||
|
@ -343,7 +345,7 @@ local fish_stew_def = {
|
|||
sunlight_propagates = true
|
||||
}
|
||||
|
||||
if minetest.get_modpath('mcl_farming') then
|
||||
if mcl_farming then
|
||||
fish_stew_def.on_secondary_use = minetest.item_eat(8, 'x_farming:bowl')
|
||||
end
|
||||
|
||||
|
@ -1419,7 +1421,7 @@ x_farming.register_pie('honey_kiwi_pie', {
|
|||
--
|
||||
-- Convert farming soils - copy from MTG
|
||||
--
|
||||
if not minetest.get_modpath('farming') then
|
||||
if not x_farming.farming then
|
||||
minetest.register_abm({
|
||||
label = 'X Farming soil',
|
||||
nodenames = { 'group:field' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue