Version MFF.
12
bushes_classic/cooking.lua
Normal file → Executable file
@ -12,6 +12,17 @@ minetest.register_craft({
|
||||
|
||||
-- Sugar
|
||||
|
||||
-- Use the sugar from farming redo if available
|
||||
if minetest.get_modpath("farming") and farming.mod == "redo" then
|
||||
--[[ We really have nothing to do to use farming:sugar in the recipes
|
||||
because they use the generic group group:food_sugar
|
||||
which is added to the groups list of farming:sugar by the mod "food".
|
||||
--]]
|
||||
|
||||
--Temporary alias to replace existing bushes:sugar in the world
|
||||
minetest.register_alias("bushes:sugar", "farming:sugar")
|
||||
|
||||
else
|
||||
minetest.register_craftitem(":bushes:sugar", {
|
||||
description = S("Sugar"),
|
||||
inventory_image = "bushes_sugar.png",
|
||||
@ -25,6 +36,7 @@ minetest.register_craft({
|
||||
{ "default:papyrus", "default:papyrus" },
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
for i, berry in ipairs(bushes_classic.bushes) do
|
||||
local desc = bushes_classic.bushes_descriptions[i]
|
||||
|
0
bushes_classic/depends.txt
Normal file → Executable file
0
bushes_classic/image_credits.txt
Normal file → Executable file
2
bushes_classic/init.lua
Normal file → Executable file
@ -56,4 +56,4 @@ biome_lib:spawn_on_surfaces({
|
||||
|
||||
minetest.register_alias("bushes:basket_pies", "bushes:basket_strawberry")
|
||||
|
||||
print(S("[Bushes] Loaded."))
|
||||
minetest.log("action", S("[Bushes] Loaded."))
|
||||
|
0
bushes_classic/locale/de.txt
Normal file → Executable file
0
bushes_classic/locale/fr.txt
Normal file → Executable file
0
bushes_classic/locale/template.txt
Normal file → Executable file
0
bushes_classic/locale/tr.txt
Normal file → Executable file
0
bushes_classic/models/bushes_basket_empty.obj
Normal file → Executable file
0
bushes_classic/models/bushes_basket_full.obj
Normal file → Executable file
0
bushes_classic/models/bushes_bush.obj
Normal file → Executable file
2
bushes_classic/nodes.lua
Normal file → Executable file
@ -11,7 +11,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||
-- find out which bush type we are dealing with
|
||||
local bush_name = ""
|
||||
local can_harvest = false
|
||||
|
||||
|
||||
if oldnode.name == "bushes:fruitless_bush" then
|
||||
-- this bush has not grown fruits yet (but will eventually)
|
||||
bush_name = oldmetadata.fields.bush_type
|
||||
|
BIN
bushes_classic/textures/bushes_basket.png
Normal file → Executable file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
bushes_classic/textures/bushes_basket_pie_blackberry.png
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
bushes_classic/textures/bushes_basket_pie_blueberry.png
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
bushes_classic/textures/bushes_basket_pie_gooseberry.png
Normal file → Executable file
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
bushes_classic/textures/bushes_basket_pie_mixed_berry.png
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
bushes_classic/textures/bushes_basket_pie_raspberry.png
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
bushes_classic/textures/bushes_basket_pie_strawberry.png
Normal file → Executable file
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
bushes_classic/textures/bushes_blackberry.png
Normal file → Executable file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
bushes_classic/textures/bushes_blackberry_pie_cooked.png
Normal file → Executable file
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
0
bushes_classic/textures/bushes_blackberry_pie_raw.png
Normal file → Executable file
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 612 B |
0
bushes_classic/textures/bushes_blackberry_pie_slice.png
Normal file → Executable file
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 341 B |
BIN
bushes_classic/textures/bushes_blueberry.png
Normal file → Executable file
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
0
bushes_classic/textures/bushes_blueberry_pie_cooked.png
Normal file → Executable file
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 602 B |
0
bushes_classic/textures/bushes_blueberry_pie_raw.png
Normal file → Executable file
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 606 B |
0
bushes_classic/textures/bushes_blueberry_pie_slice.png
Normal file → Executable file
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
BIN
bushes_classic/textures/bushes_bush_blackberry.png
Normal file → Executable file
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 6.3 KiB |
BIN
bushes_classic/textures/bushes_bush_blueberry.png
Normal file → Executable file
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 6.4 KiB |
BIN
bushes_classic/textures/bushes_bush_fruitless.png
Normal file → Executable file
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 6.3 KiB |
BIN
bushes_classic/textures/bushes_bush_gooseberry.png
Normal file → Executable file
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 6.4 KiB |
BIN
bushes_classic/textures/bushes_bush_raspberry.png
Normal file → Executable file
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 6.4 KiB |
BIN
bushes_classic/textures/bushes_bush_strawberry.png
Normal file → Executable file
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 6.4 KiB |
0
bushes_classic/textures/bushes_gooseberry.png
Normal file → Executable file
Before Width: | Height: | Size: 979 B After Width: | Height: | Size: 979 B |
0
bushes_classic/textures/bushes_gooseberry_pie_cooked.png
Normal file → Executable file
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 607 B |
0
bushes_classic/textures/bushes_gooseberry_pie_raw.png
Normal file → Executable file
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 597 B |
0
bushes_classic/textures/bushes_gooseberry_pie_slice.png
Normal file → Executable file
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
0
bushes_classic/textures/bushes_mixed_berry_pie_cooked.png
Normal file → Executable file
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
BIN
bushes_classic/textures/bushes_mixed_berry_pie_raw.png
Normal file → Executable file
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 585 B |
0
bushes_classic/textures/bushes_mixed_berry_pie_slice.png
Normal file → Executable file
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 337 B |
BIN
bushes_classic/textures/bushes_raspberry.png
Normal file → Executable file
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
0
bushes_classic/textures/bushes_raspberry_pie_cooked.png
Normal file → Executable file
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 613 B |
0
bushes_classic/textures/bushes_raspberry_pie_raw.png
Normal file → Executable file
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 610 B |
0
bushes_classic/textures/bushes_raspberry_pie_slice.png
Normal file → Executable file
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
0
bushes_classic/textures/bushes_strawberry.png
Normal file → Executable file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
bushes_classic/textures/bushes_strawberry_pie_cooked.png
Normal file → Executable file
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 577 B |
0
bushes_classic/textures/bushes_strawberry_pie_raw.png
Normal file → Executable file
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 606 B |
0
bushes_classic/textures/bushes_strawberry_pie_slice.png
Normal file → Executable file
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
BIN
bushes_classic/textures/bushes_sugar.png
Normal file → Executable file
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |