1
0
mirror of https://github.com/rubenwardy/food_sweet.git synced 2025-06-28 22:36:21 +02:00

11 Commits

5 changed files with 21 additions and 12 deletions

View File

@ -1,5 +1 @@
food food_basic
farming_plus?
plantlib?
bushes_classic?
bushes?

View File

@ -1 +1 @@
Expansion pack for the food mod. Adds cakes, buns and tarts. Adds cakes, buns and tarts. Expansion pack for the food mod.

View File

@ -15,18 +15,30 @@ end
-- Boilerplate to support localized strings if intllib mod is installed. -- Boilerplate to support localized strings if intllib mod is installed.
local S local S
if (minetest.get_modpath("intllib")) then if minetest.get_modpath("intllib") then
dofile(minetest.get_modpath("intllib").."/intllib.lua") S = intllib.Getter()
S = intllib.Getter(minetest.get_current_modname())
else else
S = function ( s ) return s end S = function ( s ) return s end
end end
food.support("strawberry", {"farming_plus:strawberry_item", "plantlib:strawberry", "bushes:strawberry"}) food.support("strawberry", {
"farming_plus:strawberry_item",
"plantlib:strawberry",
"bushes:strawberry",
"ethereal:strawberry"
})
food.support("blueberry", {"default:blueberries", "bushes:blueberry"})
food.support("rhubarb", "farming_plus:rhubarb_item") food.support("rhubarb", "farming_plus:rhubarb_item")
if minetest.setting_get("food_sweet_use_2d")==nil then if farming and farming.mod == "redo" then
minetest.setting_set("food_sweet_use_2d", "1") food.support("rhubarb", "farming:rhubarb")
food.support("blueberry", "farming:blueberries")
end
if minetest.settings:get("food_sweet_use_2d")==nil then
minetest.settings:set("food_sweet_use_2d", "1")
end end
food.module("walnut",function() food.module("walnut",function()
@ -426,3 +438,4 @@ food.module("muffin_choco", function()
}) })
end) end)
minetest.log("action", "[food_seet] loaded.")

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B