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
farming_plus?
plantlib?
bushes_classic?
bushes?
food_basic

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.
local S
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function ( s ) return s 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")
if minetest.setting_get("food_sweet_use_2d")==nil then
minetest.setting_set("food_sweet_use_2d", "1")
if farming and farming.mod == "redo" then
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
food.module("walnut",function()
@ -426,3 +438,4 @@ food.module("muffin_choco", function()
})
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