mirror of
https://github.com/rubenwardy/food_sweet.git
synced 2025-06-28 22:36:21 +02:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
5c9966d9a4 | |||
88b2f0ed55 | |||
1719cf77fa | |||
25cf50389e | |||
8eea730420 | |||
68b6f42f4c | |||
4197db0eac | |||
71574c570c | |||
9af285084e |
@ -1,5 +1 @@
|
|||||||
food
|
food_basic
|
||||||
farming_plus?
|
|
||||||
plantlib?
|
|
||||||
bushes_classic?
|
|
||||||
bushes?
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Expansion pack for the food mod. Adds cakes, buns and tarts.
|
Adds cakes, buns and tarts. Expansion pack for the food mod.
|
||||||
|
24
init.lua
24
init.lua
@ -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", "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()
|
||||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
BIN
textures/food_strawberry.png
Normal file
BIN
textures/food_strawberry.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 B |
Reference in New Issue
Block a user