mirror of
https://github.com/rubenwardy/food_sweet.git
synced 2025-06-28 22:36:21 +02:00
Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
e64d2c9f65 | |||
35e1f1e1f3 | |||
55be412c84 | |||
5b6b552232 | |||
b611935ae2 | |||
5b184eae72 | |||
5c9966d9a4 | |||
88b2f0ed55 | |||
1719cf77fa | |||
25cf50389e | |||
8eea730420 | |||
68b6f42f4c | |||
4197db0eac | |||
71574c570c | |||
9af285084e |
@ -1,5 +0,0 @@
|
|||||||
food
|
|
||||||
farming_plus?
|
|
||||||
plantlib?
|
|
||||||
bushes_classic?
|
|
||||||
bushes?
|
|
@ -1 +0,0 @@
|
|||||||
Expansion pack for the food mod. Adds cakes, buns and tarts.
|
|
30
init.lua
30
init.lua
@ -13,20 +13,27 @@ if not food or not food.version or food.version < 2.3 then
|
|||||||
error("You need to update your version of the Food mod - it is too old")
|
error("You need to update your version of the Food mod - it is too old")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
-- Boilerplate to support localized strings.
|
||||||
local S
|
local S = minetest.get_translator("food_sweet")
|
||||||
if (minetest.get_modpath("intllib")) then
|
|
||||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
food.support("strawberry", {
|
||||||
S = intllib.Getter(minetest.get_current_modname())
|
"farming_plus:strawberry_item",
|
||||||
else
|
"plantlib:strawberry",
|
||||||
S = function ( s ) return s end
|
"bushes:strawberry",
|
||||||
end
|
"ethereal:strawberry"
|
||||||
|
})
|
||||||
|
|
||||||
|
food.support("blueberry", {"default:blueberries", "bushes:blueberry"})
|
||||||
|
|
||||||
food.support("strawberry", {"farming_plus:strawberry_item", "plantlib:strawberry", "bushes:strawberry"})
|
|
||||||
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 +433,4 @@ food.module("muffin_choco", function()
|
|||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
minetest.log("action", "[food_sweet] loaded.")
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Strawberry = Erdbeere
|
|
37
locale/food_sweet.de.tr
Normal file
37
locale/food_sweet.de.tr
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# textdomain: food_sweet
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
Walnut=
|
||||||
|
Strawberry=Strawberry
|
||||||
|
Blueberry=
|
||||||
|
Rhubarb=
|
||||||
|
Lemon=
|
||||||
|
|
||||||
|
# Cakes
|
||||||
|
Walnut and Coffee Cake=
|
||||||
|
Walnut and Coffee Cake Mix=
|
||||||
|
Strawberry Cheese Cake=
|
||||||
|
Strawberry Cheese Cake Mix=
|
||||||
|
Blueberry Cheese Cake=
|
||||||
|
Blueberry Cheese Cake Mix=
|
||||||
|
Triple Chocolate Cake=
|
||||||
|
Triple Chocolate Cake Mix=
|
||||||
|
Wedding Cake=
|
||||||
|
|
||||||
|
# Crumbles
|
||||||
|
Rhubarb Crumble=
|
||||||
|
Raw Rhubarb Crumble=
|
||||||
|
|
||||||
|
# Cupcake and derivs
|
||||||
|
Cupcake=
|
||||||
|
Cupcake Mix=
|
||||||
|
Chocolate Cupcake=
|
||||||
|
Chocolate Cupcake Mix=
|
||||||
|
Lemon Drizzle Cupcake=
|
||||||
|
Fairy Cake=
|
||||||
|
|
||||||
|
# Muffins
|
||||||
|
Blueberry Muffin=
|
||||||
|
Blueberry Muffin Mix=
|
||||||
|
Chocolate Chip Muffin=
|
||||||
|
Chocolate Chip Muffin Mix=
|
41
locale/food_sweet.fr.tr
Normal file
41
locale/food_sweet.fr.tr
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
# textdomain: food_sweet
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
|
||||||
|
Walnut=Noix
|
||||||
|
Strawberry=Fraise
|
||||||
|
Blueberry=Myrtille
|
||||||
|
Rhubarb=Rhubarbe
|
||||||
|
Lemon=Citron
|
||||||
|
|
||||||
|
# Cakes
|
||||||
|
Walnut and Coffee Cake=Gâteau aux noix et au café
|
||||||
|
Walnut and Coffee Cake Mix=Mélange à gâteau aux noix et au café
|
||||||
|
Strawberry Cheese Cake=Gâteau au fromage et aux fraises
|
||||||
|
Strawberry Cheese Cake Mix=Mélange à gâteau au fromage et aux fraises
|
||||||
|
Blueberry Cheese Cake=Gateau au fromage et aux myrtilles
|
||||||
|
Blueberry Cheese Cake Mix=Mélange à gâteau au fromage et aux myrtilles
|
||||||
|
Triple Chocolate Cake=Gâteau aux trois chocolats
|
||||||
|
Triple Chocolate Cake Mix=Mélange à gâteau triple chocolat
|
||||||
|
Wedding Cake=Gâteau de mariage
|
||||||
|
|
||||||
|
# Crumbles
|
||||||
|
Rhubarb Crumble=Crumble à la rhubarbe
|
||||||
|
Raw Rhubarb Crumble=Crumble à la rhubarbe crue
|
||||||
|
|
||||||
|
|
||||||
|
# Cupcake and derivs
|
||||||
|
Cupcake=Cupcake
|
||||||
|
Cupcake Mix=Mélange à cupcakes
|
||||||
|
Chocolate Cupcake=Cupcake au chocolat
|
||||||
|
Chocolate Cupcake Mix=Mélange à cupcakes au chocolat
|
||||||
|
Lemon Drizzle Cupcake=Cupcake au citron
|
||||||
|
Fairy Cake=Gateau féerique
|
||||||
|
|
||||||
|
|
||||||
|
# Muffins
|
||||||
|
Blueberry Muffin=Muffin aux myrtilles
|
||||||
|
Blueberry Muffin Mix=Mélange pour muffins aux myrtilles
|
||||||
|
Chocolate Chip Muffin=Muffin aux pépites de chocolat
|
||||||
|
Chocolate Chip Muffin Mix=Mélange pour muffins aux pépites de chocolat
|
@ -1,37 +1,37 @@
|
|||||||
# template
|
# textdomain: food_sweet
|
||||||
# Supported
|
|
||||||
Walnut =
|
### init.lua ###
|
||||||
Strawberry =
|
Walnut=
|
||||||
Blueberry =
|
Strawberry=
|
||||||
Rhubarb =
|
Blueberry=
|
||||||
Lemon =
|
Rhubarb=
|
||||||
|
Lemon=
|
||||||
|
|
||||||
# Cakes
|
# Cakes
|
||||||
Walnut and Coffee Cake =
|
Walnut and Coffee Cake=
|
||||||
Walnut and Coffee Cake Mix =
|
Walnut and Coffee Cake Mix=
|
||||||
Strawberry Cheese Cake =
|
Strawberry Cheese Cake=
|
||||||
Strawberry Cheese Cake Mix =
|
Strawberry Cheese Cake Mix=
|
||||||
Blueberry Cheese Cake =
|
Blueberry Cheese Cake=
|
||||||
Blueberry Cheese Cake Mix =
|
Blueberry Cheese Cake Mix=
|
||||||
Triple Chocolate Cake =
|
Triple Chocolate Cake=
|
||||||
Triple Chocolate Cake Mix =
|
Triple Chocolate Cake Mix=
|
||||||
Wedding Cake =
|
Wedding Cake=
|
||||||
|
|
||||||
# Crumbles
|
# Crumbles
|
||||||
Rhubarb Crumble =
|
Rhubarb Crumble=
|
||||||
Raw Rhubarb Crumble =
|
Raw Rhubarb Crumble=
|
||||||
|
|
||||||
# Cupcake and derivs
|
# Cupcake and derivs
|
||||||
Cupcake =
|
Cupcake=
|
||||||
Cupcake Mix =
|
Cupcake Mix=
|
||||||
Chocolate Cupcake =
|
Chocolate Cupcake=
|
||||||
Chocolate Cupcake Mix =
|
Chocolate Cupcake Mix=
|
||||||
Lemon Drizzle Cupcake =
|
Lemon Drizzle Cupcake=
|
||||||
Fairy Cake =
|
Fairy Cake=
|
||||||
|
|
||||||
# Muffins
|
# Muffins
|
||||||
Chocolate Chip Muffin =
|
Blueberry Muffin=
|
||||||
Chocolate Chip Muffin Mix =
|
Blueberry Muffin Mix=
|
||||||
Blueberry Muffin =
|
Chocolate Chip Muffin=
|
||||||
Blueberry Muffin Mix =
|
Chocolate Chip Muffin Mix=
|
||||||
|
|
||||||
|
4
mod.conf
Normal file
4
mod.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name = food_sweet
|
||||||
|
title = Food Sweet
|
||||||
|
description = Adds cakes, buns and tarts. Expansion pack for the food mod.
|
||||||
|
depends = food_basic
|
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