1
0
mirror of https://github.com/rubenwardy/food_sweet.git synced 2025-06-28 14:26:10 +02:00

9 Commits
v0.3 ... v0.3.0

Author SHA1 Message Date
5c9966d9a4 Add mod.conf and screenshot.png 2018-05-15 20:10:36 +01:00
88b2f0ed55 Use settings:get and settings:set instead of setting_get and setting_set 2018-03-08 09:09:52 +00:00
1719cf77fa Fix intllib boilerplate code 2016-11-25 15:54:17 +00:00
25cf50389e Remove bushes_classic? from depends.txt because it's already in the food_basic package 2016-11-01 23:27:25 +00:00
8eea730420 Add support for blueberry from bushes_classic from plantlife_modpack 2016-11-01 23:27:25 +00:00
68b6f42f4c Moved support of farming redo rhubarb & blueberry from food_basic to here
Moved support of ethereal strawberry from food_basic to here
2016-11-01 23:27:25 +00:00
4197db0eac Fix depends.txt
Fix farming redo support
2016-11-01 23:27:25 +00:00
71574c570c Update support of farming redo
Add support of ethereal
2016-11-01 23:27:25 +00:00
9af285084e Update description.txt 2016-04-27 23:49:52 +01:00
5 changed files with 20 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", "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()

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