diff --git a/mods/.caverealms_old/LICENSE.txt b/mods/.caverealms_old/LICENSE.txt deleted file mode 100644 index 6e9767ff..00000000 --- a/mods/.caverealms_old/LICENSE.txt +++ /dev/null @@ -1,26 +0,0 @@ -Copyright (c) 2017, Craig Robbins and contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The views and conclusions contained in the software and documentation are those -of the authors and should not be interpreted as representing official policies, -either expressed or implied, of the FreeBSD Project. diff --git a/mods/.caverealms_old/README.md b/mods/.caverealms_old/README.md deleted file mode 100644 index 4ab76b83..00000000 --- a/mods/.caverealms_old/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# caverealms-lite - -Based on the original minetest-caverealms mod (https://github.com/HeroOfTheWinds/minetest-caverealms/). - -Adds underground realms to minetest. - -This caverealms fork provides all the biomes and decorations from the original caverealms, with several additions and without the overhead of generating caves. This lowers the server resources the mod requires, for example CPU and RAM. This also removes the large lava spills created by the original caverealms. - -It is specifically written to work with the mgvalleys mapgen, but will work using other mapgens as well. The mapgen used will determine the shape and size of individual caves. Mapgens that generate only smaller caves may be less suitable for use with this fork than mgvalleys. - -Note: For worlds where the original caverealms is already in use, this fork is not advised as a replacement. If used in this way, some unknown nodes and other minor issues should be expected. - - -## License and Contributors - -Source code: FreeBSD License (Simplified) -The original caverealms was licensed as WTFPL. - -Contributors: -- Zeno, Shara RedCat - This rewrite -- HeroOfTheWinds, Zeno - Original mod - - -## Recommended Additions - -- VanessaE's HDX texturepacks provide alternative textures. For example, -https://gitlab.com/VanessaE/hdx-128. -- ethereal mod unlocks additional content (https://notabug.org/tenplus1/ethereal). -- mobs_monster mod allows Dungeon Masters to spawn in the Dungeon Master's Lair biome (https://notabug.org/tenplus1/mobs_monster). -- mobs_redo is required to run mobs_monster (https://notabug.org/tenplus1/mobs_redo). -- abritorch adds coloured torches made with caverealms items (https://github.com/Ezhh/abritorch). diff --git a/mods/.caverealms_old/biomes.lua b/mods/.caverealms_old/biomes.lua deleted file mode 100644 index 5a914a8f..00000000 --- a/mods/.caverealms_old/biomes.lua +++ /dev/null @@ -1,661 +0,0 @@ ---[[ - Biomes defined via the Minetest Biome API -]] - -local mpath = minetest.get_modpath("caverealms") -local spath = mpath .. "/schematics/" - --- Moss cave - -local moss_cave_surface = { - "caverealms:stone_with_moss", -} - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 10, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = moss_cave_surface, - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = moss_cave_surface, - spawn_by = moss_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "emerald_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "emerald_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = moss_cave_surface, - spawn_by = moss_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "sapphire_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "sapphire_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = moss_cave_surface, - fill_ratio = 0.00625, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - decoration = "caverealms:glow_gem", - flags = "all_floors", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 0.0175, - biomes = asuna.features.cave.moss, - y_max = -4096, - y_min = -10000, - height = 2, - height_max = 4, - decoration = "caverealms:glow_worm", - flags = "all_ceilings", -}) - --- Fungal cave - -local fungal_cave_surface = { - "caverealms:stone_with_lichen", -} - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 10, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = fungal_cave_surface, - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = fungal_cave_surface, - spawn_by = fungal_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "emerald_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "emerald_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = fungal_cave_surface, - spawn_by = fungal_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "amethyst_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "amethyst_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = fungal_cave_surface, - fill_ratio = 0.0005, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - schematic = spath .. "shroom.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = fungal_cave_surface, - fill_ratio = 0.025, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - decoration = "caverealms:fungus", - flags = "all_floors", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = fungal_cave_surface, - fill_ratio = 0.025, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - decoration = "caverealms:mycena", - flags = "all_floors", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 0.0175, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - height = 2, - height_max = 4, - decoration = "caverealms:glow_worm_green", - flags = "all_ceilings", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 16, - place_on = "default:stone", - noise_params = { - offset = -0.227, - scale = 0.385, - spread = {x = 9, y = 9, z = 9}, - seed = seed, - octaves = 2, - persist = 0.65, - lacunarity = 0.69, - }, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - height_max = 2, - decoration = "ethereal:mushroom", - flags = "all_ceilings,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = fungal_cave_surface, - fill_ratio = 0.00095, - biomes = asuna.features.cave.fungal, - y_max = -4096, - y_min = -10000, - decoration = { - "flowers:mushroom_red", - "flowers:mushroom_brown", - "herbs:mushroom_boletus", - "herbs:mushroom_cantharellus", - "herbs:mushroom_macrolepiota", - "herbs:mushroom_amanita_green", - "herbs:mushroom_gyromitra", - "herbs:mushroom_galerina", - }, - flags = "all_floors", -}) - --- Coal/desert cave - -local desert_cave_surface = { - "default:desert_sand", -} - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 10, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = desert_cave_surface, - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = desert_cave_surface, - fill_ratio = 10, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -2, - decoration = "default:stone", - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = { - "default:desert_sand", - "caverealms:coal_dust", - "default:coalblock", - }, - spawn_by = desert_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "ruby_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "ruby_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = { - "default:desert_sand", - "caverealms:coal_dust", - "default:coalblock", - }, - spawn_by = desert_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "amethyst_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "amethyst_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = desert_cave_surface, - fill_ratio = 0.1, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = "caverealms:coal_dust", - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = desert_cave_surface, - fill_ratio = 0.005, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = "default:coalblock", - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = desert_cave_surface, - fill_ratio = 0.01, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - decoration = "caverealms:constant_flame", - flags = "all_floors", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = desert_cave_surface, - spawn_by = { - "default:desert_sand", - "caverealms:coal_dust", - "default:coalblock", - }, - num_spawn_by = 8, - fill_ratio = 0.001, - biomes = asuna.features.cave.coal, - y_max = -4096, - y_min = -10000, - decoration = "default:cactus", - flags = "all_floors", -}) - --- Fire cave - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 10, - biomes = asuna.features.cave.fire, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = "caverealms:hot_cobble", - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 4, - place_on = "caverealms:hot_cobble", - noise_params = { - offset = -0.325, - scale = 0.45, - spread = {x = 8, y = 8, z = 8}, - seed = seed, - octaves = 2, - persist = 0.64, - lacunarity = 0.7, - }, - biomes = asuna.features.cave.fire, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = "default:obsidian", - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 10, - biomes = asuna.features.cave.fire, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = "caverealms:hot_cobble", - flags = "all_ceilings,force_placement", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "caverealms:hot_cobble", - fill_ratio = 0.085, - biomes = asuna.features.cave.fire, - y_max = -4096, - y_min = -10000, - decoration = "caverealms:constant_flame", - flags = "all_floors", -}) - -local c_lava = minetest.get_content_id("default:lava_source") -local valid_lava_enclosure = {} -for _,lava_enclosure in ipairs({ - minetest.get_content_id("default:stone"), - minetest.get_content_id("caverealms:hot_cobble"), - c_lava, -}) do - valid_lava_enclosure[lava_enclosure] = true -end - -abdecor.register_advanced_decoration("caverealms_fire_cave_lava",{ - target = { - place_on = { - "caverealms:hot_cobble", - }, - sidelen = 80, - fill_ratio = 0.065, - y_max = -4096, - y_min = -10000, - flags = "all_floors", - }, - fn = function(mapgen) - -- Get provided values - local va = mapgen.voxelarea - local vdata = mapgen.data - local pos = mapgen.pos - - -- Get stride values and set position - local ystride = va.ystride - local zstride = va.zstride - local pos = va:index(pos.x,pos.y,pos.z) - - -- Lava must be enclosed to its sides and below - for _,adjacent in ipairs({ - -ystride, - 1, - -1, - zstride, - -zstride, - }) do - if not valid_lava_enclosure[vdata[pos + adjacent]] then - return -- lava is not properly enclosed - end - end - - -- Place lava - vdata[pos] = c_lava - end, - flags = { - liquid = true, - }, -}) - --- Dry cave - -local dry_cave_surface = { - "default:dry_dirt", - "default:dry_dirt_with_dry_grass", - "default:desert_stone", - "default:desert_cobble", -} - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 10, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - decoration = dry_cave_surface, - flags = "all_floors,force_placement", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = dry_cave_surface, - spawn_by = dry_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "ruby_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "ruby_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = dry_cave_surface, - spawn_by = dry_cave_surface, - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "amethyst_stalagmite.mts", - flags = "all_floors,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "schematic", - sidelen = 80, - place_on = "default:stone", - spawn_by = "default:stone", - num_spawn_by = 8, - fill_ratio = 0.000085, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - place_offset_y = -1, - schematic = spath .. "amethyst_stalactite.mts", - flags = "all_ceilings,place_center_x,place_center_z", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = dry_cave_surface, - fill_ratio = 0.01, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - decoration = "caverealms:spike", - flags = "all_floors", -}) - -minetest.register_decoration({ - deco_type = "simple", - sidelen = 80, - place_on = "default:stone", - fill_ratio = 0.01, - biomes = asuna.features.cave.dry, - y_max = -4096, - y_min = -10000, - height = 2, - height_max = 3, - decoration = "caverealms:fire_vine", - flags = "all_ceilings", -}) \ No newline at end of file diff --git a/mods/.caverealms_old/config.lua b/mods/.caverealms_old/config.lua deleted file mode 100644 index 265ccb00..00000000 --- a/mods/.caverealms_old/config.lua +++ /dev/null @@ -1,53 +0,0 @@ -local CONFIG_FILE_PREFIX = "caverealms." - -caverealms.config = {} - --- This function based on kaeza/minetest-irc/config.lua and used under the --- terms of BSD 2-clause license. -local function setting(stype, name, default) - local value - if stype == "bool" then - value = minetest.settings:get_bool(CONFIG_FILE_PREFIX..name) - elseif stype == "string" then - value = minetest.settings:get(CONFIG_FILE_PREFIX..name) - elseif stype == "number" then - value = tonumber(minetest.settings:get(CONFIG_FILE_PREFIX..name)) - end - if value == nil then - value = default - end - caverealms.config[name] = value -end - ---generation settings -setting("number", "ymin", -10000) --bottom realm limit -setting("number", "ymax", -4096) --top realm limit -setting("number", "tcave", 0.75) --cave threshold - ---decoration chances -setting("number", "stagcha", 0.03) --chance of stalagmites (was 0.003) -setting("number", "stalcha", 0.03) --chance of stalactites(was 0.003) - -setting("number", "h_lag", 8) --max height for stalagmites -setting("number", "h_lac", 8) --...stalactites -setting("number", "crystal", 0.02) --chance of glow crystal formations (was 0.0002) -setting("number", "h_cry", 8) --max height of glow crystals -setting("number", "h_clac", 8) --max height of glow crystal stalactites - -setting("number", "gemcha", 0.03) --chance of small glow gems -setting("number", "mushcha", 0.04) --chance of mushrooms -setting("number", "myccha", 0.03) --chance of mycena mushrooms -setting("number", "wormcha", 0.015) --chance of glow worms -setting("number", "giantcha", 0.001) --chance of giant mushrooms -setting("number", "icicha", 0.035) --chance of icicles -setting("number", "flacha", 0.04) --chance of constant flames - ---realm limits for Dungeon Masters' Lair -setting("number", "dm_top", -8000) --upper limit -setting("number", "dm_bot", -10000) --lower limit - ---should DMs spawn in DM Lair? -setting("bool", "dm_spawn", true) - ---Deep cave settings -setting("number", "deep_cave", -7000) -- upper limit diff --git a/mods/.caverealms_old/crafting.lua b/mods/.caverealms_old/crafting.lua deleted file mode 100644 index 52da2771..00000000 --- a/mods/.caverealms_old/crafting.lua +++ /dev/null @@ -1,145 +0,0 @@ ---thin ice to water -minetest.register_craft({ - output = "default:water_source", - type = "shapeless", - recipe = {"caverealms:thin_ice"} -}) - ---use for coal dust -minetest.register_craft({ - output = "default:coalblock", - recipe = { - {"caverealms:coal_dust","caverealms:coal_dust","caverealms:coal_dust"}, - {"caverealms:coal_dust","caverealms:coal_dust","caverealms:coal_dust"}, - {"caverealms:coal_dust","caverealms:coal_dust","caverealms:coal_dust"} - } -}) - --- DM statue -minetest.register_craft({ - output = "caverealms:dm_statue", - recipe = { - {"caverealms:glow_ore","caverealms:hot_cobble","caverealms:glow_ore"}, - {"caverealms:hot_cobble","caverealms:hot_cobble","caverealms:hot_cobble"}, - {"caverealms:hot_cobble","caverealms:hot_cobble","caverealms:hot_cobble"} - } -}) - --- Glow obsidian brick -minetest.register_craft({ - output = "caverealms:glow_obsidian_brick 4", - recipe = { - {"caverealms:glow_obsidian", "caverealms:glow_obsidian"}, - {"caverealms:glow_obsidian", "caverealms:glow_obsidian"} - } -}) - -minetest.register_craft({ - output = "caverealms:glow_obsidian_brick_2 4", - recipe = { - {"caverealms:glow_obsidian_2", "caverealms:glow_obsidian_2"}, - {"caverealms:glow_obsidian_2", "caverealms:glow_obsidian_2"} - } -}) - --- Glow obsidian glass -minetest.register_craft({ - output = "caverealms:glow_obsidian_glass 5", - recipe = { - {"default:glass", "default:glass", "default:glass"}, - {"default:glass", "default:glass", "caverealms:glow_obsidian"} - } -}) - -minetest.register_craft({ - output = "caverealms:glow_obsidian_glass 5", - recipe = { - {"default:glass", "default:glass", "default:glass"}, - {"default:glass", "default:glass", "caverealms:glow_obsidian_2"} - } -}) - --- Requires ethereal:fish_raw -if minetest.get_modpath("ethereal") then - - -- Professional Fishing Rod - minetest.register_craftitem("caverealms:angler_rod", { - description = "Pro Fishing Rod", - inventory_image = "caverealms_angler_rod.png", - wield_image = "caverealms_angler_rod.png" - }) - - minetest.register_craft({ - output = "caverealms:angler_rod", - recipe = { - {"","","default:steel_ingot"}, - {"", "default:steel_ingot", "caverealms:mushroom_gills"}, - {"default:steel_ingot", "", "caverealms:mushroom_gills"}, - } - }) - - -- Glow Bait - minetest.register_craftitem("caverealms:glow_bait", { - description = "Glow Bait", - inventory_image = "caverealms_glow_bait.png", - wield_image = "caverealms_glow_bait.png", - }) - - minetest.register_craft({ - output = "caverealms:glow_bait 9", - recipe = { - {"caverealms:glow_worm_green"}, - } - }) - - -- default ethereal fish - local fish = { - {"ethereal:fish_raw"}, - } - - -- Pro Fishing Rod (Baited) - minetest.register_craftitem("caverealms:angler_rod_baited", { - description = "Baited Pro Fishing Rod", - inventory_image = "caverealms_angler_rod_baited.png", - wield_image = "caverealms_angler_rod_weild.png", - stack_max = 1, - liquids_pointable = true, - - on_use = function (itemstack, user, pointed_thing) - - if pointed_thing.type ~= "node" then - return - end - - local node = minetest.get_node(pointed_thing.under).name - - if (node == "default:water_source" - or node == "default:river_water_source") - and math.random(1, 100) < 35 then - - local type = fish[math.random(1, #fish)][1] - local inv = user:get_inventory() - - if inv:room_for_item("main", {name = type}) then - - inv:add_item("main", {name = type}) - - if (math.random() < 0.6) then - return ItemStack("caverealms:angler_rod_baited") - else - return ItemStack("caverealms:angler_rod") - end - else - minetest.chat_send_player(user:get_player_name(), - "Inventory full, Fish Got Away!") - end - end - end, - }) - - minetest.register_craft({ - type = "shapeless", - output = "caverealms:angler_rod_baited", - recipe = {"caverealms:angler_rod", "caverealms:glow_bait"}, - }) -end diff --git a/mods/.caverealms_old/depends.txt b/mods/.caverealms_old/depends.txt deleted file mode 100644 index bc12d19e..00000000 --- a/mods/.caverealms_old/depends.txt +++ /dev/null @@ -1,8 +0,0 @@ -default -asuna_core -stairs -ethereal? -mobs? -abdecor -flowers? -herbs? \ No newline at end of file diff --git a/mods/.caverealms_old/description.txt b/mods/.caverealms_old/description.txt deleted file mode 100644 index 23587508..00000000 --- a/mods/.caverealms_old/description.txt +++ /dev/null @@ -1 +0,0 @@ -A mod for Minetest to add underground realms. diff --git a/mods/.caverealms_old/docs/caverealms_lite_biomes.txt b/mods/.caverealms_old/docs/caverealms_lite_biomes.txt deleted file mode 100644 index d1591eeb..00000000 --- a/mods/.caverealms_old/docs/caverealms_lite_biomes.txt +++ /dev/null @@ -1,19 +0,0 @@ -Biome #, Biome name, "floor node" - - -0, None -1, Moss, "caverealms:stone_with_moss" -2, Fungal, "caverealms:stone_with_lichen" -3, Algae, "caverealms:stone_with_algae" -4, Glaciated, "caverealms:thin_ice" - -The following are "deep realms" - -5, Deep Glaciated, "default:ice" -6, DM, "caverealms:hot_cobble" -7, Salt Crystal, "caverealms:stone_with_salt" -8, Glow Obsidian, "caverealms:glow_obsidian" - OR "caverealms:glow_obsidian2" -9, Coal, "default:coalblock" - OR "caverealms:coal_dust" - OR "default:desert_sand" diff --git a/mods/.caverealms_old/dungeon_master.lua b/mods/.caverealms_old/dungeon_master.lua deleted file mode 100644 index e93ea8c2..00000000 --- a/mods/.caverealms_old/dungeon_master.lua +++ /dev/null @@ -1,16 +0,0 @@ -mobs:spawn({ - name = "mobs_monster:dungeon_master", - nodes = {"caverealms:hot_cobble"}, - max_light = 12, - min_light = 0, - chance = 7000, - active_object_count = 2, - max_height = -8000, - on_spawn = function(self, pos) - self.hp_max = 70 - self.health = 70 - self.damage = 5 - self.shoot_interval = 1.5 - self.dogshoot_switch = 0 - end -}) diff --git a/mods/.caverealms_old/functions.lua b/mods/.caverealms_old/functions.lua deleted file mode 100644 index 2be9e106..00000000 --- a/mods/.caverealms_old/functions.lua +++ /dev/null @@ -1,409 +0,0 @@ -local H_LAG = caverealms.config.h_lag --15 --max height for stalagmites -local H_LAC = caverealms.config.h_lac --20 --...stalactites -local H_CRY = caverealms.config.h_cry --9 --max height of glow crystals -local H_CLAC = caverealms.config.h_clac --13 --max height of glow crystal stalactites - -function caverealms:above_solid(x,y,z,area,data) - local c_air = minetest.get_content_id("air") - - local ai = area:index(x,y+1,z-3) - if data[ai] == c_air then - return false - else - return true - end -end - -function caverealms:below_solid(x,y,z,area,data) - local c_air = minetest.get_content_id("air") - - local ai = area:index(x,y-1,z-3) - if data[ai] == c_air then - return false - else - return true - end -end - ---stalagmite spawner -function caverealms:stalagmite(x,y,z, area, data) - - if not caverealms:below_solid(x,y,z,area,data) then - return - end - - --contest ids - local c_stone = minetest.get_content_id("default:stone") - - local top = math.random(6,H_LAG) --grab a random height for the stalagmite - for j = 0, top do --y - for k = -3, 3 do - for l = -3, 3 do - if j == 0 then - if k*k + l*l <= 9 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = c_stone - end - elseif j <= top/5 then - if k*k + l*l <= 4 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = c_stone - end - elseif j <= top/5 * 3 then - if k*k + l*l <= 1 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = c_stone - end - else - local vi = area:index(x, y+j, z-3) - data[vi] = c_stone - end - end - end - end -end - ---stalactite spawner -function caverealms:stalactite(x,y,z, area, data) - - if not caverealms:above_solid(x,y,z,area,data) then - return - end - - --contest ids - local c_stone = minetest.get_content_id("default:stone")--("caverealms:limestone") - - local bot = math.random(-H_LAC, -6) --grab a random height for the stalagmite - for j = bot, 0 do --y - for k = -3, 3 do - for l = -3, 3 do - if j >= -1 then - if k*k + l*l <= 9 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = c_stone - end - elseif j >= bot/5 then - if k*k + l*l <= 4 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = c_stone - end - elseif j >= bot/5 * 3 then - if k*k + l*l <= 1 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = c_stone - end - else - local vi = area:index(x, y+j, z-3) - data[vi] = c_stone - end - end - end - end -end - ---glowing crystal stalagmite spawner -function caverealms:crystal_stalagmite(x,y,z, area, data, biome) - - if not caverealms:below_solid(x,y,z,area,data) then - return - end - - --contest ids - local c_stone = minetest.get_content_id("default:stone") - local c_crystal = minetest.get_content_id("caverealms:glow_crystal") - local c_crystore = minetest.get_content_id("caverealms:glow_ore") - local c_emerald = minetest.get_content_id("caverealms:glow_emerald") - local c_emore = minetest.get_content_id("caverealms:glow_emerald_ore") - local c_mesecry = minetest.get_content_id("caverealms:glow_mese") - local c_meseore = minetest.get_content_id("default:stone_with_mese") - local c_ruby = minetest.get_content_id("caverealms:glow_ruby") - local c_rubore = minetest.get_content_id("caverealms:glow_ruby_ore") - local c_ameth = minetest.get_content_id("caverealms:glow_amethyst") - local c_amethore = minetest.get_content_id("caverealms:glow_amethyst_ore") - local c_ice = minetest.get_content_id("default:ice") - local c_thinice = minetest.get_content_id("caverealms:thin_ice") - - --for randomness - local mode = 1 - if math.random(15) == 1 then - mode = 2 - end - if biome == 3 then - if math.random(25) == 1 then - mode = 2 - else - mode = 1 - end - end - if biome == 4 or biome == 5 then - if math.random(3) == 1 then - mode = 2 - end - end - - local stalids = { - { {c_crystore, c_crystal}, {c_emore, c_emerald} }, - { {c_emore, c_emerald}, {c_crystore, c_crystal} }, - { {c_emore, c_emerald}, {c_meseore, c_mesecry} }, - { {c_ice, c_thinice}, {c_crystore, c_crystal}}, - { {c_ice, c_thinice}, {c_crystore, c_crystal}}, - { {c_rubore, c_ruby}, {c_meseore, c_mesecry}}, - { {c_crystore, c_crystal}, {c_rubore, c_ruby} }, - { {c_rubore, c_ruby}, {c_emore, c_emerald}}, - { {c_amethore, c_ameth}, {c_meseore, c_mesecry} }, - } - - local nid_a - local nid_b - local nid_s = c_stone --stone base, will be rewritten to ice in certain biomes - - if biome > 3 and biome < 6 then - if mode == 1 then - nid_a = c_ice - nid_b = c_thinice - nid_s = c_ice - else - nid_a = c_crystore - nid_b = c_crystal - end - elseif mode == 1 then - nid_a = stalids[biome][1][1] - nid_b = stalids[biome][1][2] - else - nid_a = stalids[biome][2][1] - nid_b = stalids[biome][2][2] - end - - local top = math.random(5,H_CRY) --grab a random height for the stalagmite - for j = 0, top do --y - for k = -3, 3 do - for l = -3, 3 do - if j == 0 then - if k*k + l*l <= 9 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = nid_s - end - elseif j <= top/5 then - if k*k + l*l <= 4 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = nid_a - end - elseif j <= top/5 * 3 then - if k*k + l*l <= 1 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = nid_b - end - else - local vi = area:index(x, y+j, z-3) - data[vi] = nid_b - end - end - end - end -end - ---crystal stalactite spawner -function caverealms:crystal_stalactite(x,y,z, area, data, biome) - - if not caverealms:above_solid(x,y,z,area,data) then - return - end - - --contest ids - local c_stone = minetest.get_content_id("default:stone") - local c_crystore = minetest.get_content_id("caverealms:glow_ore") - local c_crystal = minetest.get_content_id("caverealms:glow_crystal") - local c_emerald = minetest.get_content_id("caverealms:glow_emerald") - local c_emore = minetest.get_content_id("caverealms:glow_emerald_ore") - local c_mesecry = minetest.get_content_id("caverealms:glow_mese") - local c_meseore = minetest.get_content_id("default:stone_with_mese") - local c_ruby = minetest.get_content_id("caverealms:glow_ruby") - local c_rubore = minetest.get_content_id("caverealms:glow_ruby_ore") - local c_ameth = minetest.get_content_id("caverealms:glow_amethyst") - local c_amethore = minetest.get_content_id("caverealms:glow_amethyst_ore") - local c_ice = minetest.get_content_id("default:ice") - local c_thinice = minetest.get_content_id("caverealms:hanging_thin_ice") - - --for randomness - local mode = 1 - if math.random(15) == 1 then - mode = 2 - end - if biome == 3 then - if math.random(25) == 1 then - mode = 2 - else - mode = 1 - end - end - if biome == 4 or biome == 5 then - if math.random(3) == 1 then - mode = 2 - end - end - - local stalids = { - { {c_crystore, c_crystal}, {c_emore, c_emerald} }, - { {c_emore, c_emerald}, {c_crystore, c_crystal} }, - { {c_emore, c_emerald}, {c_meseore, c_mesecry} }, - { {c_ice, c_thinice}, {c_crystore, c_crystal}}, - { {c_ice, c_thinice}, {c_crystore, c_crystal}}, - { {c_rubore, c_ruby}, {c_meseore, c_mesecry}}, - { {c_crystore, c_crystal}, {c_rubore, c_ruby} }, - { {c_rubore, c_ruby}, {c_emore, c_emerald}}, - { {c_amethore, c_ameth}, {c_meseore, c_mesecry} }, - } - - local nid_a - local nid_b - local nid_s = c_stone --stone base, will be rewritten to ice in certain biomes - - if biome > 3 and biome < 6 then - if mode == 1 then - nid_a = c_ice - nid_b = c_thinice - nid_s = c_ice - else - nid_a = c_crystore - nid_b = c_crystal - end - elseif mode == 1 then - nid_a = stalids[biome][1][1] - nid_b = stalids[biome][1][2] - else - nid_a = stalids[biome][2][1] - nid_b = stalids[biome][2][2] - end - - local bot = math.random(-H_CLAC, -6) --grab a random height for the stalagmite - for j = bot, 0 do --y - for k = -3, 3 do - for l = -3, 3 do - if j >= -1 then - if k*k + l*l <= 9 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = nid_s - end - elseif j >= bot/5 then - if k*k + l*l <= 4 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = nid_a - end - elseif j >= bot/5 * 3 then - if k*k + l*l <= 1 then - local vi = area:index(x+k, y+j, z+l-3) - data[vi] = nid_b - end - else - local vi = area:index(x, y+j, z-3) - data[vi] = nid_b - end - end - end - end -end - ---glowing crystal stalagmite spawner -function caverealms:salt_stalagmite(x,y,z, area, data, biome) - - if not caverealms:below_solid(x,y,z,area,data) then - return - end - - --contest ids - local c_stone = minetest.get_content_id("default:stone") - local c_salt = minetest.get_content_id("caverealms:salt_crystal") - - local scale = math.random(2, 4) - if scale == 2 then - for j = -3, 3 do - for k = -3, 3 do - local vi = area:index(x+j, y, z+k) - data[vi] = c_stone - if math.abs(j) ~= 3 and math.abs(k) ~= 3 then - local vi = area:index(x+j, y+1, z+k) - data[vi] = c_stone - end - end - end - else - for j = -4, 4 do - for k = -4, 4 do - local vi = area:index(x+j, y, z+k) - data[vi] = c_stone - if math.abs(j) ~= 4 and math.abs(k) ~= 4 then - local vi = area:index(x+j, y+1, z+k) - data[vi] = c_stone - end - end - end - end - for j = 2, scale + 2 do --y - for k = -2, scale - 2 do - for l = -2, scale - 2 do - local vi = area:index(x+k, y+j, z+l) - data[vi] = c_salt -- make cube - end - end - end -end - ---function to create giant 'shrooms -function caverealms:giant_shroom(x, y, z, area, data) - - if not caverealms:below_solid(x,y,z,area,data) then - return - end - - local c_cap - local c_stem - - --as usual, grab the content ID's - if minetest.get_modpath("ethereal") then - c_stem = minetest.get_content_id("ethereal:mushroom_trunk") - c_cap = minetest.get_content_id("ethereal:mushroom") - else - c_stem = minetest.get_content_id("caverealms:mushroom_stem") - c_cap = minetest.get_content_id("caverealms:mushroom_cap") - end - - local c_gills = minetest.get_content_id("caverealms:mushroom_gills") - - z = z - 5 - --cap - for k = -5, 5 do - for l = -5, 5 do - if k*k + l*l <= 25 then - local vi = area:index(x+k, y+5, z+l) - data[vi] = c_cap - end - if k*k + l*l <= 16 then - local vi = area:index(x+k, y+6, z+l) - data[vi] = c_cap - vi = area:index(x+k, y+5, z+l) - data[vi] = c_gills - end - if k*k + l*l <= 9 then - local vi = area:index(x+k, y+7, z+l) - data[vi] = c_cap - end - if k*k + l*l <= 4 then - local vi = area:index(x+k, y+8, z+l) - data[vi] = c_cap - end - end - end - --stem - for j = 0, 5 do - for k = -1,1 do - local vi = area:index(x+k, y+j, z) - data[vi] = c_stem - if k == 0 then - local ai = area:index(x, y+j, z+1) - data[ai] = c_stem - ai = area:index(x, y+j, z-1) - data[ai] = c_stem - end - end - end -end diff --git a/mods/.caverealms_old/init.lua b/mods/.caverealms_old/init.lua deleted file mode 100644 index b40c6bbb..00000000 --- a/mods/.caverealms_old/init.lua +++ /dev/null @@ -1,24 +0,0 @@ --- caverealms v.0.8 by HeroOfTheWinds --- original cave code modified from paramat's subterrain --- For Minetest 0.4.8 stable --- Depends default --- License: code WTFPL - -caverealms = {} --create a container for functions and constants - ---grab a shorthand for the filepath of the mod -local modpath = minetest.get_modpath(minetest.get_current_modname()) - ---load companion lua files -dofile(modpath.."/config.lua") --configuration file; holds various constants -dofile(modpath.."/crafting.lua") --crafting recipes -dofile(modpath.."/nodes.lua") --node definitions -dofile(modpath.."/functions.lua") --function definitions -dofile(modpath.."/plants.lua") -dofile(modpath.."/biomes.lua") - -if minetest.get_modpath("mobs_monster") then - if caverealms.config.dm_spawn == true then - dofile(modpath.."/dungeon_master.lua") --special DMs for DM's Lair biome - end -end \ No newline at end of file diff --git a/mods/.caverealms_old/mod.conf b/mods/.caverealms_old/mod.conf deleted file mode 100644 index 1f32f704..00000000 --- a/mods/.caverealms_old/mod.conf +++ /dev/null @@ -1 +0,0 @@ -name = caverealms \ No newline at end of file diff --git a/mods/.caverealms_old/nodes.lua b/mods/.caverealms_old/nodes.lua deleted file mode 100644 index 8057a334..00000000 --- a/mods/.caverealms_old/nodes.lua +++ /dev/null @@ -1,521 +0,0 @@ --- CaveRealms nodes.lua - ---NODES-- - ---glowing crystal -minetest.register_node("caverealms:glow_crystal", { - description = "Glow Sapphire", - tiles = {"caverealms_glow_crystal.png"}, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - light_source = 13, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, -}) - ---glowing emerald -minetest.register_node("caverealms:glow_emerald", { - description = "Glow Emerald", - tiles = {"caverealms_glow_emerald.png"}, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - light_source = 13, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, -}) - ---glowing mese crystal blocks -minetest.register_node("caverealms:glow_mese", { - description = "Glow Mese Crystal", - tiles = {"caverealms_glow_mese.png"}, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - light_source = 13, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, -}) - ---glowing ruby -minetest.register_node("caverealms:glow_ruby", { - description = "Glow Ruby", - tiles = {"caverealms_glow_ruby.png"}, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - light_source = 13, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, -}) - ---glowing amethyst -minetest.register_node("caverealms:glow_amethyst", { - description = "Glow Amethyst", - tiles = {"caverealms_glow_amethyst.png"}, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - light_source = 13, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, -}) - ---embedded crystal -minetest.register_node("caverealms:glow_ore", { - description = "Glow Crystal Ore", - tiles = {"caverealms_glow_ore.png"}, - is_ground_content = true, - groups = {cracky=2}, - sounds = default.node_sound_glass_defaults(), - light_source = 10, - paramtype = "light", -}) - ---embedded emerald -minetest.register_node("caverealms:glow_emerald_ore", { - description = "Glow Emerald Ore", - tiles = {"caverealms_glow_emerald_ore.png"}, - is_ground_content = true, - groups = {cracky=2}, - sounds = default.node_sound_glass_defaults(), - light_source = 10, - paramtype = "light", -}) - ---embedded ruby -minetest.register_node("caverealms:glow_ruby_ore", { - description = "Glow Ruby Ore", - tiles = {"caverealms_glow_ruby_ore.png"}, - is_ground_content = true, - groups = {cracky=2}, - sounds = default.node_sound_glass_defaults(), - light_source = 10, - paramtype = "light", -}) - ---embedded amethyst -minetest.register_node("caverealms:glow_amethyst_ore", { - description = "Glow Amethyst Ore", - tiles = {"caverealms_glow_amethyst_ore.png"}, - is_ground_content = true, - groups = {cracky=2}, - sounds = default.node_sound_glass_defaults(), - light_source = 10, - paramtype = "light", -}) - ---thin (transparent) ice -minetest.register_node("caverealms:thin_ice", { - description = "Thin Ice", - tiles = {"caverealms_thin_ice.png"}, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, - freezemelt = "default:water_source", - paramtype = "light", -}) - ---salt crystal -minetest.register_node("caverealms:salt_crystal", { - description = "Salt Crystal", - tiles = {"caverealms_salt_crystal.png"}, - is_ground_content = true, - groups = {cracky=2}, - sounds = default.node_sound_glass_defaults(), - light_source = 11, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, -}) - ---glowing crystal gem -minetest.register_node("caverealms:glow_gem", { - description = "Glow Gem", - tiles = {"caverealms_glow_gem.png"}, - inventory_image = "caverealms_glow_gem.png", - wield_image = "caverealms_glow_gem.png", - is_ground_content = true, - groups = {cracky = 3, oddly_breakable_by_hand = 1, attached_node = 1}, - sounds = default.node_sound_glass_defaults(), - light_source = 11, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 0.75, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - } -}) - ---glowing salt gem -minetest.register_node("caverealms:salt_gem", { - description = "Salt Gem", - tiles = {"caverealms_salt_gem.png"}, - inventory_image = "caverealms_salt_gem.png", - wield_image = "caverealms_salt_gem.png", - is_ground_content = true, - groups = {cracky = 3, oddly_breakable_by_hand = 1, attached_node = 1}, - sounds = default.node_sound_glass_defaults(), - light_source = 11, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 0.75, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - } -}) - ---stone spike -minetest.register_node("caverealms:spike", { - description = "Stone Spike", - tiles = {"caverealms_spike.png"}, - inventory_image = "caverealms_spike.png", - wield_image = "caverealms_spike.png", - is_ground_content = true, - groups = {cracky = 3, oddly_breakable_by_hand = 1, attached_node = 1}, - sounds = default.node_sound_stone_defaults(), - light_source = 3, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 0.75, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - } -}) - - ---upward pointing icicle -minetest.register_node("caverealms:icicle_up", { - description = "Icicle", - tiles = {"caverealms_icicle_up.png"}, - inventory_image = "caverealms_icicle_up.png", - wield_image = "caverealms_icicle_up.png", - is_ground_content = true, - groups = {cracky=3, oddly_breakable_by_hand=1}, - sounds = default.node_sound_glass_defaults(), - light_source = 8, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, -}) - ---downward pointing icicle -minetest.register_node("caverealms:icicle_down", { - description = "Icicle", - tiles = {"caverealms_icicle_down.png"}, - inventory_image = "caverealms_icicle_down.png", - wield_image = "caverealms_icicle_down.png", - is_ground_content = true, - groups = {cracky=3, oddly_breakable_by_hand=1}, - sounds = default.node_sound_glass_defaults(), - light_source = 8, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, -}) - ---cave mossy cobble - bluish? -minetest.register_node("caverealms:stone_with_moss", { - description = "Cave Stone with Moss", - tiles = {"default_cobble.png^caverealms_moss.png", "default_cobble.png", "default_cobble.png^caverealms_moss_side.png"}, - is_ground_content = true, - groups = {crumbly=1, cracky=3}, - drop = 'default:cobble', - sounds = default.node_sound_dirt_defaults({ - footstep = {name="default_grass_footstep", gain=0.25}, - }), -}) - ---cave lichen-covered cobble - purple-ish -minetest.register_node("caverealms:stone_with_lichen", { - description = "Cave Stone with Lichen", - tiles = {"default_cobble.png^caverealms_lichen.png", "default_cobble.png", "default_cobble.png^caverealms_lichen_side.png"}, - is_ground_content = true, - groups = {crumbly=1, cracky=3}, - drop = 'default:cobble', - sounds = default.node_sound_dirt_defaults({ - footstep = {name="default_grass_footstep", gain=0.25}, - }), -}) - ---cave algae-covered cobble - yellow-ish -minetest.register_node("caverealms:stone_with_algae", { - description = "Cave Stone with Algae", - tiles = {"default_cobble.png^caverealms_algae.png", "default_cobble.png", "default_cobble.png^caverealms_algae_side.png"}, - is_ground_content = true, - groups = {crumbly=1, cracky=3}, - drop = 'default:cobble', - sounds = default.node_sound_dirt_defaults({ - footstep = {name="default_grass_footstep", gain=0.25}, - }), -}) - ---tiny-salt-crystal-covered cobble - pink-ish -minetest.register_node("caverealms:stone_with_salt", { - description = "Salt Crystal", - tiles = {"caverealms_salty2.png"}, - light_source = 9, - paramtype = "light", - use_texture_alpha = true, - drawtype = "glasslike", - sunlight_propagates = true, - is_ground_content = true, - groups = {cracky=3}, - sounds = default.node_sound_glass_defaults(), -}) - ---Hot Cobble - cobble with lava instead of mortar XD -minetest.register_node("caverealms:hot_cobble", { - description = "Hot Cobble", - tiles = {"caverealms_hot_cobble.png"}, - is_ground_content = true, - groups = {cracky=1, hot=1, unbreakable = 1, stone = 1}, - damage_per_second = 1, - light_source = 3, - paramtype = "light", - sounds = default.node_sound_stone_defaults(), -}) - ---Glow Obsidian -minetest.register_node("caverealms:glow_obsidian", { - description = "Glowing Obsidian", - tiles = {"caverealms_glow_obsidian.png"}, - is_ground_content = true, - groups = {cracky=1, level=2}, - light_source = 7, - paramtype = "light", - sounds = default.node_sound_stone_defaults(), -}) - ---Glow Obsidian 2 - has traces of lava -minetest.register_node("caverealms:glow_obsidian_2", { - description = "Hot Glowing Obsidian", - tiles = {"caverealms_glow_obsidian2.png"}, - is_ground_content = true, - groups = {cracky=1, hot=1, level=2}, - light_source = 9, - paramtype = "light", - sounds = default.node_sound_stone_defaults(), -}) - ---Glow Obsidian Bricks -minetest.register_node("caverealms:glow_obsidian_brick", { - description = "Glow Obsidian Brick", - tiles = {"caverealms_glow_obsidian_brick.png"}, - light_source = 7, - groups = {cracky = 1, level = 2}, - sounds = default.node_sound_stone_defaults(), -}) - -minetest.register_node("caverealms:glow_obsidian_brick_2", { - description = "Glow Obsidian Brick", - tiles = {"caverealms_glow_obsidian_brick_2.png"}, - light_source = 9, - groups = {cracky = 1, level = 2}, - sounds = default.node_sound_stone_defaults(), -}) - ---Glow Obsidian Stairs/Slabs -stairs.register_stair_and_slab( - "glow_obsidian_brick", - "caverealms:glow_obsidian_brick", - {cracky = 1, level = 2}, - {"caverealms_glow_obsidian_brick.png"}, - "Glow Obsidian Brick Stair", - "Glow Obsidian Brick Slab", - default.node_sound_stone_defaults()) - -stairs.register_stair_and_slab( - "glow_obsidian_brick_2", - "caverealms:glow_obsidian_brick_2", - {cracky = 1, level = 2}, - {"caverealms_glow_obsidian_brick_2.png"}, - "Glow Obsidian Brick Stair", - "Glow Obsidian Brick Slab", - default.node_sound_stone_defaults()) - ---Glow Obsidian Glass -minetest.register_node("caverealms:glow_obsidian_glass", { - description = "Glow Obsidian Glass", - drawtype = "glasslike_framed_optional", - tiles = {"caverealms_glow_obsidian_glass.png", "default_obsidian_glass_detail.png"}, - paramtype = "light", - light_source = 13, - sunlight_propagates = true, - groups = {cracky = 3}, - sounds = default.node_sound_glass_defaults(), -}) - ---Coal Dust -minetest.register_node("caverealms:coal_dust", { - description = "Coal Dust", - tiles = {"caverealms_coal_dust.png"}, - is_ground_content = true, - groups = {crumbly=3, falling_node=1, sand=1}, - sounds = default.node_sound_sand_defaults(), -}) - ---glow worms -minetest.register_node("caverealms:glow_worm", { - description = "Blue Glow Worms", - tiles = {"caverealms_glow_worm.png"}, - inventory_image = "caverealms_glow_worm.png", - wield_image = "caverealms_glow_worm.png", - is_ground_content = true, - groups = {oddly_breakable_by_hand=3}, - light_source = 9, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-1/6, -1/2, -1/6, 1/6, 1/2, 1/6}, - }, -}) - -minetest.register_node("caverealms:glow_worm_green", { - description = "Green Glow Worms", - tiles = {"caverealms_glow_worm_green.png"}, - inventory_image = "caverealms_glow_worm_green.png", - wield_image = "caverealms_glow_worm_green.png", - is_ground_content = true, - groups = {oddly_breakable_by_hand=3}, - light_source = 9, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-1/6, -1/2, -1/6, 1/6, 1/2, 1/6}, - }, -}) - -minetest.register_node("caverealms:fire_vine", { - description = "Fire Vine", - tiles = {"caverealms_fire_vine.png"}, - inventory_image = "caverealms_fire_vine.png", - wield_image = "caverealms_fire_vine.png", - is_ground_content = true, - damage_per_second = 1, - groups = {oddly_breakable_by_hand=3}, - light_source = 9, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-1/6, -1/2, -1/6, 1/6, 1/2, 1/6}, - }, -}) - - ---define special flame so that it does not expire -minetest.register_node("caverealms:constant_flame", { - description = "Fire", - drawtype = "plantlike", - tiles = {{ - name="fire_basic_flame_animated.png", - animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1}, - }}, - inventory_image = "fire_basic_flame.png", - light_source = 14, - groups = {igniter=2, dig_immediate=3, hot=3, not_in_creative_inventory=1}, - paramtype = "light", - drop = '', - walkable = false, - buildable_to = true, - floodable = true, - damage_per_second = 4, -}) - ---dungeon master statue (nodebox) -minetest.register_node("caverealms:dm_statue", { - description = "Dungeon Master Statue", - tiles = { - "caverealms_dm_stone.png", - "caverealms_dm_stone.png", - "caverealms_dm_stone.png", - "caverealms_dm_stone.png", - "caverealms_dm_stone.png", - "caverealms_stone_eyes.png" - }, - drawtype = "nodebox", - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky=2}, - node_box = { - type = "fixed", - fixed = { - {-0.4375, -0.5, -0.4375, 0.4375, -0.3125, 0.4375}, -- NodeBox1 - {-0.25, -0.125, -0.1875, 0.25, 0.5, 0.1875}, -- NodeBox2 - {-0.375, 0, -0.125, -0.25, 0.4375, 0.125}, -- NodeBox3 - {0.25, 0.125, -0.4375, 0.375, 0.375, 0.1875}, -- NodeBox4 - {-0.25, -0.5, -0.125, -0.125, -0.125, 0.125}, -- NodeBox5 - {0.125, -0.3125, -0.125, 0.25, 0, 0.125}, -- NodeBox6 - } - }, - selection_box = { - type = "regular" - } -}) - - --- Compatibility -minetest.register_alias("caverealms:hanging_thin_ice", "caverealms:thin_ice") - -minetest.register_alias("caverealms:spike_2", "caverealms:spike") -minetest.register_alias("caverealms:spike_3", "caverealms:spike") -minetest.register_alias("caverealms:spike_4", "caverealms:spike") -minetest.register_alias("caverealms:spike_5", "caverealms:spike") - -minetest.register_alias("caverealms:salt_gem_2", "caverealms:salt_gem") -minetest.register_alias("caverealms:salt_gem_3", "caverealms:salt_gem") -minetest.register_alias("caverealms:salt_gem_4", "caverealms:salt_gem") -minetest.register_alias("caverealms:salt_gem_5", "caverealms:salt_gem") - -minetest.register_alias("caverealms:glow_gem_2", "caverealms:glow_gem") -minetest.register_alias("caverealms:glow_gem_3", "caverealms:glow_gem") -minetest.register_alias("caverealms:glow_gem_4", "caverealms:glow_gem") -minetest.register_alias("caverealms:glow_gem_5", "caverealms:glow_gem") diff --git a/mods/.caverealms_old/plants.lua b/mods/.caverealms_old/plants.lua deleted file mode 100644 index 60c65698..00000000 --- a/mods/.caverealms_old/plants.lua +++ /dev/null @@ -1,191 +0,0 @@ --- Cavrealms plants and trees for lichen, moss and algae biomes - --- Lichen biome - --- glowing fungi -minetest.register_node("caverealms:fungus", { - description = "Glowing Fungus", - tiles = {"caverealms_fungi.png"}, - inventory_image = "caverealms_fungi.png", - wield_image = "caverealms_fungi.png", - is_ground_content = true, - groups = {oddly_breakable_by_hand = 3, attached_node = 1, flammable = 1}, - light_source = 5, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, -}) - --- mycena mushroom -minetest.register_node("caverealms:mycena", { - description = "Mycena Mushroom", - tiles = {"caverealms_mycena.png"}, - inventory_image = "caverealms_mycena.png", - wield_image = "caverealms_mycena.png", - is_ground_content = true, - groups = {oddly_breakable_by_hand = 3, attached_node = 1, flammable = 1}, - light_source = 6, - paramtype = "light", - drawtype = "plantlike", - walkable = false, - buildable_to = true, - visual_scale = 1.0, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, -}) - --- giant mushroom -if minetest.get_modpath("ethereal") then - minetest.register_alias("caverealms:mushroom_cap", "ethereal:mushroom") - minetest.register_alias("caverealms:mushroom_stem", "ethereal:mushroom_trunk") -else - -- stem - minetest.register_node("caverealms:mushroom_stem", { - description = "Giant Mushroom Stem", - tiles = {"caverealms_mushroom_stem.png"}, - is_ground_content = true, - groups = {choppy=2, oddly_breakable_by_hand=1}, - }) - - -- cap - minetest.register_node("caverealms:mushroom_cap", { - description = "Giant Mushroom Cap", - tiles = {"caverealms_mushroom_cap.png"}, - is_ground_content = true, - groups = {choppy=2, oddly_breakable_by_hand=1,}, - drop = { - max_items = 1, - items = { - {items = {"caverealms:mushroom_sapling"}, rarity = 20}, - {items = {"caverealms:mushroom_cap"}} - } - }, - }) - - -- sapling - minetest.register_node("caverealms:mushroom_sapling", { - description = "Mushroom Tree Sapling", - drawtype = "plantlike", - tiles = {"caverealms_mushroom_sapling.png"}, - paramtype = "light", - sunlight_propagates = true, - is_ground_content = false, - walkable = false, - selection_box = { - type = "fixed", - fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16} - }, - groups = {snappy = 2, dig_immediate = 3, flammable = 2}, - sounds = default.node_sound_leaves_defaults(), - }) -end - --- gills -minetest.register_node("caverealms:mushroom_gills", { - description = "Giant Mushroom Gills", - tiles = {"caverealms_mushroom_gills.png"}, - is_ground_content = true, - light_source = 10, - walkable = false, - groups = {choppy=2, oddly_breakable_by_hand=1}, - drawtype = "plantlike", - paramtype = "light", -}) - - --- Saplings - --- grow trees -local add_tree = function (pos, ofx, ofy, ofz, schem) - if not schem then - print ("Schematic not found") - return - end - minetest.swap_node(pos, {name = "air"}) - minetest.place_schematic( - {x = pos.x - ofx, y = pos.y - ofy, z = pos.z - ofz}, - schem, 0, nil, false) -end - -local path = minetest.get_modpath("caverealms").."/schematics/" - --- giant mushrooms -function grow_caverealms_mushroom(pos) - add_tree(pos, 5, 0, 5, path .. "shroom.mts") -end - --- height check -local function enough_height(pos, height) - local nod = minetest.line_of_sight( - {x = pos.x, y = pos.y + 1, z = pos.z}, - {x = pos.x, y = pos.y + height, z = pos.z}) - if not nod then - return false - else - return true - end -end - -minetest.register_abm({ - label = "Caverealms grow sapling", - nodenames = {"ethereal:mushroom_sapling", "caverealms:mushroom_sapling"}, - interval = 10, - chance = 50, - catch_up = false, - action = function(pos, node) - local light_level = minetest.get_node_light(pos) - -- check light level - if not light_level or light_level > 10 then - return - end - -- get node under sapling - local under = minetest.get_node({x = pos.x, y = pos.y - 1, z = pos.z}).name - -- check if registered - if not minetest.registered_nodes[node.name] then - return - end - -- ethereal sapling on lichen stone - if node.name == "ethereal:mushroom_sapling" - and under == "caverealms:stone_with_lichen" - and enough_height(pos, 10) then - grow_caverealms_mushroom(pos) - -- caverealms sapling on lichen stone - elseif node.name == "caverealms:mushroom_sapling" - and under == "caverealms:stone_with_lichen" - and enough_height(pos, 10) then - grow_caverealms_mushroom(pos) - end - end, -}) - - --- spread moss/lichen/algae to nearby cobblestone -minetest.register_abm({ - label = "Caverealms stone spread", - nodenames = { - "caverealms:stone_with_moss", - "caverealms:stone_with_lichen", - "caverealms:stone_with_algae", - }, - neighbors = {"air"}, - interval = 16, - chance = 50, - catch_up = false, - action = function(pos, node) - local num = minetest.find_nodes_in_area_under_air( - {x = pos.x - 1, y = pos.y - 2, z = pos.z - 1}, - {x = pos.x + 1, y = pos.y + 1, z = pos.z + 1}, - "default:cobble") - if #num > 0 then - minetest.set_node(num[math.random(#num)], {name = node.name}) - end - end, -}) diff --git a/mods/.caverealms_old/schematics/amethyst_stalactite.mts b/mods/.caverealms_old/schematics/amethyst_stalactite.mts deleted file mode 100644 index 06821e2a..00000000 Binary files a/mods/.caverealms_old/schematics/amethyst_stalactite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/amethyst_stalagmite.mts b/mods/.caverealms_old/schematics/amethyst_stalagmite.mts deleted file mode 100644 index 48918d84..00000000 Binary files a/mods/.caverealms_old/schematics/amethyst_stalagmite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/emerald_stalactite.mts b/mods/.caverealms_old/schematics/emerald_stalactite.mts deleted file mode 100644 index c56f19b2..00000000 Binary files a/mods/.caverealms_old/schematics/emerald_stalactite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/emerald_stalagmite.mts b/mods/.caverealms_old/schematics/emerald_stalagmite.mts deleted file mode 100644 index 252923cd..00000000 Binary files a/mods/.caverealms_old/schematics/emerald_stalagmite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/ruby_stalactite.mts b/mods/.caverealms_old/schematics/ruby_stalactite.mts deleted file mode 100644 index 7c8d259f..00000000 Binary files a/mods/.caverealms_old/schematics/ruby_stalactite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/ruby_stalagmite.mts b/mods/.caverealms_old/schematics/ruby_stalagmite.mts deleted file mode 100644 index 79732d7f..00000000 Binary files a/mods/.caverealms_old/schematics/ruby_stalagmite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/sapphire_stalactite.mts b/mods/.caverealms_old/schematics/sapphire_stalactite.mts deleted file mode 100644 index cc45452b..00000000 Binary files a/mods/.caverealms_old/schematics/sapphire_stalactite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/sapphire_stalagmite.mts b/mods/.caverealms_old/schematics/sapphire_stalagmite.mts deleted file mode 100644 index a15fc5bb..00000000 Binary files a/mods/.caverealms_old/schematics/sapphire_stalagmite.mts and /dev/null differ diff --git a/mods/.caverealms_old/schematics/shroom.mts b/mods/.caverealms_old/schematics/shroom.mts deleted file mode 100644 index 07e49668..00000000 Binary files a/mods/.caverealms_old/schematics/shroom.mts and /dev/null differ diff --git a/mods/.caverealms_old/textures/Thumbs.db b/mods/.caverealms_old/textures/Thumbs.db deleted file mode 100644 index 277f8564..00000000 Binary files a/mods/.caverealms_old/textures/Thumbs.db and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_algae.png b/mods/.caverealms_old/textures/caverealms_algae.png deleted file mode 100644 index 1331bb03..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_algae.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_algae_side.png b/mods/.caverealms_old/textures/caverealms_algae_side.png deleted file mode 100644 index b9bd4ed0..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_algae_side.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_angler_rod.png b/mods/.caverealms_old/textures/caverealms_angler_rod.png deleted file mode 100644 index 799abec4..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_angler_rod.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_angler_rod_baited.png b/mods/.caverealms_old/textures/caverealms_angler_rod_baited.png deleted file mode 100644 index 98c9f3ba..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_angler_rod_baited.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_angler_rod_weild.png b/mods/.caverealms_old/textures/caverealms_angler_rod_weild.png deleted file mode 100644 index 160a5fff..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_angler_rod_weild.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_coal_dust.png b/mods/.caverealms_old/textures/caverealms_coal_dust.png deleted file mode 100644 index be6cbbbb..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_coal_dust.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_dm_stone.png b/mods/.caverealms_old/textures/caverealms_dm_stone.png deleted file mode 100644 index 73e92664..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_dm_stone.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_fire_vine.png b/mods/.caverealms_old/textures/caverealms_fire_vine.png deleted file mode 100644 index 6f2c2a34..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_fire_vine.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_fungi.png b/mods/.caverealms_old/textures/caverealms_fungi.png deleted file mode 100644 index fde8cbfd..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_fungi.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_amethyst.png b/mods/.caverealms_old/textures/caverealms_glow_amethyst.png deleted file mode 100644 index 7daa61bb..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_amethyst.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_amethyst_ore.png b/mods/.caverealms_old/textures/caverealms_glow_amethyst_ore.png deleted file mode 100644 index 403d907b..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_amethyst_ore.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_bait.png b/mods/.caverealms_old/textures/caverealms_glow_bait.png deleted file mode 100644 index 56a084b5..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_bait.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_crystal.png b/mods/.caverealms_old/textures/caverealms_glow_crystal.png deleted file mode 100644 index b9be3951..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_crystal.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_emerald.png b/mods/.caverealms_old/textures/caverealms_glow_emerald.png deleted file mode 100644 index 025a48b0..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_emerald.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_emerald_ore.png b/mods/.caverealms_old/textures/caverealms_glow_emerald_ore.png deleted file mode 100644 index 9f601aa4..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_emerald_ore.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_gem.png b/mods/.caverealms_old/textures/caverealms_glow_gem.png deleted file mode 100644 index 9bf3426a..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_gem.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_mese.png b/mods/.caverealms_old/textures/caverealms_glow_mese.png deleted file mode 100644 index ed433fed..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_mese.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_obsidian.png b/mods/.caverealms_old/textures/caverealms_glow_obsidian.png deleted file mode 100644 index a1577382..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_obsidian.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_obsidian2.png b/mods/.caverealms_old/textures/caverealms_glow_obsidian2.png deleted file mode 100644 index 7d1dcf38..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_obsidian2.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_obsidian_brick.png b/mods/.caverealms_old/textures/caverealms_glow_obsidian_brick.png deleted file mode 100644 index a5c6db82..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_obsidian_brick.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_obsidian_brick_2.png b/mods/.caverealms_old/textures/caverealms_glow_obsidian_brick_2.png deleted file mode 100644 index da2b2e33..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_obsidian_brick_2.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_obsidian_glass.png b/mods/.caverealms_old/textures/caverealms_glow_obsidian_glass.png deleted file mode 100644 index afd0fa7e..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_obsidian_glass.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_ore.png b/mods/.caverealms_old/textures/caverealms_glow_ore.png deleted file mode 100644 index 19179a9c..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_ore.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_ruby.png b/mods/.caverealms_old/textures/caverealms_glow_ruby.png deleted file mode 100644 index 59fd46b6..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_ruby.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_ruby_ore.png b/mods/.caverealms_old/textures/caverealms_glow_ruby_ore.png deleted file mode 100644 index 31ecb63b..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_ruby_ore.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_worm.png b/mods/.caverealms_old/textures/caverealms_glow_worm.png deleted file mode 100644 index e324fbd6..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_worm.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_glow_worm_green.png b/mods/.caverealms_old/textures/caverealms_glow_worm_green.png deleted file mode 100644 index 686c2779..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_glow_worm_green.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_hot_cobble.png b/mods/.caverealms_old/textures/caverealms_hot_cobble.png deleted file mode 100644 index 2e873e84..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_hot_cobble.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_icicle_down.png b/mods/.caverealms_old/textures/caverealms_icicle_down.png deleted file mode 100644 index adcc340b..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_icicle_down.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_icicle_up.png b/mods/.caverealms_old/textures/caverealms_icicle_up.png deleted file mode 100644 index fcd5e2a2..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_icicle_up.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_lichen.png b/mods/.caverealms_old/textures/caverealms_lichen.png deleted file mode 100644 index f38fe767..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_lichen.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_lichen_side.png b/mods/.caverealms_old/textures/caverealms_lichen_side.png deleted file mode 100644 index b036dc3f..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_lichen_side.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_moss.png b/mods/.caverealms_old/textures/caverealms_moss.png deleted file mode 100644 index fd23ec37..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_moss.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_moss_side.png b/mods/.caverealms_old/textures/caverealms_moss_side.png deleted file mode 100644 index a16d64ab..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_moss_side.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_mushroom_cap.png b/mods/.caverealms_old/textures/caverealms_mushroom_cap.png deleted file mode 100644 index e5a1a35a..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_mushroom_cap.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_mushroom_gills.png b/mods/.caverealms_old/textures/caverealms_mushroom_gills.png deleted file mode 100644 index 596de9ec..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_mushroom_gills.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_mushroom_sapling.png b/mods/.caverealms_old/textures/caverealms_mushroom_sapling.png deleted file mode 100644 index 262c6900..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_mushroom_sapling.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_mushroom_stem.png b/mods/.caverealms_old/textures/caverealms_mushroom_stem.png deleted file mode 100644 index d329ef12..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_mushroom_stem.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_mycena.png b/mods/.caverealms_old/textures/caverealms_mycena.png deleted file mode 100644 index 50ea65ba..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_mycena.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_salt_crystal.png b/mods/.caverealms_old/textures/caverealms_salt_crystal.png deleted file mode 100644 index dde96fc2..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_salt_crystal.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_salt_gem.png b/mods/.caverealms_old/textures/caverealms_salt_gem.png deleted file mode 100644 index 0419e2ef..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_salt_gem.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_salty2.png b/mods/.caverealms_old/textures/caverealms_salty2.png deleted file mode 100644 index 7f8b5219..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_salty2.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_spike.png b/mods/.caverealms_old/textures/caverealms_spike.png deleted file mode 100644 index 253c9e6e..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_spike.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/caverealms_stone_eyes.png b/mods/.caverealms_old/textures/caverealms_stone_eyes.png deleted file mode 100644 index 288db067..00000000 Binary files a/mods/.caverealms_old/textures/caverealms_stone_eyes.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/fire_basic_flame.png b/mods/.caverealms_old/textures/fire_basic_flame.png deleted file mode 100644 index 7a126e32..00000000 Binary files a/mods/.caverealms_old/textures/fire_basic_flame.png and /dev/null differ diff --git a/mods/.caverealms_old/textures/fire_basic_flame_animated.png b/mods/.caverealms_old/textures/fire_basic_flame_animated.png deleted file mode 100644 index 3b312e53..00000000 Binary files a/mods/.caverealms_old/textures/fire_basic_flame_animated.png and /dev/null differ diff --git a/mods/.farming_old/README.md b/mods/.farming_old/README.md deleted file mode 100644 index ec4143e1..00000000 --- a/mods/.farming_old/README.md +++ /dev/null @@ -1,276 +0,0 @@ -Farming Redo mod for Minetest -============================= - -Information ------------ - -This mod replaces the default `farming` mod with a fully compatible API that allows -players to grow crops even when they are not nearby. It also includes many new foods -and crops which can be planted directly onto tilled soil without seeds. Crops that do -require seeds like wheat and cotton are found when digging in long grasses, and will -require player to stay nearby until they germinate before growing normally. - -![screenshot.png](screenshot.png) - -Tech information ----------------- - -Crops grow by adding your new plant to the {growing = 1} group and numbering the stages from _1 to as many stages as you like, but the underscore MUST be used only once in the node name to separate plant from stage number e.g. - -* "farming:cotton_1" through to "farming:cotton_8" -* "farming:wheat_1" through to "farming:wheat_8" -* "farming:cucumber_1" through to "farming:cucumber_4" - -https://forum.minetest.net/viewtopic.php?id=9019 - -Farming Redo also works with Bonemeal mod for quick growing crops and saplings which can -be found at https://notabug.org/TenPlus1/bonemeal - -#### Optional dependences: - -* default -* mcl_core, mcl_sounds, mcl_farming, mcl_stairs -* stairs -* lucky_block (adds 47 lucky blocks) -* toolranks - -#### Configuration - -`farming.conf` is used to load custom settings for each crop and can be found in either the -farming mod folder or the world folder. Also `minetest.conf` contains a setting for crop growth speed. - - -| Configuration | type | default | file | Notes | -| -------------------- | ----- | ------- | ------------ | ----------------------------------------- | -| farming_stage_length | float | 160.0 | minetest.conf | Contains a value used for speed of crop growth in seconds | -| farming.min_light | int | 12 | farming.conf | default minimum light levels crops need to grow | -| farming.max_light | int | 15 | farming.conf | default maximum light levels crops need to grow | -| farming_use_utensils | bool | True | farming.conf | When True uses utensils in craft recipes | -| farming.carrot | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.potato | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.tomato | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.cucumber | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.corn | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.coffee | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.melon | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.pumpkin | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.cocoa | bool | true | farming.conf | true to enable crop/food or false to disable | -| farming.raspberry | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.blueberry | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.rhubarb | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.beans | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.grapes | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.barley | bool | true | farming.conf | true to enable crop/food, false to disable | -| farming.chili | float | 0.003 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.hemp | float | 0.003 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.garlic | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.onion | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.pepper | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.pineapple | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.peas | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.beetroot | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.mint | float | 0.005 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.cabbage | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.blackberry | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.lettuce | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.soy | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.vanilla | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.artichoke | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.parsley | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.sunflower | float | 0.001 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.grains | bool | true | farming.conf | true to enable crop/food or false to disable | -| farming.rice | bool | true | farming.conf | true to enable crop/food or false to disable | -| farming.asparagus | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.eggplant | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.spinach | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | -| farming.strawberry | float | 0.002 | farming.conf | rarety value to enable crop/food in-game, false to disable | - -#### Nodes and food - -This farming mod provides a large selection of craftable food and items: - -| Node name | Description name | -| ----------------------- | --------------------- | -| farming:salt | Salt | -| farming:salt_crystal | Salt Crystal | -| farming:chili_powder | Chili Powder | -| farming:rose_water | Rose Water | -| farming:glass_water | Glass of Water | -| farming:sugar | Sugar | -| farming:sugar_cube | Sugar Cube | -| farming:caramel | Caramel | -| farming:turkish_delight | Turkish Delight | -| farming:garlic_bread | Garlic Bread | -| farming:donut | Donut | -| farming:donut_chocolate | Chocolate Donut | -| farming:donut_apple | Apple Donut | -| farming:porridge | Porridge | -| farming:jaffa_cake | Jaffa Cake | -| farming:apple_pie | Apple Pie | -| farming:cactus_juice | Cactus Juice | -| farming:pasta | Pasta | -| farming:mac_and_cheese | Mac & Cheese | -| farming:spaghetti | Spaghetti | -| farming:bibimbap | Bibimbap | -| farming:burger | Burger | -| farming:salad | Salad | -| farming:smoothie_berry | Triple Berry Smoothie | -| farming:spanish_potatoes | Spanish Potatoes | -| farming:potato_omelet | Potato omelet | -| farming:paella | Paella | -| farming:flan | Vanilla Flan | -| farming:cheese_vegan | Vegan Cheese | -| farming:onigiri | Onigiri | -| farming:gyoza | Gyoza | -| farming:mochi | Mochi | -| farming:beetroot_soup | Beetroot Soup | -| farming:muffin_blueberry | Blueberry Muffin | -| farming:blueberry_pie | Blueberry Pie | -| farming:carrot_juice | Carrot Juice | -| farming:carrot_gold | Golden Carrot (revives) | -| farming:chili_bowl | Bowl or Chili | -| farming:cocoa_beans | Cocoa Beans | -| farming:cookie | Chocolate Cookie | -| farming:chocolate_dark | Bar of Dark Chocolate | -| farming:chocolate_block | Chocolate Block | -| farming:coffee_cup | Cup of Coffee | -| farming:corn_cob | Corn on the Cob | -| farming:popcorn | Popcorn | -| farming:cornstarch | Cornstarch | -| farming:ethanol | Bottle of Ethanol (fuel) | -| farming:string | String | -| farming:garlic_braid | Garlic Braid | -| farming:garlic_clove | Garlic Clove | -| farming:hemp_oil | Hemp Oil | -| farming:hemp_fibre | Hemp Fibre | -| farming:hemp_block | Hemp Block | -| farming:hemp_rope | Hemp Rope | -| farming:mint_tea | Mint Tea | -| farming:onion_soup | Onion Soup | -| farming:pea_soup | Pea Soup | -| farming:pepper_ground | Ground Pepper | -| farming:pineapple_ring | Pineapple Ring | -| farming:pineapple_juice | Pineapple Juice | -| farming:baked_potato | Baked Potato | -| farming:potato_salad | Cucumber & Potato Salad | -| farming:jackolantern | Jack 'O Lantern | -| farming:scarecrow_bottom | Scarecrow Bottom | -| farming:pumpkin_dough | Pumpkin Dough | -| farming:pumpkin_bread | Pumpkin Bread | -| farming:smoothie_raspberry | Raspberry Smoothie | -| farming:rhubarb_pie | Rhybarb Pie | -| farming:rice_flour | Rice Flour | -| farming:rice_bread | Rice Bread | -| farming:flour_multigrain | Multigrain Rice | -| farming:bread_multigrain | Multigrain Bread | -| farming:soy_sauce | Soy Sauce | -| farming:soy_milk | Soy Milk | -| farming:tofu | Tofu | -| farming:tofu_cooked | Cooked Tofu | -| farming:sunflower_seeds_toasted | Toasted Sunflower Seeds | -| farming:sunflower_oil | Sunflower Oil | -| farming:sunflower_bread | Sunflower Bread | -| farming:tomato_soup | Tomato Soup | -| farming:vanilla_extract | Vanilla Extract | -| farming:flour | Flour | -| farming:bread | Bread | -| farming:straw | Straw Block | -| farming:bread_slice | Bread Slice | -| farming:toast | Toast | -| farming:toast_sandwich | Toast Sandwich | - -#### Item and Tools - -| node name | Description | -| ----------------------- | --------------------- | -| farming:trellis | Trellis (for growing grapes) | -| farming:beanpole | Bean Pole (for growing beans) | -| farming:scythe_mithril | Mithril Scythe (Use to harvest and replant crops) | -| farming:hoe_bomb | Hoe Bomb (use or throw on grassy areas to hoe land) | -| farming:hoe_wood | Wooden Hoe | -| farming:hoe_stone | Stone Hoe | -| farming:hoe_steel | Steel Hoe | -| farming:hoe_bronze | Bronze Hoe | -| farming:hoe_mese | Mese Hoe | -| farming:hoe_diamond | Diamond Hoe | -| farming:bowl | Wooden Bowl | -| farming:saucepan | Saucepan | -| farming:pot | Cooking Pot | -| farming:baking_tray | Baking Tray | -| farming:skillet | Skillet | -| farming:mortar_pestle | Mortar and Pestle | -| farming:cutting_board | Cutting Board | -| farming:juicer | Juicer | -| farming:mixing_bowl | Glass Mixing Bowl | -| moreores:hoe_silver | Silver Hoe | -| moreores:hoe_mithril | Mitril Hoe | - -#### Nodes and Aliasing - -This mod is also a direct replacement for the older Farming Plus mod and will replace all -of it's nodes and items with one's found within Farming Redo. - -#### ABM - -The ABM checks every 5 minutes to make sure crops in `group:growing` that were planted -on an older map are enabled and growing properly. - -### Changelog: - -- 1.49 - Added {eatable=1} groups to food items with the value giving HP when eaten, improved mineclone support, separated foods from crop files., hoes can deal damage. -- 1.48 - added 'farming_use_utensils' setting to enable/disable utensils in recipes, added mayonnaise (thx felfa), added gingerbread man, Added MineClone2 compatibility -- 1.47 - Now blueberries can make blue dye, tweak soil types to work better with older 0.4.x clients and add spanish translation (thx mckaygerhard), add trellis setting to registered_crops and fix pea and soy crop names (thx nixnoxus), add strawberries if ethereal mod not active, added asparagus; spinach; eggplant (thx Atlante for new textures), Sugar Cube -- 1.46 - Added min/max default light settings, added lettuce and blackberries with food items (thanks OgelGames), added soya, vanilla and sunflowers (thanks Felfa), added tofu, added salt crystals (thanks gorlock) -- 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base, added cactus juice, added pasta, spaghetti, cabbage, korean bibimbap, code tidy -options, onion soup added (thanks edcrypt), Added apple pie, added wild cotton to savanna -- 1.44 - Added 'farming_stage_length' in mod settings for speed of crop growth, also thanks to TheDarkTiger for translation updates -- 1.43 - Scythe works on use instead of right-click, added seed=1 groups to actual seeds and seed=2 group for plantable food items. -- 1.42 - Soil needs water to be present within 3 blocks horizontally and 1 below to make wet soil, Jack 'o Lanterns now check protection, add chocolate block. -- 1.41 - Each crop has it's own spawn rate (can be changed in farming.conf) -- 1.40 - Added Mithril Scythe to quick harvest and replant crops on right-click. Added Hoe's for MoreOres with Toolrank support. -- 1.39 - Added Rice, Rye and Oats thanks to Ademants Grains mod. Added Jaffa Cake and multigrain bread. -- 1.38 - Pumpkin grows into block, use chopping board to cut into 4x slices, same with melon block, 2x2 slices makes a block, cocoa pods are no longer walkable -- 1.37 - Added custom 'growth_check(pos, nodename) function for crop nodes to use (check cocoa.lua for example) -- 1.36 - Added Beetroot, Beetroot Soup (6x beetroot, 1x bowl), fix register_plant() issue, add new recipes -- 1.35 - Deprecated bronze/mese/diamond hoe's, added hoe bomb and deprecated hoe's as lucky block prizes -- 1.34 - Added scarecrow Base (5x sticks in a cross shape) -- 1.33 - Added cooking utensils (wooden bowl, saucepan, cooking pot, baking tray, skillet, cutting board, mortar & pestle, juicer, glass mixing bowl) for easier food crafts. -- 1.32 - Added Pea plant (textures by Andrey01) - also added Wooden Bowl and Pea Soup crafts -- 1.31 - Added Pineapple which can be found growing in savannah areas (place pineapple in crafting to obtain 5x rings to eat and a top for re-planting), also Salt which is made from cooking a bucket of water, added food groups so it's more compatible with Ruben's food mods. -- 1.30 - Added Garlic, Pepper and Onions thanks to Grizzly Adam for sharing textures -- 1.29 - Updating functions so requires Minetest 0.4.16 and above to run -- 1.28 - Added chili peppers and bowl of chili, optimized code and fixed a few bugs, added porridge -- 1.27 - Added meshoptions to api and wheat plants, added farming.rarity setting to spawn more/less crops on map, have separate cotton/string items (4x cotton = 1x wool, 2x cotton = 2x string) -- 1.26 - Added support for [toolranks] mod when using hoe's -- 1.25 - Added check for farming.conf setting file to disable specific crops globally (inside mod folder) or world specific (inside world folder) -- 1.24 - Added Hemp which can be crafted into fibre, paper, string, rope and oil. -- 1.23 - Huge code tweak and tidy done and added barley seeds to be found in dry grass, barley can make flour for bread also. -- 1.22 - Added grape bushes at high climates which can be cultivated into grape vines using trellis (9 sticks). -- 1.21 - Added auto-refill code for planting crops (thanks crabman77), also fixed a few bugs -- 1.20b - Tidied code, made api compatible with new 0.4.13 changes and changed to soil texture overlays -- 1.20 - NEW growing routine added that allows crops to grow while player is away doing other things (thanks prestidigitator) -- 1.14 - Added Green Beans from Crops mod (thanks sofar), little bushels in the wild but need to be grown using beanpoles crafted with 4 sticks (2 either side) -- 1.13 - Fixed seed double-placement glitch. Mapgen now uses 0.4.12+ for plant generation -- 1.12 - Player cannot place seeds in protected area, also growing speeds changed to match defaults -- 1.11 - Added Straw Bale, streamlined growing abm a little, fixed melon rotation bug with screwdriver -- 1.10 - Added Blueberry Bush and Blueberry Muffins, also Pumpkin/Melon easier to pick up, added check for unloaded map -- 1.09 - Corn now uses single nodes instead of 1 ontop of the other, Ethanol recipe is more expensive (requires 5 corn) and some code cleanup. -- 1.08 - Added Farming Plus compatibility, plus can be removed and no more missing nodes -- 1.07 - Added Rhubarb and Rhubarb Pie -- 1.06 - register_hoe and register_plant added for compatibility with default farming mod, although any plants registered will use farming redo to grow -- 1.05 - Added Raspberry Bushels and Raspberry Smoothie -- 1.04 - Added Donuts... normal, chocolate and apple... and a few code cleanups and now compatible with jungletree's from MoreTrees mod -- 1.03 - Bug fixes and more compatibility as drop-in replacement for built-in farming mod -- 1.02 - Added farming.mod string to help other mods identify which farming mod is running, if it returns "redo" then you're using this one, "" empty is built-in mod -- 1.01 - Crafting coffee or ethanol returns empty bucket/bottle, also Cocoa spawns a little rarer -- 1.0 - Added Cocoa which randomly grows on jungle tree's, pods give cocoa beans which can be used to farm more pods on a jungle trunk or make Cookies which have been added (or other treats) -- 0.9 - Added Pumpkin, Jack 'O Lantern, Pumpkin Slice and Sugar (a huge thanks to painterly.net for allowing me to use their textures) -- 0.8 - Added Watermelon and Melon Slice -- 0.7 - Added Coffee, Coffee Beans, Drinking Cup, Cold and Hot Cup of Coffee -- 0.6 - Added Corn, Corn on the Cob... Also reworked Abm -- 0.5 - Added Carrot, Cucumber, Potato (and Baked Potato), Tomato -- 0.4 - Checks for Protection, also performance changes -- 0.3 - Added Diamond and Mese hoe -- 0.2 - Fixed check for wet soil -- 0.1 - Fixed growing bug -- 0.0 - Initial release diff --git a/mods/.farming_old/alt_textures/ethereal_banana_leaf_32px.png b/mods/.farming_old/alt_textures/ethereal_banana_leaf_32px.png deleted file mode 100644 index 5800cbfc..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_banana_leaf_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry.png b/mods/.farming_old/alt_textures/ethereal_strawberry.png deleted file mode 100644 index 5b43e6bc..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_1.png b/mods/.farming_old/alt_textures/ethereal_strawberry_1.png deleted file mode 100644 index 3fa21edc..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_1.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_2.png b/mods/.farming_old/alt_textures/ethereal_strawberry_2.png deleted file mode 100644 index 751115e9..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_2.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_3.png b/mods/.farming_old/alt_textures/ethereal_strawberry_3.png deleted file mode 100644 index 8b7a7b8c..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_3.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_4.png b/mods/.farming_old/alt_textures/ethereal_strawberry_4.png deleted file mode 100644 index dcf00175..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_4.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_5.png b/mods/.farming_old/alt_textures/ethereal_strawberry_5.png deleted file mode 100644 index a2decaae..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_5.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_6.png b/mods/.farming_old/alt_textures/ethereal_strawberry_6.png deleted file mode 100644 index a4d0d603..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_6.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_7.png b/mods/.farming_old/alt_textures/ethereal_strawberry_7.png deleted file mode 100644 index ace223cd..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_7.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/ethereal_strawberry_8.png b/mods/.farming_old/alt_textures/ethereal_strawberry_8.png deleted file mode 100644 index 6d7280b6..00000000 Binary files a/mods/.farming_old/alt_textures/ethereal_strawberry_8.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_burger_32px.png b/mods/.farming_old/alt_textures/farming_burger_32px.png deleted file mode 100644 index 43ab6d49..00000000 Binary files a/mods/.farming_old/alt_textures/farming_burger_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_mayo_32px.png b/mods/.farming_old/alt_textures/farming_mayo_32px.png deleted file mode 100644 index c8e773b9..00000000 Binary files a/mods/.farming_old/alt_textures/farming_mayo_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_paella_32px.png b/mods/.farming_old/alt_textures/farming_paella_32px.png deleted file mode 100644 index 1362ac74..00000000 Binary files a/mods/.farming_old/alt_textures/farming_paella_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_popcorn_32px.png b/mods/.farming_old/alt_textures/farming_popcorn_32px.png deleted file mode 100644 index 846399e3..00000000 Binary files a/mods/.farming_old/alt_textures/farming_popcorn_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_potato_omelet_32px.png b/mods/.farming_old/alt_textures/farming_potato_omelet_32px.png deleted file mode 100644 index abdacada..00000000 Binary files a/mods/.farming_old/alt_textures/farming_potato_omelet_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_potato_salad_32px.png b/mods/.farming_old/alt_textures/farming_potato_salad_32px.png deleted file mode 100644 index 0028c91e..00000000 Binary files a/mods/.farming_old/alt_textures/farming_potato_salad_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_spaghetti_24px.png b/mods/.farming_old/alt_textures/farming_spaghetti_24px.png deleted file mode 100644 index a401281b..00000000 Binary files a/mods/.farming_old/alt_textures/farming_spaghetti_24px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_spanish_potatoes_32px.png b/mods/.farming_old/alt_textures/farming_spanish_potatoes_32px.png deleted file mode 100644 index 198b50e4..00000000 Binary files a/mods/.farming_old/alt_textures/farming_spanish_potatoes_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_sunflower_32px.png b/mods/.farming_old/alt_textures/farming_sunflower_32px.png deleted file mode 100644 index 06b9387d..00000000 Binary files a/mods/.farming_old/alt_textures/farming_sunflower_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_sunflower_bread_32px.png b/mods/.farming_old/alt_textures/farming_sunflower_bread_32px.png deleted file mode 100644 index 112e8c63..00000000 Binary files a/mods/.farming_old/alt_textures/farming_sunflower_bread_32px.png and /dev/null differ diff --git a/mods/.farming_old/alt_textures/farming_vanilla_flan_32px.png b/mods/.farming_old/alt_textures/farming_vanilla_flan_32px.png deleted file mode 100644 index c8b9ff06..00000000 Binary files a/mods/.farming_old/alt_textures/farming_vanilla_flan_32px.png and /dev/null differ diff --git a/mods/.farming_old/api.txt b/mods/.farming_old/api.txt deleted file mode 100644 index 19481f44..00000000 --- a/mods/.farming_old/api.txt +++ /dev/null @@ -1,93 +0,0 @@ -Farming API ------------ - -The farming API allows you to easily register plants and hoes. - -`farming.register_hoe(name, hoe definition)` - * Register a new hoe, see [#hoe definition] - -`farming.register_plant(name, Plant definition)` - * Register a new growing plant, see [#Plant definition] - -`farming.registered_plants[name] = definition` - * Table of registered plants, indexed by plant name - 'crop' holds name of growing crop node minus _step-number at end - 'seed' has name of seed required to plant crop - 'minlight' min light level needed to grow - 'maxlight' max light level needed to grow - 'steps' number of steps crop has in growth cycle - 'trellis' name of trellis node (e.g. "farming:trellis"), default: nil - -### Hoe Definition - - { - description = "My Hoe", -- Description for tooltip - inventory_image = "unknown_item.png", -- Image to be used as wield- and inventory image - max_uses = 30, -- Uses until destroyed - material = "", -- Material for recipes - recipe = { -- Craft recipe, if material isn't used - {"air", "air", "air"}, - {"", "group:stick"}, - {"", "group:stick"}, - } - } - -### Plant definition - - { - description = "My Plant", -- Description of seed item - inventory_image = "unknown_item.png", -- Image to be used as seed's wield- and inventory image - steps = 8, -- How many steps the plant has to grow, until it can be harvested - -- ^ Always provide a plant texture for each step, format: modname_plantname_i.png (i = stepnumber) - minlight = 13, -- Minimum light to grow - maxlight = minetest.LIGHT_MAX -- Maximum light to grow - can_grow = function(pos) -- Called every growth tick to check if plant can grow returning True if needs are met (optional, defaults to checking for wet soil below plant). - } - -Note: Any crops registered with the above function will use the new growing routines, also if crops are manually added with the {growing=1} group they will also grow. - -### Crop functions - -If a mod registers nodes to be used as crops using the {growing=1} group then an additional function can be used for custom growth checks instead of the standard 'are we above wet soil'. - -growth_check = function(pos, [node_name]) [DEPRECATED for above can_grow function] - -- check surrounding for jungle tree - if minetest.find_node_near(pos, 1, {"default:jungletree"}) then - return true -- place next growth stage - end - return false -- condition not met, skip next growth stage until next check -end, - -### Scythe items that will not drop - -This is a function to add items to a list that scythes will not drop, e.g. farming:trellis or farming:beanpole. - -farming.add_to_scythe_not_drops(item_name) - -### Start timer function - -A handy function that starts a crops timer with a randomly selected time set by using -stage_length setting. This is mostly used for special functions or 3rd party mods. - -farming.start_seed_timer(pos) - - -Node Sounds ------------ - -Farming Redo will detect wether the Default mod or MineClone/VoxeLibre mod is active and -store whichever sound set is available inside the following to save any other farming -mods from having to detect it themselves: - -farming.node_sound_defaults() -farming.node_sound_stone_defaults() -farming.node_sound_dirt_defaults() -farming.node_sound_sand_defaults() -farming.node_sound_gravel_defaults() -farming.node_sound_wood_defaults() -farming.node_sound_leaves_defaults() -farming.node_sound_ice_defaults() -farming.node_sound_metal_defaults() -farming.node_sound_water_defaults() -farming.node_sound_snow_defaults() -farming.node_sound_glass_defaults() diff --git a/mods/.farming_old/compatibility.lua b/mods/.farming_old/compatibility.lua deleted file mode 100644 index 6895326e..00000000 --- a/mods/.farming_old/compatibility.lua +++ /dev/null @@ -1,171 +0,0 @@ - -local S = minetest.get_translator("farming") - ---= Helpers - -local eth = minetest.get_modpath("ethereal") -local alias = function(orig, new) - minetest.register_alias(orig, new) -end - ---= Add {eatable} group to default food items if found - -farming.add_eatable("default:apple", 2) -farming.add_eatable("default:blueberries", 1) -farming.add_eatable("flowers:mushroom_brown", 1) -farming.add_eatable("flowers:mushroom_red", -5) - ---= Aliases - --- Banana - -if eth then - alias("farming_plus:banana_sapling", "ethereal:banana_tree_sapling") - alias("farming_plus:banana_leaves", "ethereal:bananaleaves") - alias("farming_plus:banana", "ethereal:banana") -else - minetest.register_node(":ethereal:banana", { - description = S("Banana"), - drawtype = "torchlike", - tiles = {"farming_banana_single.png"}, - inventory_image = "farming_banana_single.png", - wield_image = "farming_banana_single.png", - paramtype = "light", - sunlight_propagates = true, - walkable = false, - selection_box = { - type = "fixed", - fixed = {-0.2, -0.5, -0.2, 0.2, 0.2, 0.2} - }, - groups = { - food_banana = 1, fleshy = 3, dig_immediate = 3 - }, - is_ground_content = false, - on_use = minetest.item_eat(2), - sounds = farming.node_sound_leaves_defaults() - }) - - farming.add_eatable("ethereal:banana", 2) - - minetest.register_node(":ethereal:bananaleaves", { - description = S("Banana Leaves"), - tiles = {"ethereal_banana_leaf.png"}, - inventory_image = "ethereal_banana_leaf.png", - wield_image = "ethereal_banana_leaf.png", - paramtype = "light", - waving = 1, - groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2}, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() - }) - - alias("farming_plus:banana_sapling", "default:sapling") - alias("farming_plus:banana_leaves", "ethereal:bananaleaves") - alias("farming_plus:banana", "ethereal:banana") -end - --- Carrot - -alias("farming_plus:carrot_seed", "farming:carrot") -alias("farming_plus:carrot_1", "farming:carrot_1") -alias("farming_plus:carrot_2", "farming:carrot_4") -alias("farming_plus:carrot_3", "farming:carrot_6") -alias("farming_plus:carrot", "farming:carrot_8") -alias("farming_plus:carrot_item", "farming:carrot") - --- Cocoa - -alias("farming_plus:cocoa_sapling", "farming:cocoa_beans") -alias("farming_plus:cocoa_leaves", "default:leaves") -alias("farming_plus:cocoa", "default:apple") -alias("farming_plus:cocoa_bean", "farming:cocoa_beans") - --- Orange - -alias("farming_plus:orange_1", "farming:tomato_1") -alias("farming_plus:orange_2", "farming:tomato_4") -alias("farming_plus:orange_3", "farming:tomato_6") - -if eth then - alias("farming_plus:orange_item", "ethereal:orange") - alias("farming_plus:orange", "ethereal:orange") - alias("farming_plus:orange_seed", "ethereal:orange_tree_sapling") -else - minetest.register_node(":ethereal:orange", { - description = S("Orange"), - drawtype = "plantlike", - tiles = {"farming_orange.png"}, - inventory_image = "farming_orange.png", - wield_image = "farming_orange.png", - paramtype = "light", - sunlight_propagates = true, - walkable = false, - selection_box = { - type = "fixed", - fixed = {-0.2, -0.3, -0.2, 0.2, 0.2, 0.2} - }, - groups = { - food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2 - }, - is_ground_content = false, - on_use = minetest.item_eat(4), - sounds = farming.node_sound_leaves_defaults() - }) - - farming.add_eatable("ethereal:orange", 4) - - alias("farming_plus:orange_item", "ethereal:orange") - alias("farming_plus:orange", "ethereal:orange") - alias("farming_plus:orange_seed", "default:sapling") -end - --- Potato - -alias("farming_plus:potato_item", "farming:potato") -alias("farming_plus:potato_1", "farming:potato_1") -alias("farming_plus:potato_2", "farming:potato_2") -alias("farming_plus:potato", "farming:potato_3") -alias("farming_plus:potato_seed", "farming:potato") - --- Pumpkin - -alias("farming:pumpkin_seed", "farming:pumpkin_slice") -alias("farming:pumpkin_face", "farming:jackolantern") -alias("farming:pumpkin_face_light", "farming:jackolantern_on") -alias("farming:big_pumpkin", "farming:jackolantern") -alias("farming:big_pumpkin_side", "air") -alias("farming:big_pumpkin_top", "air") -alias("farming:big_pumpkin_corner", "air") -alias("farming:scarecrow", "farming:jackolantern") -alias("farming:scarecrow_light", "farming:jackolantern_on") -alias("farming:pumpkin_flour", "farming:pumpkin_dough") - --- Rhubarb - -alias("farming_plus:rhubarb_seed", "farming:rhubarb") -alias("farming_plus:rhubarb_1", "farming:rhubarb_1") -alias("farming_plus:rhubarb_2", "farming:rhubarb_2") -alias("farming_plus:rhubarb", "farming:rhubarb_3") -alias("farming_plus:rhubarb_item", "farming:rhubarb") - --- Strawberry - -alias("farming_plus:strawberry_item", "ethereal:strawberry") -alias("farming_plus:strawberry_seed", "ethereal:strawberry") -alias("farming_plus:strawberry_1", "ethereal:strawberry_1") -alias("farming_plus:strawberry_2", "ethereal:strawberry_3") -alias("farming_plus:strawberry_3", "ethereal:strawberry_5") -alias("farming_plus:strawberry", "ethereal:strawberry_7") - --- Tomato - -alias("farming_plus:tomato_seed", "farming:tomato") -alias("farming_plus:tomato_item", "farming:tomato") -alias("farming_plus:tomato_1", "farming:tomato_2") -alias("farming_plus:tomato_2", "farming:tomato_4") -alias("farming_plus:tomato_3", "farming:tomato_6") -alias("farming_plus:tomato", "farming:tomato_8") - --- Weeds - -alias("farming:weed", "default:grass_2") diff --git a/mods/.farming_old/crops/artichoke.lua b/mods/.farming_old/crops/artichoke.lua deleted file mode 100644 index 43e8d9dc..00000000 --- a/mods/.farming_old/crops/artichoke.lua +++ /dev/null @@ -1,84 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:artichoke", { - description = S("Artichoke"), - inventory_image = "farming_artichoke.png", - groups = {compostability = 48, seed = 2, food_artichoke = 1}, - on_use = minetest.item_eat(4), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:artichoke_1") - end -}) - -farming.add_eatable("farming:artichoke", 4) - --- crop definition - -local def = { - description = S("Artichoke") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_artichoke_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:artichoke_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_artichoke_2.png"} -minetest.register_node("farming:artichoke_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_artichoke_3.png"} -minetest.register_node("farming:artichoke_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_artichoke_4.png"} -minetest.register_node("farming:artichoke_4", table.copy(def)) - --- stage 5 (final) - -def.tiles = {"farming_artichoke_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:artichoke 2"}, rarity = 1}, - {items = {"farming:artichoke"}, rarity = 2} - } -} -minetest.register_node("farming:artichoke_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:artichoke"] = { - crop = "farming:artichoke", - seed = "farming:artichoke", - minlight = 13, - maxlight = 15, - steps = 5 -} - --- mapgen -farming.register_decoration("artichoke",5) diff --git a/mods/.farming_old/crops/asparagus.lua b/mods/.farming_old/crops/asparagus.lua deleted file mode 100644 index 6f31f00d..00000000 --- a/mods/.farming_old/crops/asparagus.lua +++ /dev/null @@ -1,91 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:asparagus", { - description = S("Asparagus"), - inventory_image = "farming_asparagus.png", - groups = {compostability = 48, seed = 2, food_asparagus = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:asparagus_1") - end -}) - -farming.add_eatable("farming:asparagus", 1) - --- crop definition - -local def = { - description = S("Asparagus") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_asparagus_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:asparagus_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_asparagus_2.png"} -minetest.register_node("farming:asparagus_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_asparagus_3.png"} -minetest.register_node("farming:asparagus_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_asparagus_4.png"} -def.drop = { - items = { - {items = {"farming:asparagus"}, rarity = 2} - } -} -minetest.register_node("farming:asparagus_4", table.copy(def)) - --- stage 5 (final) - -def.tiles = {"farming_asparagus_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:asparagus"}, rarity = 1}, - {items = {"farming:asparagus 2"}, rarity = 2} - } -} -minetest.register_node("farming:asparagus_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:asparagus"] = { - crop = "farming:asparagus", - seed = "farming:asparagus", - minlight = 7, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen -farming.register_decoration("asparagus",5) diff --git a/mods/.farming_old/crops/barley.lua b/mods/.farming_old/crops/barley.lua deleted file mode 100644 index ca654565..00000000 --- a/mods/.farming_old/crops/barley.lua +++ /dev/null @@ -1,135 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_node("farming:seed_barley", { - description = S("Barley Seed"), - tiles = {"farming_barley_seed.png"}, - inventory_image = "farming_barley_seed.png", - wield_image = "farming_barley_seed.png", - drawtype = "signlike", - groups = { - handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1, - growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - next_plant = "farming:barley_1", - selection_box = farming.select, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_barley") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:barley_1", param2 = 3}) - end -}) - --- item - -minetest.register_craftitem("farming:barley", { - description = S("Barley"), - inventory_image = "farming_barley.png", - groups = {food_barley = 1, flammable = 2, compostability = 65} -}) - --- crop definition - -local def = { - description = S("Barley") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_barley_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:barley_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_barley_2.png"} -minetest.register_node("farming:barley_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_barley_3.png"} -minetest.register_node("farming:barley_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_barley_4.png"} -minetest.register_node("farming:barley_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_barley_5.png"} -minetest.register_node("farming:barley_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_barley_6.png"} -def.drop = { - items = { - {items = {"farming:barley"}, rarity = 2}, - {items = {"farming:seed_barley"}, rarity = 2} - } -} -minetest.register_node("farming:barley_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_barley_7.png"} -def.drop = { - items = { - {items = {"farming:barley"}, rarity = 2}, - {items = {"farming:seed_barley"}, rarity = 1} - } -} -minetest.register_node("farming:barley_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_barley_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:barley"}, rarity = 1}, - {items = {"farming:barley"}, rarity = 3}, - {items = {"farming:seed_barley"}, rarity = 1}, - {items = {"farming:seed_barley"}, rarity = 3} - } -} -minetest.register_node("farming:barley_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:barley"] = { - crop = "farming:barley", - seed = "farming:seed_barley", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} diff --git a/mods/.farming_old/crops/beans.lua b/mods/.farming_old/crops/beans.lua deleted file mode 100644 index 78a1513b..00000000 --- a/mods/.farming_old/crops/beans.lua +++ /dev/null @@ -1,237 +0,0 @@ - --- All textures by (C) Auke Kok CC-BY-SA-3.0 - -local S = minetest.get_translator("farming") -local a = farming.recipe_items - --- place beans helper - -local function place_beans(itemstack, placer, pointed_thing, plantname) - - local pt = pointed_thing - - -- check if pointing at a node - if not pt or pt.type ~= "node" then return end - - local under = minetest.get_node(pt.under) - - -- return if any of the nodes are not registered - if not minetest.registered_nodes[under.name] then return end - - -- am I right-clicking on something that has a custom on_place set? - -- thanks to Krock for helping with this issue :) - local def = minetest.registered_nodes[under.name] - - if placer and itemstack and def and def.on_rightclick then - return def.on_rightclick(pt.under, under, placer, itemstack, pt) - end - - -- is player planting crop? - local name = placer and placer:get_player_name() or "" - - -- check for protection - if minetest.is_protected(pt.under, name) then return end - - -- check if pointing at bean pole - if under.name ~= "farming:beanpole" then return end - - -- add the node and remove 1 item from the itemstack - minetest.set_node(pt.under, {name = plantname}) - - minetest.sound_play("default_place_node", {pos = pt.under, gain = 1.0}, true) - - if placer or not farming.is_creative(placer:get_player_name()) then - - itemstack:take_item() - - -- check for refill - if itemstack:get_count() == 0 then - - minetest.after(0.20, - farming.refill_plant, placer, "farming:beans", placer:get_wield_index()) - end - end - - return itemstack -end - --- item/seed - -minetest.register_craftitem("farming:beans", { - description = S("Green Beans"), - inventory_image = "farming_beans.png", - groups = {compostability = 48, seed = 2, food_beans = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return place_beans(itemstack, placer, pointed_thing, "farming:beanpole_1") - end -}) - -farming.add_eatable("farming:beans", 1) - --- beanpole - -minetest.register_node("farming:beanpole", { - description = S("Bean Pole (place on soil before planting beans)"), - drawtype = "plantlike", - tiles = {"farming_beanpole.png"}, - inventory_image = "farming_beanpole.png", - visual_scale = 1.90, - paramtype = "light", - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = "farming:beanpole", - selection_box = farming.select, - groups = {handy = 1, snappy = 3, flammable = 2, attached_node = 1}, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - - on_place = function(itemstack, placer, pointed_thing) - - local pt = pointed_thing - - -- check if pointing at a node - if not pt or pt.type ~= "node" then return end - - local under = minetest.get_node(pt.under) - - -- return if any of the nodes are not registered - if not minetest.registered_nodes[under.name] then return end - - -- am I right-clicking on something that has a custom on_place set? - -- thanks to Krock for helping with this issue :) - local def = minetest.registered_nodes[under.name] - - if def and def.on_rightclick then - return def.on_rightclick(pt.under, under, placer, itemstack, pt) - end - - if minetest.is_protected(pt.above, placer:get_player_name()) then - return - end - - local nodename = under.name - - if minetest.get_item_group(nodename, "soil") < 2 then return end - - local top = { - x = pointed_thing.above.x, - y = pointed_thing.above.y + 1, - z = pointed_thing.above.z - } - - nodename = minetest.get_node(top).name - - if nodename ~= "air" then return end - - minetest.set_node(pointed_thing.above, {name = "farming:beanpole"}) - - if not farming.is_creative(placer:get_player_name()) then - itemstack:take_item() - end - - return itemstack - end -}) - --- crop definition - -local def = { - description = S("Green Beans") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_beanpole_1.png"}, - visual_scale = 1.90, - paramtype = "light", - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = { - items = { - {items = {"farming:beanpole"}, rarity = 1} - } - }, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 3, not_in_creative_inventory = 1, - attached_node = 1, growing = 1, plant = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:beanpole_1", table.copy(def)) - --- stage2 - -def.tiles = {"farming_beanpole_2.png"} -minetest.register_node("farming:beanpole_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_beanpole_3.png"} -minetest.register_node("farming:beanpole_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_beanpole_4.png"} -minetest.register_node("farming:beanpole_4", table.copy(def)) - --- stage 5 (final) - -def.tiles = {"farming_beanpole_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:beanpole"}, rarity = 1}, - {items = {"farming:beans 3"}, rarity = 1}, - {items = {"farming:beans 2"}, rarity = 2}, - {items = {"farming:beans 2"}, rarity = 3} - } -} -minetest.register_node("farming:beanpole_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:beans"] = { - trellis = "farming:beanpole", - crop = "farming:beanpole", - seed = "farming:beans", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- wild green bean bush (this is what you find on the map) - -minetest.register_node("farming:beanbush", { - drawtype = "plantlike", - tiles = {"farming_beanbush.png"}, - paramtype = "light", - waving = 1, - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = { - items = { - {items = {"farming:beans 1"}, rarity = 1}, - {items = {"farming:beans 1"}, rarity = 2}, - {items = {"farming:beans 1"}, rarity = 3} - } - }, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - compostability = 35, not_in_creative_inventory = 1 - }, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -}) - --- mapgen -farming.register_decoration("beans",5,"farming:beanbush") diff --git a/mods/.farming_old/crops/beetroot.lua b/mods/.farming_old/crops/beetroot.lua deleted file mode 100644 index 6804c29d..00000000 --- a/mods/.farming_old/crops/beetroot.lua +++ /dev/null @@ -1,87 +0,0 @@ - -local S = minetest.get_translator("farming") -local a = farming.recipe_items - --- item/seed - -minetest.register_craftitem("farming:beetroot", { - description = S("Beetroot"), - inventory_image = "farming_beetroot.png", - groups = {compostability = 48, seed = 2, food_beetroot = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:beetroot_1") - end -}) - -farming.add_eatable("farming:beetroot", 1) - --- crop definition - -local def = { - description = S("Beetroot") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_beetroot_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:beetroot_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_beetroot_2.png"} -minetest.register_node("farming:beetroot_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_beetroot_3.png"} -minetest.register_node("farming:beetroot_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_beetroot_4.png"} -minetest.register_node("farming:beetroot_4", table.copy(def)) - --- stage 5 (final) - -def.tiles = {"farming_beetroot_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - max_items = 4, items = { - {items = {"farming:beetroot"}, rarity = 1}, - {items = {"farming:beetroot"}, rarity = 2}, - {items = {"farming:beetroot"}, rarity = 3}, - {items = {"farming:beetroot"}, rarity = 4} - } -} -minetest.register_node("farming:beetroot_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:beetroot"] = { - crop = "farming:beetroot", - seed = "farming:beetroot", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen -farming.register_decoration("beetroot",5) diff --git a/mods/.farming_old/crops/blackberry.lua b/mods/.farming_old/crops/blackberry.lua deleted file mode 100644 index e9d63bd4..00000000 --- a/mods/.farming_old/crops/blackberry.lua +++ /dev/null @@ -1,82 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:blackberry", { - description = S("Blackberries"), - inventory_image = "farming_blackberry.png", - groups = { - compostability = 48, seed = 2, food_blackberries = 1, food_blackberry = 1, - food_berry = 1 - }, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:blackberry_1") - end -}) - -farming.add_eatable("farming:blackberry", 1) - --- crop definition - -local def = { - description = S("Blackberry") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_blackberry_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:blackberry_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_blackberry_2.png"} -minetest.register_node("farming:blackberry_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_blackberry_3.png"} -minetest.register_node("farming:blackberry_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_blackberry_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {'farming:blackberry 2'}, rarity = 1}, - {items = {'farming:blackberry'}, rarity = 2}, - {items = {'farming:blackberry'}, rarity = 3}, - } -} -minetest.register_node("farming:blackberry_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:blackberry"] = { - crop = "farming:blackberry", - seed = "farming:blackberry", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("blackberry",4) diff --git a/mods/.farming_old/crops/blueberry.lua b/mods/.farming_old/crops/blueberry.lua deleted file mode 100644 index d37b0a0c..00000000 --- a/mods/.farming_old/crops/blueberry.lua +++ /dev/null @@ -1,81 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:blueberries", { - description = S("Wild Blueberries"), - inventory_image = "farming_blueberries.png", - groups = { - compostability = 48,seed = 2, food_blueberries = 1, food_blueberry = 1, - food_berry = 1 - }, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:blueberry_1") - end -}) - -farming.add_eatable("farming:blueberries", 1) - --- ctop definition -local def = { - description = S("Blueberry") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_blueberry_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:blueberry_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_blueberry_2.png"} -minetest.register_node("farming:blueberry_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_blueberry_3.png"} -minetest.register_node("farming:blueberry_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_blueberry_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:blueberries 2"}, rarity = 1}, - {items = {"farming:blueberries"}, rarity = 2}, - {items = {"farming:blueberries"}, rarity = 3} - } -} -minetest.register_node("farming:blueberry_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:blueberries"] = { - crop = "farming:blueberry", - seed = "farming:blueberries", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("blueberry",4) diff --git a/mods/.farming_old/crops/cabbage.lua b/mods/.farming_old/crops/cabbage.lua deleted file mode 100644 index 1d24d853..00000000 --- a/mods/.farming_old/crops/cabbage.lua +++ /dev/null @@ -1,89 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:cabbage", { - description = S("Cabbage"), - inventory_image = "farming_cabbage.png", - groups = {compostability = 48, seed = 2, food_cabbage = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:cabbage_1") - end -}) - -farming.add_eatable("farming:cabbage", 1) - --- crop definition - -local def = { - description = S("Cabbage") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_cabbage_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:cabbage_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_cabbage_2.png"} -minetest.register_node("farming:cabbage_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_cabbage_3.png"} -minetest.register_node("farming:cabbage_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_cabbage_4.png"} -minetest.register_node("farming:cabbage_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_cabbage_5.png"} -minetest.register_node("farming:cabbage_5", table.copy(def)) - --- stage 6 (final) - -def.tiles = {"farming_cabbage_6.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - max_items = 2, items = { - {items = {"farming:cabbage 2"}, rarity = 1}, - {items = {"farming:cabbage 1"}, rarity = 2} - } -} -minetest.register_node("farming:cabbage_6", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:cabbage"] = { - crop = "farming:cabbage", - seed = "farming:cabbage", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 6 -} - --- mapgen -farming.register_decoration("cabbage",6) diff --git a/mods/.farming_old/crops/carrot.lua b/mods/.farming_old/crops/carrot.lua deleted file mode 100644 index 6b1c65d2..00000000 --- a/mods/.farming_old/crops/carrot.lua +++ /dev/null @@ -1,109 +0,0 @@ - --- Original textures from PixelBox texture pack --- https://forum.minetest.net/viewtopic.php?id=4990 - -local S = minetest.get_translator("farming") -local a = farming.recipe_items - --- item/seed - -minetest.register_craftitem("farming:carrot", { - description = S("Carrot"), - inventory_image = "farming_carrot.png", - groups = {compostability = 48, seed = 2, food_carrot = 1}, - on_use = minetest.item_eat(4), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:carrot_1") - end -}) - -farming.add_eatable("farming:carrot", 4) - --- crop definition - -local def = { - description = S("Carrot") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_carrot_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:carrot_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_carrot_2.png"} -minetest.register_node("farming:carrot_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_carrot_3.png"} -minetest.register_node("farming:carrot_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_carrot_4.png"} -minetest.register_node("farming:carrot_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_carrot_5.png"} -minetest.register_node("farming:carrot_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_carrot_6.png"} -minetest.register_node("farming:carrot_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_carrot_7.png"} -def.drop = { - items = { - {items = {"farming:carrot"}, rarity = 1}, - {items = {"farming:carrot 2"}, rarity = 3} - } -} -minetest.register_node("farming:carrot_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_carrot_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:carrot 2"}, rarity = 1}, - {items = {"farming:carrot 3"}, rarity = 2} - } -} -minetest.register_node("farming:carrot_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:carrot"] = { - crop = "farming:carrot", - seed = "farming:carrot", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("carrot",8) diff --git a/mods/.farming_old/crops/chili.lua b/mods/.farming_old/crops/chili.lua deleted file mode 100644 index a875fa94..00000000 --- a/mods/.farming_old/crops/chili.lua +++ /dev/null @@ -1,100 +0,0 @@ - -local S = minetest.get_translator("farming") -local a = farming.recipe_items - --- item/seed - -minetest.register_craftitem("farming:chili_pepper", { - description = S("Chili Pepper"), - inventory_image = "farming_chili_pepper.png", - groups = {compostability = 48, seed = 2, food_chili_pepper = 1}, - on_use = minetest.item_eat(2), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:chili_1") - end -}) - -farming.add_eatable("farming:chili_pepper", 2) - --- crop definition - -local def = { - description = S("Chili Pepper") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_chili_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:chili_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_chili_2.png"} -minetest.register_node("farming:chili_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_chili_3.png"} -minetest.register_node("farming:chili_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_chili_4.png"} -minetest.register_node("farming:chili_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_chili_5.png"} -minetest.register_node("farming:chili_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_chili_6.png"} -minetest.register_node("farming:chili_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_chili_7.png"} -minetest.register_node("farming:chili_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_chili_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:chili_pepper 3"}, rarity = 1}, - {items = {"farming:chili_pepper 2"}, rarity = 2} - } -} -minetest.register_node("farming:chili_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:chili_pepper"] = { - crop = "farming:chili", - seed = "farming:chili_pepper", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("chili",8) diff --git a/mods/.farming_old/crops/cocoa.lua b/mods/.farming_old/crops/cocoa.lua deleted file mode 100644 index ee1cfce4..00000000 --- a/mods/.farming_old/crops/cocoa.lua +++ /dev/null @@ -1,186 +0,0 @@ - -local S = minetest.get_translator("farming") - --- place cocoa -local function place_cocoa(itemstack, placer, pointed_thing, plantname) - - local pt = pointed_thing - - -- check if pointing at a node - if not pt or pt.type ~= "node" then return end - - local under = minetest.get_node(pt.under) - - -- return if any of the nodes are not registered - if not minetest.registered_nodes[under.name] then return end - - -- am I right-clicking on something that has a custom on_place set? - -- thanks to Krock for helping with this issue :) - local def = minetest.registered_nodes[under.name] - - if placer and itemstack and def and def.on_rightclick then - return def.on_rightclick(pt.under, under, placer, itemstack, pt) - end - - -- check if pointing at jungletree - if (under.name ~= "default:jungletree" and under.name ~= "mcl_core:jungletree") - or minetest.get_node(pt.above).name ~= "air" then - return - end - - -- is player planting crop? - local name = placer and placer:get_player_name() or "" - - -- check for protection - if minetest.is_protected(pt.above, name) then return end - - -- add the node and remove 1 item from the itemstack - minetest.set_node(pt.above, {name = plantname}) - - minetest.sound_play("default_place_node", {pos = pt.above, gain = 1.0}, true) - - if placer and not farming.is_creative(placer:get_player_name()) then - - itemstack:take_item() - - -- check for refill - if itemstack:get_count() == 0 then - - minetest.after(0.20, farming.refill_plant, placer, - "farming:cocoa_beans_raw", placer:get_wield_index()) - end - end - - return itemstack -end - --- item/seed - -minetest.register_craftitem("farming:cocoa_beans_raw", { - description = S("Raw Cocoa Beans"), - inventory_image = "farming_cocoa_beans.png^[brighten", - groups = {compostability = 48, seed = 1, flammable = 2}, - - on_place = function(itemstack, placer, pointed_thing) - return place_cocoa(itemstack, placer, pointed_thing, "farming:cocoa_1") - end -}) - --- crop definition - -local def = { - description = S("Cocoa Beans") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_cocoa_1.png"}, - paramtype = "light", - walkable = false, - selection_box = { - type = "fixed", - fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} - }, - drop = {}, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, growing = 1, - not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - - -- custom function that returns True when conditions are met - growth_check = function(pos, node_name) - - if minetest.find_node_near(pos, 1, - {"default:jungletree", "mcl_core:jungletree"}) then - return true -- place next growth stage - end - - return false -- condition not met, skip growth stage until next check - end -} - --- stage 1 - -minetest.register_node("farming:cocoa_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_cocoa_2.png"} -minetest.register_node("farming:cocoa_2", table.copy(def)) - --- stage3 - -def.tiles = {"farming_cocoa_3.png"} -def.drop = { - items = { - {items = {"farming:cocoa_beans_raw 1"}, rarity = 1} - } -} -minetest.register_node("farming:cocoa_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_cocoa_4.png"} -def.groups.growing = nil -def.growth_check = nil -def.drop = { - items = { - {items = {"farming:cocoa_beans_raw 2"}, rarity = 1}, - {items = {"farming:cocoa_beans_raw 1"}, rarity = 2}, - {items = {"farming:cocoa_beans_raw 1"}, rarity = 4} - } -} -minetest.register_node("farming:cocoa_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:cocoa_beans"] = { - trellis = "default:jungletree", - crop = "farming:cocoa", - seed = "farming:cocoa_beans_raw", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- add random cocoa pods to jungle tree's - -local random = math.random -- localise for speed - -minetest.register_on_generated(function(minp, maxp) - - if maxp.y < 0 then return end - - local pos, dir - local cocoa = minetest.find_nodes_in_area(minp, maxp, - {"default:jungletree", "mcl_core:jungletree"}) - - for n = 1, #cocoa do - - pos = cocoa[n] - - if minetest.find_node_near(pos, 1, - {"default:jungleleaves", "moretrees:jungletree_leaves_green", - "mcl_core:jungleleaves"}) then - - dir = random(80) - - if dir == 1 then pos.x = pos.x + 1 - elseif dir == 2 then pos.x = pos.x - 1 - elseif dir == 3 then pos.z = pos.z + 1 - elseif dir == 4 then pos.z = pos.z - 1 - end - - if dir < 5 - and minetest.get_node(pos).name == "air" - and minetest.get_node_light(pos) > 12 then - ---print ("Cocoa Pod added at " .. minetest.pos_to_string(pos)) - - minetest.set_node(pos, { - name = "farming:cocoa_" .. tostring(random(4)) - }) - end - end - end -end) diff --git a/mods/.farming_old/crops/coffee.lua b/mods/.farming_old/crops/coffee.lua deleted file mode 100644 index 6b9f024b..00000000 --- a/mods/.farming_old/crops/coffee.lua +++ /dev/null @@ -1,107 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:coffee_beans", { - description = S("Coffee Beans"), - inventory_image = "farming_coffee_beans.png", - groups = {compostability = 48, seed = 2, food_coffee = 1, flammable = 2}, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:coffee_1") - end -}) - --- crop definition - -local def = { - description = S("Coffee") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_coffee_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:coffee_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_coffee_2.png"} -minetest.register_node("farming:coffee_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_coffee_3.png"} -minetest.register_node("farming:coffee_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_coffee_4.png"} -minetest.register_node("farming:coffee_4", table.copy(def)) - --- stage 5 (final) - -def.tiles = {"farming_coffee_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:coffee_beans 2"}, rarity = 1}, - {items = {"farming:coffee_beans 2"}, rarity = 2}, - {items = {"farming:coffee_beans 2"}, rarity = 3} - } -} -minetest.register_node("farming:coffee_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:coffee"] = { - crop = "farming:coffee", - seed = "farming:coffee_beans", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen - -local spawn_on = { - "default:dirt_with_dry_grass", "default:dirt_with_rainforest_litter", - "default:dry_dirt_with_dry_grass", "mcl_core:dirt_with_grass", - "ethereal:prairie_dirt" -} - -if farming.mapgen == "v6" then - spawn_on = {"default:dirt_with_grass"} -end - -minetest.register_decoration({ - deco_type = "simple", - place_on = spawn_on, - sidelen = 16, - noise_params = { - offset = 0, - scale = farming.coffee, - spread = {x = 100, y = 100, z = 100}, - seed = 12, - octaves = 3, - persist = 0.6 - }, - y_min = 20, y_max = 55, - decoration = "farming:coffee_5" -}) diff --git a/mods/.farming_old/crops/corn.lua b/mods/.farming_old/crops/corn.lua deleted file mode 100644 index 7dcbbb24..00000000 --- a/mods/.farming_old/crops/corn.lua +++ /dev/null @@ -1,130 +0,0 @@ - ---[[ - Original textures from GeMinecraft - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1440575-1-2-5-generation-minecraft-beta-1-2-farming-and -]] - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:corn", { - description = S("Corn"), - inventory_image = "farming_corn.png", - groups = {compostability = 45, seed = 2, food_corn = 1}, - on_use = minetest.item_eat(3), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:corn_1") - end -}) - -farming.add_eatable("farming:corn", 3) - --- crop definition - -local def = { - description = S("Corn") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_corn_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:corn_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_corn_2.png"} -minetest.register_node("farming:corn_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_corn_3.png"} -minetest.register_node("farming:corn_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_corn_4.png"} -minetest.register_node("farming:corn_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_corn_5.png"} -minetest.register_node("farming:corn_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_corn_6.png"} -def.visual_scale = 1.9 -minetest.register_node("farming:corn_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_corn_7.png"} -def.drop = { - items = { - {items = {"farming:corn"}, rarity = 1}, - {items = {"farming:corn"}, rarity = 2}, - {items = {"farming:corn"}, rarity = 3} - } -} -minetest.register_node("farming:corn_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_corn_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:corn 2"}, rarity = 1}, - {items = {"farming:corn 2"}, rarity = 2}, - {items = {"farming:corn 2"}, rarity = 2} - } -} -minetest.register_node("farming:corn_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:corn"] = { - crop = "farming:corn", - seed = "farming:corn", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen - -minetest.register_decoration({ - deco_type = "simple", - place_on = { - "default:dirt_with_grass", "mcl_core:dirt_with_grass", "ethereal:prairie_dirt" - }, - sidelen = 16, - noise_params = { - offset = 0, - scale = farming.corn, - spread = {x = 100, y = 100, z = 100}, - seed = 134, - octaves = 3, - persist = 0.6 - }, - y_min = 12, y_max = 27, - decoration = "farming:corn_7" -}) diff --git a/mods/.farming_old/crops/cotton.lua b/mods/.farming_old/crops/cotton.lua deleted file mode 100644 index 13e170fa..00000000 --- a/mods/.farming_old/crops/cotton.lua +++ /dev/null @@ -1,174 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_node("farming:seed_cotton", { - description = S("Cotton Seed"), - tiles = {"farming_cotton_seed.png"}, - inventory_image = "farming_cotton_seed.png", - wield_image = "farming_cotton_seed.png", - drawtype = "signlike", - groups = { - compostability = 48, seed = 1, snappy = 3, attached_node = 1, - flammable = 4, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - next_plant = "farming:cotton_1", - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_cotton") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:cotton_1", param2 = 1}) - end -}) - --- item - -minetest.register_craftitem("farming:cotton", { - description = S("Cotton"), - inventory_image = "farming_cotton.png", - groups = {flammable = 4, compostability = 50} -}) - --- crop definition - -local def = { - description = S("Cotton") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_cotton_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:cotton_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_cotton_2.png"} -minetest.register_node("farming:cotton_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_cotton_3.png"} -minetest.register_node("farming:cotton_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_cotton_4.png"} -minetest.register_node("farming:cotton_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_cotton_5.png"} -def.drop = { - items = { - {items = {"farming:seed_cotton"}, rarity = 1} - } -} -minetest.register_node("farming:cotton_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_cotton_6.png"} -def.drop = { - items = { - {items = {"farming:cotton"}, rarity = 1}, - {items = {"farming:cotton"}, rarity = 2} - } -} -minetest.register_node("farming:cotton_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_cotton_7.png"} -def.drop = { - items = { - {items = {"farming:cotton"}, rarity = 1}, - {items = {"farming:cotton"}, rarity = 2}, - {items = {"farming:seed_cotton"}, rarity = 1}, - {items = {"farming:seed_cotton"}, rarity = 2} - } -} -minetest.register_node("farming:cotton_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_cotton_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:cotton"}, rarity = 1}, - {items = {"farming:cotton"}, rarity = 2}, - {items = {"farming:cotton"}, rarity = 3}, - {items = {"farming:seed_cotton"}, rarity = 1}, - {items = {"farming:seed_cotton"}, rarity = 2}, - {items = {"farming:seed_cotton"}, rarity = 3} - } -} -minetest.register_node("farming:cotton_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:cotton"] = { - crop = "farming:cotton", - seed = "farming:seed_cotton", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- wild cotton (this is what you find on the map) - -minetest.register_node("farming:cotton_wild", { - description = S("Wild Cotton"), - drawtype = "plantlike", - waving = 1, - tiles = {"farming_cotton_wild.png"}, - inventory_image = "farming_cotton_wild.png", - wield_image = "farming_cotton_wild.png", - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - groups = {handy = 1, snappy = 3, attached_node = 1, flammable = 4, compostability = 60}, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - drop = { - items = { - {items = {"farming:cotton"}, rarity = 2}, - {items = {"farming:seed_cotton"}, rarity = 1} - } - }, - sounds = farming.node_sound_leaves_defaults(), - selection_box = { - type = "fixed", - fixed = {-6 / 16, -8 / 16, -6 / 16, 6 / 16, 5 / 16, 6 / 16} - } -}) - --- mapgen -farming.register_decoration("cotton",8) diff --git a/mods/.farming_old/crops/cucumber.lua b/mods/.farming_old/crops/cucumber.lua deleted file mode 100644 index d37ec42f..00000000 --- a/mods/.farming_old/crops/cucumber.lua +++ /dev/null @@ -1,82 +0,0 @@ - ---[[ - Original textures from DocFarming mod - https://forum.minetest.net/viewtopic.php?id=3948 -]] - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:cucumber", { - description = S("Cucumber"), - inventory_image = "farming_cucumber.png", - groups = {compostability = 48, seed = 2, food_cucumber = 1}, - on_use = minetest.item_eat(4), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:cucumber_1") - end -}) - -farming.add_eatable("farming:cucumber", 4) - --- crop definition - -local def = { - description = S("Cucumber") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_cucumber_1.png"}, - paramtype = "light", - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:cucumber_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_cucumber_2.png"} -minetest.register_node("farming:cucumber_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_cucumber_3.png"} -minetest.register_node("farming:cucumber_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_cucumber_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:cucumber 2"}, rarity = 1}, - {items = {"farming:cucumber 2"}, rarity = 2} - } -} -minetest.register_node("farming:cucumber_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:cucumber"] = { - crop = "farming:cucumber", - seed = "farming:cucumber", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("cucumber",4) diff --git a/mods/.farming_old/crops/eggplant.lua b/mods/.farming_old/crops/eggplant.lua deleted file mode 100644 index 6e60259f..00000000 --- a/mods/.farming_old/crops/eggplant.lua +++ /dev/null @@ -1,86 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:eggplant", { - description = S("Eggplant"), - inventory_image = "farming_eggplant.png", - groups = {compostability = 48, seed = 2, food_eggplant = 1}, - on_use = minetest.item_eat(3), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:eggplant_1") - end -}) - -farming.add_eatable("farming:eggplant", 3) - --- crop definition - -local def = { - description = S("Eggplant") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_eggplant_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:eggplant_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_eggplant_2.png"} -minetest.register_node("farming:eggplant_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_eggplant_3.png"} -def.drop = { - items = { - {items = {"farming:eggplant"}, rarity = 1}, - {items = {"farming:eggplant"}, rarity = 3} - } -} -minetest.register_node("farming:eggplant_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_eggplant_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:eggplant 2"}, rarity = 1}, - {items = {"farming:eggplant 2"}, rarity = 2} - } -} -minetest.register_node("farming:eggplant_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:eggplant"] = { - crop = "farming:eggplant", - seed = "farming:eggplant", - minlight = 7, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("eggplant",4) diff --git a/mods/.farming_old/crops/garlic.lua b/mods/.farming_old/crops/garlic.lua deleted file mode 100644 index 58af259c..00000000 --- a/mods/.farming_old/crops/garlic.lua +++ /dev/null @@ -1,84 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:garlic_clove", { - description = S("Garlic clove"), - inventory_image = "crops_garlic_clove.png", - groups = {compostability = 35, seed = 2, food_garlic_clove = 1, flammable = 3}, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:garlic_1") - end -}) - --- crop definition - -local def = { - description = S("Garlic") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"crops_garlic_plant_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:garlic_1", table.copy(def)) - --- stage 2 - -def.tiles = {"crops_garlic_plant_2.png"} -minetest.register_node("farming:garlic_2", table.copy(def)) - --- stage 3 - -def.tiles = {"crops_garlic_plant_3.png"} -minetest.register_node("farming:garlic_3", table.copy(def)) - --- stage 4 - -def.tiles = {"crops_garlic_plant_4.png"} -minetest.register_node("farming:garlic_4", table.copy(def)) - --- stage 5 - -def.tiles = {"crops_garlic_plant_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:garlic 3"}, rarity = 1}, - {items = {"farming:garlic"}, rarity = 2}, - {items = {"farming:garlic"}, rarity = 5} - } -} -minetest.register_node("farming:garlic_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:garlic"] = { - crop = "farming:garlic", - seed = "farming:garlic_clove", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen -farming.register_decoration("garlic",5) diff --git a/mods/.farming_old/crops/ginger.lua b/mods/.farming_old/crops/ginger.lua deleted file mode 100644 index dfab19a3..00000000 --- a/mods/.farming_old/crops/ginger.lua +++ /dev/null @@ -1,85 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:ginger", { - description = S("Ginger"), - inventory_image = "farming_ginger.png", - groups = {compostability = 48, seed = 2, food_ginger = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:ginger_1") - end -}) - -farming.add_eatable("farming:ginger", 1) - --- crop definition - -local def = { - description = S("Ginger") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_ginger_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:ginger_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_ginger_2.png"} -minetest.register_node("farming:ginger_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_ginger_3.png"} -def.drop = { - items = { - {items = {"farming:ginger"}, rarity = 1}, - {items = {"farming:ginger"}, rarity = 3} - } -} -minetest.register_node("farming:ginger_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_ginger_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:ginger 2"}, rarity = 1}, - {items = {"farming:ginger 2"}, rarity = 2} - } -} -minetest.register_node("farming:ginger_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:ginger"] = { - crop = "farming:ginger", - seed = "farming:ginger", - minlight = 5, - maxlight = minetest.LIGHT_MAX, - steps = 4 -} - --- mapgen -farming.register_decoration("ginger",5) diff --git a/mods/.farming_old/crops/grapes.lua b/mods/.farming_old/crops/grapes.lua deleted file mode 100644 index f94b1439..00000000 --- a/mods/.farming_old/crops/grapes.lua +++ /dev/null @@ -1,250 +0,0 @@ - -local S = minetest.get_translator("farming") - --- place trellis helper - -local function place_grapes(itemstack, placer, pointed_thing, plantname) - - local pt = pointed_thing - - -- check if pointing at a node - if not pt or pt.type ~= "node" then return end - - local under = minetest.get_node(pt.under) - - -- return if any of the nodes are not registered - if not minetest.registered_nodes[under.name] then return end - - -- am I right-clicking on something that has a custom on_place set? - -- thanks to Krock for helping with this issue :) - local def = minetest.registered_nodes[under.name] - - if placer and itemstack and def and def.on_rightclick then - return def.on_rightclick(pt.under, under, placer, itemstack, pt) - end - - -- is player planting seed? - local name = placer and placer:get_player_name() or "" - - -- check for protection - if minetest.is_protected(pt.under, name) then return end - - -- check if pointing at trellis - if under.name ~= "farming:trellis" then return end - - -- add the node and remove 1 item from the itemstack - minetest.set_node(pt.under, {name = plantname}) - - minetest.sound_play("default_place_node", {pos = pt.under, gain = 1.0}, true) - - if placer and not farming.is_creative(placer:get_player_name()) then - - itemstack:take_item() - - -- check for refill - if itemstack:get_count() == 0 then - - minetest.after(0.20, farming.refill_plant, placer, - "farming:grapes", placer:get_wield_index() - ) - end - end - - return itemstack -end - --- item/seed - -minetest.register_craftitem("farming:grapes", { - description = S("Grapes"), - inventory_image = "farming_grapes.png", - groups = {compostability = 48, seed = 2, food_grapes = 1}, - on_use = minetest.item_eat(2), - - on_place = function(itemstack, placer, pointed_thing) - return place_grapes(itemstack, placer, pointed_thing, "farming:grapes_1") - end -}) - -farming.add_eatable("farming:grapes", 2) - --- trellis - -minetest.register_node("farming:trellis", { - description = S("Trellis (place on soil before planting grapes)"), - drawtype = "plantlike", - tiles = {"farming_trellis.png"}, - inventory_image = "farming_trellis.png", - visual_scale = 1.9, - paramtype = "light", - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = "farming:trellis", - selection_box = farming.select, - groups = {handy = 1, snappy = 3, flammable = 2, attached_node = 1}, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - - on_place = function(itemstack, placer, pointed_thing) - - local pt = pointed_thing - - -- check if pointing at a node - if not pt or pt.type ~= "node" then return end - - local under = minetest.get_node(pt.under) - - -- return if any of the nodes are not registered - if not minetest.registered_nodes[under.name] then return end - - -- am I right-clicking on something that has a custom on_place set? - -- thanks to Krock for helping with this issue :) - local def = minetest.registered_nodes[under.name] - - if def and def.on_rightclick then - return def.on_rightclick(pt.under, under, placer, itemstack, pt) - end - - if minetest.is_protected(pt.above, placer:get_player_name()) then - return - end - - local nodename = under.name - - if minetest.get_item_group(nodename, "soil") < 2 then return end - - local top = { - x = pointed_thing.above.x, - y = pointed_thing.above.y + 1, - z = pointed_thing.above.z - } - - nodename = minetest.get_node(top).name - - if nodename ~= "air" then return end - - minetest.set_node(pointed_thing.above, {name = "farming:trellis"}) - - if not farming.is_creative(placer:get_player_name()) then - itemstack:take_item() - end - - return itemstack - end -}) - --- crop definition - -local def = { - description = S("Grapes") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_grapes_1.png"}, - visual_scale = 1.9, - paramtype = "light", - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = { - items = { - {items = {"farming:trellis"}, rarity = 1}, - } - }, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 3, not_in_creative_inventory = 1, - attached_node = 1, growing = 1, plant = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:grapes_1", table.copy(def)) - --- stage2 - -def.tiles = {"farming_grapes_2.png"} -minetest.register_node("farming:grapes_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_grapes_3.png"} -minetest.register_node("farming:grapes_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_grapes_4.png"} -minetest.register_node("farming:grapes_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_grapes_5.png"} -minetest.register_node("farming:grapes_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_grapes_6.png"} -minetest.register_node("farming:grapes_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_grapes_7.png"} -minetest.register_node("farming:grapes_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_grapes_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:trellis"}, rarity = 1}, - {items = {"farming:grapes 3"}, rarity = 1}, - {items = {"farming:grapes 1"}, rarity = 2}, - {items = {"farming:grapes 1"}, rarity = 3} - } -} -minetest.register_node("farming:grapes_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:grapes"] = { - trellis = "farming:trellis", - crop = "farming:grapes", - seed = "farming:grapes", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- wild grape vine (this is what you find on the map) - -minetest.register_node("farming:grapebush", { - drawtype = "plantlike", - tiles = {"farming_grapebush.png"}, - paramtype = "light", - waving = 1, - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = { - items = { - {items = {"farming:grapes 1"}, rarity = 1}, - {items = {"farming:grapes 1"}, rarity = 2}, - {items = {"farming:grapes 1"}, rarity = 3} - } - }, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, compostability = 35 - }, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -}) - --- mapgen -farming.register_decoration("grapes",8,"farming:grapebush") diff --git a/mods/.farming_old/crops/hemp.lua b/mods/.farming_old/crops/hemp.lua deleted file mode 100644 index 1ab9c998..00000000 --- a/mods/.farming_old/crops/hemp.lua +++ /dev/null @@ -1,138 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_node("farming:seed_hemp", { - description = S("Hemp Seed"), - tiles = {"farming_hemp_seed.png"}, - inventory_image = "farming_hemp_seed.png", - wield_image = "farming_hemp_seed.png", - drawtype = "signlike", - groups = { - handy = 1, compostability = 38, seed = 1, snappy = 3, attached_node = 1, - growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - next_plant = "farming:hemp_1", - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_hemp") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:hemp_1", param2 = 1}) - end -}) - --- item - -minetest.register_craftitem("farming:hemp_leaf", { - description = S("Hemp Leaf"), - inventory_image = "farming_hemp_leaf.png", - groups = {compostability = 35} -}) - --- crop definition - -local def = { - description = S("Hemp") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_hemp_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:hemp_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_hemp_2.png"} -minetest.register_node("farming:hemp_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_hemp_3.png"} -minetest.register_node("farming:hemp_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_hemp_4.png"} -minetest.register_node("farming:hemp_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_hemp_5.png"} -minetest.register_node("farming:hemp_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_hemp_6.png"} -def.drop = { - items = { - {items = {"farming:hemp_leaf"}, rarity = 2}, - {items = {"farming:seed_hemp"}, rarity = 1} - } -} -minetest.register_node("farming:hemp_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_hemp_7.png"} -def.drop = { - items = { - {items = {"farming:hemp_leaf"}, rarity = 1}, - {items = {"farming:hemp_leaf"}, rarity = 3}, - {items = {"farming:seed_hemp"}, rarity = 1}, - {items = {"farming:seed_hemp"}, rarity = 3} - } -} -minetest.register_node("farming:hemp_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_hemp_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:hemp_leaf 2"}, rarity = 1}, - {items = {"farming:hemp_leaf"}, rarity = 2}, - {items = {"farming:seed_hemp"}, rarity = 1}, - {items = {"farming:seed_hemp"}, rarity = 2} - } -} -minetest.register_node("farming:hemp_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:hemp"] = { - crop = "farming:hemp", - seed = "farming:seed_hemp", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("hemp",7) diff --git a/mods/.farming_old/crops/lettuce.lua b/mods/.farming_old/crops/lettuce.lua deleted file mode 100644 index f0ff998c..00000000 --- a/mods/.farming_old/crops/lettuce.lua +++ /dev/null @@ -1,83 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:lettuce", { - description = S("Lettuce"), - inventory_image = "farming_lettuce.png", - groups = {compostability = 48, seed = 2, food_lettuce = 1}, - on_use = minetest.item_eat(2), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:lettuce_1") - end -}) - -farming.add_eatable("farming:lettuce", 2) - --- crop definition - -local def = { - description = S("Lettuce") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_lettuce_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:lettuce_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_lettuce_2.png"} -minetest.register_node("farming:lettuce_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_lettuce_3.png"} -minetest.register_node("farming:lettuce_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_lettuce_4.png"} -minetest.register_node("farming:lettuce_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_lettuce_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:lettuce 2"}, rarity = 1}, - {items = {"farming:lettuce 1"}, rarity = 2} - } -} -minetest.register_node("farming:lettuce_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:lettuce"] = { - crop = "farming:lettuce", - seed = "farming:lettuce", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen -farming.register_decoration("lettuce",5) diff --git a/mods/.farming_old/crops/melon.lua b/mods/.farming_old/crops/melon.lua deleted file mode 100644 index c21e40d2..00000000 --- a/mods/.farming_old/crops/melon.lua +++ /dev/null @@ -1,108 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:melon_slice", { - description = S("Melon Slice"), - inventory_image = "farming_melon_slice.png", - groups = {compostability = 48, seed = 2, food_melon_slice = 1}, - on_use = minetest.item_eat(2), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:melon_1") - end -}) - -farming.add_eatable("farming:melon_slice", 2) - --- crop definition - -local def = { - description = S("Melon") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_melon_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:melon_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_melon_2.png"} -minetest.register_node("farming:melon_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_melon_3.png"} -minetest.register_node("farming:melon_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_melon_4.png"} -minetest.register_node("farming:melon_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_melon_5.png"} -minetest.register_node("farming:melon_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_melon_6.png"} -minetest.register_node("farming:melon_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_melon_7.png"} -minetest.register_node("farming:melon_7", table.copy(def)) - --- stage 8 (final) - -minetest.register_node("farming:melon_8", { - description = S("Melon"), - tiles = { - "farming_melon_top.png", - "farming_melon_bottom.png", - "farming_melon_side.png" - }, - groups = { - food_melon = 1, handy = 1, snappy = 3, choppy = 3, oddly_breakable_by_hand = 2, - flammable = 2, plant = 1, compostability = 65 - }, - is_ground_content = false, - drop = "farming:melon_8", - sounds = farming.node_sound_wood_defaults(), - paramtype2 = "facedir", - on_place = minetest.rotate_node, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - --- add to registered_plants - -farming.registered_plants["farming:melon"] = { - crop = "farming:melon", - seed = "farming:melon_slice", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen - -farming.register_decoration("melon",8) diff --git a/mods/.farming_old/crops/mint.lua b/mods/.farming_old/crops/mint.lua deleted file mode 100644 index ac875946..00000000 --- a/mods/.farming_old/crops/mint.lua +++ /dev/null @@ -1,103 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_node("farming:seed_mint", { - description = S("Mint Seeds"), - tiles = {"farming_mint_seeds.png"}, - inventory_image = "farming_mint_seeds.png", - wield_image = "farming_mint_seeds.png", - drawtype = "signlike", - groups = { - compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1, - handy = 1, flammable = 2 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - next_plant = "farming:mint_1", - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_mint") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:mint_1", param2 = 1}) - end -}) - --- item - -minetest.register_craftitem("farming:mint_leaf", { - description = S("Mint Leaf"), - inventory_image = "farming_mint_leaf.png", - groups = {food_mint = 1, flammable = 4, compostability = 48} -}) - --- crop definition - -local def = { - description = S("Mint") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_mint_1.png"}, - paramtype = "light", - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:mint_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_mint_2.png"} -minetest.register_node("farming:mint_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_mint_3.png"} -minetest.register_node("farming:mint_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_mint_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:mint_leaf 2"}, rarity = 1}, - {items = {"farming:mint_leaf 2"}, rarity = 2}, - {items = {"farming:seed_mint 1"}, rarity = 1}, - {items = {"farming:seed_mint 2"}, rarity = 2} - } -} -minetest.register_node("farming:mint_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:mint"] = { - crop = "farming:mint", - seed = "farming:seed_mint", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("mint",4) diff --git a/mods/.farming_old/crops/onion.lua b/mods/.farming_old/crops/onion.lua deleted file mode 100644 index 7473464e..00000000 --- a/mods/.farming_old/crops/onion.lua +++ /dev/null @@ -1,96 +0,0 @@ - ---[[ - Original textures from Crops Plus mod - Copyright (C) 2018 Grizzly Adam - https://forum.minetest.net/viewtopic.php?f=9&t=19488 -]] - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:onion", { - description = S("Onion"), - inventory_image = "crops_onion.png", - groups = {compostability = 48, seed = 2, food_onion = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:onion_1") - end -}) - -farming.add_eatable("farming:onion", 1) - --- crop definition - -local def = { - description = S("Onion") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"crops_onion_plant_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:onion_1", table.copy(def)) - --- stage 2 - -def.tiles = {"crops_onion_plant_2.png"} -minetest.register_node("farming:onion_2", table.copy(def)) - --- stage 3 - -def.tiles = {"crops_onion_plant_3.png"} -minetest.register_node("farming:onion_3", table.copy(def)) - --- stage 4 - -def.tiles = {"crops_onion_plant_4.png"} -minetest.register_node("farming:onion_4", table.copy(def)) - --- stage 5 - -def.tiles = {"crops_onion_plant_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - max_items = 5, items = { - {items = {"farming:onion"}, rarity = 1}, - {items = {"farming:onion"}, rarity = 1}, - {items = {"farming:onion"}, rarity = 2}, - {items = {"farming:onion"}, rarity = 2}, - {items = {"farming:onion"}, rarity = 5} - } -} -minetest.register_node("farming:onion_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:onion"] = { - crop = "farming:onion", - seed = "farming:onion", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen -farming.register_decoration("onion",5) diff --git a/mods/.farming_old/crops/parsley.lua b/mods/.farming_old/crops/parsley.lua deleted file mode 100644 index 6c7a2d16..00000000 --- a/mods/.farming_old/crops/parsley.lua +++ /dev/null @@ -1,75 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:parsley", { - description = S("Parsley"), - inventory_image = "farming_parsley.png", - groups = {compostability = 48, seed = 2, food_parsley = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:parsley_1") - end -}) - -farming.add_eatable("farming:parsley", 1) - --- crop definition - -local def = { - description = S("Parsley") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_parsley_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:parsley_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_parsley_2.png"} -minetest.register_node("farming:parsley_2", table.copy(def)) - --- stage 3 (final) - -def.tiles = {"farming_parsley_3.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:parsley 2"}, rarity = 1}, - {items = {"farming:parsley"}, rarity = 2}, - {items = {"farming:parsley"}, rarity = 3} - } -} -minetest.register_node("farming:parsley_3", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:parsley"] = { - crop = "farming:parsley", - seed = "farming:parsley", - minlight = 13, - maxlight = 15, - steps = 3 -} - --- mapgen -farming.register_decoration("parsley",5) diff --git a/mods/.farming_old/crops/peas.lua b/mods/.farming_old/crops/peas.lua deleted file mode 100644 index 85605a7f..00000000 --- a/mods/.farming_old/crops/peas.lua +++ /dev/null @@ -1,94 +0,0 @@ - --- Textures for peas and their crop were done by Andrey01 - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:pea_pod", { - description = S("Pea Pod"), - inventory_image = "farming_pea_pod.png", - groups = {compostability = 48, seed = 2, food_peas = 1, food_pea_pod = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:pea_1") - end -}) - -farming.add_eatable("farming:pea_pod", 1) - --- replacement for separate peas item that was removed - -minetest.register_alias("farming:peas", "farming:pea_pod") - --- crop definition - -local def = { - description = S("Pea") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_pea_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:pea_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_pea_2.png"} -minetest.register_node("farming:pea_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_pea_3.png"} -minetest.register_node("farming:pea_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_pea_4.png"} -minetest.register_node("farming:pea_4", table.copy(def)) - --- stage 5 (final) - -def.tiles = {"farming_pea_5.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - max_items = 5, items = { - {items = {"farming:pea_pod"}, rarity = 1}, - {items = {"farming:pea_pod"}, rarity = 2}, - {items = {"farming:pea_pod"}, rarity = 3}, - {items = {"farming:pea_pod"}, rarity = 5} - } -} -minetest.register_node("farming:pea_5", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:pea_pod"] = { - crop = "farming:pea", - seed = "farming:pea_pod", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 5 -} - --- mapgen -farming.register_decoration("pea",5) diff --git a/mods/.farming_old/crops/pepper.lua b/mods/.farming_old/crops/pepper.lua deleted file mode 100644 index a5cf9021..00000000 --- a/mods/.farming_old/crops/pepper.lua +++ /dev/null @@ -1,154 +0,0 @@ - ---[[ - Original textures from Crops Plus mod - Copyright (C) 2018 Grizzly Adam - https://forum.minetest.net/viewtopic.php?f=9&t=19488 -]] - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_craftitem("farming:peppercorn", { - description = S("Peppercorn"), - inventory_image = "crops_peppercorn.png", - groups = {compostability = 48, seed = 1, food_peppercorn = 1, flammable = 3}, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:pepper_1") - end -}) - --- green pepper - -minetest.register_craftitem("farming:pepper", { - description = S("Green Pepper"), - inventory_image = "crops_pepper.png", - on_use = minetest.item_eat(2), - groups = {food_pepper = 1, compostability = 55} -}) - -farming.add_eatable("farming:pepper", 2) - --- yellow pepper - -minetest.register_craftitem("farming:pepper_yellow", { - description = S("Yellow Pepper"), - inventory_image = "crops_pepper_yellow.png", - on_use = minetest.item_eat(3), - groups = {food_pepper = 1, compostability = 55} -}) - -farming.add_eatable("farming:pepper_yellow", 3) - --- red pepper - -minetest.register_craftitem("farming:pepper_red", { - description = S("Red Pepper"), - inventory_image = "crops_pepper_red.png", - on_use = minetest.item_eat(4), - groups = {food_pepper = 1, compostability = 55} -}) - -farming.add_eatable("farming:pepper_red", 4) - --- pepper to peppercorn recipe - -minetest.register_craft({ - output = "farming:peppercorn", - recipe = {{"group:food_pepper"}} -}) - --- crop definition - -local def = { - description = S("Pepper") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"crops_pepper_plant_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 1, - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 3, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:pepper_1", table.copy(def)) - --- stage 2 - -def.tiles = {"crops_pepper_plant_2.png"} -minetest.register_node("farming:pepper_2", table.copy(def)) - --- stage 3 - -def.tiles = {"crops_pepper_plant_3.png"} -minetest.register_node("farming:pepper_3", table.copy(def)) - --- stage 4 - -def.tiles = {"crops_pepper_plant_4.png"} -minetest.register_node("farming:pepper_4", table.copy(def)) - --- stage 5 (green pepper) - -def.tiles = {"crops_pepper_plant_5.png"} -def.selection_box = farming.select_final -def.drop = { - max_items = 2, items = { - {items = {"farming:pepper 2"}, rarity = 1}, - {items = {"farming:pepper"}, rarity = 2}, - {items = {"farming:pepper"}, rarity = 3} - } -} -minetest.register_node("farming:pepper_5", table.copy(def)) - --- stage 6 (yellow pepper) - -def.tiles = {"crops_pepper_plant_6.png"} -def.drop = { - max_items = 2, items = { - {items = {"farming:pepper_yellow 2"}, rarity = 1}, - {items = {"farming:pepper_yellow"}, rarity = 2}, - {items = {"farming:pepper_yellow"}, rarity = 3} - } -} -minetest.register_node("farming:pepper_6", table.copy(def)) - --- stage 7 (red pepper - final) - -def.tiles = {"crops_pepper_plant_7.png"} -def.groups.growing = nil -def.drop = { - max_items = 2, items = { - {items = {"farming:pepper_red 2"}, rarity = 1}, - {items = {"farming:pepper_red"}, rarity = 2}, - {items = {"farming:pepper_red"}, rarity = 3} - } -} -minetest.register_node("farming:pepper_7", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:pepper"] = { - crop = "farming:pepper", - seed = "farming:peppercorn", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 7 -} - --- mapgen -farming.register_decoration("pepper",7) diff --git a/mods/.farming_old/crops/pineapple.lua b/mods/.farming_old/crops/pineapple.lua deleted file mode 100644 index 26c329fd..00000000 --- a/mods/.farming_old/crops/pineapple.lua +++ /dev/null @@ -1,119 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_craftitem("farming:pineapple_top", { - description = S("Pineapple Top"), - inventory_image = "farming_pineapple_top.png", - groups = {compostability = 48, seed = 2, flammable = 2}, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:pineapple_1") - end -}) - --- item - -minetest.register_node("farming:pineapple", { - description = S("Pineapple"), - drawtype = "plantlike", - tiles = {"farming_pineapple.png"}, - inventory_image = "farming_pineapple.png", - wield_image = "farming_pineapple.png", - paramtype = "light", - sunlight_propagates = true, - walkable = false, - selection_box = { - type = "fixed", fixed = {-0.27, -0.37, -0.27, 0.27, 0.44, 0.27} - }, - groups = { - food_pineapple = 1, fleshy = 3, dig_immediate = 3, flammable = 2, - compostability = 65 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false -}) - --- crop definition - -local def = { - description = S("Pineapple") .. S(" Crop"), - drawtype = "plantlike", - visual_scale = 1.5, - tiles = {"farming_pineapple_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:pineapple_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_pineapple_2.png"} -minetest.register_node("farming:pineapple_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_pineapple_3.png"} -minetest.register_node("farming:pineapple_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_pineapple_4.png"} -minetest.register_node("farming:pineapple_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_pineapple_5.png"} -minetest.register_node("farming:pineapple_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_pineapple_6.png"} -minetest.register_node("farming:pineapple_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_pineapple_7.png"} -minetest.register_node("farming:pineapple_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_pineapple_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:pineapple"}, rarity = 1}, - {items = {"farming:pineapple"}, rarity = 2} - } -} -minetest.register_node("farming:pineapple_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:pineapple"] = { - crop = "farming:pineapple", - seed = "farming:pineapple_top", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("pineapple",8) diff --git a/mods/.farming_old/crops/potato.lua b/mods/.farming_old/crops/potato.lua deleted file mode 100644 index 77caeeae..00000000 --- a/mods/.farming_old/crops/potato.lua +++ /dev/null @@ -1,102 +0,0 @@ - ---[[ - Original textures from DocFarming mod - https://forum.minetest.net/viewtopic.php?id=3948 -]] - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:potato", { - description = S("Potato"), - inventory_image = "farming_potato.png", - groups = {compostability = 48, seed = 2, food_potato = 1}, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:potato_1") - end, - - -- 1 in 3 chance of being poisoned - on_use = function(itemstack, user, pointed_thing) - - if user then - - if math.random(3) == 1 then - return minetest.do_item_eat(-1, nil, itemstack, user, pointed_thing) - else - return minetest.do_item_eat(1, nil, itemstack, user, pointed_thing) - end - end - end -}) - -farming.add_eatable("farming:potato", 1) - --- crop definition - -local def = { - description = S("Potato") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_potato_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:potato_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_potato_2.png"} -minetest.register_node("farming:potato_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_potato_3.png"} -def.drop = { - items = { - {items = {"farming:potato"}, rarity = 1}, - {items = {"farming:potato"}, rarity = 3} - } -} -minetest.register_node("farming:potato_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_potato_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:potato 2"}, rarity = 1}, - {items = {"farming:potato 3"}, rarity = 2} - } -} -minetest.register_node("farming:potato_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:potato"] = { - crop = "farming:potato", - seed = "farming:potato", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("potato",3) diff --git a/mods/.farming_old/crops/pumpkin.lua b/mods/.farming_old/crops/pumpkin.lua deleted file mode 100644 index 70816bd4..00000000 --- a/mods/.farming_old/crops/pumpkin.lua +++ /dev/null @@ -1,110 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_craftitem("farming:pumpkin_slice", { - description = S("Pumpkin Slice"), - inventory_image = "farming_pumpkin_slice.png", - groups = {compostability = 48, seed = 2, food_pumpkin_slice = 1}, - on_use = minetest.item_eat(2), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:pumpkin_1") - end -}) - -farming.add_eatable("farming:pumpkin_slice", 2) - --- crop definition - -local def = { - description = S("Pumpkin") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_pumpkin_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:pumpkin_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_pumpkin_2.png"} -minetest.register_node("farming:pumpkin_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_pumpkin_3.png"} -minetest.register_node("farming:pumpkin_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_pumpkin_4.png"} -minetest.register_node("farming:pumpkin_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_pumpkin_5.png"} -minetest.register_node("farming:pumpkin_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_pumpkin_6.png"} -minetest.register_node("farming:pumpkin_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_pumpkin_7.png"} -minetest.register_node("farming:pumpkin_7", table.copy(def)) - --- stage 8 (final) - -minetest.register_node("farming:pumpkin_8", { - description = S("Pumpkin"), - tiles = { - "farming_pumpkin_bottom.png^farming_pumpkin_top.png", - "farming_pumpkin_bottom.png", - "farming_pumpkin_side.png" - }, - groups = { - food_pumpkin = 1, snappy = 3, choppy = 3, oddly_breakable_by_hand = 2, - flammable = 2, plant = 1, handy = 1 - }, - is_ground_content = false, - drop = "farming:pumpkin_8", - sounds = farming.node_sound_wood_defaults(), - paramtype2 = "facedir", - on_place = minetest.rotate_node, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - -minetest.register_alias("farming:pumpkin", "farming:pumpkin_8") - --- add to registered_plants - -farming.registered_plants["farming:pumpkin"] = { - crop = "farming:pumpkin", - seed = "farming:pumpkin_slice", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("pumpkin",8) diff --git a/mods/.farming_old/crops/raspberry.lua b/mods/.farming_old/crops/raspberry.lua deleted file mode 100644 index 771ceea8..00000000 --- a/mods/.farming_old/crops/raspberry.lua +++ /dev/null @@ -1,82 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:raspberries", { - description = S("Raspberries"), - inventory_image = "farming_raspberries.png", - groups = { - compostability = 48, seed = 2, food_raspberries = 1, food_raspberry = 1, - food_berry = 1 - }, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:raspberry_1") - end -}) - -farming.add_eatable("farming:raspberries", 1) - --- crop definition - -local def = { - description = S("Raspberry") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_raspberry_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:raspberry_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_raspberry_2.png"} -minetest.register_node("farming:raspberry_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_raspberry_3.png"} -minetest.register_node("farming:raspberry_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_raspberry_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:raspberries 2"}, rarity = 1}, - {items = {"farming:raspberries"}, rarity = 2}, - {items = {"farming:raspberries"}, rarity = 3} - } -} -minetest.register_node("farming:raspberry_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:raspberries"] = { - crop = "farming:raspberry", - seed = "farming:raspberries", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("raspberry",4) diff --git a/mods/.farming_old/crops/rhubarb.lua b/mods/.farming_old/crops/rhubarb.lua deleted file mode 100644 index 26044e17..00000000 --- a/mods/.farming_old/crops/rhubarb.lua +++ /dev/null @@ -1,87 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:rhubarb", { - description = S("Rhubarb"), - inventory_image = "farming_rhubarb.png", - groups = {compostability = 48, seed = 2, food_rhubarb = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:rhubarb_1") - end -}) - -farming.add_eatable("farming:rhubarb", 1) - --- crop definition - -local def = { - description = S("Rhubarb") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_rhubarb_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - minlight = 10, - maxlight = 12 -} - --- stage 1 - -minetest.register_node("farming:rhubarb_1", table.copy(def)) - --- stage2 - -def.tiles = {"farming_rhubarb_2.png"} -minetest.register_node("farming:rhubarb_2", table.copy(def)) - --- stage3 - -def.tiles = {"farming_rhubarb_3.png"} -def.drop = { - items = { - {items = {"farming:rhubarb"}, rarity = 1}, - } -} -minetest.register_node("farming:rhubarb_3", table.copy(def)) - --- stage 4 (final) - -def.tiles = {"farming_rhubarb_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:rhubarb 2"}, rarity = 1}, - {items = {"farming:rhubarb"}, rarity = 2}, - {items = {"farming:rhubarb"}, rarity = 3} - } -} -minetest.register_node("farming:rhubarb_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:rhubarb"] = { - crop = "farming:rhubarb", - seed = "farming:rhubarb", - minlight = 10, - maxlight = 12, - steps = 4 -} - --- mapgen -farming.register_decoration("rhubarb",3) diff --git a/mods/.farming_old/crops/rice.lua b/mods/.farming_old/crops/rice.lua deleted file mode 100644 index d363f638..00000000 --- a/mods/.farming_old/crops/rice.lua +++ /dev/null @@ -1,151 +0,0 @@ - -local S = minetest.get_translator("farming") - --- rice seed - -minetest.register_node("farming:seed_rice", { - description = S("Rice Seed"), - tiles = {"farming_rice_seed.png"}, - inventory_image = "farming_rice_seed.png", - wield_image = "farming_rice_seed.png", - drawtype = "signlike", - groups = { - handy = 1, compostability = 48, seed = 1, snappy = 3, attached_node = 1, - flammable = 4, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - next_plant = "farming:rice_1", - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_rice") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:rice_1", param2 = 3}) - end -}) - --- rice item - -minetest.register_craftitem("farming:rice", { - description = S("Rice"), - inventory_image = "farming_rice.png", - groups = {seed = 2, food_rice = 1, flammable = 2, compostability = 65}, -}) - --- dry rice seed to give edible rice - -minetest.register_craft({ - type = "cooking", - cooktime = 1, - output = "farming:rice", - recipe = "farming:seed_rice" -}) - --- crop definition - -local def = { - description = S("Rice") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_rice_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 4, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:rice_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_rice_2.png"} -minetest.register_node("farming:rice_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_rice_3.png"} -minetest.register_node("farming:rice_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_rice_4.png"} -minetest.register_node("farming:rice_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_rice_5.png"} -def.drop = { - items = { - {items = {"farming:rice"}, rarity = 2} - } -} -minetest.register_node("farming:rice_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_rice_6.png"} -def.drop = { - items = { - {items = {"farming:rice"}, rarity = 2} - } -} -minetest.register_node("farming:rice_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_rice_7.png"} -def.drop = { - items = { - {items = {"farming:seed_rice"}, rarity = 1}, - {items = {"farming:seed_rice"}, rarity = 2}, - {items = {"farming:seed_rice"}, rarity = 3} - } -} -minetest.register_node("farming:rice_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_rice_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:seed_rice 2"}, rarity = 1}, - {items = {"farming:seed_rice 2"}, rarity = 2}, - {items = {"farming:seed_rice"}, rarity = 3} - } -} -minetest.register_node("farming:rice_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:rice"] = { - crop = "farming:rice", - seed = "farming:seed_rice", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("rice",8) diff --git a/mods/.farming_old/crops/rye_oat.lua b/mods/.farming_old/crops/rye_oat.lua deleted file mode 100644 index 3fd93c14..00000000 --- a/mods/.farming_old/crops/rye_oat.lua +++ /dev/null @@ -1,50 +0,0 @@ - -local S = minetest.get_translator("farming") - ---= A nice addition from Ademant's grain mod :) - --- Rye - -farming.register_plant("farming:rye", { - description = S("Rye seed"), - paramtype2 = "meshoptions", - inventory_image = "farming_rye_seed.png", - steps = 8, - place_param2 = 3 -}) - --- override rye item - -minetest.override_item("farming:rye", { - description = S("Rye"), - groups = {food_rye = 1, flammable = 4, compostability = 65} -}) - --- override rye crop - -minetest.override_item("farming:rye_1", {drop = {}}) -minetest.override_item("farming:rye_2", {drop = {}}) -minetest.override_item("farming:rye_3", {drop = {}}) - --- Oats - -farming.register_plant("farming:oat", { - description = S("Oat seed"), - paramtype2 = "meshoptions", - inventory_image = "farming_oat_seed.png", - steps = 8, - place_param2 = 3 -}) - --- override oat item - -minetest.override_item("farming:oat", { - description = S("Oats"), - groups = {food_oats = 1, flammable = 4, compostability = 65} -}) - --- override oat crop - -minetest.override_item("farming:oat_1", {drop = {}}) -minetest.override_item("farming:oat_2", {drop = {}}) -minetest.override_item("farming:oat_3", {drop = {}}) diff --git a/mods/.farming_old/crops/soy.lua b/mods/.farming_old/crops/soy.lua deleted file mode 100644 index 88c1980a..00000000 --- a/mods/.farming_old/crops/soy.lua +++ /dev/null @@ -1,112 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:soy_pod", { - description = S("Soy Pod"), - inventory_image = "farming_soy_pod.png", - groups = {compostability = 48, seed = 2, food_soy = 1, food_soy_pod = 1, flammable = 2}, - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:soy_1") - end -}) - --- replacement for soy beans that was removed - -minetest.register_alias("farming:soy_beans", "farming:soy_pod") - --- crop definition - -local def = { - description = S("Soy") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_soy_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:soy_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_soy_2.png"} -minetest.register_node("farming:soy_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_soy_3.png"} -minetest.register_node("farming:soy_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_soy_4.png"} -minetest.register_node("farming:soy_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_soy_5.png"} -def.drop = { - max_items = 1, items = { - {items = {"farming:soy_pod"}, rarity = 1}, - } -} -minetest.register_node("farming:soy_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_soy_6.png"} -def.drop = { - max_items = 3, items = { - {items = {"farming:soy_pod"}, rarity = 1}, - {items = {"farming:soy_pod"}, rarity = 2}, - {items = {"farming:soy_pod"}, rarity = 3} - } -} -minetest.register_node("farming:soy_6", table.copy(def)) - --- stage 7 (final) - -def.tiles = {"farming_soy_7.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - max_items = 5, items = { - {items = {"farming:soy_pod"}, rarity = 1}, - {items = {"farming:soy_pod"}, rarity = 2}, - {items = {"farming:soy_pod"}, rarity = 3}, - {items = {"farming:soy_pod"}, rarity = 4}, - {items = {"farming:soy_pod"}, rarity = 5} - } -} -minetest.register_node("farming:soy_7", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:soy_pod"] = { - crop = "farming:soy", - seed = "farming:soy_pod", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 7 -} - --- mapgen -farming.register_decoration("soy",7) diff --git a/mods/.farming_old/crops/spinach.lua b/mods/.farming_old/crops/spinach.lua deleted file mode 100644 index 29ac27ea..00000000 --- a/mods/.farming_old/crops/spinach.lua +++ /dev/null @@ -1,86 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:spinach", { - description = S("Spinach"), - inventory_image = "farming_spinach.png", - groups = {compostability = 48, seed = 2, food_spinach = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:spinach_1") - end -}) - -farming.add_eatable("farming:spinach", 1) - --- crop definition - -local def = { - description = S("Spinach") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_spinach_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:spinach_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_spinach_2.png"} -minetest.register_node("farming:spinach_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_spinach_3.png"} -def.drop = { - items = { - {items = {"farming:spinach"}, rarity = 1}, - {items = {"farming:spinach"}, rarity = 3} - } -} -minetest.register_node("farming:spinach_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_spinach_4.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:spinach 2"}, rarity = 1}, - {items = {"farming:spinach 2"}, rarity = 2}, - {items = {"farming:spinach 2"}, rarity = 3} - } -} -minetest.register_node("farming:spinach_4", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:spinach"] = { - crop = "farming:spinach", - seed = "farming:spinach", - minlight = 7, - maxlight = farming.max_light, - steps = 4 -} - --- mapgen -farming.register_decoration("spinach",4) diff --git a/mods/.farming_old/crops/strawberry.lua b/mods/.farming_old/crops/strawberry.lua deleted file mode 100644 index 66c987c8..00000000 --- a/mods/.farming_old/crops/strawberry.lua +++ /dev/null @@ -1,114 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem(":ethereal:strawberry", { - description = S("Strawberry"), - inventory_image = "ethereal_strawberry.png", - groups = {compostability = 48, seed = 2, food_strawberry = 1, food_berry = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:strawberry_1") - end, -}) - -farming.add_eatable("ethereal:strawberry", 1) - --- crop definition - -local def = { - description = S("Strawberry") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"ethereal_strawberry_1.png"}, - paramtype = "light", - sunlight_propagates = true, - waving = 1, - walkable = false, - buildable_to = true, - drop = "", - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5} - }, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - ---stage 1 - -minetest.register_node(":ethereal:strawberry_1", table.copy(def)) - --- stage 2 - -def.tiles = {"ethereal_strawberry_2.png"} -minetest.register_node(":ethereal:strawberry_2", table.copy(def)) - --- stage 3 - -def.tiles = {"ethereal_strawberry_3.png"} -minetest.register_node(":ethereal:strawberry_3", table.copy(def)) - --- stage 4 - -def.tiles = {"ethereal_strawberry_4.png"} -minetest.register_node(":ethereal:strawberry_4", table.copy(def)) - --- stage 5 - -def.tiles = {"ethereal_strawberry_5.png"} -minetest.register_node(":ethereal:strawberry_5", table.copy(def)) - --- stage 6 - -def.tiles = {"ethereal_strawberry_6.png"} -def.drop = { - items = { - {items = {"ethereal:strawberry 1"}, rarity = 2}, - {items = {"ethereal:strawberry 2"}, rarity = 3} - } -} -minetest.register_node(":ethereal:strawberry_6", table.copy(def)) - --- stage 7 - -def.tiles = {"ethereal_strawberry_7.png"} -def.drop = { - items = { - {items = {"ethereal:strawberry 1"}, rarity = 1}, - {items = {"ethereal:strawberry 2"}, rarity = 3} - } -} -minetest.register_node(":ethereal:strawberry_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"ethereal_strawberry_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"ethereal:strawberry 2"}, rarity = 1}, - {items = {"ethereal:strawberry 3"}, rarity = 3} - } -} -minetest.register_node(":ethereal:strawberry_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["ethereal:strawberry"] = { - crop = "ethereal:strawberry", - seed = "ethereal:strawberry", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("strawberry",7) diff --git a/mods/.farming_old/crops/sunflower.lua b/mods/.farming_old/crops/sunflower.lua deleted file mode 100644 index 09ef5dec..00000000 --- a/mods/.farming_old/crops/sunflower.lua +++ /dev/null @@ -1,132 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_node("farming:seed_sunflower", { - description = S("Sunflower Seeds"), - tiles = {"farming_sunflower_seeds.png"}, - inventory_image = "farming_sunflower_seeds.png", - wield_image = "farming_sunflower_seeds.png", - drawtype = "signlike", - groups = { - compostability = 48, seed = 1, snappy = 3, attached_node = 1, growing = 1, - handy = 1, food_sunflower_seeds = 1, flammable = 2 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - next_plant = "farming:sunflower_1", - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_sunflower") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:sunflower_1", param2 = 1}) - end -}) - -minetest.register_alias("farming:sunflower_seeds", "farming:seed_sunflower") - --- item - -minetest.register_craftitem("farming:sunflower", { - description = S("Sunflower"), - inventory_image = "farming_sunflower.png", - groups = {flammable = 2} -}) - --- turn item into seeds - -minetest.register_craft({ - output = "farming:seed_sunflower 5", - recipe = {{"farming:sunflower"}} -}) - --- crop definition - -local def = { - description = S("Sunflower") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_sunflower_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:sunflower_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_sunflower_2.png"} -minetest.register_node("farming:sunflower_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_sunflower_3.png"} -minetest.register_node("farming:sunflower_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_sunflower_4.png"} -minetest.register_node("farming:sunflower_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_sunflower_5.png"} -minetest.register_node("farming:sunflower_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_sunflower_6.png"} -def.visual_scale = 1.9 -minetest.register_node("farming:sunflower_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_sunflower_7.png"} -minetest.register_node("farming:sunflower_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_sunflower_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:sunflower"}, rarity = 1}, - {items = {"farming:sunflower"}, rarity = 6} - } -} -minetest.register_node("farming:sunflower_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:sunflower"] = { - crop = "farming:sunflower", - seed = "farming:seed_sunflower", - minlight = 14, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("sunflower",8) diff --git a/mods/.farming_old/crops/tomato.lua b/mods/.farming_old/crops/tomato.lua deleted file mode 100644 index d0e94f45..00000000 --- a/mods/.farming_old/crops/tomato.lua +++ /dev/null @@ -1,111 +0,0 @@ - ---[[ - Textures edited from: - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288375-food-plus-mod-more-food-than-you-can-imagine-v2-9) -]] - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:tomato", { - description = S("Tomato"), - inventory_image = "farming_tomato.png", - groups = {compostability = 45, seed = 2, food_tomato = 1}, - on_use = minetest.item_eat(4), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:tomato_1") - end -}) - -farming.add_eatable("farming:tomato", 4) - --- crop definition - -local def = { - description = S("Tomato") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_tomato_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:tomato_1", table.copy(def)) - --- stage2 - -def.tiles = {"farming_tomato_2.png"} -minetest.register_node("farming:tomato_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_tomato_3.png"} -minetest.register_node("farming:tomato_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_tomato_4.png"} -minetest.register_node("farming:tomato_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_tomato_5.png"} -minetest.register_node("farming:tomato_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_tomato_6.png"} -minetest.register_node("farming:tomato_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_tomato_7.png"} -def.drop = { - items = { - {items = {"farming:tomato"}, rarity = 1}, - {items = {"farming:tomato"}, rarity = 3} - } -} -minetest.register_node("farming:tomato_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_tomato_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:tomato 3"}, rarity = 1}, - {items = {"farming:tomato 2"}, rarity = 2}, - {items = {"farming:tomato 1"}, rarity = 3} - } -} -minetest.register_node("farming:tomato_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:tomato"] = { - crop = "farming:tomato", - seed = "farming:tomato", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("tomato",8) diff --git a/mods/.farming_old/crops/vanilla.lua b/mods/.farming_old/crops/vanilla.lua deleted file mode 100644 index 507020ee..00000000 --- a/mods/.farming_old/crops/vanilla.lua +++ /dev/null @@ -1,109 +0,0 @@ - -local S = minetest.get_translator("farming") - --- item/seed - -minetest.register_craftitem("farming:vanilla", { - description = S("Vanilla"), - inventory_image = "farming_vanilla.png", - groups = {compostability = 48, seed = 2, food_vanilla = 1}, - on_use = minetest.item_eat(1), - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:vanilla_1") - end -}) - -farming.add_eatable("farming:vanilla", 1) - --- crop definition - -local def = { - description = S("Vanilla") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_vanilla_1.png"}, - paramtype = "light", - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - handy = 1, snappy = 3, flammable = 2, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:vanilla_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_vanilla_2.png"} -minetest.register_node("farming:vanilla_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_vanilla_3.png"} -minetest.register_node("farming:vanilla_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_vanilla_4.png"} -minetest.register_node("farming:vanilla_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_vanilla_5.png"} -minetest.register_node("farming:vanilla_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_vanilla_6.png"} -def.visual_scale = 1.9 -minetest.register_node("farming:vanilla_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_vanilla_7.png"} -def.drop = { - items = { - {items = {"farming:vanilla"}, rarity = 1}, - {items = {"farming:vanilla"}, rarity = 2}, - {items = {"farming:vanilla"}, rarity = 3} - } -} -minetest.register_node("farming:vanilla_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_vanilla_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:vanilla 2"}, rarity = 1}, - {items = {"farming:vanilla 2"}, rarity = 2}, - {items = {"farming:vanilla 2"}, rarity = 2}, - {items = {"farming:vanilla 2"}, rarity = 3} - } -} -minetest.register_node("farming:vanilla_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:vanilla"] = { - crop = "farming:vanilla", - seed = "farming:vanilla", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} - --- mapgen -farming.register_decoration("vanilla",8) diff --git a/mods/.farming_old/crops/wheat.lua b/mods/.farming_old/crops/wheat.lua deleted file mode 100644 index db6644ec..00000000 --- a/mods/.farming_old/crops/wheat.lua +++ /dev/null @@ -1,144 +0,0 @@ - -local S = minetest.get_translator("farming") - --- seed - -minetest.register_node("farming:seed_wheat", { - description = S("Wheat Seed"), - tiles = {"farming_wheat_seed.png"}, - inventory_image = "farming_wheat_seed.png", - wield_image = "farming_wheat_seed.png", - drawtype = "signlike", - groups = { - handy = 1, seed = 1, snappy = 3, attached_node = 1, flammable = 4, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - next_plant = "farming:wheat_1", - - on_place = function(itemstack, placer, pointed_thing) - return farming.place_seed(itemstack, placer, pointed_thing, "farming:seed_wheat") - end, - - on_timer = function(pos, elapsed) - minetest.set_node(pos, {name = "farming:wheat_1", param2 = 3}) - end -}) - --- item - -minetest.register_craftitem("farming:wheat", { - description = S("Wheat"), - inventory_image = "farming_wheat.png", - groups = {food_wheat = 1, flammable = 4} -}) - --- crop definition - -local def = { - description = S("Wheat") .. S(" Crop"), - drawtype = "plantlike", - tiles = {"farming_wheat_1.png"}, - paramtype = "light", - paramtype2 = "meshoptions", - place_param2 = 3, - sunlight_propagates = true, - walkable = false, - buildable_to = true, - drop = "", - waving = 1, - selection_box = farming.select, - groups = { - snappy = 3, flammable = 4, plant = 1, attached_node = 1, - not_in_creative_inventory = 1, growing = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults() -} - --- stage 1 - -minetest.register_node("farming:wheat_1", table.copy(def)) - --- stage 2 - -def.tiles = {"farming_wheat_2.png"} -minetest.register_node("farming:wheat_2", table.copy(def)) - --- stage 3 - -def.tiles = {"farming_wheat_3.png"} -minetest.register_node("farming:wheat_3", table.copy(def)) - --- stage 4 - -def.tiles = {"farming_wheat_4.png"} -minetest.register_node("farming:wheat_4", table.copy(def)) - --- stage 5 - -def.tiles = {"farming_wheat_5.png"} -def.drop = { - items = { - {items = {"farming:wheat"}, rarity = 2}, - {items = {"farming:seed_wheat"}, rarity = 2} - } -} -minetest.register_node("farming:wheat_5", table.copy(def)) - --- stage 6 - -def.tiles = {"farming_wheat_6.png"} -def.drop = { - items = { - {items = {"farming:wheat"}, rarity = 2}, - {items = {"farming:seed_wheat"}, rarity = 1} - } -} -minetest.register_node("farming:wheat_6", table.copy(def)) - --- stage 7 - -def.tiles = {"farming_wheat_7.png"} -def.drop = { - items = { - {items = {"farming:wheat"}, rarity = 1}, - {items = {"farming:wheat"}, rarity = 3}, - {items = {"farming:seed_wheat"}, rarity = 1}, - {items = {"farming:seed_wheat"}, rarity = 3} - } -} -minetest.register_node("farming:wheat_7", table.copy(def)) - --- stage 8 (final) - -def.tiles = {"farming_wheat_8.png"} -def.groups.growing = nil -def.selection_box = farming.select_final -def.drop = { - items = { - {items = {"farming:wheat"}, rarity = 1}, - {items = {"farming:wheat"}, rarity = 3}, - {items = {"farming:seed_wheat"}, rarity = 1}, - {items = {"farming:seed_wheat"}, rarity = 3} - } -} -minetest.register_node("farming:wheat_8", table.copy(def)) - --- add to registered_plants - -farming.registered_plants["farming:wheat"] = { - crop = "farming:wheat", - seed = "farming:seed_wheat", - minlight = farming.min_light, - maxlight = farming.max_light, - steps = 8 -} --- mapgen -farming.register_decoration("wheat",8) diff --git a/mods/.farming_old/farming.conf b/mods/.farming_old/farming.conf deleted file mode 100644 index efb018d9..00000000 --- a/mods/.farming_old/farming.conf +++ /dev/null @@ -1,51 +0,0 @@ - ---[[ - Farming settings can be changed here and kept inside mod folder - even after the mod has been updated, or you can place inside - world folder for map specific settings. ---]] - --- true to enable crop/food in-game and on mapgen set spawn rarety -farming.asparagus = 0.002 -farming.eggplant = 0.002 -farming.spinach = 0.002 -farming.carrot = false -farming.potato = false -farming.tomato = 0.001 -farming.cucumber = 0.001 -farming.corn = false -farming.coffee = false -farming.melon = false -farming.pumpkin = pumpkin -farming.cocoa = false -- true or false only -farming.raspberry = 0.001 -farming.blueberry = false -farming.rhubarb = 0.001 -farming.beans = 0.001 -farming.grapes = 0.001 -farming.barley = false -- true or false only -farming.chili = 0.003 -farming.hemp = 0.003 -farming.garlic = 0.001 -farming.onion = 0.001 -farming.pepper = 0.002 -farming.pineapple = 0.001 -farming.peas = 0.001 -farming.beetroot = false -farming.mint = 0.005 -farming.cabbage = 0.001 -farming.blackberry = false -farming.lettuce = 0.001 -farming.soy = false -farming.vanilla = 0.001 -farming.artichoke = 0.001 -farming.parsley = 0.002 -farming.sunflower = 0.001 -farming.ginger = 0.002 -farming.strawberry = false -farming.grains = true -- true or false only -farming.rice = true - --- default minimum and maximum light levels crops need to grow -farming.min_light = 12 -farming.max_light = 15 diff --git a/mods/.farming_old/farming.conf_example b/mods/.farming_old/farming.conf_example deleted file mode 100644 index d22ba2e9..00000000 --- a/mods/.farming_old/farming.conf_example +++ /dev/null @@ -1,52 +0,0 @@ - ---[[ - Farming settings can be changed here and kept inside mod folder - even after the mod has been updated, or you can place inside - world folder for map specific settings. ---]] - --- true to enable crop/food in-game and on mapgen set spawn rarety -farming.asparagus = 0.002 -farming.eggplant = 0.002 -farming.spinach = 0.002 -farming.carrot = 0.002 -farming.potato = 0.002 -farming.tomato = 0.002 -farming.cucumber = 0.002 -farming.corn = 0.002 -farming.coffee = 0.002 -farming.melon = 0.009 -farming.pumpkin = 0.009 -farming.cocoa = true -- true or false only -farming.raspberry = 0.002 -farming.blueberry = 0.002 -farming.rhubarb = 0.002 -farming.beans = 0.002 -farming.grapes = 0.002 -farming.barley = true -- true or false only -farming.chili = 0.003 -farming.hemp = 0.003 -farming.garlic = 0.002 -farming.onion = 0.002 -farming.pepper = 0.002 -farming.pineapple = 0.003 -farming.peas = 0.002 -farming.beetroot = 0.002 -farming.mint = 0.005 -farming.cabbage = 0.002 -farming.blackberry = 0.002 -farming.lettuce = 0.002 -farming.soy = 0.002 -farming.vanilla = 0.002 -farming.artichoke = 0.002 -farming.parsley = 0.002 -farming.sunflower = 0.002 -farming.ginger = 0.002 -farming.cotton = 0.003 -farming.strawberry = 0.002 -farming.grains = true -- true or false only -farming.rice = true - --- default minimum and maximum light levels crops need to grow -farming.min_light = 12 -farming.max_light = 15 diff --git a/mods/.farming_old/grass.lua b/mods/.farming_old/grass.lua deleted file mode 100644 index 2e607c2a..00000000 --- a/mods/.farming_old/grass.lua +++ /dev/null @@ -1,76 +0,0 @@ - --- Override grass to drop wheat and oat seeds - -local rarity_lookup = {[1] = 50, [2] = 50, [3] = 50, [4] = 5, [5] = 5} - -if minetest.registered_nodes["default:grass_1"] then - - for i = 1, 5 do - - minetest.override_item("default:grass_" .. i, { - drop = { - max_items = 1, - items = { - {items = {"farming:seed_wheat"}, rarity = rarity_lookup[i]}, - {items = {"farming:seed_oat"},rarity = rarity_lookup[i]}, - {items = {"default:grass_1"}} - } - } - }) - end -end - --- override dry grass to drop barley and rye seeds - -if minetest.registered_nodes["default:dry_grass_1"] then - - for i = 1, 5 do - - minetest.override_item("default:dry_grass_" .. i, { - drop = { - max_items = 1, - items = { - {items = {"farming:seed_barley"}, rarity = rarity_lookup[i]}, - {items = {"farming:seed_rye"}, rarity = rarity_lookup[i]}, - {items = {"default:dry_grass_1"}} - } - } - }) - end -end - --- override jungle grass to drop cotton and rice seeds - -if minetest.registered_nodes["default:junglegrass"] then - - minetest.override_item("default:junglegrass", { - drop = { - max_items = 1, - items = { - {items = {"farming:seed_cotton"}, rarity = 8}, - {items = {"farming:seed_rice"}, rarity = 8}, - {items = {"default:junglegrass"}} - } - } - }) -end - --- override mineclone tallgrass to drop all sof the above seeds - -if farming.mcl then - - minetest.override_item("mcl_flowers:tallgrass", { - drop = { - max_items = 1, - items = { - {items = {"mcl_farming:wheat_seeds"}, rarity = 5}, - {items = {"farming:seed_oat"},rarity = 5}, - {items = {"farming:seed_barley"}, rarity = 5}, - {items = {"farming:seed_rye"},rarity = 5}, - {items = {"farming:seed_cotton"}, rarity = 8}, - {items = {"farming:seed_rice"},rarity = 8} - } - } - }) -end - diff --git a/mods/.farming_old/hoes.lua b/mods/.farming_old/hoes.lua deleted file mode 100644 index e6865754..00000000 --- a/mods/.farming_old/hoes.lua +++ /dev/null @@ -1,485 +0,0 @@ - --- translation and mod check - -local S = minetest.get_translator("farming") -local mod_tr = minetest.get_modpath("toolranks") - --- Hoe registration function - -farming.register_hoe = function(name, def) - - -- Check for : prefix (register new hoes in your mod's namespace) - if name:sub(1,1) ~= ":" then name = ":" .. name end - - -- Check def table - if def.description == nil then def.description = S("Hoe") end - - if def.inventory_image == nil then def.inventory_image = "unknown_item.png" end - - if def.max_uses == nil then def.max_uses = 30 end - - -- add hoe group - def.groups = def.groups or {} - def.groups.hoe = 1 - - -- Register the tool - minetest.register_tool(name, { - description = def.description, - inventory_image = def.inventory_image, - groups = def.groups, - sound = {breaks = "default_tool_breaks"}, - damage_groups = def.damage_groups or {fleshy = 1}, - - on_use = function(itemstack, user, pointed_thing) - return farming.hoe_on_use(itemstack, user, pointed_thing, def.max_uses) - end - }) - - -- Register its recipe - if def.recipe then - - minetest.register_craft({ - output = name:sub(2), - recipe = def.recipe - }) - elseif def.material then - - minetest.register_craft({ - output = name:sub(2), - recipe = { - {def.material, def.material, ""}, - {"", "group:stick", ""}, - {"", "group:stick", ""} - } - }) - end -end - --- Turns dirt with group soil=1 into soil - -function farming.hoe_on_use(itemstack, user, pointed_thing, uses) - - local pt = pointed_thing or {} - local is_used = false - - -- am I going to hoe the top of a dirt node? - if pt.type == "node" and pt.above.y == pt.under.y + 1 then - - local under = minetest.get_node(pt.under) - local upos = pointed_thing.under - - if minetest.is_protected(upos, user:get_player_name()) then - minetest.record_protection_violation(upos, user:get_player_name()) - return - end - - local p = {x = pt.under.x, y = pt.under.y + 1, z = pt.under.z} - local above = minetest.get_node(p) - - -- return if any of the nodes is not registered - if not minetest.registered_nodes[under.name] - or not minetest.registered_nodes[above.name] then return end - - -- check if the node above the pointed thing is air - if above.name ~= "air" then return end - - -- check if pointing at dirt - if minetest.get_item_group(under.name, "soil") ~= 1 then return end - - -- check if (wet) soil defined - local ndef = minetest.registered_nodes[under.name] - - if ndef.soil == nil or ndef.soil.wet == nil or ndef.soil.dry == nil then - return - end - - if minetest.is_protected(pt.under, user:get_player_name()) then - minetest.record_protection_violation(pt.under, user:get_player_name()) - return - end - - -- turn the node into soil, wear out item and play sound - minetest.set_node(pt.under, {name = ndef.soil.dry}) ; is_used = true - - minetest.sound_play("default_dig_crumbly", {pos = pt.under, gain = 0.5}, true) - end - - local wdef = itemstack:get_definition() - local wear = 65535 / (uses - 1) - - -- using hoe as weapon - if pt.type == "object" then - - local ent = pt.ref and pt.ref:get_luaentity() - local dir = user:get_look_dir() - - if (ent and ent.name ~= "__builtin:item" - and ent.name ~= "__builtin:falling_node") or pt.ref:is_player() then - - pt.ref:punch(user, nil, {full_punch_interval = 1.0, - damage_groups = wdef.damage_groups}, dir) - - is_used = true - end - end - - -- only when used on soil top or external entity - if is_used then - - -- cretive doesnt wear tools but toolranks registers uses with wear so set to 1 - if farming.is_creative(user:get_player_name()) then - if mod_tr then wear = 1 else wear = 0 end - end - - if mod_tr then - itemstack = toolranks.new_afteruse(itemstack, user, under, {wear = wear}) - else - itemstack:add_wear(wear) - end - - if itemstack:get_count() == 0 and wdef.sound and wdef.sound.breaks then - minetest.sound_play(wdef.sound.breaks, {pos = pt.above, gain = 0.5}, true) - end - end - - return itemstack -end - --- Define Hoes - -farming.register_hoe(":farming:hoe_wood", { - description = S("Wooden Hoe"), - inventory_image = "farming_tool_woodhoe.png", - max_uses = 30, - material = "group:wood" -}) - -minetest.register_craft({ - type = "fuel", - recipe = "farming:hoe_wood", - burntime = 5 -}) - -farming.register_hoe(":farming:hoe_stone", { - description = S("Stone Hoe"), - inventory_image = "farming_tool_stonehoe.png", - max_uses = 90, - material = "group:stone" -}) - -farming.register_hoe(":farming:hoe_steel", { - description = S("Steel Hoe"), - inventory_image = "farming_tool_steelhoe.png", - max_uses = 200, - material = "default:steel_ingot", - damage_groups = {fleshy = 2} -}) - -farming.register_hoe(":farming:hoe_bronze", { - description = S("Bronze Hoe"), - inventory_image = "farming_tool_bronzehoe.png", - max_uses = 250, - groups = {not_in_creative_inventory = 1}, - material = "default:bronze_ingot", - damage_groups = {fleshy = 2} -}) - -farming.register_hoe(":farming:hoe_mese", { - description = S("Mese Hoe"), - inventory_image = "farming_tool_mesehoe.png", - max_uses = 350, - groups = {not_in_creative_inventory = 1}, - damage_groups = {fleshy = 3} -}) - -farming.register_hoe(":farming:hoe_diamond", { - description = S("Diamond Hoe"), - inventory_image = "farming_tool_diamondhoe.png", - max_uses = 500, - groups = {not_in_creative_inventory = 1}, - damage_groups = {fleshy = 3} -}) - --- Toolranks support - -if mod_tr then - - minetest.override_item("farming:hoe_wood", { - original_description = S("Wood Hoe"), - description = toolranks.create_description(S("Wood Hoe"))}) - - minetest.override_item("farming:hoe_stone", { - original_description = S("Stone Hoe"), - description = toolranks.create_description(S("Stone Hoe"))}) - - minetest.override_item("farming:hoe_steel", { - original_description = S("Steel Hoe"), - description = toolranks.create_description(S("Steel Hoe"))}) - - minetest.override_item("farming:hoe_bronze", { - original_description = S("Bronze Hoe"), - description = toolranks.create_description(S("Bronze Hoe"))}) - - minetest.override_item("farming:hoe_mese", { - original_description = S("Mese Hoe"), - description = toolranks.create_description(S("Mese Hoe"))}) - - minetest.override_item("farming:hoe_diamond", { - original_description = S("Diamond Hoe"), - description = toolranks.create_description(S("Diamond Hoe"))}) -end - --- hoe bomb function - -local function hoe_area(pos, player) - - -- check for protection - if minetest.is_protected(pos, player:get_player_name()) then - minetest.record_protection_violation(pos, player:get_player_name()) - return - end - - local r = 5 -- radius - - -- remove flora (grass, flowers etc.) - local res = minetest.find_nodes_in_area( - {x = pos.x - r, y = pos.y - 1, z = pos.z - r}, - {x = pos.x + r, y = pos.y + 2, z = pos.z + r}, {"group:flora"}) - - for n = 1, #res do - minetest.swap_node(res[n], {name = "air"}) - end - - -- replace dirt with tilled soil - res = minetest.find_nodes_in_area_under_air( - {x = pos.x - r, y = pos.y - 1, z = pos.z - r}, - {x = pos.x + r, y = pos.y + 2, z = pos.z + r}, - {"group:soil"}) - - for n = 1, #res do - minetest.swap_node(res[n], {name = "farming:soil"}) - end -end - --- throwable hoe bomb entity - -minetest.register_entity("farming:hoebomb_entity", { - - initial_properties = { - physical = true, - visual = "sprite", - visual_size = {x = 1.0, y = 1.0}, - textures = {"farming_hoe_bomb.png"}, - collisionbox = {-0.1,-0.1,-0.1,0.1,0.1,0.1} - }, - - lastpos = {}, - player = "", - - on_step = function(self, dtime) - - if not self.player then - - self.object:remove() - - return - end - - local pos = self.object:get_pos() - - if self.lastpos.x ~= nil then - - local vel = self.object:get_velocity() - - -- only when potion hits something physical - if vel.x == 0 or vel.y == 0 or vel.z == 0 then - - if self.player ~= "" then - - -- round up coords to fix glitching through doors - self.lastpos = vector.round(self.lastpos) - - hoe_area(self.lastpos, self.player) - end - - self.object:remove() - - return - - end - end - - self.lastpos = pos - end -}) - --- actual throwing function - -local function throw_potion(itemstack, player) - - local pos = player:get_pos() - - local obj = minetest.add_entity({ - x = pos.x, y = pos.y + 1.5, z = pos.z}, "farming:hoebomb_entity") - - if not obj then return end - - local dir = player:get_look_dir() - local velocity = 20 - - obj:set_velocity({x = dir.x * velocity, y = dir.y * velocity, z = dir.z * velocity}) - - obj:set_acceleration({x = dir.x * -3, y = -9.5, z = dir.z * -3}) - - obj:get_luaentity().player = player -end - --- hoe bomb item - -minetest.register_craftitem("farming:hoe_bomb", { - description = S("Hoe Bomb (use or throw on grassy areas to hoe land)"), - inventory_image = "farming_hoe_bomb.png", - groups = {flammable = 2, not_in_creative_inventory = 1}, - - on_use = function(itemstack, user, pointed_thing) - - if pointed_thing.type == "node" then - hoe_area(pointed_thing.above, user) - else - throw_potion(itemstack, user) - - if not farming.is_creative(user:get_player_name()) then - - itemstack:take_item() - - return itemstack - end - end - end, -}) - --- helper function - -local function node_not_num(nodename) - - local num = #nodename:split("_") - local str = "" - - if not num or num == 1 then return end - - for v = 1, (num - 1) do - str = str .. nodename:split("_")[v] .. "_" - end - - return str -end - -farming.scythe_not_drops = {"farming:trellis", "farming:beanpole"} - -farming.add_to_scythe_not_drops = function(item) - table.insert(farming.scythe_not_drops, item) -end - --- Mithril Scythe (special item) - -minetest.register_tool("farming:scythe_mithril", { - description = S("Mithril Scythe (Use to harvest and replant crops)"), - inventory_image = "farming_scythe_mithril.png", - sound = {breaks = "default_tool_breaks"}, - - on_use = function(itemstack, placer, pointed_thing) - - if pointed_thing.type ~= "node" then return end - - local pos = pointed_thing.under - local name = placer:get_player_name() - - if minetest.is_protected(pos, name) then return end - - local node = minetest.get_node_or_nil(pos) - - if not node then return end - - local def = minetest.registered_nodes[node.name] - - if not def or not def.drop or not def.groups or not def.groups.plant then - return - end - - local drops = minetest.get_node_drops(node.name, "") - - if not drops or #drops == 0 or (#drops == 1 and drops[1] == "") then - return - end - - -- get crop name - local mname = node.name:split(":")[1] - local pname = node_not_num(node.name:split(":")[2]) - - if not pname then return end - - -- add dropped items - for _, dropped_item in pairs(drops) do - - -- dont drop items on this list - for _, not_item in pairs(farming.scythe_not_drops) do - - if dropped_item == not_item then - dropped_item = nil - end - end - - if dropped_item then - - local obj = minetest.add_item(pos, dropped_item) - - if obj then - - obj:set_velocity({ - x = math.random() - 0.5, y = 3, z = math.random() - 0.5}) - end - end - end - - -- Run script hook - for _, callback in pairs(core.registered_on_dignodes) do - callback(pos, node, placer) - end - - -- play sound - minetest.sound_play("default_grass_footstep", {pos = pos, gain = 1.0}, true) - - -- replace with seed or crop_1 - local replace = mname .. ":" .. pname .. "1" - - if minetest.registered_nodes[replace] then - - local p2 = minetest.registered_nodes[replace].place_param2 or 1 - - minetest.set_node(pos, {name = replace, param2 = p2}) - else - minetest.set_node(pos, {name = "air"}) - end - - if not farming.is_creative(name) then - - itemstack:add_wear(65535 / 350) -- 350 uses - - return itemstack - end - end -}) - --- if moreores found add mithril scythe recipe - -if minetest.get_modpath("moreores") then - - minetest.register_craft({ - output = "farming:scythe_mithril", - recipe = { - {"", "moreores:mithril_ingot", "moreores:mithril_ingot"}, - {"moreores:mithril_ingot", "", "group:stick"}, - {"", "", "group:stick"} - } - }) -end diff --git a/mods/.farming_old/init.lua b/mods/.farming_old/init.lua deleted file mode 100644 index 8b658eb7..00000000 --- a/mods/.farming_old/init.lua +++ /dev/null @@ -1,862 +0,0 @@ ---[[ - Farming Redo Mod by TenPlus1 - NEW growing routine by prestidigitator - auto-refill by crabman77 -]] - --- Translation support - -local S = minetest.get_translator("farming") - --- global - -farming = { - mod = "redo", - version = "20240924", - path = minetest.get_modpath("farming"), - select = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}}, - select_final = {type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5}}, - registered_plants = {}, - min_light = 12, max_light = 15, - mapgen = minetest.get_mapgen_setting("mg_name"), - use_utensils = minetest.settings:get_bool("farming_use_utensils") ~= false, - mtg = minetest.get_modpath("default"), - eth = minetest.get_modpath("ethereal"), - mcl = minetest.get_modpath("mcl_core"), - sounds = {}, - register_decoration = function(crop,steps,alt_source) - biomes = asuna.features.crops[crop] - if not biomes then - return - end - - local decor - if alt_source then - decor = alt_source - else - decor = {} - for i = 0, (steps > 4 and 2 or 0) do - decor[i + 1] = "farming:" .. crop .. "_" .. (steps - i) - end - end - - local chars = {crop:byte()} - local seed = 11111 - for _,c in ipairs(chars) do - seed = seed + c - end - seed = seed + #crop - - minetest.register_decoration(biomes.inject_decoration({ - name = "farming:" .. crop, - deco_type = "simple", - place_on = "group:soil", - sidelen = 8, - noise_params = { - offset = -0.4125, - scale = 0.3575, - spread = {x = 14, y = 14, z = 14}, - seed = seed, - octaves = 2, - persist = 0.62, - lacunarity = 0.675, - }, - y_max = 31000, - y_min = 1, - decoration = decor, - })) - end, - mcl_hardness = 0.01, - translate = S -} - --- determine which sounds to use, default or mcl_sounds - -local function sound_helper(snd) - - farming[snd] = (farming.mtg and default[snd]) or (farming.mcl and mcl_sounds[snd]) - or function() return {} end -end - -sound_helper("node_sound_defaults") -sound_helper("node_sound_stone_defaults") -sound_helper("node_sound_dirt_defaults") -sound_helper("node_sound_sand_defaults") -sound_helper("node_sound_gravel_defaults") -sound_helper("node_sound_wood_defaults") -sound_helper("node_sound_leaves_defaults") -sound_helper("node_sound_ice_defaults") -sound_helper("node_sound_metal_defaults") -sound_helper("node_sound_water_defaults") -sound_helper("node_sound_snow_defaults") -sound_helper("node_sound_glass_defaults") - --- check for creative mode or priv - -local creative_mode_cache = minetest.settings:get_bool("creative_mode") - -function farming.is_creative(name) - return creative_mode_cache or minetest.check_player_privs(name, {creative = true}) -end - --- stats, locals, settings, function helper - -local statistics = dofile(farming.path .. "/statistics.lua") -local random, floor = math.random, math.floor -local time_speed = tonumber(minetest.settings:get("time_speed")) or 72 -local SECS_PER_CYCLE = (time_speed > 0 and (24 * 60 * 60) / time_speed) or 0 -local function clamp(x, min, max) return (x < min and min) or (x > max and max) or x end - --- return amount of day or night that has elapsed --- dt is time elapsed, count_day if true counts day, otherwise night - -local function day_or_night_time(dt, count_day) - - local t_day = minetest.get_timeofday() - local t1_day = t_day - dt / SECS_PER_CYCLE - local t1_c, t2_c -- t1_c < t2_c and t2_c always in [0, 1) - - if count_day then - - if t_day < 0.25 then - t1_c = t1_day + 0.75 -- Relative to sunup, yesterday - t2_c = t_day + 0.75 - else - t1_c = t1_day - 0.25 -- Relative to sunup, today - t2_c = t_day - 0.25 - end - else - if t_day < 0.75 then - t1_c = t1_day + 0.25 -- Relative to sundown, yesterday - t2_c = t_day + 0.25 - else - t1_c = t1_day - 0.75 -- Relative to sundown, today - t2_c = t_day - 0.75 - end - end - - local dt_c = clamp(t2_c, 0, 0.5) - clamp(t1_c, 0, 0.5) -- this cycle - - if t1_c < -0.5 then - - local nc = floor(-t1_c) - - t1_c = t1_c + nc - dt_c = dt_c + 0.5 * nc + clamp(-t1_c - 0.5, 0, 0.5) - end - - return dt_c * SECS_PER_CYCLE -end - --- Growth Logic - -local STAGE_LENGTH_AVG = tonumber(minetest.settings:get("farming_stage_length")) or 200 -local STAGE_LENGTH_DEV = STAGE_LENGTH_AVG / 6 - --- quick start seed timer - -farming.start_seed_timer = function(pos) - - local timer = minetest.get_node_timer(pos) - local grow_time = floor(random(STAGE_LENGTH_DEV, STAGE_LENGTH_AVG)) - - timer:start(grow_time) -end - --- return plant name and stage from node provided - -local function plant_name_stage(node) - - local name - - if type(node) == "table" then - - if node.name then name = node.name - elseif node.x and node.y and node.z then - node = minetest.get_node_or_nil(node) - name = node and node.name - end - else - name = tostring(node) - end - - if not name or name == "ignore" then return nil end - - local sep_pos = name:find("_[^_]+$") - - if sep_pos and sep_pos > 1 then - - local stage = tonumber(name:sub(sep_pos + 1)) - - if stage and stage >= 0 then - return name:sub(1, sep_pos - 1), stage - end - end - - return name, 0 -end - --- Map from node name to --- { plant_name = ..., name = ..., stage = n, stages_left = { node_name, ... } } - -local plant_stages = {} - -farming.plant_stages = plant_stages - ---- Registers the stages of growth of a (possible plant) node. - -- @param node - Node or position table, or node name. - -- @return - The (possibly zero) number of stages of growth the plant will go through - -- before being fully grown, or nil if not a plant. - --- Recursive helper - -local function reg_plant_stages(plant_name, stage, force_last) - - local node_name = plant_name and plant_name .. "_" .. stage - local node_def = node_name and minetest.registered_nodes[node_name] - - if not node_def then return nil end - - local stages = plant_stages[node_name] - - if stages then return stages end - - if minetest.get_item_group(node_name, "growing") > 0 then - - local ns = reg_plant_stages(plant_name, stage + 1, true) - local stages_left = (ns and { ns.name, unpack(ns.stages_left) }) or {} - - stages = { - plant_name = plant_name, - name = node_name, - stage = stage, - stages_left = stages_left - } - - if #stages_left > 0 then - - local old_constr = node_def.on_construct - local old_destr = node_def.on_destruct - - minetest.override_item(node_name, { - - on_construct = function(pos) - - if old_constr then old_constr(pos) end - - farming.handle_growth(pos) - end, - - on_destruct = function(pos) - - minetest.get_node_timer(pos):stop() - - if old_destr then old_destr(pos) end - end, - - on_timer = function(pos, elapsed) - return farming.plant_growth_timer(pos, elapsed, node_name) - end, - }) - end - - elseif force_last then - - stages = { - plant_name = plant_name, - name = node_name, - stage = stage, - stages_left = {} - } - else - return nil - end - - plant_stages[node_name] = stages - - return stages -end - --- split name and stage and register crop - -local function register_plant_node(node) - - local plant_name, stage = plant_name_stage(node) - - if plant_name then - - local stages = reg_plant_stages(plant_name, stage, false) - - return stages and #stages.stages_left - end -end - --- check for further growth and set or stop timer - -local function set_growing(pos, stages_left) - - if not stages_left then return end - - local timer = minetest.get_node_timer(pos) - - if stages_left > 0 then - - if not timer:is_started() then - - local stage_length = statistics.normal(STAGE_LENGTH_AVG, STAGE_LENGTH_DEV) - - stage_length = clamp(stage_length, 0.5 * STAGE_LENGTH_AVG, 3.0 * STAGE_LENGTH_AVG) - - timer:set(stage_length, -0.5 * random() * STAGE_LENGTH_AVG) - end - - elseif timer:is_started() then - timer:stop() - end -end - --- detects a crop at given position, starting or stopping growth timer when needed - -function farming.handle_growth(pos, node) - - if not pos then return end - - local stages_left = register_plant_node(node or pos) - - if stages_left then set_growing(pos, stages_left) end -end - --- register crops nodes and add timer functions - -minetest.after(0, function() - - for _, node_def in pairs(minetest.registered_nodes) do - register_plant_node(node_def) - end -end) - --- Just in case a growing type or added node is missed (also catches existing --- nodes added to map before timers were incorporated). - -minetest.register_abm({ - label = "Start crop timer", - nodenames = {"group:growing"}, - interval = 300, - chance = 1, - catch_up = false, - - action = function(pos, node) - - -- skip if node timer already active - if minetest.get_node_timer(pos):is_started() then return end - - -- check if group:growing node is a seed - local def = minetest.registered_nodes[node.name] - - if def and def.groups and def.groups.seed then - - if def.on_timer then -- start node timer if found - - farming.start_seed_timer(pos) - - return - end - - local next_stage = def.next_plant - - def = minetest.registered_nodes[next_stage] - - if def then -- switch seed without timer to stage_1 of crop - - local p2 = def.place_param2 or 1 - - minetest.set_node(pos, {name = next_stage, param2 = p2}) - end - else - farming.handle_growth(pos, node) -- start normal crop timer - end - end -}) - --- default check crop is on wet soil - -farming.can_grow = function(pos) - - local below = minetest.get_node({x = pos.x, y = pos.y -1, z = pos.z}) - - return minetest.get_item_group(below.name, "soil") >= 3 -end - --- Plant timer function that grows plants under the right conditions. - -function farming.plant_growth_timer(pos, elapsed, node_name) - - local stages = plant_stages[node_name] - - if not stages then return false end - - local max_growth = #stages.stages_left - - if max_growth <= 0 then return false end - - local chk1 = minetest.registered_nodes[node_name].growth_check -- old - local chk2 = minetest.registered_nodes[node_name].can_grow -- new - - if chk1 then -- custom farming redo growth_check function - - if not chk1(pos, node_name) then return true end - - elseif chk2 then -- custom mt 5.9x farming can_grow function - - if not chk2(pos) then return true end - - -- default mt 5.9x farming.can_grow function - elseif not farming.can_grow(pos) then return true end - - local growth - local light_pos = {x = pos.x, y = pos.y, z = pos.z} - local lambda = elapsed / STAGE_LENGTH_AVG - - if lambda < 0.1 then return true end - - local MIN_LIGHT = minetest.registered_nodes[node_name].minlight or farming.min_light - local MAX_LIGHT = minetest.registered_nodes[node_name].maxlight or farming.max_light - - if max_growth == 1 or lambda < 2.0 then - - local light = (minetest.get_node_light(light_pos) or 0) - - if light < MIN_LIGHT or light > MAX_LIGHT then return true end - - growth = 1 - else - local night_light = (minetest.get_node_light(light_pos, 0) or 0) - local day_light = (minetest.get_node_light(light_pos, 0.5) or 0) - local night_growth = night_light >= MIN_LIGHT and night_light <= MAX_LIGHT - local day_growth = day_light >= MIN_LIGHT and day_light <= MAX_LIGHT - - if not night_growth then - - if not day_growth then return true end - - lambda = day_or_night_time(elapsed, true) / STAGE_LENGTH_AVG - - elseif not day_growth then - - lambda = day_or_night_time(elapsed, false) / STAGE_LENGTH_AVG - end - - growth = statistics.poisson(lambda, max_growth) - - if growth < 1 then return true end - end - - if minetest.registered_nodes[stages.stages_left[growth]] then - - local p2 = minetest.registered_nodes[stages.stages_left[growth] ].place_param2 or 1 - - minetest.set_node(pos, {name = stages.stages_left[growth], param2 = p2}) - else - return true - end - - return growth ~= max_growth -end - --- refill placed plant by crabman (26/08/2015) updated by TenPlus1 - -function farming.refill_plant(player, plantname, index) - - local inv = player and player:get_inventory() ; if not inv then return end - - local old_stack = inv:get_stack("main", index) - - if old_stack:get_name() ~= "" then return end - - for i, stack in ipairs(inv:get_list("main")) do - - if stack:get_name() == plantname and i ~= index then - - inv:set_stack("main", index, stack) - stack:clear() - inv:set_stack("main", i, stack) - - return - end - end -end - --- Place Seeds on Soil - -function farming.place_seed(itemstack, placer, pointed_thing, plantname) - - local pt = pointed_thing - - -- check if pointing at a node - if not itemstack or not pt or pt.type ~= "node" then return end - - local under = minetest.get_node(pt.under) - - -- am I right-clicking on something that has a custom on_place set? - -- thanks to Krock for helping with this issue :) - local def = minetest.registered_nodes[under.name] - - if placer and itemstack and def and def.on_rightclick then - return def.on_rightclick(pt.under, under, placer, itemstack, pt) - end - - local above = minetest.get_node(pt.above) - - -- check if pointing at the top of the node - if pt.above.y ~= pt.under.y + 1 then return end - - -- return if any of the nodes is not registered - if not minetest.registered_nodes[under.name] - or not minetest.registered_nodes[above.name] then return end - - -- can I replace above node, and am I pointing directly at soil - if not minetest.registered_nodes[above.name].buildable_to - or minetest.get_item_group(under.name, "soil") < 2 - or minetest.get_item_group(above.name, "plant") ~= 0 then return end - - -- is player planting seed? - local name = placer and placer:get_player_name() or "" - - -- if not protected then add node and remove 1 item from the itemstack - if not minetest.is_protected(pt.above, name) then - - local p2 = minetest.registered_nodes[plantname].place_param2 or 1 - - minetest.set_node(pt.above, {name = plantname, param2 = p2}) - - farming.start_seed_timer(pt.above) - - minetest.sound_play("default_place_node", {pos = pt.above, gain = 1.0}) - - minetest.log("action", string.format("%s planted %s at %s", - (placer and placer:is_player() and placer:get_player_name() or "A mod"), - itemstack:get_name(), minetest.pos_to_string(pt.above) - )) - - if placer and itemstack - and not farming.is_creative(placer:get_player_name()) then - - local name = itemstack:get_name() - - itemstack:take_item() - - -- check for refill - if itemstack:get_count() == 0 then - - minetest.after(0.2, farming.refill_plant, - placer, name, placer:get_wield_index()) - end - end - - return itemstack - end -end - --- Function to register plants (default farming compatibility) - -farming.register_plant = function(name, def) - - if not def.steps then return nil end - - local mname = name:split(":")[1] - local pname = name:split(":")[2] - - -- Check def - def.description = def.description or S("Seed") - def.inventory_image = def.inventory_image or "unknown_item.png" - def.minlight = def.minlight or 12 - def.maxlight = def.maxlight or 15 - - -- Register seed - minetest.register_node(":" .. mname .. ":seed_" .. pname, { - - description = def.description, - tiles = {def.inventory_image}, - inventory_image = def.inventory_image, - wield_image = def.inventory_image, - drawtype = "signlike", - groups = { - seed = 1, snappy = 3, attached_node = 1, flammable = 2, growing = 1, - compostability = 65, handy = 1 - }, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - paramtype = "light", - paramtype2 = "wallmounted", - walkable = false, - sunlight_propagates = true, - selection_box = farming.select, - place_param2 = 1, -- place seed flat - next_plant = mname .. ":" .. pname .. "_1", - - on_timer = function(pos, elapsed) - - local def = minetest.registered_nodes[mname .. ":" .. pname .. "_1"] - - if def then - minetest.swap_node(pos, {name = def.next_plant, param2 = def.place_param2}) - end - end, - - on_place = function(itemstack, placer, pointed_thing) - - return farming.place_seed(itemstack, placer, pointed_thing, - mname .. ":seed_" .. pname) - end - }) - - -- Register harvest - minetest.register_craftitem(":" .. mname .. ":" .. pname, { - description = pname:gsub("^%l", string.upper), - inventory_image = mname .. "_" .. pname .. ".png", - groups = def.groups or {flammable = 2}, - }) - - -- Register growing steps - for i = 1, def.steps do - - local base_rarity = 1 - - if def.steps ~= 1 then - base_rarity = 8 - (i - 1) * 7 / (def.steps - 1) - end - - local drop = { - items = { - {items = {mname .. ":" .. pname}, rarity = base_rarity}, - {items = {mname .. ":" .. pname}, rarity = base_rarity * 2}, - {items = {mname .. ":seed_" .. pname}, rarity = base_rarity}, - {items = {mname .. ":seed_" .. pname}, rarity = base_rarity * 2}, - } - } - - local sel = farming.select - local g = { - handy = 1, snappy = 3, flammable = 2, plant = 1, growing = 1, - attached_node = 1, not_in_creative_inventory = 1, - } - - -- Last step doesn't need growing=1 so Abm never has to check these - -- also increase selection box for visual indication plant has matured - if i == def.steps then - sel = farming.select_final - g.growing = 0 - end - - local node_name = mname .. ":" .. pname .. "_" .. i - - local next_plant = nil - - if i < def.steps then - next_plant = mname .. ":" .. pname .. "_" .. (i + 1) - end - - local desc = pname:gsub("^%l", string.upper) - - minetest.register_node(node_name, { - description = S(desc) .. S(" Crop"), - drawtype = "plantlike", - waving = 1, - tiles = {mname .. "_" .. pname .. "_" .. i .. ".png"}, - paramtype = "light", - paramtype2 = def.paramtype2, - place_param2 = def.place_param2, - walkable = false, - buildable_to = true, - sunlight_propagates = true, - drop = drop, - selection_box = sel, - groups = g, - _mcl_hardness = farming.mcl_hardness, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - minlight = def.minlight, - maxlight = def.maxlight, - next_plant = next_plant - }) - end - - -- add to farming.registered_plants - farming.registered_plants[mname .. ":" .. pname] = { - crop = mname .. ":" .. pname, - seed = mname .. ":seed_" .. pname, - steps = def.steps, - minlight = def.minlight, - maxlight = def.maxlight - } --- print(dump(farming.registered_plants[mname .. ":" .. pname])) - - return {seed = mname .. ":seed_" .. pname, harvest = mname .. ":" .. pname} -end - --- default settings - -farming.asparagus = 0.002 -farming.eggplant = 0.002 -farming.spinach = 0.002 -farming.carrot = 0.002 -farming.potato = 0.002 -farming.tomato = 0.002 -farming.cucumber = 0.002 -farming.corn = 0.002 -farming.coffee = 0.002 -farming.melon = 0.009 -farming.pumpkin = 0.009 -farming.cocoa = true -farming.raspberry = 0.002 -farming.blueberry = 0.002 -farming.rhubarb = 0.002 -farming.beans = 0.002 -farming.grapes = 0.002 -farming.barley = true -farming.chili = 0.003 -farming.hemp = 0.003 -farming.garlic = 0.002 -farming.onion = 0.002 -farming.pepper = 0.002 -farming.pineapple = 0.003 -farming.peas = 0.002 -farming.beetroot = 0.002 -farming.mint = 0.005 -farming.cabbage = 0.002 -farming.blackberry = 0.002 -farming.soy = 0.002 -farming.vanilla = 0.002 -farming.lettuce = 0.002 -farming.artichoke = 0.002 -farming.parsley = 0.002 -farming.sunflower = 0.002 -farming.ginger = 0.002 -farming.strawberry = 0.002 -farming.cotton = 0.003 -farming.grains = true -farming.rice = true - --- Load new global settings if found inside mod folder - -local input = io.open(farming.path .. "/farming.conf", "r") - -if input then dofile(farming.path .. "/farming.conf") ; input:close() end - --- load new world-specific settings if found inside world folder - -local worldpath = minetest.get_worldpath() - -input = io.open(worldpath .. "/farming.conf", "r") - -if input then dofile(worldpath .. "/farming.conf") ; input:close() end - --- helper function to add {eatable} group to food items, also {flammable} - -function farming.add_eatable(item, hp) - - local def = minetest.registered_items[item] - - if def then - - local groups = table.copy(def.groups) or {} - - groups.eatable = hp ; groups.flammable = 2 - - minetest.override_item(item, {groups = groups}) - end -end - --- recipe item list and alternatives - -dofile(farming.path .. "/item_list.lua") - --- setup soil, register hoes, override grass - -if minetest.get_modpath("default") then - dofile(farming.path .. "/soil.lua") - dofile(farming.path .. "/hoes.lua") -end - -dofile(farming.path.."/grass.lua") - --- disable crops Mineclone already has - -if farming.mcl then - farming.carrot = nil - farming.potato = nil - farming.melon = nil - farming.cocoa = nil - farming.beetroot = nil - farming.sunflower = nil - farming.pumpkin = nil -else - dofile(farming.path.."/crops/wheat.lua") -- default crop outwith mineclone -end - -dofile(farming.path.."/crops/cotton.lua") -- default crop - --- helper function - -local function ddoo(file, check) - - if check then dofile(farming.path .. "/crops/" .. file) end -end - --- add additional crops and food (if enabled) -ddoo("carrot.lua", farming.carrot) -ddoo("potato.lua", farming.potato) -ddoo("tomato.lua", farming.tomato) -ddoo("cucumber.lua", farming.cucumber) -ddoo("corn.lua", farming.corn) -ddoo("coffee.lua", farming.coffee) -ddoo("melon.lua", farming.melon) -ddoo("pumpkin.lua", farming.pumpkin) -ddoo("cocoa.lua", farming.cocoa) -ddoo("raspberry.lua", farming.raspberry) -ddoo("blueberry.lua", farming.blueberry) -ddoo("rhubarb.lua", farming.rhubarb) -ddoo("beans.lua", farming.beans) -ddoo("grapes.lua", farming.grapes) -ddoo("barley.lua", farming.barley) -ddoo("hemp.lua", farming.hemp) -ddoo("garlic.lua", farming.garlic) -ddoo("onion.lua", farming.onion) -ddoo("pepper.lua", farming.pepper) -ddoo("pineapple.lua", farming.pineapple) -ddoo("peas.lua", farming.peas) -ddoo("beetroot.lua", farming.beetroot) -ddoo("chili.lua", farming.chili) -ddoo("rye_oat.lua", farming.grains) -ddoo("rice.lua", farming.rice) -ddoo("mint.lua", farming.mint) -ddoo("cabbage.lua", farming.cabbage) -ddoo("blackberry.lua", farming.blackberry) -ddoo("soy.lua", farming.soy) -ddoo("vanilla.lua", farming.vanilla) -ddoo("lettuce.lua", farming.lettuce) -ddoo("artichoke.lua", farming.artichoke) -ddoo("parsley.lua", farming.parsley) -ddoo("sunflower.lua", farming.sunflower) -ddoo("strawberry.lua", farming.strawberry) -ddoo("asparagus.lua", farming.asparagus) -ddoo("eggplant.lua", farming.eggplant) -ddoo("spinach.lua", farming.eggplant) -ddoo("ginger.lua", farming.ginger) - --- register food items, non-food items, recipes and stairs - -dofile(farming.path .. "/item_non_food.lua") -dofile(farming.path .. "/item_food.lua") -dofile(farming.path .. "/item_recipes.lua") -dofile(farming.path .. "/item_stairs.lua") - -if not farming.mcl then - dofile(farming.path .. "/compatibility.lua") -- Farming Plus compatibility -end - -if minetest.get_modpath("lucky_block") then - dofile(farming.path .. "/lucky_block.lua") -end - -print("[MOD] Farming Redo loaded") diff --git a/mods/.farming_old/item_food.lua b/mods/.farming_old/item_food.lua deleted file mode 100644 index 3842e5ab..00000000 --- a/mods/.farming_old/item_food.lua +++ /dev/null @@ -1,933 +0,0 @@ - -local S = minetest.get_translator("farming") -local a = farming.recipe_items - -local function register_craftitem(condition,eatable,name,def) - if condition then - core.register_craftitem(name,def) - if eatable then - farming.add_eatable(eatable) - end - end -end - -local function register_node(condition,eatable,name,def) - if condition then - core.register_node(name,def) - if eatable then - farming.add_eatable(eatable) - end - end -end - --- Flour - -register_craftitem(true,nil,"farming:flour", { - description = S("Flour"), - inventory_image = "farming_flour.png", - groups = {food_flour = 1, flammable = 1} -}) - --- Garlic bulb - -register_craftitem(farming.garlic,1,"farming:garlic", { - description = S("Garlic"), - inventory_image = "crops_garlic.png", - on_use = minetest.item_eat(1), - groups = {food_garlic = 1, compostability = 55} -}) - --- Garlic braid - -register_node(farming.garlic,nil,"farming:garlic_braid", { - description = S("Garlic Braid"), - inventory_image = "crops_garlic_braid.png", - wield_image = "crops_garlic_braid.png", - drawtype = "nodebox", - use_texture_alpha = "clip", - paramtype = "light", - paramtype2 = "facedir", - tiles = { - "crops_garlic_braid_top.png", - "crops_garlic_braid.png", - "crops_garlic_braid_side.png^[transformFx", - "crops_garlic_braid_side.png", - "crops_garlic_braid.png", - "crops_garlic_braid.png" - }, - groups = {vessel = 1, dig_immediate = 3, flammable = 3, compostability = 65, handy = 1}, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - node_box = { - type = "fixed", fixed = {{-0.1875, -0.5, 0.5, 0.1875, 0.5, 0.125}} - } -}) - --- Corn on the cob (texture by TenPlus1) - -register_craftitem(farming.corn,5,"farming:corn_cob", { - description = S("Corn on the Cob"), - inventory_image = "farming_corn_cob.png", - groups = {compostability = 65, food_corn_cooked = 1}, - on_use = minetest.item_eat(5) -}) - --- Popcorn - -register_craftitem(farming.corn,4,"farming:popcorn", { - description = S("Popcorn"), - inventory_image = "farming_popcorn.png", - groups = {compostability = 55, food_popcorn = 1}, - on_use = minetest.item_eat(4) -}) - --- Cornstarch - -register_craftitem(farming.corn,nil,"farming:cornstarch", { - description = S("Cornstarch"), - inventory_image = "farming_cornstarch.png", - groups = {food_cornstarch = 1, food_gelatin = 1, flammable = 2, compostability = 65} -}) - --- Cup of coffee - -register_node(farming.coffee,2,"farming:coffee_cup", { - description = S("Cup of Coffee"), - drawtype = "torchlike", - tiles = {"farming_coffee_cup.png"}, - inventory_image = "farming_coffee_cup.png", - wield_image = "farming_coffee_cup.png", - paramtype = "light", - walkable = false, - selection_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.25, 0.25} - }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1, drink = 1, handy = 1}, - is_ground_content = false, - on_use = minetest.item_eat(2, "vessels:drinking_glass"), - sounds = farming.node_sound_glass_defaults() -}) - -minetest.register_alias("farming:coffee_cup_hot", "farming:coffee_cup") -minetest.register_alias("farming:drinking_cup", "vessels:drinking_glass") - --- Bar of of dark chocolate (thx to Ice Pandora for her deviantart.com chocolate tutorial) - -register_craftitem(farming.cocoa,3,"farming:chocolate_dark", { - description = S("Bar of Dark Chocolate"), - inventory_image = "farming_chocolate_dark.png", - on_use = minetest.item_eat(3) -}) - --- Chocolate block (not edible) - -register_node(farming.cocoa,nil,"farming:chocolate_block", { - description = S("Chocolate Block"), - tiles = {"farming_chocolate_block.png"}, - is_ground_content = false, - groups = {cracky = 2, oddly_breakable_by_hand = 2, handy = 1}, - sounds = farming.node_sound_stone_defaults() -}) - --- Bowl of chili - -register_craftitem(farming.chili,8,"farming:chili_bowl", { - description = S("Bowl of Chili"), - inventory_image = "farming_chili_bowl.png", - on_use = minetest.item_eat(8, a.bowl), - groups = {compostability = 65} -}) - --- Chili powder - -register_craftitem(farming.chili,nil,"farming:chili_powder", { - description = S("Chili Powder"), - on_use = minetest.item_eat(-1), - inventory_image = "farming_chili_powder.png", - groups = {compostability = 45} -}) - --- Carrot juice - -register_craftitem(farming.carrot,4,"farming:carrot_juice", { - description = S("Carrot Juice"), - inventory_image = "farming_carrot_juice.png", - on_use = minetest.item_eat(4, "vessels:drinking_glass"), - groups = {vessel = 1, drink = 1} -}) - --- Blueberry Pie - -register_craftitem(farming.blueberry or core.registered_items["default:blueberries"],6,"farming:blueberry_pie", { - description = S("Blueberry Pie"), - inventory_image = "farming_blueberry_pie.png", - on_use = minetest.item_eat(6), - groups = {compostability = 75} -}) - --- Blueberry muffin (thanks to sosogirl123 @ deviantart.com for muffin image) - -register_craftitem(farming.blueberry or core.registered_items["default:blueberries"],2,"farming:muffin_blueberry", { - description = S("Blueberry Muffin"), - inventory_image = "farming_blueberry_muffin.png", - on_use = minetest.item_eat(2), - groups = {compostability = 65} -}) - --- Tomato soup - -register_craftitem(farming.tomato,8,"farming:tomato_soup", { - description = S("Tomato Soup"), - inventory_image = "farming_tomato_soup.png", - groups = {compostability = 65, drink = 1}, - on_use = minetest.item_eat(8, "farming:bowl") -}) - --- sliced bread - -register_craftitem(true,1,"farming:bread_slice", { - description = S("Sliced Bread"), - inventory_image = "farming_bread_slice.png", - on_use = minetest.item_eat(1), - groups = {food_bread_slice = 1, compostability = 65} -}) - --- toast - -register_craftitem(true,1,"farming:toast", { - description = S("Toast"), - inventory_image = "farming_toast.png", - on_use = minetest.item_eat(1), - groups = {food_toast = 1, compostability = 65} -}) - --- toast sandwich - -register_craftitem(true,4,"farming:toast_sandwich", { - description = S("Toast Sandwich"), - inventory_image = "farming_toast_sandwich.png", - on_use = minetest.item_eat(4), - groups = {compostability = 85} -}) - --- glass of water - -register_craftitem(true,nil,"farming:glass_water", { - description = S("Glass of Water"), - inventory_image = "farming_water_glass.png", - groups = {food_glass_water = 1, flammable = 3, vessel = 1} -}) - --- Sugar cube - -register_node(true,nil,"farming:sugar_cube", { - description = S("Sugar Cube"), - tiles = {"farming_sugar_cube.png"}, - groups = {shovely = 1, handy = 1, crumbly = 2}, - is_ground_content = false, - floodable = true, - sounds = farming.node_sound_gravel_defaults(), - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - --- Sugar caramel - -register_craftitem(true,nil,"farming:caramel", { - description = S("Caramel"), - inventory_image = "farming_caramel.png", - groups = {compostability = 40} -}) - --- Salt - -register_node(true,nil,"farming:salt", { - description = S("Salt"), - inventory_image = "farming_salt.png", - wield_image = "farming_salt.png", - drawtype = "plantlike", - visual_scale = 0.8, - paramtype = "light", - tiles = {"farming_salt.png"}, - groups = {food_salt = 1, vessel = 1, dig_immediate = 3, attached_node = 1, handy = 1}, - is_ground_content = false, - sounds = farming.node_sound_defaults(), - selection_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - }, - -- special function to make salt crystals form inside water - dropped_step = function(self, pos, dtime) - - self.ctimer = (self.ctimer or 0) + dtime - if self.ctimer < 15.0 then return end - self.ctimer = 0 - - local needed - - if self.node_inside and self.node_inside.name == a.water_source then - needed = 8 - - elseif self.node_inside and self.node_inside.name == a.river_water_source then - needed = 9 - end - - if not needed then return end - - local objs = core.get_objects_inside_radius(pos, 0.5) - - if not objs or #objs ~= 1 then return end - - local salt, ent = nil, nil - - for k, obj in pairs(objs) do - - ent = obj:get_luaentity() - - if ent and ent.name == "__builtin:item" - and ent.itemstring == "farming:salt " .. needed then - - obj:remove() - - core.add_item(pos, "farming:salt_crystal") - - return false -- return with no further action - end - end - end -}) - --- Salt Crystal - -register_node(true,nil,"farming:salt_crystal", { - description = S("Salt crystal"), - inventory_image = "farming_salt_crystal.png", - wield_image = "farming_salt_crystal.png", - drawtype = "plantlike", - visual_scale = 0.8, - paramtype = "light", - light_source = 1, - tiles = {"farming_salt_crystal.png"}, - groups = {dig_immediate = 3, attached_node = 1, handy = 1}, - is_ground_content = false, - sounds = farming.node_sound_defaults(), - selection_box = { - type = "fixed", fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - }, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - --- Mayonnaise - -register_node(true,3,"farming:mayonnaise", { - description = S("Mayonnaise"), - drawtype = "plantlike", - tiles = {"farming_mayo.png"}, - inventory_image = "farming_mayo.png", - wield_image = "farming_mayo.png", - paramtype = "light", - is_ground_content = false, - walkable = false, - on_use = minetest.item_eat(3), - selection_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.45, 0.25} - }, - groups = { - compostability = 65, food_mayonnaise = 1, vessel = 1, dig_immediate = 3, - attached_node = 1, handy = 1 - }, - sounds = farming.node_sound_glass_defaults() -}) - --- Rose Water - -register_node(true,nil,"farming:rose_water", { - description = S("Rose Water"), - inventory_image = "farming_rose_water.png", - wield_image = "farming_rose_water.png", - drawtype = "plantlike", - visual_scale = 0.8, - paramtype = "light", - tiles = {"farming_rose_water.png"}, - groups = { - food_rose_water = 1, vessel = 1, dig_immediate = 3, attached_node = 1, handy = 1 - }, - is_ground_content = false, - sounds = farming.node_sound_defaults(), - selection_box = { - type = "fixed", fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - } -}) - --- Turkish Delight - -register_craftitem(true,2,"farming:turkish_delight", { - description = S("Turkish Delight"), - inventory_image = "farming_turkish_delight.png", - groups = {compostability = 85}, - on_use = minetest.item_eat(2) -}) - --- Garlic Bread - -register_craftitem(farming.garlic,2,"farming:garlic_bread", { - description = S("Garlic Bread"), - inventory_image = "farming_garlic_bread.png", - groups = {compostability = 65}, - on_use = minetest.item_eat(2) -}) - --- Donuts (thanks to Bockwurst for making the donut images) - -register_craftitem(true,4,"farming:donut", { - description = S("Donut"), - inventory_image = "farming_donut.png", - on_use = minetest.item_eat(4), - groups = {compostability = 65} -}) - -register_craftitem(farming.cocoa,6,"farming:donut_chocolate", { - description = S("Chocolate Donut"), - inventory_image = "farming_donut_chocolate.png", - on_use = minetest.item_eat(6), - groups = {compostability = 65} -}) - -register_craftitem(true,6,"farming:donut_apple", { - description = S("Apple Donut"), - inventory_image = "farming_donut_apple.png", - on_use = minetest.item_eat(6), - groups = {compostability = 65} -}) - --- Porridge Oats - -register_craftitem(farming.grains and farming.soy,6,"farming:porridge", { - description = S("Porridge"), - inventory_image = "farming_porridge.png", - on_use = minetest.item_eat(6, a.bowl), - groups = {compostability = 65} -}) - --- Jaffa Cake - -register_craftitem(farming.soy,6,"farming:jaffa_cake", { - description = S("Jaffa Cake"), - inventory_image = "farming_jaffa_cake.png", - on_use = minetest.item_eat(6), - groups = {compostability = 65} -}) - --- Apple Pie - -register_craftitem(true,6,"farming:apple_pie", { - description = S("Apple Pie"), - inventory_image = "farming_apple_pie.png", - on_use = minetest.item_eat(6), - groups = {compostability = 75} -}) - --- Cactus Juice - -register_craftitem(true,1,"farming:cactus_juice", { - description = S("Cactus Juice"), - inventory_image = "farming_cactus_juice.png", - groups = {vessel = 1, drink = 1, compostability = 55}, - - on_use = function(itemstack, user, pointed_thing) - - if user then - - local num = math.random(5) == 1 and -1 or 2 - - return minetest.do_item_eat(num, "vessels:drinking_glass", - itemstack, user, pointed_thing) - end - end -}) - --- Pasta - -register_craftitem(true,nil,"farming:pasta", { - description = S("Pasta"), - inventory_image = "farming_pasta.png", - groups = {compostability = 65, food_pasta = 1} -}) - --- Mac & Cheese - -register_craftitem(true,6,"farming:mac_and_cheese", { - description = S("Mac & Cheese"), - inventory_image = "farming_mac_and_cheese.png", - on_use = minetest.item_eat(6, a.bowl), - groups = {compostability = 65} -}) - --- Spaghetti - -register_craftitem(farming.garlic and farming.tomato,8,"farming:spaghetti", { - description = S("Spaghetti"), - inventory_image = "farming_spaghetti.png", - on_use = minetest.item_eat(8), - groups = {compostability = 65} -}) - --- Korean Bibimbap - -register_craftitem(farming.chili and farming.rice and farming.chili and farming.cabbage,8,"farming:bibimbap", { - description = S("Bibimbap"), - inventory_image = "farming_bibimbap.png", - on_use = minetest.item_eat(8, a.bowl), - groups = {compostability = 65} -}) - --- Burger - -register_craftitem(farming.lettuce and farming.tomato,16,"farming:burger", { - description = S("Burger"), - inventory_image = "farming_burger.png", - on_use = minetest.item_eat(16), - groups = {compostability = 95} -}) - --- Salad - -register_craftitem(farming.lettuce and farming.tomato,8,"farming:salad", { - description = S("Salad"), - inventory_image = "farming_salad.png", - on_use = minetest.item_eat(8, a.bowl), - groups = {compostability = 45} -}) - --- Triple Berry Smoothie - -register_craftitem(farming.raspberry and farming.blackberry and farming.strawberry,6,"farming:smoothie_berry", { - description = S("Triple Berry Smoothie"), - inventory_image = "farming_berry_smoothie.png", - on_use = minetest.item_eat(6, "vessels:drinking_glass"), - groups = {vessel = 1, drink = 1, compostability = 65} -}) - --- Patatas a la importancia - -register_craftitem(farming.garlic and farming.parsley and farming.potato and farming.onion,8,"farming:spanish_potatoes", { - description = S("Spanish Potatoes"), - inventory_image = "farming_spanish_potatoes.png", - on_use = minetest.item_eat(8, a.bowl), - groups = {compostability = 65} -}) - --- Potato omelette - -register_craftitem(farming.onion and farming.potato,6,"farming:potato_omelet", { - description = S("Potato omelette"), - inventory_image = "farming_potato_omelet.png", - on_use = minetest.item_eat(6, a.bowl), - groups = {compostability = 65} -}) - --- Paella - -register_craftitem(farming.peas and farming.pepper and farming.rice,8,"farming:paella", { - description = S("Paella"), - inventory_image = "farming_paella.png", - on_use = minetest.item_eat(8, a.bowl), - groups = {compostability = 65} -}) - --- Vanilla Flan - -register_craftitem(farming.vanilla and farming.soy,6,"farming:flan", { - description = S("Vanilla Flan"), - inventory_image = "farming_vanilla_flan.png", - on_use = minetest.item_eat(6), - groups = {compostability = 65} -}) - --- Vegan Cheese - -register_craftitem(farming.corn and farming.pepper and farming.soy,2,"farming:cheese_vegan", { - description = S("Vegan Cheese"), - inventory_image = "farming_cheese_vegan.png", - on_use = minetest.item_eat(2), - groups = {compostability = 65, food_cheese = 1} -}) - --- Vegan Butter - -register_craftitem(farming.soy and farming.sunflower,nil,"farming:butter_vegan", { - description = S("Vegan Butter"), - inventory_image = "farming_vegan_butter.png", - groups = {food_butter = 1} -}) - --- Onigiri - -register_craftitem(farming.rice,2,"farming:onigiri", { - description = S("Onigiri"), - inventory_image = "farming_onigiri.png", - on_use = minetest.item_eat(2), - groups = {compostability = 65} -}) - --- Gyoza - -register_craftitem(farming.cabbage and farming.garlic and farming.onion,4,"farming:gyoza", { - description = S("Gyoza"), - inventory_image = "farming_gyoza.png", - on_use = minetest.item_eat(4), - groups = {compostability = 65} -}) - --- Mochi - -register_craftitem(farming.rice,3,"farming:mochi", { - description = S("Mochi"), - inventory_image = "farming_mochi.png", - on_use = minetest.item_eat(3), - groups = {compostability = 65} -}) - --- Gingerbread Man - -register_craftitem(farming.ginger,2,"farming:gingerbread_man", { - description = S("Gingerbread Man"), - inventory_image = "farming_gingerbread_man.png", - on_use = minetest.item_eat(2), - groups = {compostability = 85} -}) - --- Mint tea -register_craftitem(farming.mint,2,"farming:mint_tea", { - description = S("Mint Tea"), - inventory_image = "farming_mint_tea.png", - on_use = minetest.item_eat(2, a.drinking_glass), - groups = {drink = 1} -}) - --- Onion soup -register_craftitem(farming.onion,6,"farming:onion_soup", { - description = S("Onion Soup"), - inventory_image = "farming_onion_soup.png", - groups = {compostability = 65, drink = 1}, - on_use = minetest.item_eat(6, a.bowl) -}) - --- Pea soup - -register_craftitem(farming.peas,4,"farming:pea_soup", { - description = S("Pea Soup"), - inventory_image = "farming_pea_soup.png", - groups = {compostability = 65, drink = 1}, - on_use = minetest.item_eat(4, a.bowl) -}) - --- Ground pepper - -register_node(farming.pepper,nil,"farming:pepper_ground", { - description = S("Ground Pepper"), - inventory_image = "crops_pepper_ground.png", - wield_image = "crops_pepper_ground.png", - drawtype = "plantlike", - visual_scale = 0.8, - paramtype = "light", - tiles = {"crops_pepper_ground.png"}, - groups = { - vessel = 1, food_pepper_ground = 1, handy = 1, - dig_immediate = 3, attached_node = 1, compostability = 30 - }, - is_ground_content = false, - sounds = farming.node_sound_defaults(), - selection_box = { - type = "fixed", fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - } -}) - --- pineapple ring - -register_craftitem(farming.pineapple,1,"farming:pineapple_ring", { - description = S("Pineapple Ring"), - inventory_image = "farming_pineapple_ring.png", - groups = {food_pineapple_ring = 1, compostability = 45}, - on_use = minetest.item_eat(1) -}) - --- Pineapple juice - -register_craftitem(farming.pineapple,4,"farming:pineapple_juice", { - description = S("Pineapple Juice"), - inventory_image = "farming_pineapple_juice.png", - on_use = minetest.item_eat(4, "vessels:drinking_glass"), - groups = {vessel = 1, drink = 1, compostability = 35} -}) - --- Potato & cucumber Salad - -register_craftitem(farming.potato,10,"farming:potato_salad", { - description = S("Cucumber and Potato Salad"), - inventory_image = "farming_potato_salad.png", - on_use = minetest.item_eat(10, "farming:bowl") -}) - --- Pumpkin dough - -register_craftitem(farming.pumpkin,nil,"farming:pumpkin_dough", { - description = S("Pumpkin Dough"), - inventory_image = "farming_pumpkin_dough.png" -}) - --- Pumpkin bread - -register_craftitem(farming.pumpkin,8,"farming:pumpkin_bread", { - description = S("Pumpkin Bread"), - inventory_image = "farming_pumpkin_bread.png", - on_use = minetest.item_eat(8), - groups = {food_bread = 1} -}) - --- Raspberry smoothie - -register_craftitem(farming.raspberry,2,"farming:smoothie_raspberry", { - description = S("Raspberry Smoothie"), - inventory_image = "farming_raspberry_smoothie.png", - on_use = minetest.item_eat(2, "vessels:drinking_glass"), - groups = {vessel = 1, drink = 1, compostability = 65} -}) - --- Rhubarb pie - -register_craftitem(farming.rhubarb,6,"farming:rhubarb_pie", { - description = S("Rhubarb Pie"), - inventory_image = "farming_rhubarb_pie.png", - on_use = minetest.item_eat(6), - groups = {compostability = 65} -}) - --- Rice flour - -register_craftitem(farming.rice,nil,"farming:rice_flour", { - description = S("Rice Flour"), - inventory_image = "farming_rice_flour.png", - groups = {food_rice_flour = 1, flammable = 1, compostability = 65} -}) - --- Rice bread - -register_craftitem(farming.rice,5,"farming:rice_bread", { - description = S("Rice Bread"), - inventory_image = "farming_rice_bread.png", - on_use = minetest.item_eat(5), - groups = {food_rice_bread = 1, compostability = 65} -}) - --- Multigrain flour - -register_craftitem(farming.grains,nil,"farming:flour_multigrain", { - description = S("Multigrain Flour"), - inventory_image = "farming_flour_multigrain.png", - groups = {food_flour = 1, flammable = 1}, -}) - - --- Multigrain bread - -register_craftitem(farming.grains,7,"farming:bread_multigrain", { - description = S("Multigrain Bread"), - inventory_image = "farming_bread_multigrain.png", - on_use = minetest.item_eat(7), - groups = {food_bread = 1, compostability = 65} -}) - --- Soy sauce - -register_node(farming.soy,nil,"farming:soy_sauce", { - description = S("Soy Sauce"), - drawtype = "plantlike", - tiles = {"farming_soy_sauce.png"}, - inventory_image = "farming_soy_sauce.png", - wield_image = "farming_soy_sauce.png", - paramtype = "light", - walkable = false, - selection_box = { - type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} - }, - groups = { - vessel = 1, food_soy_sauce = 1, dig_immediate = 3, attached_node = 1, - compostability = 65, handy = 1 - }, - is_ground_content = false, - sounds = farming.node_sound_glass_defaults() -}) - --- Soy milk - -register_node(farming.soy,2,"farming:soy_milk", { - description = S("Soy Milk"), - drawtype = "plantlike", - tiles = {"farming_soy_milk_glass.png"}, - inventory_image = "farming_soy_milk_glass.png", - wield_image = "farming_soy_milk_glass.png", - paramtype = "light", - walkable = false, - selection_box = { - type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3} - }, - on_use = minetest.item_eat(2, "vessels:drinking_glass"), - groups = { - vessel = 1, food_milk_glass = 1, dig_immediate = 3, handy = 1, - attached_node = 1, drink = 1, compostability = 65 - }, - is_ground_content = false, - sounds = farming.node_sound_glass_defaults() -}) - --- Tofu - -register_craftitem(farming.soy,3,"farming:tofu", { - description = S("Tofu"), - inventory_image = "farming_tofu.png", - groups = { - food_tofu = 1, food_meat_raw = 1, compostability = 65, - }, - on_use = minetest.item_eat(3) -}) - --- Cooked tofu - -register_craftitem(farming.soy,6,"farming:tofu_cooked", { - description = S("Cooked Tofu"), - inventory_image = "farming_tofu_cooked.png", - groups = {food_meat = 1, compostability = 65}, - on_use = minetest.item_eat(6) -}) - --- Toasted sunflower seeds - -register_craftitem(farming.sunflower,1,"farming:sunflower_seeds_toasted", { - description = S("Toasted Sunflower Seeds"), - inventory_image = "farming_sunflower_seeds_toasted.png", - groups = {food_sunflower_seeds_toasted = 1, compostability = 65}, - on_use = minetest.item_eat(1) -}) - --- Sunflower oil - -register_node(farming.sunflower,nil,"farming:sunflower_oil", { - description = S("Bottle of Sunflower Oil"), - drawtype = "plantlike", - tiles = {"farming_sunflower_oil.png"}, - inventory_image = "farming_sunflower_oil.png", - wield_image = "farming_sunflower_oil.png", - paramtype = "light", - is_ground_content = false, - walkable = false, - selection_box = { - type = "fixed", fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - }, - groups = { - food_oil = 1, vessel = 1, dig_immediate = 3, attached_node = 1, - flammable = 2, compostability = 65, handy = 1 - }, - sounds = farming.node_sound_glass_defaults() -}) - --- Sunflower seed bread - -register_craftitem(farming.sunflower,8,"farming:sunflower_bread", { - description = S("Sunflower Seed Bread"), - inventory_image = "farming_sunflower_bread.png", - on_use = minetest.item_eat(8), - groups = {food_bread = 1} -}) - --- Vanilla extract - -register_node(farming.vanilla and farming.corn,nil,"farming:vanilla_extract", { - description = S("Vanilla Extract"), - drawtype = "plantlike", - tiles = {"farming_vanilla_extract.png"}, - inventory_image = "farming_vanilla_extract.png", - wield_image = "farming_vanilla_extract.png", - paramtype = "light", - is_ground_content = false, - walkable = false, - selection_box = { - type = "fixed", fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1, handy = 1}, - sounds = farming.node_sound_glass_defaults(), -}) - --- Jerusalem Artichokes with miso butter - -register_craftitem(farming.artichoke and farming.soy and farming.garlic,11,"farming:jerusalem_artichokes", { - description = S("Jerusalem Artichokes"), - inventory_image = "farming_jerusalem_artichokes.png", - on_use = minetest.item_eat(11, a.bowl) -}) - ---= Foods we shouldn't add when using Mineclonia/VoxeLibre - -if not farming.mcl then - - -- Bread - - register_craftitem(true,5,"farming:bread", { - description = S("Bread"), - inventory_image = "farming_bread.png", - on_use = minetest.item_eat(5), - groups = {food_bread = 1} - }) - - -- Cocoa beans - - register_craftitem(farming.cocoa,nil,"farming:cocoa_beans", { - description = S("Cocoa Beans"), - inventory_image = "farming_cocoa_beans.png", - groups = {compostability = 65, food_cocoa = 1, flammable = 2} - }) - - -- Chocolate cookie - - register_craftitem(farming.cocoa,2,"farming:cookie", { - description = S("Cookie"), - inventory_image = "farming_cookie.png", - on_use = minetest.item_eat(2) - }) - - -- Golden carrot - - register_craftitem(farming.carrot,10,"farming:carrot_gold", { - description = S("Golden Carrot"), - inventory_image = "farming_carrot_gold.png", - on_use = minetest.item_eat(10) - }) - - -- Beetroot soup - - register_craftitem(farming.beetroot,6,"farming:beetroot_soup", { - description = S("Beetroot Soup"), - inventory_image = "farming_beetroot_soup.png", - on_use = minetest.item_eat(6, "farming:bowl"), - groups = {drink = 1} - }) - - -- Sugar - - register_craftitem(true,nil,"farming:sugar", { - description = S("Sugar"), - inventory_image = "farming_sugar.png", - groups = {food_sugar = 1, flammable = 3} - }) - - -- Baked potato - - register_craftitem(farming.potato,6,"farming:baked_potato", { - description = S("Baked Potato"), - inventory_image = "farming_baked_potato.png", - on_use = minetest.item_eat(6) - }) -end diff --git a/mods/.farming_old/item_list.lua b/mods/.farming_old/item_list.lua deleted file mode 100644 index 078c440f..00000000 --- a/mods/.farming_old/item_list.lua +++ /dev/null @@ -1,126 +0,0 @@ - --- add group helper - -local function add_groups(item, groups) - - local def = minetest.registered_items[item] - - if def then - - local grps = table.copy(def.groups) or {} - - for k, v in pairs(groups) do - grps[k] = v - end - - minetest.override_item(item, {groups = grps}) - end -end - --- default recipe items - -farming.recipe_items = { - - -- if utensils are disabled then use blank item - saucepan = farming.use_utensils and "farming:saucepan" or "", - pot = farming.use_utensils and "farming:pot" or "", - baking_tray = farming.use_utensils and "farming:baking_tray" or "", - skillet = farming.use_utensils and "farming:skillet" or "", - mortar_pestle = farming.use_utensils and "farming:mortar_pestle" or "", - cutting_board = farming.use_utensils and "farming:cutting_board" or "", - juicer = farming.use_utensils and "farming:juicer" or "", - mixing_bowl = farming.use_utensils and "farming:mixing_bowl" or "", - - water_source = "default:water_source", - river_water_source = "default:river_water_source", - bucket_empty = "bucket:bucket_empty", - bucket_water = "bucket:bucket_water", - bucket_river_water = "bucket:bucket_river_water", - drinking_glass = "vessels:drinking_glass", - glass_bottle = "vessels:glass_bottle", - sugar = "farming:sugar", - rose = "flowers:rose", - dye_red = "dye:red", - dye_pink = "dye:pink", - dye_orange = "dye:orange", - dye_green = "dye:green", - dye_brown = "dye:brown", - dye_blue = "dye:blue", - dye_violet = "dye:violet", - dye_yellow = "dye:yellow", - bowl = "farming:bowl", - flour = "group:food_flour", - bread = "farming:bread", - cactus = "default:cactus", - paper = "default:paper", - snow = "default:snow", - string = "farming:string", - wool = "wool:white", - steel_ingot = "default:steel_ingot", - clay_brick = "default:clay_brick", - stone = "default:stone", - glass = "default:glass", -} - -add_groups("default:apple", {food_apple = 1}) - - --- if mineclone found then change recipe items - -if farming.mcl then - - local a = farming.recipe_items - - a.water_source = "mcl_core:water_source" - a.river_water_source = "mclx_core:river_water_source" - a.bucket_empty = "mcl_buckets:bucket_empty" - a.bucket_water = "mcl_buckets:bucket_water" - a.bucket_river_water = "mcl_buckets:bucket_river_water" - a.drinking_glass = "mcl_potions:glass_bottle" - a.glass_bottle = "mcl_potions:glass_bottle" - a.sugar = "mcl_core:sugar" - a.rose = "mcl_flowers:rose_bush" - a.dye_red = "mcl_dye:red" - a.dye_pink = "mcl_dye:pink" - a.dye_orange = "mcl_dye:orange" - a.dye_green = "mcl_dye:green" - a.dye_brown = "mcl_dye:brown" - a.dye_blue = "mcl_dye:blue" - a.dye_violet = "mcl_dye:violet" - a.dye_yellow = "mcl_dye:yellow" - a.bowl = "mcl_core:bowl" --- a.flour = "mcl_farming:bread" - a.bread = "mcl_farming:bread" - a.cactus = "mcl_core:cactus" - a.paper = "mcl_core:paper" - a.snow = "mcl_throwing:snowball" - a.string = "mcl_mobitems:string" - a.wool = "mcl_wool:white" - a.steel_ingot = "mcl_core:iron_ingot" - a.clay_brick = "mcl_core:clay_lump" - a.stone = "mcl_core:stone" - a.glass = "mcl_core:glass" - - -- add missing groups for recipes to work properly - - add_groups("mcl_core:sugar", {food_sugar = 1}) - add_groups("mcl_throwing:egg", {food_egg = 1}) - add_groups("mcl_farming:wheat_item", {food_wheat = 1}) - add_groups("mcl_cocoas:cocoa_beans", {food_cocoa = 1}) - add_groups("mcl_core:apple", {food_apple = 1}) - add_groups("mcl_core:bowl", {food_bowl = 1}) - add_groups("mcl_mobitems:chicken", {food_chicken_raw = 1}) - add_groups("mcl_mobitems:cooked_chicken", {food_chicken = 1}) - add_groups("mcl_mushrooms:mushroom_brown", {food_mushroom = 1}) - add_groups("mcl_farming:carrot_item", {food_carrot = 1}) - add_groups("mcl_mobitems:cooked_beef", {food_meat = 1}) - add_groups("mcl_mobitems:beef", {food_meat_raw = 1}) - add_groups("mcl_farming:potato_item", {food_potato = 1}) - add_groups("mcl_farming:bread", {food_bread = 1}) - add_groups("mcl_mobitems:milk_bucket", {food_milk = 1}) - add_groups("mcl_ocean:dried_kelp", {food_seaweed = 1}) - add_groups("mcl_potions:river_water", {food_glass_water = 1}) - add_groups("mcl_dye:yellow", {food_lemon = 1, food_banana = 1}) - add_groups("mcl_dye:orange", {food_orange = 1}) - add_groups("mcl_flowers:sunflower", {food_olive_oil = 1, food_butter = 1}) -end diff --git a/mods/.farming_old/item_non_food.lua b/mods/.farming_old/item_non_food.lua deleted file mode 100644 index bfe2a2cf..00000000 --- a/mods/.farming_old/item_non_food.lua +++ /dev/null @@ -1,282 +0,0 @@ - -local S = minetest.get_translator("farming") - -local function register_craftitem(condition,name,def) - if condition then - core.register_craftitem(name,def) - end -end - -local function register_node(condition,name,def) - if condition then - core.register_node(name,def) - end -end - --- saucepan - -register_craftitem(true,"farming:saucepan", { - description = S("Saucepan"), - inventory_image = "farming_saucepan.png", - groups = {food_saucepan = 1, flammable = 2} -}) - --- cooking pot - -register_craftitem(true,"farming:pot", { - description = S("Cooking Pot"), - inventory_image = "farming_pot.png", - groups = {food_pot = 1, flammable = 2} -}) - --- baking tray - -register_craftitem(true,"farming:baking_tray", { - description = S("Baking Tray"), - inventory_image = "farming_baking_tray.png", - groups = {food_baking_tray = 1, flammable = 2} -}) - --- skillet - -register_craftitem(true,"farming:skillet", { - description = S("Skillet"), - inventory_image = "farming_skillet.png", - groups = {food_skillet = 1, flammable = 2} -}) - --- mortar & pestle - -register_craftitem(true,"farming:mortar_pestle", { - description = S("Mortar and Pestle"), - inventory_image = "farming_mortar_pestle.png", - groups = {food_mortar_pestle = 1, flammable = 2} -}) - --- cutting board - -register_craftitem(true,"farming:cutting_board", { - description = S("Cutting Board"), - inventory_image = "farming_cutting_board.png", - groups = {food_cutting_board = 1, flammable = 2} -}) - --- juicer - -register_craftitem(true,"farming:juicer", { - description = S("Juicer"), - inventory_image = "farming_juicer.png", - groups = {food_juicer = 1, flammable = 2} -}) - --- glass mixing bowl - -register_craftitem(true,"farming:mixing_bowl", { - description = S("Glass Mixing Bowl"), - inventory_image = "farming_mixing_bowl.png", - groups = {food_mixing_bowl = 1, flammable = 2} -}) - --- Ethanol (thanks to JKMurray for this idea) - -register_node(farming.corn,"farming:bottle_ethanol", { - description = S("Bottle of Ethanol"), - drawtype = "plantlike", - tiles = {"farming_bottle_ethanol.png"}, - inventory_image = "farming_bottle_ethanol.png", - wield_image = "farming_bottle_ethanol.png", - paramtype = "light", - is_ground_content = false, - walkable = false, - selection_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - }, - groups = {vessel = 1, dig_immediate = 3, attached_node = 1, handy = 1}, - sounds = farming.node_sound_glass_defaults() -}) - --- straw - -register_node(true,"farming:straw", { - description = S("Straw"), - tiles = {"farming_straw.png"}, - is_ground_content = false, - groups = {handy = 1, snappy = 3, flammable = 4, fall_damage_add_percent = -30}, - sounds = farming.node_sound_leaves_defaults(), - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - --- hemp oil - -register_node(farming.hemp,"farming:hemp_oil", { - description = S("Bottle of Hemp Oil"), - drawtype = "plantlike", - tiles = {"farming_hemp_oil.png"}, - inventory_image = "farming_hemp_oil.png", - wield_image = "farming_hemp_oil.png", - paramtype = "light", - is_ground_content = false, - walkable = false, - selection_box = { - type = "fixed", - fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25} - }, - groups = { - food_oil = 1, vessel = 1, dig_immediate = 3, attached_node = 1, - compostability = 45, handy = 1 - }, - sounds = farming.node_sound_glass_defaults() -}) - --- hemp fibre - -register_craftitem(farming.hemp,"farming:hemp_fibre", { - description = S("Hemp Fibre"), - inventory_image = "farming_hemp_fibre.png", - groups = {compostability = 55} -}) - --- hemp block - -register_node(farming.hemp,"farming:hemp_block", { - description = S("Hemp Block"), - tiles = {"farming_hemp_block.png"}, - paramtype = "light", - groups = { - axey = 1, handy = 1, snappy = 2, oddly_breakable_by_hand = 1, flammable = 2, - compostability = 85 - }, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - --- hemp rope - -register_node(false,"farming:hemp_rope", { - description = S("Hemp Rope"), - walkable = false, - climbable = true, - sunlight_propagates = true, - paramtype = "light", - tiles = {"farming_hemp_rope.png"}, - wield_image = "farming_hemp_rope.png", - inventory_image = "farming_hemp_rope.png", - drawtype = "plantlike", - groups = { - handy = 1, axey = 1, swordy = 1, flammable = 2, choppy = 3, - oddly_breakable_by_hand = 3, compostability = 55 - }, - is_ground_content = false, - sounds = farming.node_sound_leaves_defaults(), - selection_box = { - type = "fixed", - fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7} - }, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - ---- Wooden scarecrow base - -register_node(false,"farming:scarecrow_bottom", { - description = S("Scarecrow Bottom"), - paramtype = "light", - sunlight_propagates = true, - paramtype2 = "facedir", - tiles = {"default_wood.png"}, - drawtype = "nodebox", - node_box = { - type = "fixed", - fixed = { - {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}, - {-12/16, 4/16, -1/16, 12/16, 2/16, 1/16}, - } - }, - groups = {axey = 1, handy = 1, snappy = 3, flammable = 2}, - is_ground_content = false, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 -}) - ---= Items we shouldn't add when using Mineclonia/VoxeLibre - -if not farming.mcl then - - -- Wooden bowl - - register_craftitem(true,"farming:bowl", { - description = S("Wooden Bowl"), - inventory_image = "farming_bowl.png", - groups = {food_bowl = 1, flammable = 2} - }) - - -- String - - register_craftitem(true,"farming:string", { - description = S("String"), - inventory_image = "farming_string.png", - groups = {flammable = 2} - }) - - -- Jack 'O Lantern - - register_node(farming.pumpkin,"farming:jackolantern", { - description = S("Jack 'O Lantern (punch to turn on and off)"), - tiles = { - "farming_pumpkin_bottom.png^farming_pumpkin_top.png", - "farming_pumpkin_bottom.png", - "farming_pumpkin_side.png", - "farming_pumpkin_side.png", - "farming_pumpkin_side.png", - "farming_pumpkin_side.png^farming_pumpkin_face_off.png" - }, - paramtype2 = "facedir", - groups = { - handy = 1, snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2 - }, - is_ground_content = false, - sounds = farming.node_sound_wood_defaults(), - - on_punch = function(pos, node, puncher) - local name = puncher:get_player_name() or "" - if minetest.is_protected(pos, name) then return end - node.name = "farming:jackolantern_on" - minetest.swap_node(pos, node) - end, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 - }) - - register_node(farming.pumpkin,"farming:jackolantern_on", { - tiles = { - "farming_pumpkin_bottom.png^farming_pumpkin_top.png", - "farming_pumpkin_bottom.png", - "farming_pumpkin_side.png", - "farming_pumpkin_side.png", - "farming_pumpkin_side.png", - "farming_pumpkin_side.png^farming_pumpkin_face_on.png" - }, - light_source = minetest.LIGHT_MAX - 1, - paramtype2 = "facedir", - groups = { - handy = 1, snappy = 2, choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, - not_in_creative_inventory = 1 - }, - is_ground_content = false, - sounds = farming.node_sound_wood_defaults(), - drop = "farming:jackolantern", - - on_punch = function(pos, node, puncher) - local name = puncher:get_player_name() or "" - if minetest.is_protected(pos, name) then return end - node.name = "farming:jackolantern" - minetest.swap_node(pos, node) - end, - _mcl_hardness = 0.8, - _mcl_blast_resistance = 1 - }) -end diff --git a/mods/.farming_old/item_recipes.lua b/mods/.farming_old/item_recipes.lua deleted file mode 100644 index 2b51729e..00000000 --- a/mods/.farming_old/item_recipes.lua +++ /dev/null @@ -1,1418 +0,0 @@ - -local a = farming.recipe_items - -local function register_craft(condition,def) - if condition then - core.register_craft(def) - end -end - --- flour recipes - -register_craft(farming.grains,{ - output = "farming:flour", - recipe = { - {"farming:rye", "farming:rye", "farming:rye"}, - {"farming:rye", a.mortar_pestle, ""} - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} -}) - -register_craft(farming.barley,{ - output = "farming:flour", - recipe = { - {"farming:barley", "farming:barley", "farming:barley"}, - {"farming:barley", a.mortar_pestle, ""} - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} -}) - -register_craft(farming.grains,{ - output = "farming:flour", - recipe = { - {"farming:oat", "farming:oat", "farming:oat"}, - {"farming:oat", a.mortar_pestle, ""} - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} -}) - --- multigrain flour - -register_craft(farming.barley and farming.grains,{ - type = "shapeless", - output = "farming:flour_multigrain", - recipe = { - "group:food_wheat", "group:food_barley", "group:food_oats", - "group:food_rye", a.mortar_pestle - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} -}) - --- multigrain bread - -register_craft(farming.grains,{ - type = "cooking", - cooktime = 15, - output = "farming:bread_multigrain", - recipe = "farming:flour_multigrain" -}) - --- sliced bread - -register_craft(true,{ - output = "farming:bread_slice 5", - recipe = {{"group:food_bread", a.cutting_board}}, - replacements = {{"group:food_cutting_board", "farming:cutting_board"}} -}) - --- toast - -register_craft(true,{ - type = "cooking", - cooktime = 3, - output = "farming:toast", - recipe = "farming:bread_slice" -}) - --- toast sandwich - -register_craft(true,{ - output = "farming:toast_sandwich", - recipe = { - {"farming:bread_slice"}, - {"farming:toast"}, - {"farming:bread_slice"} - } -}) - --- garlic bulb - -register_craft(farming.garlic,{ - output = "farming:garlic_clove 8", - recipe = {{"farming:garlic"}} -}) - -register_craft(farming.garlic,{ - output = "farming:garlic", - recipe = { - {"farming:garlic_clove", "farming:garlic_clove", "farming:garlic_clove"}, - {"farming:garlic_clove", "", "farming:garlic_clove"}, - {"farming:garlic_clove", "farming:garlic_clove", "farming:garlic_clove"} - } -}) - --- garlic braid - -register_craft(farming.garlic,{ - output = "farming:garlic_braid", - recipe = { - {"farming:garlic", "farming:garlic", "farming:garlic"}, - {"farming:garlic", "farming:garlic", "farming:garlic"}, - {"farming:garlic", "farming:garlic", "farming:garlic"} - } -}) - -register_craft(farming.garlic,{ - type = "shapeless", - output = "farming:garlic 9", - recipe = {"farming:garlic_braid"} -}) - --- corn on the cob - -register_craft(farming.corn,{ - type = "cooking", - cooktime = 10, - output = "farming:corn_cob", - recipe = "group:food_corn" -}) - --- popcorn - -register_craft(farming.corn,{ - output = "farming:popcorn", - recipe = { - {"group:food_oil", "group:food_corn", a.pot} - }, - replacements = { - {"group:food_pot", "farming:pot"}, - {"group:food_oil", "vessels:glass_bottle"} - } -}) - --- cornstarch - -register_craft(farming.corn,{ - output = "farming:cornstarch", - recipe = { - {a.mortar_pestle, "group:food_corn_cooked", a.baking_tray}, - {"", "group:food_bowl", ""}, - }, - replacements = { - {"group:food_mortar_pestle", "farming:mortar_pestle"}, - {"group:food_baking_tray", "farming:baking_tray"} - } -}) - --- ethanol - -register_craft(farming.corn, { - output = "farming:bottle_ethanol", - recipe = { - {"group:food_corn", "group:food_corn", "group:food_corn"}, - {"group:food_corn", a.glass_bottle, "group:food_corn"}, - {"group:food_corn", "group:food_corn", "group:food_corn"} - } -}) - --- cup of coffee - -register_craft(farming.coffee, { - output = "farming:coffee_cup", - recipe = { - {"group:food_coffee", "group:food_glass_water", a.saucepan} - }, - replacements = { - {"group:food_saucepan", "farming:saucepan"} - } -}) - --- bar of dark chocolate - -register_craft(farming.cocoa, { - output = "farming:chocolate_dark", - recipe = { - {"group:food_cocoa", "group:food_cocoa", "group:food_cocoa"} - } -}) - --- chocolate block - -register_craft(farming.cocoa,{ - output = "farming:chocolate_block", - recipe = { - {"farming:chocolate_dark", "farming:chocolate_dark", "farming:chocolate_dark"}, - {"farming:chocolate_dark", "farming:chocolate_dark", "farming:chocolate_dark"}, - {"farming:chocolate_dark", "farming:chocolate_dark", "farming:chocolate_dark"} - } -}) - -register_craft(farming.cocoa,{ - output = "farming:chocolate_dark 9", - recipe = {{"farming:chocolate_block"}} -}) - --- chili powder - -register_craft(farming.chili,{ - output = "farming:chili_powder", - recipe = { - {"farming:chili_pepper", a.mortar_pestle} - }, - replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}} -}) - --- bowl of chili - -register_craft(farming.chili and farming.rice and farming.tomato and farming.chili and farming.beans,{ - output = "farming:chili_bowl", - recipe = { - {"group:food_chili_pepper", "group:food_rice", "group:food_tomato"}, - {"group:food_beans", "group:food_bowl", ""} - } -}) - --- carrot juice - -register_craft(farming.carrot,{ - output = "farming:carrot_juice", - recipe = { - {a.juicer}, - {"group:food_carrot"}, - {"vessels:drinking_glass"} - }, - replacements = { - {"group:food_juicer", "farming:juicer"} - } -}) - --- blueberry pie - -register_craft(farming.blueberry or core.registered_items["default:blueberries"],{ - output = "farming:blueberry_pie", - recipe = { - {"group:food_flour", "group:food_sugar", "group:food_blueberries"}, - {"", a.baking_tray, ""} - }, - replacements = {{"group:food_baking_tray", "farming:baking_tray"}} -}) - --- blueberry muffin - -register_craft(farming.blueberry or core.registered_items["default:blueberries"],{ - output = "farming:muffin_blueberry 2", - recipe = { - {"group:food_blueberries", "group:food_bread", "group:food_blueberries"} - } -}) - --- tomato soup - -register_craft(farming.tomato,{ - output = "farming:tomato_soup", - recipe = { - {"group:food_tomato"}, - {"group:food_tomato"}, - {"group:food_bowl"} - } -}) - --- filter sea water into river water - -register_craft(farming.hemp,{ - output = a.bucket_river_water, - recipe = { - {"farming:hemp_fibre"}, - {"farming:hemp_fibre"}, - {a.bucket_water} - } -}) - -if farming.mcl then - - register_craft(farming.hemp,{ - output = "mcl_potions:river_water", - recipe = { - {"farming:hemp_fibre"}, - {"mcl_potions:water"} - } - }) -end - --- glass of water - -register_craft(true,{ - output = "farming:glass_water 4", - recipe = { - {a.drinking_glass, a.drinking_glass}, - {a.drinking_glass, a.drinking_glass}, - {a.bucket_river_water, ""} - }, - replacements = {{a.bucket_river_water, a.bucket_empty}} -}) - -register_craft(true,{ - output = "farming:glass_water 4", - recipe = { - {a.drinking_glass, a.drinking_glass}, - {a.drinking_glass, a.drinking_glass}, - {a.bucket_water, "farming:hemp_fibre"} - }, - replacements = {{a.bucket_water, a.bucket_empty}} -}) - -if minetest.get_modpath("bucket_wooden") then - - register_craft(farming.hemp,{ - output = "farming:glass_water 4", - recipe = { - {a.drinking_glass, a.drinking_glass}, - {a.drinking_glass, a.drinking_glass}, - {"group:water_bucket_wooden", "farming:hemp_fibre"} - }, - replacements = {{"group:water_bucket_wooden", "bucket_wooden:bucket_empty"}} - }) -end - --- sugar cube - -register_craft(true,{ - output = "farming:sugar_cube", - recipe = { - {a.sugar, a.sugar, a.sugar}, - {a.sugar, a.sugar, a.sugar}, - {a.sugar, a.sugar, a.sugar} - } -}) - -register_craft(true,{ - output = a.sugar .. " 9", - recipe = {{"farming:sugar_cube"}} -}) - --- caramel - -register_craft(true,{ - type = "cooking", - cooktime = 6, - output = "farming:caramel", - recipe = "group:food_sugar" -}) - --- salt - -register_craft(true,{ - type = "cooking", - cooktime = 15, - output = "farming:salt", - recipe = a.bucket_water, - replacements = {{a.bucket_water, a.bucket_empty}} -}) - --- salt crystal - -register_craft(true,{ - output = "farming:salt 9", - recipe = { - {"farming:salt_crystal", a.mortar_pestle} - }, - replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}} -}) - -register_craft(true,{ - output = "farming:salt_crystal", - recipe = { - {"farming:salt", "farming:salt", "farming:salt"}, - {"farming:salt", "farming:salt", "farming:salt"}, - {"farming:salt", "farming:salt", "farming:salt"} - } -}) - --- mayonnaise - -register_craft(true,{ - output = "farming:mayonnaise", - recipe = { - {"group:food_olive_oil", "group:food_lemon"}, - {"group:food_egg", "farming:salt"} - }, - replacements = {{"farming:olive_oil", a.glass_bottle}} -}) - --- rose water - -register_craft(true,{ - output = "farming:rose_water", - recipe = { - {a.rose, a.rose, a.rose}, - {a.rose, a.rose, a.rose}, - {"group:food_glass_water", a.pot, a.glass_bottle} - }, - replacements = { - {"group:food_glass_water", a.drinking_glass}, - {"group:food_pot", "farming:pot"} - } -}) - --- turkish delight - -register_craft(true,{ - output = "farming:turkish_delight 4", - recipe = { - {"group:food_gelatin", "group:food_sugar", "group:food_gelatin"}, - {"group:food_sugar", "group:food_rose_water", "group:food_sugar"}, - {"group:food_sugar", a.dye_pink, "group:food_sugar"} - }, - replacements = { - {"group:food_cornstarch", a.bowl}, - {"group:food_cornstarch", a.bowl}, - {"group:food_rose_water", a.glass_bottle} - } -}) - --- garlic bread - -register_craft(farming.garlic,{ - output = "farming:garlic_bread", - recipe = { - {"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"} - } -}) - --- donuts - -register_craft(true,{ - output = "farming:donut 3", - recipe = { - {"", "group:food_wheat", ""}, - {"group:food_wheat", "group:food_sugar", "group:food_wheat"}, - {"", "group:food_wheat", ""} - } -}) - -register_craft(farming.cocoa,{ - output = "farming:donut_chocolate", - recipe = { - {"group:food_cocoa"}, - {"farming:donut"} - } -}) - -register_craft(true,{ - output = "farming:donut_apple", - recipe = { - {"group:food_apple"}, - {"farming:donut"} - } -}) - --- porridge oats - -register_craft(farming.grains and farming.soy,{ - output = "farming:porridge", - recipe = { - {"group:food_oats", "group:food_oats", "group:food_oats"}, - {"group:food_oats", "group:food_bowl", "group:food_milk_glass"} - }, - replacements = { - {"mobs:glass_milk", a.drinking_glass}, - {"farming:soy_milk", a.drinking_glass} - } -}) - --- jaffa cake - -register_craft(farming.soy,{ - output = "farming:jaffa_cake 3", - recipe = { - {a.baking_tray, "group:food_egg", "group:food_sugar"}, - {a.flour, "group:food_cocoa", "group:food_orange"}, - {"group:food_milk", "", ""} - }, - replacements = { - {"farming:baking_tray", "farming:baking_tray"}, - {"mobs:bucket_milk", a.bucket_empty}, - {"mobs:wooden_bucket_milk", "wooden_bucket:bucket_wood_empty"}, - {"farming:soy_milk", a.drinking_glass} - } -}) - --- apple pie - -register_craft(true,{ - output = "farming:apple_pie", - recipe = { - {a.flour, "group:food_sugar", "group:food_apple"}, - {"", a.baking_tray, ""} - }, - replacements = {{"group:food_baking_tray", "farming:baking_tray"}} -}) - --- cactus juice - -register_craft(true,{ - output = "farming:cactus_juice", - recipe = { - {a.juicer}, - {a.cactus}, - {a.drinking_glass} - }, - replacements = { - {"group:food_juicer", "farming:juicer"} - } -}) - --- pasta - -register_craft(true,{ - output = "farming:pasta", - recipe = { - {a.flour, "group:food_butter", a.mixing_bowl} - }, - replacements = {{"group:food_mixing_bowl", "farming:mixing_bowl"}} -}) - -register_craft(true,{ - output = "farming:pasta", - recipe = { - {a.flour, "group:food_oil", a.mixing_bowl} - }, - replacements = { - {"group:food_mixing_bowl", "farming:mixing_bowl"}, - {"group:food_oil", a.glass_bottle} - } -}) - --- mac & cheese - -register_craft(true,{ - output = "farming:mac_and_cheese", - recipe = { - {"group:food_pasta", "group:food_cheese", "group:food_bowl"} - } -}) - --- spaghetti - -register_craft(farming.garlic and farming.tomato,{ - output = "farming:spaghetti", - recipe = { - {"group:food_pasta", "group:food_tomato", a.saucepan}, - {"group:food_garlic_clove", "group:food_garlic_clove", ""} - }, - replacements = {{"group:food_saucepan", "farming:saucepan"}} -}) - --- korean bibimbap - -register_craft(farming.chili and farming.rice and farming.chili and farming.cabbage,{ - output = "farming:bibimbap", - recipe = { - {a.skillet, "group:food_bowl", "group:food_egg"}, - {"group:food_rice", "group:food_chicken_raw", "group:food_cabbage"}, - {"group:food_carrot", "group:food_chili_pepper", ""} - }, - replacements = {{"group:food_skillet", "farming:skillet"}} -}) - -register_craft(farming.chili and farming.cabbage and farming.carrot and farming.chili,{ - output = "farming:bibimbap", - type = "shapeless", - recipe = { - a.skillet, "group:food_bowl", "group:food_mushroom", - "group:food_rice", "group:food_cabbage", "group:food_carrot", - "group:food_mushroom", "group:food_chili_pepper" - }, - replacements = {{"group:food_skillet", "farming:skillet"}} -}) - --- burger - -register_craft(farming.lettuce and farming.tomato,{ - output = "farming:burger", - recipe = { - {a.bread, "group:food_meat", "group:food_cheese"}, - {"group:food_tomato", "group:food_cucumber", "group:food_onion"}, - {"group:food_lettuce", "", ""} - } -}) - --- salad - -register_craft(farming.lettuce and farming.tomato,{ - output = "farming:salad", - type = "shapeless", - recipe = { - "group:food_bowl", "group:food_tomato", "group:food_cucumber", - "group:food_lettuce", "group:food_oil" - } -}) - --- triple berry smoothie - -register_craft(farming.raspberry and farming.blackberry and farming.strawberry,{ - output = "farming:smoothie_berry", - type = "shapeless", - recipe = { - "group:food_raspberries", "group:food_blackberries", - "group:food_strawberry", "group:food_banana", - a.drinking_glass - } -}) - --- patatas a la importancia - -register_craft(farming.garlic and farming.parsley and farming.potato and farming.onion,{ - output = "farming:spanish_potatoes", - recipe = { - {"group:food_potato", "group:food_parsley", "group:food_potato"}, - {"group:food_egg", a.flour, "group:food_onion"}, - {"farming:garlic_clove", "group:food_bowl", a.skillet} - }, - replacements = {{"group:food_skillet", "farming:skillet"}} -}) - --- potato omelette - -register_craft(farming.onion and farming.potato,{ - output = "farming:potato_omelet", - recipe = { - {"group:food_egg", "group:food_potato", "group:food_onion"}, - {a.skillet, "group:food_bowl", ""} - }, - replacements = {{"group:food_skillet", "farming:skillet"}} -}) - --- paella - -register_craft(farming.peas and farming.pepper and farming.rice,{ - output = "farming:paella", - recipe = { - {"group:food_rice", a.dye_orange, "farming:pepper_red"}, - {"group:food_peas", "group:food_chicken", "group:food_bowl"}, - {"", a.skillet, ""} - }, - replacements = {{"group:food_skillet", "farming:skillet"}} -}) - --- vanilla flan - -register_craft(farming.vanilla and farming.soy,{ - output = "farming:flan", - recipe = { - {"group:food_sugar", "group:food_milk", "farming:caramel"}, - {"group:food_egg", "group:food_egg", "farming:vanilla_extract"} - }, - replacements = { - {"cucina_vegana:soy_milk", a.drinking_glass}, - {"mobs:bucket_milk", "bucket:bucket_empty"}, - {"mobs:wooden_bucket_milk", "wooden_bucket:bucket_wood_empty"}, - {"farming:vanilla_extract", a.glass_bottle} - } -}) - --- vegan cheese - -register_craft(farming.corn and farming.pepper and farming.soy,{ - output = "farming:cheese_vegan", - recipe = { - {"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"}, - {"group:food_salt", "group:food_peppercorn", "farming:bottle_ethanol"}, - {"group:food_gelatin", a.pot, ""} - }, - replacements = { - {"farming:soy_milk", a.drinking_glass .. " 3"}, - {"farming:pot", "farming:pot"}, - {"farming:bottle_ethanol", a.glass_bottle} - } -}) - -register_craft(farming.pepper and farming.soy,{ - output = "farming:cheese_vegan", - recipe = { - {"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"}, - {"group:food_salt", "group:food_peppercorn", "group:food_lemon"}, - {"group:food_gelatin", a.pot, ""} - }, - replacements = { - {"farming:soy_milk", a.drinking_glass .. " 3"}, - {"farming:pot", "farming:pot"} - } -}) - --- vegan butter - -register_craft(farming.soy and farming.sunflower,{ - output = "farming:butter_vegan", - recipe = { - {"farming:soy_milk", "farming:sunflower_oil", "farming:soy_milk"}, - {"group:food_salt", a.dye_yellow, "farming:mixing_bowl"} - }, - replacements = { - {"farming:soy_milk", a.drinking_glass .. " 2"}, - {"farming:sunflower_oil", a.glass_bottle}, - {"farming:mixing_bowl", "farming:mixing_bowl"} - } -}) - --- onigiri - -register_craft(farming.rice,{ - output = "farming:onigiri", - recipe = { - {"group:food_rice", "group:food_salt", "group:food_rice"}, - {"", "group:food_seaweed", ""} - } -}) - --- gyoza - -register_craft(farming.cabbage and farming.garlic and farming.onion,{ - output = "farming:gyoza 4", - recipe = { - {"group:food_cabbage", "group:food_garlic_clove", "group:food_onion"}, - {"group:food_meat_raw", "group:food_salt", a.flour}, - {"", a.skillet, ""} - - }, - replacements = { - {"group:food_skillet", "farming:skillet"} - } -}) - --- mochi - -register_craft(farming.rice,{ - output = "farming:mochi", - recipe = { - {"", a.mortar_pestle, ""}, - {"group:food_rice", "group:food_sugar", "group:food_rice"}, - {"", "group:food_glass_water", ""} - }, - replacements = { - {"group:food_mortar_pestle", "farming:mortar_pestle"}, - {"group:food_glass_water", a.drinking_glass} - } -}) - --- gingerbread man - -register_craft(farming.ginger,{ - output = "farming:gingerbread_man 3", - recipe = { - {"", "group:food_egg", ""}, - {"group:food_wheat", "group:food_ginger", "group:food_wheat"}, - {"group:food_sugar", "", "group:food_sugar"} - } -}) - --- mint tea - -register_craft(farming.mint,{ - output = "farming:mint_tea", - recipe = { - {"group:food_mint", "group:food_mint", "group:food_mint"}, - {"group:food_glass_water", a.juicer, ""} - }, - replacements = { - {"group:food_juicer", "farming:juicer"} - } -}) - --- onion soup - -register_craft(farming.onion,{ - output = "farming:onion_soup", - recipe = { - {"group:food_onion", "group:food_onion", "group:food_onion"}, - {"group:food_onion", "group:food_bowl", "group:food_onion"}, - {"", a.pot, ""} - }, - replacements = {{"farming:pot", "farming:pot"}} -}) - --- pea soup - -register_craft(farming.peas,{ - output = "farming:pea_soup", - recipe = { - {"group:food_peas"}, - {"group:food_peas"}, - {"group:food_bowl"} - } -}) - --- ground pepper - -register_craft(farming.pepper, { - output = "farming:pepper_ground", - recipe = { - {"group:food_peppercorn"}, - {a.glass_bottle}, - {a.mortar_pestle} - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} -}) - --- pineapple ring - -register_craft(farming.pineapple, { - output = "farming:pineapple_ring 5", - recipe = {{"group:food_pineapple"}}, - replacements = {{"farming:pineapple", "farming:pineapple_top"}} -}) - --- pineapple juice - -register_craft(farming.pineapple,{ - output = "farming:pineapple_juice", - recipe = { - {"group:food_pineapple_ring", "group:food_pineapple_ring", - "group:food_pineapple_ring"}, - {"", a.drinking_glass, ""}, - {"", a.juicer, ""} - }, - replacements = { - {"group:food_juicer", "farming:juicer"} - } -}) - -register_craft(farming.pineapple,{ - output = "farming:pineapple_juice 2", - recipe = { - {a.drinking_glass, "group:food_pineapple", a.drinking_glass}, - {"", a.juicer, ""} - }, - replacements = { - {"group:food_juicer", "farming:juicer"} - } -}) - --- potato & cucumber salad - -register_craft(farming.cucumber and farming.potato,{ - output = "farming:potato_salad", - recipe = { - {"group:food_cucumber"}, - {"farming:baked_potato"}, - {"group:food_bowl"} - } -}) - --- melon slice / block - -register_craft(farming.melon,{ - output = "farming:melon_8", - recipe = { - {"farming:melon_slice", "farming:melon_slice"}, - {"farming:melon_slice", "farming:melon_slice"} - } -}) - -register_craft(farming.melon,{ - output = "farming:melon_slice 4", - recipe = {{"farming:melon_8", a.cutting_board}}, - replacements = {{"farming:cutting_board", "farming:cutting_board"}} -}) - --- pumpkin slice / block - -register_craft(farming.pumpkin,{ - output = "farming:pumpkin", - recipe = { - {"farming:pumpkin_slice", "farming:pumpkin_slice"}, - {"farming:pumpkin_slice", "farming:pumpkin_slice"} - } -}) - -register_craft(farming.pumpkin,{ - output = "farming:pumpkin_slice 4", - recipe = {{"farming:pumpkin", a.cutting_board}}, - replacements = {{"farming:cutting_board", "farming:cutting_board"}} -}) - --- pumpkin dough - -register_craft(farming.pumpkin,{ - output = "farming:pumpkin_dough", - recipe = { - {"group:food_pumpkin_slice", "group:food_flour", "group:food_pumpkin_slice"} - } -}) - --- pumpkin bread - -register_craft(farming.pumpkin,{ - type = "cooking", - output = "farming:pumpkin_bread", - recipe = "farming:pumpkin_dough", - cooktime = 10 -}) - --- raspberry smoothie - -register_craft(farming.raspberry,{ - output = "farming:smoothie_raspberry", - recipe = { - {a.snow}, - {"group:food_raspberries"}, - {a.drinking_glass} - } -}) - --- rhubarb pie - -register_craft(farming.rhubarb,{ - output = "farming:rhubarb_pie", - recipe = { - {a.baking_tray, "group:food_sugar", ""}, - {"group:food_rhubarb", "group:food_rhubarb", "group:food_rhubarb"}, - {"group:food_wheat", "group:food_wheat", "group:food_wheat"} - }, - replacements = {{"group:food_baking_tray", "farming:baking_tray"}} -}) - --- rice flour - -register_craft(farming.rice,{ - output = "farming:rice_flour", - recipe = { - {"farming:rice", "farming:rice", "farming:rice"}, - {"farming:rice", a.mortar_pestle, ""} - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} -}) - --- rice bread - -register_craft(farming.rice,{ - type = "cooking", - cooktime = 15, - output = "farming:rice_bread", - recipe = "farming:rice_flour" -}) - --- soy sauce - -register_craft(farming.soy, { - output = "farming:soy_sauce", - recipe = { - {"group:food_soy", "group:food_salt", "group:food_soy"}, - {a.juicer, a.bucket_water, a.glass_bottle} - }, - replacements = { - {a.bucket_water, a.bucket_empty}, - {"group:food_juicer", "farming:juicer"} - } -}) - --- soy milk - -register_craft(farming.soy and farming.vanilla and farming.corn, { - output = "farming:soy_milk", - recipe = { - {"group:food_soy", "group:food_soy", "group:food_soy"}, - {"farming:vanilla_extract", "bucket:bucket_water", a.drinking_glass} - }, - replacements = { - {a.bucket_water, a.bucket_empty}, - {"farming:vanilla_extract", a.glass_bottle} - } -}) - --- tofu - -register_craft(farming.soy,{ - output = "farming:tofu", - recipe = { - {"group:food_soy", "group:food_soy", "group:food_soy"}, - {"group:food_soy", "group:food_soy", a.baking_tray} - }, - replacements = {{"farming:baking_tray", "farming:baking_tray"}} -}) - --- cooked tofu - -register_craft(true,{ - type = "cooking", - output = "farming:tofu_cooked", - recipe = "farming:tofu", - cooktime = 5 -}) - --- vanilla extract - -register_craft(farming.corn and farming.vanilla, { - output = "farming:vanilla_extract", - recipe = { - {"group:food_vanilla", "group:food_vanilla", "group:food_vanilla"}, - {"group:food_vanilla", "farming:bottle_ethanol", "group:food_glass_water"}, - }, - replacements = { - {"group:food_glass_water", a.drinking_glass} - } -}) - --- jerusalem artichokes - -register_craft(farming.artichoke and farming.soy and farming.garlic,{ - output = "farming:jerusalem_artichokes", - recipe = { - {"group:food_artichoke", "group:food_garlic_clove", "group:food_artichoke"}, - {"group:food_soy", "group:food_salt", "group:food_soy"}, - {"group:food_butter", "group:food_skillet", "group:food_bowl"} - }, - replacements = {{"group:food_skillet", "farming:skillet"}} -}) - --- wooden scarecrow base - -register_craft(farming.pumpkin,{ - output = "farming:scarecrow_bottom", - recipe = { - {"", "group:stick", ""}, - {"group:stick", "group:stick", "group:stick"}, - {"", "group:stick", ""} - } -}) - --- beanpole - -register_craft(farming.beans,{ - output = "farming:beanpole", - recipe = { - {"", "", ""}, - {"group:stick", "", "group:stick"}, - {"group:stick", "", "group:stick"} - } -}) - --- trellis - -register_craft(farming.grapes,{ - output = "farming:trellis", - recipe = { - {"group:stick", "group:stick", "group:stick"}, - {"group:stick", "group:stick", "group:stick"}, - {"group:stick", "group:stick", "group:stick"} - } -}) - --- cotton to wool - -register_craft(true,{ - output = a.wool, - recipe = { - {"farming:cotton", "farming:cotton"}, - {"farming:cotton", "farming:cotton"} - } -}) - --- string - -register_craft(true,{ - output = a.string .. " 2", - recipe = { - {"farming:cotton"}, - {"farming:cotton"} - } -}) - --- saucepan - -register_craft(true,{ - output = "farming:saucepan", - recipe = { - {a.steel_ingot, "", ""}, - {"", "group:stick", ""} - } -}) - --- cooking pot - -register_craft(true,{ - output = "farming:pot", - recipe = { - {"group:stick", a.steel_ingot, a.steel_ingot}, - {"", a.steel_ingot, a.steel_ingot} - } -}) - --- baking tray - -register_craft(true,{ - output = "farming:baking_tray", - recipe = { - {a.clay_brick, a.clay_brick, a.clay_brick}, - {a.clay_brick, "", a.clay_brick}, - {a.clay_brick, a.clay_brick, a.clay_brick} - } -}) - --- skillet - -register_craft(true,{ - output = "farming:skillet", - recipe = { - {a.steel_ingot, "", ""}, - {"", a.steel_ingot, ""}, - {"", "", "group:stick"} - } -}) - --- mortar & pestle - -register_craft(true,{ - output = "farming:mortar_pestle", - recipe = { - {"group:stone", "group:stick", "group:stone"}, - {"", "group:stone", ""} - } -}) - --- cutting board - -register_craft(true,{ - output = "farming:cutting_board", - recipe = { - {a.steel_ingot, "", ""}, - {"", "group:stick", ""}, - {"", "", "group:wood"} - } -}) - --- juicer - -register_craft(true,{ - output = "farming:juicer", - recipe = { - {"", "group:stone", ""}, - {"group:stone", "", "group:stone"} - } -}) - --- glass mixing bowl - -register_craft(true,{ - output = "farming:mixing_bowl", - recipe = { - {a.glass, "group:stick", a.glass}, - {"", a.glass, ""} - } -}) - -register_craft(true, { - output = "vessels:glass_fragments", - recipe = {{"farming:mixing_bowl"}} -}) - --- hemp oil - -register_craft(farming.hemp, { - output = "farming:hemp_oil", - recipe = { - {"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"}, - {"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"}, - {"", a.glass_bottle, ""} - } -}) - -register_craft(farming.hemp, { - output = "farming:hemp_oil", - recipe = { - {"farming:seed_hemp", "farming:seed_hemp", "farming:seed_hemp"}, - {"farming:seed_hemp", "farming:seed_hemp", "farming:seed_hemp"}, - {"farming:seed_hemp", a.glass_bottle, "farming:seed_hemp"} - } -}) - --- hemp fibre - -register_craft(farming.hemp, { - output = "farming:hemp_fibre 8", - recipe = { - {"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"}, - {"farming:hemp_leaf", "group:water_bucket", "farming:hemp_leaf"}, - {"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"} - }, - replacements = {{"group:water_bucket", a.bucket_empty}} -}) - -if minetest.get_modpath("bucket_wooden") then - - register_craft(farming.hemp, { - output = "farming:hemp_fibre 8", - recipe = { - {"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"}, - {"farming:hemp_leaf", "group:water_bucket_wooden", "farming:hemp_leaf"}, - {"farming:hemp_leaf", "farming:hemp_leaf", "farming:hemp_leaf"} - }, - replacements = {{"group:water_bucket_wooden", "bucket_wooden:bucket_empty"}} - }) -end - --- hemp block - -register_craft(farming.hemp, { - output = "farming:hemp_block", - recipe = { - {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}, - {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}, - {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"} - } -}) - --- hemp rope - -register_craft(farming.hemp, { - output = "farming:hemp_rope 6", - recipe = { - {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"}, - {"farming:cotton", "farming:cotton", "farming:cotton"}, - {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"} - } -}) - --- paper - -register_craft(farming.hemp, { - output = a.paper .. " 3", - recipe = { - {"farming:hemp_fibre", "farming:hemp_fibre", "farming:hemp_fibre"} - } -}) - --- straw - -local tmp = farming.mcl and "farming:rye" or "farming:wheat" - -register_craft(true,{ - output = "farming:straw 3", - recipe = { - {tmp, tmp, tmp}, - {tmp, tmp, tmp}, - {tmp, tmp, tmp} - } -}) - -register_craft(true,{ - output = tmp .. " 3", - recipe = {{"farming:straw"}} -}) - ---= Recipes we shouldn't add when using Mineclonia/VoxeLibre - -if not farming.mcl then - - -- Wheat flour - - register_craft(true,{ - output = "farming:flour", - recipe = { - {"farming:wheat", "farming:wheat", "farming:wheat"}, - {"farming:wheat", a.mortar_pestle, ""} - }, - replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}} - }) - - -- Bread - - register_craft(true,{ - type = "cooking", - cooktime = 15, - output = "farming:bread", - recipe = "farming:flour" - }) - - -- Cocoa beans - - register_craft(farming.cocoa,{ - type = "cooking", - cooktime = 5, - output = "farming:cocoa_beans", - recipe = "farming:cocoa_beans_raw" - }) - - -- Chocolate cookie - - register_craft(farming.cocoa, { - output = "farming:cookie 8", - recipe = { - {"group:food_wheat", "group:food_cocoa", "group:food_wheat" } - } - }) - - -- Golden carrot - - register_craft(farming.carrot,{ - output = "farming:carrot_gold", - recipe = {{"group:food_carrot", "default:gold_lump"}} - }) - - -- Beetroot soup - - register_craft(farming.beetroot,{ - output = "farming:beetroot_soup", - recipe = { - {"group:food_beetroot", "group:food_beetroot", "group:food_beetroot"}, - {"group:food_beetroot", "group:food_bowl", "group:food_beetroot"} - } - }) - - -- Sugar - - register_craft(true,{ - type = "cooking", - cooktime = 3, - output = "farming:sugar 2", - recipe = "default:papyrus" - }) - - -- Baked potato - - register_craft(farming.potato,{ - type = "cooking", - cooktime = 10, - output = "farming:baked_potato", - recipe = "group:food_potato" - }) - - -- Toasted sunflower seeds - - register_craft(farming.sunflower,{ - type = "cooking", - cooktime = 10, - output = "farming:sunflower_seeds_toasted", - recipe = "farming:seed_sunflower" - }) - - -- Sunflower oil - - local tmp = "group:food_sunflower_seeds" - - register_craft(farming.sunflower, { - output = "farming:sunflower_oil", - recipe = { - {tmp, tmp, tmp}, - {tmp, tmp, tmp}, - {tmp, a.glass_bottle, tmp} - } - }) - - -- Sunflower seed bread - - register_craft(farming.sunflower,{ - output = "farming:sunflower_bread", - recipe = { - { - "group:food_sunflower_seeds_toasted", - "group:food_bread", - "group:food_sunflower_seeds_toasted" - } - } - }) - - -- Jack 'o lantern - - register_craft(farming.pumpkin,{ - output = "farming:jackolantern", - recipe = { - {"default:torch"}, - {"group:food_pumpkin"} - } - }) - - -- Wooden bowl - - register_craft(true,{ - output = "farming:bowl 4", - recipe = { - {"group:wood", "", "group:wood"}, - {"", "group:wood", ""} - } - }) -end - --- dye recipes - -register_craft(farming.beans,{output = a.dye_green, recipe = {{"farming:beans"}}}) -register_craft(farming.beetroot,{output = a.dye_red, recipe = {{"group:food_beetroot"}}}) -register_craft(farming.blueberry,{output = a.dye_blue, recipe = {{"farming:blueberries"}}}) -register_craft(farming.chili,{output = a.dye_red, recipe = {{"farming:chili_pepper"}}}) -register_craft(farming.cocoa,{output = a.dye_brown, recipe = {{"farming:cocoa_beans"}}}) -register_craft(farming.grapes,{output = a.dye_violet, recipe = {{"farming:grapes"}}}) -register_craft(farming.onion,{output = a.dye_yellow, recipe = {{"group:food_onion"}}}) - --- fuel items - -register_craft(true,{type = "fuel", recipe = "farming:straw", burntime = 3}) -register_craft(true,{type = "fuel", recipe = "farming:wheat", burntime = 1}) -register_craft(true,{type = "fuel", recipe = "farming:bowl",burntime = 10}) -register_craft(true,{type = "fuel", recipe = "farming:string", burntime = 1}) -register_craft(true,{type = "fuel", recipe = "farming:cotton", burntime = 1}) -register_craft(farming.barley,{type = "fuel", recipe = "farming:barley", burntime = 1}) -register_craft(farming.beans,{type = "fuel", recipe = "farming:beanpole", burntime = 10}) -register_craft(farming.grapes,{type = "fuel", recipe = "farming:trellis", burntime = 15}) -register_craft(farming.rice,{type = "fuel", recipe = "farming:rice", burntime = 1}) -register_craft(farming.rice,{type = "fuel", recipe = "farming:rice_bread", burntime = 1}) -register_craft(farming.grains,{type = "fuel", recipe = "farming:bread_multigrain", burntime = 1}) -register_craft(farming.grains,{type = "fuel", recipe = "farming:rye", burntime = 1}) -register_craft(farming.grains,{type = "fuel", recipe = "farming:oat", burntime = 1}) -register_craft(farming.hemp,{type = "fuel", recipe = "farming:hemp_oil", - burntime = 20, replacements = {{"farming:hemp_oil", a.glass_bottle}}}) -register_craft(farming.corn,{type = "fuel", recipe = "farming:bottle_ethanol", - burntime = 80, replacements = {{"farming:bottle_ethanol", a.glass_bottle}}}) -register_craft(farming.sunflower,{type = "fuel", recipe = "farming:sunflower_oil", - burntime = 30, replacements = {{"farming:sunflower_oil", a.glass_bottle}}}) -register_craft(farming.vanilla and farming.corn,{type = "fuel", recipe = "farming:vanilla_extract", - burntime = 25, replacements = {{"farming:vanilla_extract", a.glass_bottle}}}) diff --git a/mods/.farming_old/item_stairs.lua b/mods/.farming_old/item_stairs.lua deleted file mode 100644 index 6bfe6243..00000000 --- a/mods/.farming_old/item_stairs.lua +++ /dev/null @@ -1,35 +0,0 @@ - --- check and register stairs - -if minetest.global_exists("stairs") then - - if stairs.mod and stairs.mod == "redo" then - - stairs.register_all("straw", "farming:straw", - {snappy = 3, flammable = 4}, - {"farming_straw.png"}, - "Straw", - farming.node_sound_leaves_defaults()) - - stairs.register_all("hemp_block", "farming:hemp_block", - {snappy = 2, oddly_breakable_by_hand = 1, flammable = 2}, - {"farming_hemp_block.png"}, - "Hemp Block", - farming.node_sound_leaves_defaults()) - else - - stairs.register_stair_and_slab("straw", "farming:straw", - {snappy = 3, flammable = 4}, - {"farming_straw.png"}, - "Straw Stair", - "Straw Slab", - farming.node_sound_leaves_defaults()) - - stairs.register_stair_and_slab("hemp_block", "farming:hemp_block", - {snappy = 2, oddly_breakable_by_hand = 1, flammable = 2}, - {"farming_hemp_block.png"}, - "Hemp Block Stair", - "Hemp Block Slab", - farming.node_sound_leaves_defaults()) - end -end diff --git a/mods/.farming_old/license.txt b/mods/.farming_old/license.txt deleted file mode 100644 index b3e9b074..00000000 --- a/mods/.farming_old/license.txt +++ /dev/null @@ -1,241 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 TenPlus1 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -License of media (textures): ----------------------------- - -Created by TenPlus1 (CC0): - alt_textures/ethereal_strawberry*.png - farming_spanish_potatoes.png - -Created by Hugues Ross (CC BY-SA 4.0): - ethereal_strawberry*.png - -Created by NameNotQuality (CC0): - farming_vanilla_flan.png - farming_spaghetti.png - -Created by Oz-tal (license: CC BY-SA 3.0): - crops_garlic_*.png - crops_onion.png - farming_cookie.png - farming_grapes.png - farming_vanilla.png - -Created by Shadall (CC0): - farming_burger.png - -Created by PilzAdam (License: CC BY 3.0): - farming_bread.png - farming_soil.png - farming_soil_wet.png - farming_soil_wet_side.png - farming_string.png - -Created by Napiophelios (CC BY-SA 3.0): - farming_cotton.png - -Created by Calinou (License: CC BY-SA): - farming_tool_bronzehoe.png - farming_tool_steelhoe.png - farming_tool_stonehoe.png - farming_tool_woodhoe.png - farming_tool_mesehoe.png - farming_tool_diamondhoe.png - -Created by VanessaE (License: CC BY 3.0): - farming_cotton_seed.png - farming_wheat_seed.png - farming_flour.png - farming_wheat.png - farming_wheat_1.png - farming_wheat_2.png - farming_wheat_3.png - farming_wheat_4.png - farming_wheat_5.png - farming_wheat_5.png - farming_wheat_7.png - farming_wheat_8.png - farming_cotton_1.png - farming_cotton_2.png - farming_cotton_3.png - farming_cotton_4.png - farming_cotton_5.png - farming_cotton_6.png - farming_cotton_7.png - farming_cotton_8.png - -Created by alerikaisattera (License: CC-BY-SA 4.0) - farming_melon_top.png - farming_melon_side.png - farming_melon_bottom.png - farming_pumpkin_bottom.png - farming_pumpkin_top.png - farming_pumpkin_side.png - farming_pumpkin_face_on.png - farming_pumpkin_face_off.png - -Created by Doc (License: CC BY 3.0): - farming_cucumber.png - farming_cucumber_1.png - farming_cucumber_2.png - farming_cucumber_3.png - farming_cucumber_4.png - farming_potato.png - farming_potato_1.png - farming_potato_2.png - farming_potato_3.png - farming_potato_4.png - farming_raspberries.png - farming_raspberry_1.png - farming_raspberry_2.png - farming_raspberry_3.png - farming_raspberry_4.png - -Created by Gambit (License: CC BY 3.0): - default_junglegrass.png - farming_carrot.png - farming_carrot_1.png - farming_carrot_2.png - farming_carrot_3.png - farming_carrot_4.png - farming_carrot_5.png - farming_carrot_6.png - farming_carrot_7.png - farming_carrot_8.png - -Created by JoseTheCrafter and edited by TenPlus1 (CC BY 3.0): - farming_tomato.png - farming_tomato_1.png - farming_tomato_2.png - farming_tomato_3.png - farming_tomato_4.png - farming_tomato_5.png - farming_tomato_6.png - farming_tomato_7.png - farming_tomato_8.png - -Created by GeMinecraft and edited by TenPlus1 (CC BY 3.0): - farming_corn.png - farming_corn_cob.png - farming_corn_1.png - farming_corn_2.png - farming_corn_3.png - farming_corn_4.png - farming_corn_5.png - farming_corn_6.png - farming_corn_7.png - farming_corn_8.png - -Created by TenPlus1 (CC BY 3.0) - farming_cocoa_1.png - farming_cocoa_2.png - farming_cocoa_3.png - farming_cocoa_beans.png - farming_raspberry_smoothie.png - farming_rhubarb_1.png - farming_rhubarb_2.png - farming_rhubarb_3.png - farming_rhubarb.png - farming_hemp*.png - farming_tofu*.png - farming_gingerbread_man.png - -Created by ademant (CC-BY-3.0) - farming_rye*.png - farming_oat*.png - farming_rice*.png - -Created by PilzAdam and edited by SpaghettiToastBook (CC0): - farming_bread_multigrain.png - -Created by VanessaE and edited by SpaghettiToastBook (CC0): - farming_flour_multigrain.png - -Created by mDiyo (Natura), modified by TenPlus1 (License: CC BY-SA 3.0): - farming_barley.png - -Created by OgelGames (CC BY-SA 4.0): - farming_berry_smoothie.png - farming_cactus_juice.png - farming_salad.png - -Created by Huhues Ross (CC BY-SA 4.0): - farming_sunflower_bread.png - -Created by Felfa (CC0) - farming_blackberry*.png - farming_lettuce*.png - farming_soy*.png - farming_vanilla_*.png - farming_artichoke*.png - farming_parsley*.png - farming_paella*.png - farming_potato_omelette.png - farming_spanish_potatoes_32px.png - farming_vanilla_flan_32px.png - farming_sunflower*.png [except sunflower_bread.png] - farming_mayo*.png - -Created by gorlock (CC0) - farming_salt_crystal.png - -Created by sirrobzeroone (CC0) - farming_gyoza.png - farming_pineapple_ring.png - -Created by smoke_th (CC0 - https://opengameart.org/content/popcorn-icon) - farming_popcorn_32px.png - farming_popcorn.png [resized and edited by TenPlus1] - -Created by DMBuce (MIT - https://github.com/DMBuce/hatchling-snacks) - farming_mac_and_cheese.png - -Created by XSSheep (CC BY-SA 4.0 - https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated) - farming_coffee_1.png - farming_coffee_2.png - farming_coffee_3.png - farming_coffee_4.png - farming_coffee_5.png - farming_coffee_beans.png - farming_apple_pie.png (edited by TenPlus1) - farming_blueberry_pie.png (edited by TenPlus1) - farming_rhubarb_pie.png (edited by TenPlus1) - -Copyright (C) 2021-2022: Atlante - AFL-1.1 -License for code: AFL-1.1 - -Attribution — You must give appropriate credit, provide a link to the license, and -indicate if changes were made. You may do so in any reasonable manner, but not in any way -that suggests the licensor endorses you or your use. - -ShareAlike — If you remix, transform, or build upon the material, you must distribute -your contributions under the same license as the original. - -Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - farming_asparagus* - farming_eggplant* - farming_spinach* - farming_ginger* diff --git a/mods/.farming_old/locale/farming.de.tr b/mods/.farming_old/locale/farming.de.tr deleted file mode 100644 index f2da0c63..00000000 --- a/mods/.farming_old/locale/farming.de.tr +++ /dev/null @@ -1,189 +0,0 @@ -# textdomain: farming -Banana=Banane -Banana Leaves=Bananenblätter -Orange=Orange -Artichoke=Artischocke - Crop=-Pflanze -Asparagus=Spargel -Barley Seed=Gerstensamen -Barley=Gerste -Green Beans=Grüne Bohnen -Bean Pole (place on soil before planting beans)=Bohnenstange (vor dem Pflanzen der Bohnen auf den@nAckerboden stellen) -Beetroot=Rote Beete -Blackberries=Brombeeren -Blackberry=Brombeere -Wild Blueberries=Wilde Blaubeeren -Blueberry=Blaubeere -Cabbage=Kohl -Carrot=Möhre -Chili Pepper=Chili -Raw Cocoa Beans=Rohe Kakaobohnen -Cocoa Beans=Kakaobohnen -Coffee Beans=Kaffeebohnen -Coffee=Kaffee -Corn=Mais -Cotton Seed=Baumwollsamen -Cotton=Baumwolle -Wild Cotton=Wilde Baumwolle -Cucumber=Gurke -Eggplant=Aubergine -Garlic clove=Knoblauchzehe -Garlic=Knoblauch -Ginger=Lebkuchen -Grapes=Weintrauben -Trellis (place on soil before planting grapes)=Spalier (vor dem Pflanzen der Weintrauben auf den@nAckerboden stellen) -Hemp Seed=Hanfsamen -Hemp Leaf=Hanfblatt -Hemp=Hanf -Lettuce=Kopfsalat -Melon Slice=Melonenscheibe -Melon=Melone -Mint Seeds=Minzsamen -Mint Leaf=Minzblatt -Mint=Minze -Onion=Zwiebel -Parsley=Petersilie -Pea Pod=Erbsenschote -Pea=Erbse -Peppercorn=Pfefferkorn -Green Pepper=Grüne Paprika -Yellow Pepper=Gelbe Paprika -Red Pepper=Rote Paprika -Pepper=Paprika -Pineapple Top=Ananasdeckel -Pineapple=Ananas -Potato=Kartoffel -Pumpkin Slice=Kürbisscheibe -Pumpkin=Kürbis -Raspberries=Himbeeren -Raspberry=Himbeere -Rhubarb=Rhabarber -Rice Seed=Reissamen -Rice=Reis -Rye seed=Roggensamen -Rye=Roggen -Oat seed=Hafersamen -Oats=Hafer -Soy Pod=Sojaschote -Soy=Soja -Spinach=Spinat -Strawberry=Erdbeere -Sunflower Seeds=Sonnenblumensamen -Sunflower=Sonnenblume -Tomato=Tomate -Vanilla=Vanille -Wheat Seed=Weizensamen -Wheat=Weizen -Hoe=Hacke -Wooden Hoe=Holzhacke -Stone Hoe=Steinhacke -Steel Hoe=Stahlhacke -Bronze Hoe=Bronzehacke -Mese Hoe=Mesehacke -Diamond Hoe=Diamanthacke -Wood Hoe=Holzhacke -Hoe Bomb (use or throw on grassy areas to hoe land)=Hackenbombe (Auf Grasland werfen oder benutzen,@num Land zu bestellen) -Mithril Scythe (Use to harvest and replant crops)=Mithrilsichel (Benutzen, um Nutzpflanzen zu ernten und neu zu pflanzen) -Seed=Saatgut -Flour=Mehl -Garlic Braid=Knoblauchzopf -Corn on the Cob=Maiskolben -Popcorn=Popcorn -Cornstarch=Speisestärke -Cup of Coffee=Tasse Kaffee -Bar of Dark Chocolate=Tafel Zartbitterschokolade -Chocolate Block=Schokoladenblock -Bowl of Chili=Schüssel mit Chili -Chili Powder=Chilipulver -Carrot Juice=Möhrensaft -Blueberry Pie=Blaubeerkuchen -Blueberry Muffin=Blaubeermuffin -Tomato Soup=Tomatensuppe -Sliced Bread=Geschnittenes Brot -Toast=Toast -Toast Sandwich=Toast-Sandwich -Glass of Water=Glas Wasser -Sugar Cube=Zuckerwürfel -Caramel=Karamell -Salt=Salz -Salt crystal=Salzkristall -Mayonnaise=Mayonnaise -Rose Water=Rosenwasser -Turkish Delight=Lokum -Garlic Bread=Knoblauchbrot -Donut=Donut -Chocolate Donut=Schokodonut -Apple Donut=Apfeldonut -Porridge=Haferbrei -Jaffa Cake=Jaffa -Apple Pie=Apfelkuchen -Cactus Juice=Kaktussaft -Pasta=Pasta -Mac & Cheese=Makkaroni mit Käse -Spaghetti=Spaghetti -Bibimbap=Bibimbap -Burger=Burger -Salad=Salat -Triple Berry Smoothie=Dreibeersmoothie -Spanish Potatoes=Spanische Kartoffeln -Potato omelette=Kartoffelomelette -Paella=Paella -Vanilla Flan=Vanilletorte -Vegan Cheese=Veganer Käse -Vegan Butter=Vegane Butter -Onigiri=Onigiri -Gyoza=Gyoza -Mochi=Mochi -Gingerbread Man=Lebkuchenmann -Mint Tea=Minztee -Onion Soup=Zwiebelsuppe -Pea Soup=Erbsensuppe -Ground Pepper=Gemahlener Pfeffer -Pineapple Ring=Ananasscheibe -Pineapple Juice=Ananassaft -Cucumber and Potato Salad=Gurken-Kartoffelsalat -Pumpkin Dough=Kürbisteig -Pumpkin Bread=Kürbisbrot -Raspberry Smoothie=Himbeersmoothie -Rhubarb Pie=Rhabarberkuchen -Rice Flour=Reismehl -Rice Bread=Reiswaffel -Multigrain Flour=Mehrkornmehl -Multigrain Bread=Mehrkornbrot -Soy Sauce=Sojasoße -Soy Milk=Sojamilch -Tofu=Tofu -Cooked Tofu=Gekochter Tofu -Toasted Sunflower Seeds=Geröstete Sonnenblumensamen -Bottle of Sunflower Oil=Flasche Sonnenblumenöl -Sunflower Seed Bread=Sonnenblumensamenbrot -Vanilla Extract=Vanilleextrakt -Jerusalem Artichokes=Jerusalemartischocken -Bread=Brot -Cookie=Keks -Golden Carrot=Goldene Möhre -Beetroot Soup=Rote-Beete-Suppe -Sugar=Zucker -Baked Potato=Ofenkartoffel -Saucepan=Kasserolle -Cooking Pot=Kochtopf -Baking Tray=Kuchenblech -Skillet=Bratpfanne -Mortar and Pestle=Mörser und Stößel -Cutting Board=Schneidebrett -Juicer=Entsafter -Glass Mixing Bowl=Glasschüssel -Bottle of Ethanol=Flasche Ethanol -Straw=Stroh -Bottle of Hemp Oil=Flasche mit Hanföl -Hemp Fibre=Hanffaser -Hemp Block=Hanfblock -Hemp Rope=Hanfseil -Scarecrow Bottom=Vogelscheuchengestell -Wooden Bowl=Holzschale -String=Faden -Jack 'O Lantern (punch to turn on and off)=Kürbislaterne (Hauen zum Ein- und Ausschalten) -Savanna Soil=Savannenerde -Wet Savanna Soil=Feuchte Savannenerde -Soil=Ackerboden -Wet Soil=Feuchter Ackerboden diff --git a/mods/.farming_old/locale/farming.en.tr b/mods/.farming_old/locale/farming.en.tr deleted file mode 100644 index 6f83b3e4..00000000 --- a/mods/.farming_old/locale/farming.en.tr +++ /dev/null @@ -1,186 +0,0 @@ -# textdomain: farming - Crop= -Artichoke= -Asparagus= -Barley Seed= -Barley= -Green Beans= -Bean Pole (place on soil before planting beans)= -Beetroot= -Beetroot Soup= -Blackberry= -Blackberries= -Wild Blueberries= -Blueberry= -Blueberry Muffin= -Blueberry Pie= -Cabbage= -Carrot= -Carrot Juice= -Golden Carrot= -Chili Pepper= -Bowl of Chili= -Chili Powder= -Raw Cocoa Beans= -Cocoa Beans= -Cookie= -Bar of Dark Chocolate= -Chocolate Block= -Coffee= -Coffee Beans= -Cup of Coffee= -Banana= -Banana Leaves= -Orange= -Corn= -Corn on the Cob= -Popcorn= -Cornstarch= -Bottle of Ethanol= -Wild Cotton= -Cotton Seed= -Cotton= -String= -Cucumber= -Eggplant= -Glass of Water= -Sugar= -Sugar Cube= -Caramel= -Salt= -Mayonnaise= -Rose Water= -Turkish Delight= -Garlic Bread= -Donut= -Chocolate Donut= -Apple Donut= -Porridge= -Jaffa Cake= -Apple Pie= -Cactus Juice= -Pasta= -Mac & Cheese= -Spaghetti= -Bibimbap= -Burger= -Salad= -Triple Berry Smoothie= -Spanish Potatoes= -Potato omelet= -Paella= -Vanilla Flan= -Vegan Cheese= -Onigiri= -Gyoza= -Mochi= -Gingerbread Man= -Garlic clove= -Garlic= -Garlic Braid= -Ginger= -Grapes= -Trellis (place on soil before planting grapes)= -Hemp= -Hemp Seed= -Hemp Leaf= -Bottle of Hemp Oil= -Hemp Fibre= -Hemp Block= -Hemp Rope= -Hoe= -Wooden Hoe= -Stone Hoe= -Steel Hoe= -Bronze Hoe= -Mese Hoe= -Diamond Hoe= -Wood Hoe= -Hoe Bomb (use or throw on grassy areas to hoe land)= -Mithril Scythe (Use to harvest and replant crops)= -Seed= -Lettuce= -Melon Slice= -Melon= -Mint= -Mint Seeds= -Mint Leaf= -Mint Tea= -Onion= -Onion Soup= -Parsley= -Pea= -Pea Pod= -Pea Soup= -Pepper= -Peppercorn= -Green Pepper= -Yellow Pepper= -Red Pepper= -Ground Pepper= -Pineapple Top= -Pineapple= -Pineapple Ring= -Pineapple Juice= -Potato= -Baked Potato= -Cucumber and Potato Salad= -Pumpkin Slice= -Jack 'O Lantern (punch to turn on and off)= -Scarecrow Bottom= -Pumpkin Bread= -Pumpkin Dough= -Pumpkin= -Raspberry= -Raspberries= -Raspberry Smoothie= -Rhubarb= -Rhubarb Pie= -Rice Seed= -Rice= -Rice Bread= -Rice Flour= -Rye seed= -Rye= -Oat seed= -Oats= -Multigrain Flour= -Multigrain Bread= -Savanna Soil= -Wet Savanna Soil= -Soil= -Wet Soil= -Soy= -Soy Pod= -Soy Sauce= -Soy Milk= -Tofu= -Cooked Tofu= -Spinach= -Strawberry= -Sunflower= -Sunflower Seeds= -Toasted Sunflower Seeds= -Bottle of Sunflower Oil= -Sunflower Seed Bread= -Tomato= -Tomato Soup= -Wooden Bowl= -Saucepan= -Cooking Pot= -Baking Tray= -Skillet= -Mortar and Pestle= -Cutting Board= -Juicer= -Glass Mixing Bowl= -Vanilla= -Vanilla Extract= -Wheat Seed= -Wheat= -Straw= -Flour= -Bread= -Sliced Bread= -Toast= -Toast Sandwich= diff --git a/mods/.farming_old/locale/farming.eo.tr b/mods/.farming_old/locale/farming.eo.tr deleted file mode 100644 index 75f8bd4b..00000000 --- a/mods/.farming_old/locale/farming.eo.tr +++ /dev/null @@ -1,176 +0,0 @@ -# textdomain: farming -Artichoke= -Asparagus= -Barley Seed=Hordea Semo -Barley=Hordeo -Green Beans=Verdaj Fazeoloj -Bean Pole (place on soil before planting beans)=Fazeola Poluso (metu sur grundo antaŭ planti fabojn) -Beetroot=Betoto -Beetroot Soup=Betota Supo -Blackberries= -Wild Blueberries= -Blueberry Muffin=Mirtila Mufino -Blueberry Pie=Mirtila Torto -Cabbage= -Carrot=Karoto -Carrot Juice=Karota Suko -Golden Carrot=Ora Karoto -Chili Pepper=Kapsiketo -Bowl of Chili=Bovlo da Kapsiketo -Chili Powder= -Raw Cocoa Beans= -Cocoa Beans=Kakaa Faboj -Cookie=Kuketo -Bar of Dark Chocolate=Stango de Malhela Ĉokolado -Chocolate Block=Bloko de Ĉokolado -Coffee Beans=Kafaj Seboj -Cup of Coffee=Taso da Kafo -Banana=Banano -Banana Leaves=Bananaj Folioj -Orange=Oranĝo -Corn=Maizo -Corn on the Cob=Maiza sur la Spadiko -Popcorn= -Cornstarch=Maizamelo -Bottle of Ethanol=Botelo da Etanolo -Wild Cotton= -Cotton Seed=Kotona Semo -Cotton=Kotono -String=Ŝnuro -Cucumber=Kukumo -Eggplant= -Glass of Water= -Sugar=Sukero -Sugar Cube= -Caramel= -Salt=Salo -Mayonnaise= -Rose Water=Roza Akvo -Turkish Delight=Turka Delico -Garlic Bread=Ajla Pano -Donut=Benjeto -Chocolate Donut=Ĉokolada Benjeto -Apple Donut=Poma Benjeto -Porridge=Kaĉo -Jaffa Cake=Jafa Kuko -Apple Pie= -Cactus Juice= -Pasta= -Mac & Cheese= -Spaghetti= -Bibimbap= -Burger= -Salad= -Triple Berry Smoothie= -Spanish Potatoes= -Potato omelet= -Paella= -Vanilla Flan= -Vegan Cheese= -Onigiri= -Gyoza= -Mochi= -Gingerbread Man= -Garlic clove=Ajlokloko -Garlic=Ajlo -Garlic Braid=Ajla Plektaĵo -Ginger= -Grapes=Vinberoj -Trellis (place on soil before planting grapes)=Trellis (meti sur grundo antaŭ planti vinberojn) -Hemp Seed=Kanaba Semo -Hemp Leaf=Kanaba Folio -Bottle of Hemp Oil=Botelo da Kanaba Oleo -Hemp Fibre=Kanaba Fibro -Hemp Block=Kanaba Bloko -Hemp Rope=Kanaba Ŝnuro -Hoe=Sarkilo -Wooden Hoe=Ligna Sarkilo -Stone Hoe=Ŝtona Sarkilo -Steel Hoe=Ŝtala Sarkilo -Bronze Hoe=Bronza Sarkilo -Mese Hoe=Mesea Sarkilo -Diamond Hoe=Diamanta Sarkilo -Wood Hoe= -Hoe Bomb (use or throw on grassy areas to hoe land)= -Mithril Scythe (Use to harvest and replant crops)= -Seed=Semo -Lettuce= -Melon Slice=Tranĉaĵo de Melono -Melon=Melono -Mint Seeds= -Mint Leaf= -Mint Tea= -Onion=Cepo -Onion Soup= -Parsley= -Pea Pod=Pizujo -Pea Soup=Piza Supo -Peppercorn=Piprograjno -Green Pepper= -Yellow Pepper= -Red Pepper= -Ground Pepper=Muelita Pipro -Pineapple Top=Pinto de Ananaso -Pineapple=Ananaso -Pineapple Ring=Ananasa Ringo -Pineapple Juice=Ananasa Suko -Potato=Terpomo -Baked Potato=Bakita Terpomo -Cucumber and Potato Salad=Salato de Kukumo kaj Terpomo -Pumpkin Slice=Tranĉaĵo de Kukurbo -Jack 'O Lantern (punch to turn on and off)=Kukurba Lanterno (punu por ŝalti kaj malŝalti) -Scarecrow Bottom=Birdotimigilo Fundo -Pumpkin Bread=Kukurba Pano -Pumpkin Dough=Kukurba Pasto -Pumpkin=Kukurbo -Raspberries=Framboj -Raspberry Smoothie=Fraba Glataĵo -Rhubarb=Rabarbo -Rhubarb Pie=Rabarba Torto -Rice Seed= -Rice=Rizo -Rice Bread=Riza Pano -Rice Flour=Riza Faruno -Rye seed=Sekala Semo -Rye=Sekalo -Oat seed=Avena Semo -Oats= -Multigrain Flour=Multgrajna Faruno -Multigrain Bread=Multgrajna Pano -Savanna Soil= -Wet Savanna Soil= -Soil=Tero -Wet Soil=Malseka Tero -Soy Pod= -Soy Sauce= -Soy Milk= -Tofu= -Cooked Tofu= -Spinach= -Strawberry=Frago -Sunflower= -Sunflower Seeds= -Toasted Sunflower Seeds= -Bottle of Sunflower Oil= -Sunflower Seed Bread= -Tomato=Tomato -Tomato Soup= -Wooden Bowl=Ligna Bovlo -Saucepan=Kaserolo -Cooking Pot=Kuirpoto -Baking Tray=Baka Pleto -Skillet=Pato -Mortar and Pestle=Pistujo -Cutting Board=Tranĉa Tabulo -Juicer=Spremilo -Glass Mixing Bowl=Vitra Miksa Bovlo -Vanilla= -Vanilla Extract= -Wheat Seed=Tritika Semo -Wheat=Tritiko -Straw=Pajlo -Flour=Faruno -Bread=Pano -Sliced Bread=Tranĉita Pano -Toast=Toasto -Toast Sandwich=Toasta Sandviĉo diff --git a/mods/.farming_old/locale/farming.es.tr b/mods/.farming_old/locale/farming.es.tr deleted file mode 100644 index e3d989a0..00000000 --- a/mods/.farming_old/locale/farming.es.tr +++ /dev/null @@ -1,177 +0,0 @@ -# textdomain: farming -Banana=Banana -Banana Leaves=Hojas de Banana -Orange=Naranja -Artichoke=Alcachofa -Asparagus=Esparragos -Barley Seed=Semillas de Cebada -Barley=Cebada -Green Beans=Frijoles -Bean Pole (place on soil before planting beans)=Varas para frijoles (colocar antes de plantar frijoles) -Beetroot=Remolacha -Beetroot Soup=Sopa de Remolacha -Blackberries=Zarzamoras -Wild Blueberries=Arándanos -Blueberry Muffin=Bizcocho de Arándanos -Blueberry Pie=Pastel de Arándanos -Cabbage=Coliflor -Carrot=Zanahoria -Carrot Juice=Zumo de Zanahoria -Golden Carrot=Zanahoria Dorada -Chili Pepper=Guindilla -Bowl of Chili=Tazón de chile -Chili Powder=Chile en polvo -Raw Cocoa Beans=Granos de Cacao Verde -Cocoa Beans=Granos de Cacao -Cookie=Galleta -Bar of Dark Chocolate=Barra de Chocolate amargo -Chocolate Block=Bloque de Chocolate -Coffee Beans=Granos de Café -Cup of Coffee=Taza de Café -Corn=Mazorca de Maiz -Corn on the Cob=Mazorca Frita -Popcorn=Palomitas -Cornstarch=Maicena -Bottle of Ethanol=Botella de Etanol -Wild Cotton=Algodón silvestre -Cotton Seed=Semillas de Algodón -Cotton=Algodón -String=Cuerda -Cucumber=Pepino -Eggplant=Berenjena -Garlic clove=Diente de Ajo -Garlic=Ajo -Garlic Braid=Ristra de Ajos -Ginger=Jengibre -Grapes=Uvas -Trellis (place on soil before planting grapes)=Emparrado (colocar antes de sembrar uvas) -Hemp Seed=Semillas de Cáñamo -Hemp Leaf=Hoja de Cáñamo -Bottle of Hemp Oil=Aceite de Cáñamo -Hemp Fibre=Fibra de Cáñamo -Hemp Block=Bloque de Cáñamo -Hemp Rope=Cuerda de Cáñamo -Lettuce=Lechuga -Melon Slice=Rodaja de Sandia -Melon=Sandia -Mint Seeds=Semillas de Menta -Mint Leaf=Hoja de Menta -Mint Tea=Té de Menta -Onion=Cebolla -Onion Soup=Sopa de Cebolla -Parsley=Perejil -Pea Pod=Vaina de Guisantes -Pea Soup=Sopa de Guisantes -Peppercorn=Pimienta en Grano -Green Pepper=Pimiento Verde -Yellow Pepper=Pimiento Amarillo -Red Pepper=Pimiento Rojo -Ground Pepper=Pimienta Molida -Pineapple Top=Semilla de Piña -Pineapple=Piña -Pineapple Ring=Rodaja de Piña -Pineapple Juice=Zumito de Piña -Potato=Patata -Baked Potato=Papa Asada -Cucumber and Potato Salad=Ensalada de Pepino y Patatas -Pumpkin Slice=Trozo de Calabaza -Jack 'O Lantern (punch to turn on and off)=Linterna Calabaza (golpear para encender o apagar) -Scarecrow Bottom=Cuerpo de Espantapájaros -Pumpkin Bread=Pan de Calabaza -Pumpkin Dough=Pasta de Calabaza -Pumpkin=Calabaza -Raspberries=Frambuesas -Raspberry Smoothie=Crema de Frambuesas -Rhubarb=Ruibarbo -Rhubarb Pie=Bizcocho de Ruibarbo -Rice Seed=Granos de Arroz -Rice=Arroz -Rice Bread=Pan de Arroz -Rice Flour=Harina de Arroz -Rye seed=Semillas de Centeno -Rye=Centeno -Oat seed=Semillas de Avena -Oats=Avena -Multigrain Flour=Harina Multigrano -Multigrain Bread=Pan Multigrano -Soy Pod=Vaina de Soja -Soy Sauce=Aceite de Soja -Soy Milk=Leche de Soja -Tofu=Tofu -Cooked Tofu=Tofu Cocinado -Spinach=Espinacas -Strawberry=Fresa -Sunflower=Girasol -Sunflower Seeds=Semillas de Girasol -Toasted Sunflower Seeds=Pipas de Girasol -Bottle of Sunflower Oil=Aceite de Girasol -Sunflower Seed Bread=Pan con Pipas -Tomato=Tomate -Tomato Soup=Sopa de Tomate -Vanilla=Vainilla -Vanilla Extract=Extracto de Vainilla -Wheat Seed=Semillas de Trigo -Wheat=Trigo -Straw=Heno -Flour=Harina -Bread=Pan -Sliced Bread=Rebanada de Pan -Toast=Tostada -Toast Sandwich=Bocadillo de Pan -Glass of Water=Vaso de Agua -Sugar=Azucar -Sugar Cube=Bloque de Azucar -Caramel=Caramelo -Salt=Sal -Salt crystal=Cristal de Sal -Mayonnaise=Mayonesa -Rose Water=Agua de Rosas -Turkish Delight=Delicias Turcas -Garlic Bread=Pan con Ajito -Donut=Rosquilla -Chocolate Donut=Rosquilla de Chocolate -Apple Donut=Rosquilla de Manzana -Porridge=Gachas -Jaffa Cake=Galleta Jaffa -Apple Pie=Pastel de Manzana -Cactus Juice=Zumo de Cactus -Pasta=Pasta -Mac & Cheese=Pasta con queso -Spaghetti=Espaguetis -Bibimbap=Bibimbap -Burger=Hamburguesa -Salad=Ensalada -Triple Berry Smoothie=Helado Multifrutas -Spanish Potatoes=Tortilla Española -Potato omelet=Tortilla de Patatas -Paella=Paella -Vanilla Flan=Flan de Vainilla -Vegan Cheese=Queso Vegano -Onigiri=Onigiri -Gyoza=Empanadilla Japonesa -Mochi=Mochi -Gingerbread Man=Moñequito de Jengibre -Hoe=Azada -Wooden Hoe=Azada de Madera -Stone Hoe=Azada de Piedra -Steel Hoe=Azada de Acero -Bronze Hoe=Azada de Bronce -Mese Hoe=Azada de Mese -Diamond Hoe=Azada de Diamante -Wood Hoe=Azada de Madera -Hoe Bomb (use or throw on grassy areas to hoe land)=Bomba Azada (usar o lanzar a tierra para ararla) -Mithril Scythe (Use to harvest and replant crops)=Guadaña de Mithril -Seed=Semilla -Savanna Soil=Tierra de Cultivo de Sabana -Wet Savanna Soil=Tierra de Cultivo de Sabana Humeda -Soil=Tierra de Cultivo -Wet Soil=Tierra de Cultivo Humeda -Wooden Bowl=Cuenco de Madera -Saucepan=Cazo -Cooking Pot=Olla -Baking Tray=Bandeja para Hornear -Skillet=Sartén -Mortar and Pestle=Mortero -Cutting Board=Tabla de cortar -Juicer=Exprimidor -Glass Mixing Bowl=Bol de Mezcla diff --git a/mods/.farming_old/locale/farming.fr.tr b/mods/.farming_old/locale/farming.fr.tr deleted file mode 100644 index 532e234b..00000000 --- a/mods/.farming_old/locale/farming.fr.tr +++ /dev/null @@ -1,177 +0,0 @@ -# textdomain: farming -Banana=Banane -Banana Leaves=Feuilles de banane -Orange=Orange -Artichoke=Artichaut -Asparagus=Asperge -Barley Seed=Graine d'orge -Barley=Orge -Green Beans=Haricots verts -Bean Pole (place on soil before planting beans)=Tuteur pour haricots (placer sur le sol avant de planter des haricots) -Beetroot=Betterave -Beetroot Soup=Soupe de betterave -Blackberries=Mûres -Wild Blueberries=Myrtilles sauvages -Blueberry Muffin=Muffin aux myrtilles -Blueberry Pie=Tarte aux myrtilles -Cabbage=Chou -Carrot=Carotte -Carrot Juice=Jus de carotte -Golden Carrot=Carotte dorée -Chili Pepper=Piment fort -Bowl of Chili=Bol de chilli -Chili Powder=Poudre de piment -Raw Cocoa Beans=Fèves de cacao brutes -Cocoa Beans=Fèves de cacao -Cookie=Biscuit -Bar of Dark Chocolate=Tablette de chocolat noir -Chocolate Block=Bloc de chocolat -Coffee Beans=Grains de café -Cup of Coffee=Tasse de café -Corn=Maïs -Corn on the Cob=Cobette (maïs cuit) -Popcorn=Popcorn -Cornstarch=Fécule de maïs -Bottle of Ethanol=Bouteille d'éthanol -Wild Cotton=Coton sauvage -Cotton Seed=Graines de coton -Cotton=Coton -String=Ficelle -Cucumber=Concombre -Eggplant=Aubergine -Garlic clove=Gousse d'ail -Garlic=Tête d'ail -Garlic Braid=Ail tressé -Ginger=Gingembre -Grapes=Raisins -Trellis (place on soil before planting grapes)=Treillis (placer sur le sol avant de planter la vigne) -Hemp Seed=Graines de chanvre -Hemp Leaf=Feuille de chanvre -Bottle of Hemp Oil=Bouteille d'huile de chanvre -Hemp Fibre=Fibre de chanvre -Hemp Block=Bloc de chanvre -Hemp Rope=Corde de chanvre -Lettuce=Laitue -Melon Slice=Tranche de melon -Melon=Melon -Mint Seeds=Graine de menthe -Mint Leaf=Feuille de menthe -Mint Tea=Thé à la menthe -Onion=Oignon -Onion Soup=Soupe à l'oignon -Parsley=Persil -Pea Pod=Cosse de petit-pois -Pea Soup=Soupe de petit-pois -Peppercorn=Grain de poivre -Green Pepper=Poivron vert -Yellow Pepper=Poivron jaune -Red Pepper=Poivron rouge -Ground Pepper=Poivre moulu -Pineapple Top=Pousse d'ananas -Pineapple=Ananas -Pineapple Ring=Tranche d'ananas -Pineapple Juice=Jus d'ananas -Potato=Pomme de terre -Baked Potato=Pomme de terre cuite -Cucumber and Potato Salad=Salade de pomme de terre et concombre -Pumpkin Slice=Tranche de citrouille -Jack 'O Lantern (punch to turn on and off)=Citrouille d'halloween (Frapper pour allumer et éteindre) -Scarecrow Bottom=Base d'épouventail -Pumpkin Bread=Pain à la citrouille -Pumpkin Dough=Pâton de pain à la citrouille -Pumpkin=Citrouille -Raspberries=Framboises -Raspberry Smoothie=Smoothie aux framboises -Rhubarb=Rhubarbe -Rhubarb Pie=Tarte à la rhubarbe -Rice Seed=Riz -Rice=Riz -Rice Bread=Pain de riz -Rice Flour=Farine de riz -Rye seed=Grains de seigle -Rye=Seigle -Oat seed=Grains d'orge -Oats=Avoine -Multigrain Flour=Farine multi-céréales -Multigrain Bread=Pain aux céréales -Soy Pod=Cosse de soja -Soy Sauce=Sauce de soja -Soy Milk=Lait de soja -Tofu=Tofu -Cooked Tofu=Tofu cuit -Spinach=Épinard -Strawberry=Fraise -Sunflower=Tournesol -Sunflower Seeds=Graines de tournesol -Toasted Sunflower Seeds=Graines de tournesol grillées -Bottle of Sunflower Oil=Bouteille d'huile de tournesol -Sunflower Seed Bread=Pain de graines de tournesol -Tomato=Tomate -Tomato Soup=Soupe de tomate -Vanilla=Vanille -Vanilla Extract=Extrait de vanille -Wheat Seed=Grain de blé -Wheat=Blé -Straw=Paille -Flour=Farine -Bread=Pain -Sliced Bread=Tranche de pain -Toast=Pain grillé -Toast Sandwich=Sandwich au pain grillé -Glass of Water=Verre d'eau -Sugar=Sucre -Sugar Cube=Morceau de sucre -Caramel=Caramel -Salt=Sel -Salt crystal=Cristaux de sel -Mayonnaise=Mayonnaise -Rose Water=Eau de rose -Turkish Delight=Douceur turque -Garlic Bread=Pain à l'ail -Donut=Beignet -Chocolate Donut=Beignet au chocolat -Apple Donut=Beignet aux pommes -Porridge=Gruau de céréales -Jaffa Cake=Petit gâteau à l'orange "Jaffa" -Apple Pie=Tarte aux pommes -Cactus Juice=Jus de cactus -Pasta=Pâtes -Mac & Cheese=Grâtin de pâtes -Spaghetti=Spaghetti -Bibimbap=Bibimbap -Burger=Hamburger -Salad=Salade verte -Triple Berry Smoothie=Smoothie aux trois baies -Spanish Potatoes=Patates sautées à l'Espagnole -Potato omelet=Omelette aux pommes de terre -Paella=Paëlla -Vanilla Flan=Flan -Vegan Cheese=Faumage végan -Onigiri=Onigiri -Gyoza=Gyoza -Mochi=Mochi -Gingerbread Man=Bonhomme en pain d'épice -Hoe=Binette -Wooden Hoe=Binette en bois -Stone Hoe=Binette en pierre -Steel Hoe=Binette en acier -Bronze Hoe=Binette en bronze -Mese Hoe=Binette en mese -Diamond Hoe=Binette en diamant -Wood Hoe=Binette en bois -Hoe Bomb (use or throw on grassy areas to hoe land)=Bombe à binnage (Actionner ou lancer sur une zone herbeuse pour la binner) -Mithril Scythe (Use to harvest and replant crops)=Faux de mithril (Utiliser pour récolter et replanter les cultures) -Seed=Graine -Savanna Soil=Terre de la savane binnée -Wet Savanna Soil=Terre humide et binnée de la savane -Soil=Terre binnée -Wet Soil=Terre humide et binnée -Wooden Bowl=Bol en bois -Saucepan=Casserole -Cooking Pot=Marmitte -Baking Tray=Lèche-frite -Skillet=Poêle -Mortar and Pestle=Mortier et pilon -Cutting Board=Planche à découper -Juicer=Presse-agrumes -Glass Mixing Bowl=Terrine en verre diff --git a/mods/.farming_old/locale/farming.hu.tr b/mods/.farming_old/locale/farming.hu.tr deleted file mode 100644 index 9cf75c9f..00000000 --- a/mods/.farming_old/locale/farming.hu.tr +++ /dev/null @@ -1,176 +0,0 @@ -# textdomain: farming -Artichoke=Articsóka -Asparagus=Spárga -Barley Seed=Árpamag -Barley=Árpa -Green Beans=Zöldbab -Bean Pole (place on soil before planting beans)=Karó babhoz (szúrd a földbe és oda vess babot) -Beetroot=cékla -Beetroot Soup=céklaleves -Blackberries=Szeder -Wild Blueberries=Vadáfonya -Blueberry Muffin=Áfonyamuffin -Blueberry Pie=Áfonyatorta -Cabbage=Káposzta -Carrot=Répa -Carrot Juice=Répalé -Golden Carrot=Aranyrépa -Chili Pepper=Chilipaprika -Bowl of Chili=Chilis tál -Chili Powder=Chilipor -Raw Cocoa Beans=Nyers kakaóbab -Cocoa Beans=Kakaóbab -Cookie=Süti -Bar of Dark Chocolate=Rúd étcsoki -Chocolate Block=Csokiblokk -Coffee Beans=Kávébab -Cup of Coffee=Csésze kávé -Banana=Banán -Banana Leaves=Banánlevél -Orange=Narancs -Corn=Kukorica -Corn on the Cob=Főtt kukorica -Popcorn=Pattogatott kukorica -Cornstarch=Keményítő -Bottle of Ethanol=Üveg etanol -Wild Cotton=Vadgyapot -Cotton Seed=Gyapotmag -Cotton=Gyapot -String=Madzag -Cucumber=Uborka -Eggplant=Padlizsán -Glass of Water=Pohár víz -Sugar=Cukor -Sugar Cube=Kockacukor -Caramel=Karamell -Salt=Só -Mayonnaise=Majonéz -Rose Water=Rózsavíz -Turkish Delight=Török desszert -Garlic Bread=Fokhagymás kenyér -Donut=Fánk -Chocolate Donut=Csokis fánk -Apple Donut=Almás fánk -Porridge=Zabkása -Jaffa Cake=Jaffatorta -Apple Pie=Almáspita -Cactus Juice=Kaktuszlé -Pasta=Tészta -Mac & Cheese=Sajtos makaróni -Spaghetti=Spagetti -Bibimbap=Bibimbap -Burger=Burger -Salad=Saláta -Triple Berry Smoothie=Hárombogyós smoothie -Spanish Potatoes=Tepsis krumpli -Potato omelet=Krumplis rántotta -Paella=Paella -Vanilla Flan=Vaníliás gyümölcstorta -Vegan Cheese=Vegán sajt -Onigiri=Onigiri -Gyoza=Gyoza -Mochi=Mochi -Gingerbread Man=Mézeskalács-emberke -Garlic clove=Gerezd fokhagyma -Garlic=Fokhagyma -Garlic Braid=Fokhagymafüzér -Ginger=Gyömbér -Grapes=Szőlő -Trellis (place on soil before planting grapes)=Karó szőlőhöz (szúrd a földbe és oda vess babot) -Hemp Seed=Kendermag -Hemp Leaf=Kenderlevél -Bottle of Hemp Oil=Üveg kenderolaj -Hemp Fibre=Kenderrost -Hemp Block=Kenderblokk -Hemp Rope=Kenderkötél -Hoe=Kapa -Wooden Hoe=Fakapa -Stone Hoe=Kőkapa -Steel Hoe=Acélkapa -Bronze Hoe=Bronzkapa -Mese Hoe=Mesekapa -Diamond Hoe=Gyémántkapa -Wood Hoe=Fakapa (2) -Hoe Bomb (use or throw on grassy areas to hoe land)=Kapabomba (használd vagy dobd füves területre) -Mithril Scythe (Use to harvest and replant crops)=Mithrilkasza (használd termények begyűjtéséhez és újravetéséhez) -Seed=Mag -Lettuce=Saláta -Melon Slice=Szelet dinnye -Melon=Dinnye -Mint Seeds=Mentamag -Mint Leaf=Mentalevél -Mint Tea=Mentatea -Onion=Hagyma -Onion Soup=Hagymaleves -Parsley=Petrezselyem -Pea Pod=Hüvelyes borsó -Pea Soup=Borsóleves -Peppercorn=Borsszemek -Green Pepper=Zöldpaprika -Yellow Pepper=Sárga paprika -Red Pepper=Pirospaprika -Ground Pepper=Őrölt bors -Pineapple Top=Ananászüstök -Pineapple=Ananász -Pineapple Ring=Szelet ananász -Pineapple Juice=Ananászlé -Potato=Krumpli -Baked Potato=Sült krumpli -Cucumber and Potato Salad=Uborkás krumplisaláta -Pumpkin Slice=Szelet tök -Jack 'O Lantern (punch to turn on and off)=Töklámpás (ütéssel kapcsold ki és be) -Scarecrow Bottom=Madárijesztő alja -Pumpkin Bread=Tökkenyér -Pumpkin Dough=Töktészta -Pumpkin=Tök -Raspberries=Málna -Raspberry Smoothie=Málnasmoothie -Rhubarb=Rebarbara -Rhubarb Pie=Rebarbaratorta -Rice Seed=Rizsmag -Rice=Rizs -Rice Bread=Rizskenyér -Rice Flour=Rizsliszt -Rye seed=Rozsmag -Rye=Rozs -Oat seed=Zabmag -Oats=Zab -Multigrain Flour=Vegyesliszt -Multigrain Bread=Vegyesliszt-kenyér -Savanna Soil=Szavannatalaj -Wet Savanna Soil=Nedves szavannatalaj -Soil=Talaj -Wet Soil=Nedves talaj -Soy Pod=Hüvelyes szója -Soy Sauce=Szójaszósz -Soy Milk=Szójatej -Tofu=Tofu -Cooked Tofu=Főtt tofu -Spinach=Spenót -Strawberry=Eper -Sunflower=Napraforgó -Sunflower Seeds=Napraforgómag -Toasted Sunflower Seeds=Szotyi -Bottle of Sunflower Oil=Üveg napraforgó-olaj -Sunflower Seed Bread=Napraforgómagos kenyér -Tomato=Paradicsom -Tomato Soup=Paradicsomleves -Wooden Bowl=Fatál -Saucepan=Szószostál -Cooking Pot=Főzőedény -Baking Tray=Sütőtál -Skillet=Serpenyő -Mortar and Pestle=Mozsár -Cutting Board=Vágódeszka -Juicer=Facsaró -Glass Mixing Bowl=Üver keverőedény -Vanilla=Vanília -Vanilla Extract=Vaníliakivonat -Wheat Seed=Búzamag -Wheat=Búza -Straw=Szívószál -Flour=Liszt -Bread=Kenyér -Sliced Bread=Szeletelt kenyér -Toast=Pirítós -Toast Sandwich=Pirítósszendvics diff --git a/mods/.farming_old/locale/farming.it.tr b/mods/.farming_old/locale/farming.it.tr deleted file mode 100644 index 694b2e62..00000000 --- a/mods/.farming_old/locale/farming.it.tr +++ /dev/null @@ -1,176 +0,0 @@ -# textdomain: farming -Artichoke= -Asparagus= -Barley Seed=Seme d'orzo -Barley=Orzo -Green Beans=Fagiolini -Bean Pole (place on soil before planting beans)=Palina per fagiolini (mettila sul terreno coltivabile prima di piantare i fagiolini) -Beetroot=Barbabietola -Beetroot Soup=Zuppa di barbabietola -Blackberries= -Wild Blueberries=Mirtilli Selvatici -Blueberry Muffin=Focaccina di mirtilli -Blueberry Pie=Tortino di mirtilli -Cabbage= -Carrot=Carota -Carrot Juice=Succo di carota -Golden Carrot=Carota d'oro -Chili Pepper=Peperoncino -Bowl of Chili=Ciotola di peperoncino -Chili Powder= -Raw Cocoa Beans= -Cocoa Beans=Chicchi di cacao -Cookie=Biscotto -Bar of Dark Chocolate=Barra di cioccolato fondente -Chocolate Block=Blocco di cioccolato -Coffee Beans=Chicchi di caffè -Cup of Coffee=Tazza di caffè -Banana=Banana -Banana Leaves=Foglie di banano -Orange=Arancia -Corn=Mais -Corn on the Cob=Pannocchia arrostita -Popcorn= -Cornstarch=Amido di mais -Bottle of Ethanol=Bottiglia di alcol etilico -Wild Cotton= -Cotton Seed=Seme di cotone -Cotton=Cotone -String=Filo -Cucumber=Cetriolo -Eggplant= -Glass of Water= -Sugar=Zucchero -Sugar Cube= -Caramel= -Salt=Sale -Mayonnaise= -Rose Water=Acqua di rose -Turkish Delight=Lokum -Garlic Bread=Pane all'aglio -Donut=Ciambella -Chocolate Donut=Ciambella al cioccolato -Apple Donut=Ciambella alla mela -Porridge=Porridge -Jaffa Cake=Torta di jaffa -Apple Pie= -Cactus Juice= -Pasta= -Mac & Cheese= -Spaghetti= -Bibimbap= -Burger= -Salad= -Triple Berry Smoothie= -Spanish Potatoes= -Potato omelet= -Paella= -Vanilla Flan= -Vegan Cheese= -Onigiri= -Gyoza= -Mochi= -Gingerbread Man= -Garlic clove=Spicchio d'aglio -Garlic=Aglio -Garlic Braid=Treccia d'aglio -Ginger= -Grapes=Chicchi d'uva -Trellis (place on soil before planting grapes)=Graticcio (mettilo sul terreno coltivabile prima di piantare i chicchi d'uva) -Hemp Seed=Seme di canapa -Hemp Leaf=Foglia di canapa -Bottle of Hemp Oil=Bottiglia d'olio di canapa -Hemp Fibre=Fibra di canapa -Hemp Block=Blocco di canapa -Hemp Rope=Corda di canapa -Hoe=Zappa -Wooden Hoe=Zappa di legno -Stone Hoe=Zappa di pietra -Steel Hoe=Zappa d'acciaio -Bronze Hoe=Zappa di bronzo -Mese Hoe=Zappa di mese -Diamond Hoe=Zappa di diamante -Wood Hoe= -Hoe Bomb (use or throw on grassy areas to hoe land)=Bomba zappa (usala o lanciala sulle aree erbose per zappare il terreno) -Mithril Scythe (Use to harvest and replant crops)= -Seed=Seme -Lettuce= -Melon Slice=Fetta d'anguria -Melon=Anguria -Mint Seeds= -Mint Leaf= -Mint Tea= -Onion=Cipolla -Onion Soup= -Parsley= -Pea Pod=Baccello di piselli -Pea Soup=Zuppa di piselli -Peppercorn=Grano di pepe -Green Pepper= -Yellow Pepper= -Red Pepper= -Ground Pepper=Pepe macinato -Pineapple Top=Cima d'ananas -Pineapple=Ananas -Pineapple Ring=Anello d'ananas -Pineapple Juice=Succo d'ananas -Potato=Patata -Baked Potato=Patata arrostita -Cucumber and Potato Salad=Insalata di patate e cetrioli -Pumpkin Slice=Fetta di zucca -Jack 'O Lantern (punch to turn on and off)=Jack Lanterna (colpirlo per accenderlo e spegnerlo) -Scarecrow Bottom=Fondo dello spaventapasseri -Pumpkin Bread=Pane alla zucca -Pumpkin Dough=Pasta di zucca -Pumpkin=Zucca -Raspberries=Lamponi -Raspberry Smoothie=Purea di lamponi -Rhubarb=Rabarbaro -Rhubarb Pie=Tortino al rabarbaro -Rice Seed= -Rice=Riso -Rice Bread=Pane di riso -Rice Flour=Farina di riso -Rye seed=Seme di segale -Rye=Segale -Oat seed=Seme d'avena -Oats= -Multigrain Flour=Farina multicereale -Multigrain Bread=Pane multicereale -Savanna Soil= -Wet Savanna Soil= -Soil=Terreno coltivabile -Wet Soil=Terreno coltivabile bagnato -Soy Pod= -Soy Sauce= -Soy Milk= -Tofu= -Cooked Tofu= -Spinach= -Strawberry=Fragola -Sunflower= -Sunflower Seeds= -Toasted Sunflower Seeds= -Bottle of Sunflower Oil= -Sunflower Seed Bread= -Tomato=Pomodoro -Tomato Soup= -Wooden Bowl=Ciotola di legno -Saucepan=Casseruola -Cooking Pot=Pentola da cottura -Baking Tray=Teglia da forno -Skillet=Padella -Mortar and Pestle=Mortaio e pestello -Cutting Board=Tagliere -Juicer=Spremiagrumi -Glass Mixing Bowl=Terrina di vetro -Vanilla= -Vanilla Extract= -Wheat Seed=Seme di grano -Wheat=Grano -Straw=Paglia -Flour=Farina -Bread=Pane -Sliced Bread=Pane a fette -Toast=Pane tostato -Toast Sandwich=Panino di pane tostato diff --git a/mods/.farming_old/locale/farming.pt.tr b/mods/.farming_old/locale/farming.pt.tr deleted file mode 100644 index 95afd02a..00000000 --- a/mods/.farming_old/locale/farming.pt.tr +++ /dev/null @@ -1,176 +0,0 @@ -# textdomain: farming -Artichoke= -Asparagus= -Barley Seed=Sementes de Cevada -Barley=Cevada -Green Beans=Feijoes Verdes -Bean Pole (place on soil before planting beans)=Apoio de feijao (coloque no solo antes de plantar feijao) -Beetroot= -Beetroot Soup= -Blackberries= -Wild Blueberries=Mirtilos Selvagens -Blueberry Muffin=Muffin de Mirtilos -Blueberry Pie= -Cabbage= -Carrot=Cenoura -Carrot Juice= -Golden Carrot=Cenoura Dourada -Chili Pepper= -Bowl of Chili= -Chili Powder= -Raw Cocoa Beans= -Cocoa Beans=Amendoas de Cacau -Cookie=Cookie -Bar of Dark Chocolate=Barra de Chocolate Preto -Chocolate Block= -Coffee Beans=Grao de Cafe -Cup of Coffee=Xicara de Cafe -Banana= -Banana Leaves= -Orange= -Corn=Milho -Corn on the Cob=Espiga de Milho -Popcorn= -Cornstarch= -Bottle of Ethanol=Garrafa de Etanol -Wild Cotton= -Cotton Seed=Sementes de Algodao -Cotton=Algodao -String= -Cucumber=Pepino -Eggplant= -Glass of Water= -Sugar=Açucar -Sugar Cube= -Caramel= -Salt= -Mayonnaise= -Rose Water= -Turkish Delight= -Garlic Bread= -Donut=Donut -Chocolate Donut=Donut de Chocolate -Apple Donut=Donut de Maça -Porridge= -Jaffa Cake= -Apple Pie= -Cactus Juice= -Pasta= -Mac & Cheese= -Spaghetti= -Bibimbap= -Burger= -Salad= -Triple Berry Smoothie= -Spanish Potatoes= -Potato omelet= -Paella= -Vanilla Flan= -Vegan Cheese= -Onigiri= -Gyoza= -Mochi= -Gingerbread Man= -Garlic clove= -Garlic= -Garlic Braid= -Ginger= -Grapes=Uvas -Trellis (place on soil before planting grapes)=Grade de Ripas (colocar no solo antes de plantar uvas) -Hemp Seed=Sementes de Canhamo -Hemp Leaf=Folha de Canhamo -Bottle of Hemp Oil=Garrafa de Oleo de Canhamo -Hemp Fibre=Fibra de Canhamo -Hemp Block= -Hemp Rope=Corda de Canhamo -Hoe=Enxada -Wooden Hoe=Enxada de Madeira -Stone Hoe=Enxada de Pedra -Steel Hoe=Enxada de Aço -Bronze Hoe=Enxada de Bronze -Mese Hoe=Enxada de Mese -Diamond Hoe=Enxada de Diamante -Wood Hoe= -Hoe Bomb (use or throw on grassy areas to hoe land)= -Mithril Scythe (Use to harvest and replant crops)= -Seed=Sementes -Lettuce= -Melon Slice=Sementes de Melancia -Melon=Melancia -Mint Seeds= -Mint Leaf= -Mint Tea= -Onion= -Onion Soup= -Parsley= -Pea Pod= -Pea Soup= -Peppercorn= -Green Pepper= -Yellow Pepper= -Red Pepper= -Ground Pepper= -Pineapple Top= -Pineapple= -Pineapple Ring= -Pineapple Juice= -Potato=Batata -Baked Potato=Batata Cozida -Cucumber and Potato Salad= -Pumpkin Slice=Pedaço de Abobora -Jack 'O Lantern (punch to turn on and off)=Jack 'O Lantern (Socos para ligar e desligar) -Scarecrow Bottom= -Pumpkin Bread=Pao de Abobora -Pumpkin Dough=Massa de Abobora -Pumpkin=Abobora -Raspberries=Framboesa -Raspberry Smoothie=Batida de Framboesa -Rhubarb=Ruibarbo -Rhubarb Pie=Torta de Ruibarbo -Rice Seed= -Rice= -Rice Bread= -Rice Flour= -Rye seed= -Rye= -Oat seed= -Oats= -Multigrain Flour= -Multigrain Bread= -Savanna Soil= -Wet Savanna Soil= -Soil=Solo -Wet Soil=Solo Seco -Soy Pod= -Soy Sauce= -Soy Milk= -Tofu= -Cooked Tofu= -Spinach= -Strawberry= -Sunflower= -Sunflower Seeds= -Toasted Sunflower Seeds= -Bottle of Sunflower Oil= -Sunflower Seed Bread= -Tomato=Tomate -Tomato Soup= -Wooden Bowl= -Saucepan= -Cooking Pot= -Baking Tray= -Skillet= -Mortar and Pestle= -Cutting Board= -Juicer= -Glass Mixing Bowl= -Vanilla= -Vanilla Extract= -Wheat Seed=Sementes de Trigo -Wheat=Trigo -Straw=Palha -Flour=Farinha -Bread=Pao -Sliced Bread= -Toast= -Toast Sandwich= diff --git a/mods/.farming_old/locale/farming.ru.tr b/mods/.farming_old/locale/farming.ru.tr deleted file mode 100644 index e78e043a..00000000 --- a/mods/.farming_old/locale/farming.ru.tr +++ /dev/null @@ -1,186 +0,0 @@ -# textdomain: farming - Crop=. -Artichoke=Артишок -Asparagus=Спаржа -Barley Seed=Семена ячменя -Barley=Ячмень -Green Beans=Зеленая фасоль -Bean Pole (place on soil before planting beans)=Жердь для бобовых (установите на почву перед посадкой бобовых) -Beetroot=Свекла -Beetroot Soup=Борщ -Blackberry=Ежевика -Blackberries=Ежевика -Wild Blueberries=Голубика -Blueberry=Голубика -Blueberry Muffin=Кекс с голубикой -Blueberry Pie=Пирог с голубикой -Cabbage=Капуста -Carrot=Морковь -Carrot Juice=Морковный сок -Golden Carrot=Золотая морковь -Chili Pepper=Перец чили -Bowl of Chili=Миска чили -Chili Powder=Порошок чили -Raw Cocoa Beans=Сырые какао-бобы -Cocoa Beans=Какао-бобы -Cookie=Печенье -Bar of Dark Chocolate=Плитка темного шоколада -Chocolate Block=Шоколадный блок -Coffee=Кофе -Coffee Beans=Кофейные зерна -Cup of Coffee=Чашка кофе -Banana=Банан -Banana Leaves=Листья банана -Orange=Апельсин -Corn=Кукуруза -Corn on the Cob=Початок кукурузы -Popcorn=Попкорн -Cornstarch=Кукурузный крахмал -Bottle of Ethanol=Бутылка спирта -Wild Cotton=Дикорастущий хлопок -Cotton Seed=Семена хлопка -Cotton=Хлопок -String=Нить -Cucumber=Огурец -Eggplant=Баклажан -Glass of Water=Стакан воды -Sugar=Сахар -Sugar Cube=Кусочек сахара -Caramel=Карамель -Salt=Соль -Mayonnaise=Майонез -Rose Water=Розовая вода -Turkish Delight=Рахат-лукум -Garlic Bread=Чесночный хлеб -Donut=Пончик -Chocolate Donut=Шоколадный пончик -Apple Donut=Яблочный пончик -Porridge=Каша -Jaffa Cake=Яффский пирог -Apple Pie=Яблочный пирог -Cactus Juice=Кактусовый сок -Pasta=Паста -Mac & Cheese=Макароны с сыром -Spaghetti=Спагетти -Bibimbap=Бибимпап -Burger=Бургер -Salad=Салат -Triple Berry Smoothie=Тройной ягодный смузи -Spanish Potatoes=Испанский картофель -Potato omelet=Картофельный омлет -Paella=Паэлья -Vanilla Flan=Ванильный флан -Vegan Cheese=Веганский сыр -Onigiri=Онигири -Gyoza=Гёдза -Mochi=Моти -Gingerbread Man=Пряничный человечек -Garlic clove=Зубчик чеснока -Garlic=Чеснок -Garlic Braid=Связка чеснока -Ginger=Имбирь -Grapes=Виноград -Trellis (place on soil before planting grapes)=Решетка (поставьте на почву перед посадкой винограда) -Hemp=Конопля -Hemp Seed=Семена конопли -Hemp Leaf=Лист конопли -Bottle of Hemp Oil=Бутылка конопляного масла -Hemp Fibre=Конопляное волокно -Hemp Block=Блок конопли -Hemp Rope=Пеньковая веревка -Hoe=Мотыга -Wooden Hoe=Деревянная мотыга -Stone Hoe=Каменная мотыга -Steel Hoe=Стальная мотыга -Bronze Hoe=Бронзовая мотыга -Mese Hoe=Магическая мотыга -Diamond Hoe=Алмазная мотыга -Wood Hoe=Деревянная мотыга -Hoe Bomb (use or throw on grassy areas to hoe land)=Мотыгобомба (используйте или бросьте на траву для ее обработки) -Mithril Scythe (Use to harvest and replant crops)=Мифриловая коса (используется для сбора и пересадки урожая) -Seed=Семена -Lettuce=Латук -Melon Slice=Долька арбуза -Melon=Арбуз -Mint=Мята -Mint Seeds=Семена мяты -Mint Leaf=Лист мяты -Mint Tea=Чай с мятой -Onion=Лук -Onion Soup=Луковый суп -Parsley=Петрушка -Pea=Горох -Pea Pod=Стручок гороха -Pea Soup=Гороховый суп -Pepper=Перец -Peppercorn=Перчинка -Green Pepper=Зеленый перец -Yellow Pepper=Желтый перец -Red Pepper=Красный перец -Ground Pepper=Молотый перец -Pineapple Top=Верхушка ананаса -Pineapple=Ананас -Pineapple Ring=Кольцо ананаса -Pineapple Juice=Ананасовый сок -Potato=Картофель -Baked Potato=Печеный картофель -Cucumber and Potato Salad=Салат из огурцов и картофеля -Pumpkin Slice=Ломтик тыквы -Jack 'O Lantern (punch to turn on and off)=Светильник джека (удар для включения и выключения) -Scarecrow Bottom=Основание пугала -Pumpkin Bread=Тыквенный хлеб -Pumpkin Dough=Тыквенное тесто -Pumpkin=Тыква -Raspberry=Малина -Raspberries=Малина -Raspberry Smoothie=Малиновый смузи -Rhubarb=Ревень -Rhubarb Pie=Пирог с ревенем -Rice Seed=Семена риса -Rice=Рис -Rice Bread=Рисовый хлеб -Rice Flour=Рисовая мука -Rye seed=Зёрна ржи -Rye=Рожь -Oat seed=Семена овса -Oats=Овес -Multigrain Flour=Мультизерновая мука -Multigrain Bread=Мультизерновой хлеб -Savanna Soil=Земля саванны -Wet Savanna Soil=Увлажненная земля саванны -Soil=Земля -Wet Soil=Увлажненная земля -Soy=Соя -Soy Pod=Соевый стручок -Soy Sauce=Соевый соус -Soy Milk=Соевое молоко -Tofu=Тофу -Cooked Tofu=Вареный тофу -Spinach=Шпинат -Strawberry=Земляника -Sunflower=Подсолнечник -Sunflower Seeds=Семена подсолнечника -Toasted Sunflower Seeds=Жаренные семена подсолнечника -Bottle of Sunflower Oil=Бутылка подсолнечного масла -Sunflower Seed Bread=Хлеб из семян подсолнечника -Tomato=Помидор -Tomato Soup=Томатный суп -Wooden Bowl=Деревянная миска -Saucepan=Кастрюля -Cooking Pot=Котел -Baking Tray=Противень -Skillet=Сковорода -Mortar and Pestle=Ступка и пестик -Cutting Board=Разделочная доска -Juicer=Соковыжималка -Glass Mixing Bowl=Стеклянная чаша -Vanilla=Ваниль -Vanilla Extract=Экстракт ванили -Wheat Seed=Зёрна пшеницы -Wheat=Пшеница -Straw=Солома -Flour=Мука -Bread=Хлеб -Sliced Bread=Нарезанный хлеб -Toast=Тост -Toast Sandwich=Сэндвич diff --git a/mods/.farming_old/locale/farming.zh_CN.tr b/mods/.farming_old/locale/farming.zh_CN.tr deleted file mode 100644 index b773d32f..00000000 --- a/mods/.farming_old/locale/farming.zh_CN.tr +++ /dev/null @@ -1,176 +0,0 @@ -# textdomain: farming -Artichoke= -Asparagus= -Barley Seed=大麦种子 -Barley=大麦 -Green Beans=青豆 -Bean Pole (place on soil before planting beans)=豆杆(种豆前先放在土上) -Beetroot=甜菜根 -Beetroot Soup=甜菜根汤 -Blackberries= -Wild Blueberries=蓝莓 -Blueberry Muffin=蓝莓松糕 -Blueberry Pie=蓝莓派 -Cabbage= -Carrot=胡萝卜 -Carrot Juice=胡萝卜汁 -Golden Carrot=金萝卜 -Chili Pepper=辣椒 -Bowl of Chili=一碗辣椒 -Chili Powder= -Raw Cocoa Beans= -Cocoa Beans=可可豆 -Cookie=曲奇 -Bar of Dark Chocolate=黑巧克力条 -Chocolate Block=巧克力块 -Coffee Beans=咖啡豆 -Cup of Coffee=一杯咖啡 -Banana=香蕉 -Banana Leaves=香蕉叶 -Orange=橙色 -Corn=玉米 -Corn on the Cob=玉米棒 -Popcorn= -Cornstarch=玉米淀粉 -Bottle of Ethanol=一瓶乙醇 -Wild Cotton= -Cotton Seed=棉籽 -Cotton=棉花 -String=线 -Cucumber=黄瓜 -Eggplant= -Glass of Water= -Sugar=糖 -Sugar Cube= -Caramel= -Salt=盐 -Mayonnaise= -Rose Water=玫瑰汁 -Turkish Delight=土耳其软糖 -Garlic Bread=蒜香面包 -Donut=甜甜圈 -Chocolate Donut=巧克力甜甜圈 -Apple Donut=苹果甜甜圈 -Porridge=粥 -Jaffa Cake=佳发饼 -Apple Pie= -Cactus Juice= -Pasta= -Mac & Cheese= -Spaghetti= -Bibimbap= -Burger= -Salad= -Triple Berry Smoothie= -Spanish Potatoes= -Potato omelet= -Paella= -Vanilla Flan= -Vegan Cheese= -Onigiri= -Gyoza= -Mochi= -Gingerbread Man= -Garlic clove=蒜瓣 -Garlic=大蒜 -Garlic Braid=蒜辫 -Ginger= -Grapes=葡萄 -Trellis (place on soil before planting grapes)=棚架(种植葡萄前先放在土壤上) -Hemp Seed=大麻籽 -Hemp Leaf=大麻叶 -Bottle of Hemp Oil=一瓶大麻油 -Hemp Fibre=大麻纤维 -Hemp Block=麻块 -Hemp Rope=麻绳 -Hoe=锄头 -Wooden Hoe=木锄 -Stone Hoe=石锄 -Steel Hoe=钢锄头 -Bronze Hoe=青铜锄头 -Mese Hoe=黄石锄头 -Diamond Hoe=钻石锄 -Wood Hoe= -Hoe Bomb (use or throw on grassy areas to hoe land)=锄弹(在草地上使用或扔在锄地上) -Mithril Scythe (Use to harvest and replant crops)= -Seed=种子 -Lettuce= -Melon Slice=西瓜片 -Melon=甜瓜 -Mint Seeds= -Mint Leaf= -Mint Tea= -Onion=洋葱 -Onion Soup= -Parsley= -Pea Pod=豌豆荚 -Pea Soup=豌豆汤 -Peppercorn=胡椒粉 -Green Pepper= -Yellow Pepper= -Red Pepper= -Ground Pepper=胡椒粉 -Pineapple Top=菠萝上衣 -Pineapple=菠萝 -Pineapple Ring=菠萝圈 -Pineapple Juice=菠萝汁 -Potato=土豆 -Baked Potato=焗马铃薯 -Cucumber and Potato Salad=黄瓜土豆沙拉 -Pumpkin Slice=南瓜片 -Jack 'O Lantern (punch to turn on and off)=杰克灯(按一下开关) -Scarecrow Bottom=稻草人屁股 -Pumpkin Bread=南瓜面包 -Pumpkin Dough=南瓜面团 -Pumpkin=南瓜 -Raspberries=覆盆子 -Raspberry Smoothie=覆盆子冰沙 -Rhubarb=大黄 -Rhubarb Pie=大黄派 -Rice Seed= -Rice=大米 -Rice Bread=米饭面包 -Rice Flour=米粉 -Rye seed=黑麦种子 -Rye=黑麦 -Oat seed=燕麦籽 -Oats= -Multigrain Flour=多粒面粉 -Multigrain Bread=杂粮面包 -Savanna Soil= -Wet Savanna Soil= -Soil=土壤 -Wet Soil=湿土 -Soy Pod= -Soy Sauce= -Soy Milk= -Tofu= -Cooked Tofu= -Spinach= -Strawberry=草莓 -Sunflower= -Sunflower Seeds= -Toasted Sunflower Seeds= -Bottle of Sunflower Oil= -Sunflower Seed Bread= -Tomato=番茄 -Tomato Soup= -Wooden Bowl=木碗 -Saucepan=平底锅 -Cooking Pot=锅 -Baking Tray=烤盘 -Skillet=平底锅 -Mortar and Pestle=研钵 -Cutting Board=砧板 -Juicer=榨汁机 -Glass Mixing Bowl=搅拌杯 -Vanilla= -Vanilla Extract= -Wheat Seed=小麦种子 -Wheat=小麦 -Straw=稻草 -Flour=面粉 -Bread=面包 -Sliced Bread=切片面包 -Toast=烤面包片 -Toast Sandwich=三明治面包 diff --git a/mods/.farming_old/locale/farming.zh_TW.tr b/mods/.farming_old/locale/farming.zh_TW.tr deleted file mode 100644 index 07a874a9..00000000 --- a/mods/.farming_old/locale/farming.zh_TW.tr +++ /dev/null @@ -1,176 +0,0 @@ -# textdomain: farming -Artichoke= -Asparagus= -Barley Seed=大麥種子 -Barley=大麥 -Green Beans=青豆 -Bean Pole (place on soil before planting beans)=豆杆(種豆前先放在土上) -Beetroot=甜菜根 -Beetroot Soup=甜菜根湯 -Blackberries= -Wild Blueberries=藍莓 -Blueberry Muffin=藍莓鬆糕 -Blueberry Pie=藍莓派 -Cabbage= -Carrot=胡蘿蔔 -Carrot Juice=胡蘿蔔汁 -Golden Carrot=金蘿蔔 -Chili Pepper=辣椒 -Bowl of Chili=一碗辣椒 -Chili Powder= -Raw Cocoa Beans= -Cocoa Beans=可可豆 -Cookie=曲奇 -Bar of Dark Chocolate=黑巧克力條 -Chocolate Block=巧克力塊 -Coffee Beans=咖啡豆 -Cup of Coffee=一杯咖啡 -Banana=香蕉 -Banana Leaves=香蕉葉 -Orange=橙色 -Corn=玉米 -Corn on the Cob=玉米棒 -Popcorn= -Cornstarch=玉米澱粉 -Bottle of Ethanol=一瓶乙醇 -Wild Cotton= -Cotton Seed=棉籽 -Cotton=棉花 -String=字符串 -Cucumber=黃瓜 -Eggplant= -Glass of Water= -Sugar=糖 -Sugar Cube= -Caramel= -Salt=鹽 -Mayonnaise= -Rose Water=玫瑰汁 -Turkish Delight=土耳其軟糖 -Garlic Bread=蒜香麵包 -Donut=甜甜圈 -Chocolate Donut=巧克力甜甜圈 -Apple Donut=蘋果甜甜圈 -Porridge=粥 -Jaffa Cake=佳發餅 -Apple Pie= -Cactus Juice= -Pasta= -Mac & Cheese= -Spaghetti= -Bibimbap= -Burger= -Salad= -Triple Berry Smoothie= -Spanish Potatoes= -Potato omelet= -Paella= -Vanilla Flan= -Vegan Cheese= -Onigiri= -Gyoza= -Mochi= -Gingerbread Man= -Garlic clove=蒜瓣 -Garlic=大蒜 -Garlic Braid=蒜辮 -Ginger= -Grapes=葡萄 -Trellis (place on soil before planting grapes)=棚架(種植葡萄前先放在土壤上) -Hemp Seed=大麻籽 -Hemp Leaf=大麻葉 -Bottle of Hemp Oil=一瓶大麻油 -Hemp Fibre=大麻纖維 -Hemp Block=麻塊 -Hemp Rope=麻繩 -Hoe=鋤頭 -Wooden Hoe=木鋤 -Stone Hoe=石鋤 -Steel Hoe=鋼鋤頭 -Bronze Hoe=青銅鋤頭 -Mese Hoe=黃石鋤頭 -Diamond Hoe=鑽石鋤 -Wood Hoe= -Hoe Bomb (use or throw on grassy areas to hoe land)=鋤彈(在草地上使用或扔在鋤地上) -Mithril Scythe (Use to harvest and replant crops)= -Seed=種子 -Lettuce= -Melon Slice=西瓜片 -Melon=甜瓜 -Mint Seeds= -Mint Leaf= -Mint Tea= -Onion=洋蔥 -Onion Soup= -Parsley= -Pea Pod=豌豆莢 -Pea Soup=豌豆湯 -Peppercorn=胡椒粉 -Green Pepper= -Yellow Pepper= -Red Pepper= -Ground Pepper=胡椒粉 -Pineapple Top=菠蘿上衣 -Pineapple=菠蘿 -Pineapple Ring=菠蘿圈 -Pineapple Juice=菠蘿汁 -Potato=土豆 -Baked Potato=焗馬鈴薯 -Cucumber and Potato Salad=黃瓜土豆沙拉 -Pumpkin Slice=南瓜片 -Jack 'O Lantern (punch to turn on and off)=南瓜燈(按一下開關) -Scarecrow Bottom=稻草人屁股 -Pumpkin Bread=南瓜麵包 -Pumpkin Dough=南瓜麵糰 -Pumpkin=南瓜 -Raspberries=覆盆子 -Raspberry Smoothie=覆盆子冰沙 -Rhubarb=大黃 -Rhubarb Pie=大黃派 -Rice Seed= -Rice=大米 -Rice Bread=米飯麵包 -Rice Flour=米粉 -Rye seed=黑麥種子 -Rye=黑麥 -Oat seed=燕麥籽 -Oats= -Multigrain Flour=多粒麵粉 -Multigrain Bread=雜糧麵包 -Savanna Soil= -Wet Savanna Soil= -Soil=土壤 -Wet Soil=溼土 -Soy Pod= -Soy Sauce= -Soy Milk= -Tofu= -Cooked Tofu= -Spinach= -Strawberry=草莓 -Sunflower= -Sunflower Seeds= -Toasted Sunflower Seeds= -Bottle of Sunflower Oil= -Sunflower Seed Bread= -Tomato=番茄 -Tomato Soup= -Wooden Bowl=木碗 -Saucepan=平底鍋 -Cooking Pot=鍋 -Baking Tray=烤盤 -Skillet=平底鍋 -Mortar and Pestle=研缽 -Cutting Board=砧板 -Juicer=榨汁機 -Glass Mixing Bowl=攪拌杯 -Vanilla= -Vanilla Extract= -Wheat Seed=小麥種子 -Wheat=小麥 -Straw=稻草 -Flour=麵粉 -Bread=麵包 -Sliced Bread=切片面包 -Toast=烤麵包片 -Toast Sandwich=三明治麵包 diff --git a/mods/.farming_old/lucky_block.lua b/mods/.farming_old/lucky_block.lua deleted file mode 100644 index 5aa5f4c9..00000000 --- a/mods/.farming_old/lucky_block.lua +++ /dev/null @@ -1,109 +0,0 @@ - -local mcl = farming.mcl - --- add lucky blocks - -lucky_block:add_blocks({ - - {"dro", {"farming:corn"}, 5}, - {"dro", {"farming:coffee_cup_hot"}, 1}, - {"dro", {(mcl and "mcl_farming:bread" or "farming:bread")}, 5}, - {"nod", (mcl and "mcl_farming:pumpkin_face_light" or "farming:jackolantern"), 0}, - {"tro", (mcl and "mcl_farming:pumpkin_face_light" or "farming:jackolantern_on")}, - {"nod", (mcl and "mcl_core:water_source" or "default:river_water_source"), 1}, - {"tel"}, - {"dro", {"farming:trellis", "farming:grapes"}, 5}, - {"dro", {"farming:bottle_ethanol"}, 1}, - {"nod", (mcl and "mcl_farming:melon" or "farming:melon"), 0}, - {"dro", {"farming:donut", "farming:donut_chocolate", "farming:donut_apple"}, 5}, - {"dro", {"farming:hemp_leaf", "farming:hemp_fibre", "farming:seed_hemp"}, 10}, - {"nod", (mcl and "mcl_fire:fire" or "fire:permanent_flame"), 1}, - {"dro", {"farming:chili_pepper", "farming:chili_bowl"}, 5}, - {"dro", {(mcl and "mcl_core:bowl" or "farming:bowl")}, 3}, - {"dro", {"farming:saucepan"}, 1}, - {"dro", {"farming:pot"}, 1}, - {"dro", {"farming:baking_tray"}, 1}, - {"dro", {"farming:skillet"}, 1}, - {"exp", 4}, - {"dro", {"farming:mortar_pestle"}, 1}, - {"dro", {"farming:cutting_board"}, 1}, - {"dro", {"farming:juicer"}, 1}, - {"dro", {"farming:mixing_bowl"}, 1}, - {"dro", {"farming:sunflower_oil"}, 5}, - {"dro", {(mcl and "mcl_farming:hoe_stone" or "farming:hoe_bronze")}, 1}, - {"dro", {(mcl and "mcl_farming:hoe_gold" or "farming:hoe_mese")}, 1}, - {"dro", {(mcl and "mcl_farming:hoe_diamond" or "farming:hoe_diamond")}, 1}, - {"dro", {"farming:hoe_bomb"}, 10}, - {"dro", {"farming:turkish_delight"}, 5}, - {"lig"}, - {"dro", {(mcl and "mcl_farming:hoe_netherite" or "farming:scythe_mithril")}, 1}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:carrot_8"}, - {"farming:cotton_8", "farming:rhubarb_3"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:pepper_5"}, - {"farming:cotton_8", "farming:onion_5"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", (mcl and "mcl_farming:beetroot" or "farming:beetroot_5")}, - {"farming:cotton_8", "farming:barley_7"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:corn_8"}, - {"farming:cotton_8", "farming:grapes_8"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:pea_5"}, - {"farming:cotton_8", "farming:coffee_5"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:raspberry_4"}, - {"farming:cotton_8", "farming:tomato_8"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:chili_8"}, - {"farming:cotton_8", "farming:cucumber_4"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"sch", "instafarm", 0, true, { - {"farming:wheat_8", "farming:spinach_4"}, - {"farming:cotton_8", "farming:eggplant_4"}, - {"farming:soil_wet", (mcl and "mcl_farming:soil_wet" or "farming:soil_wet")}, - {"default:dirt", (mcl and "mcl_core:dirt" or "default:dirt")}, - {"default:water_source", (mcl and "mcl_core:water_source" or "default:water_source")}, - }}, - {"nod", "default:chest", 0, { - {name = (mcl and "mcl_farming:wheat_seeds" or "farming:seed_wheat"), max = 15}, - {name = "farming:seed_barley", max = 15}, - {name = "farming:seed_hemp", max = 15}, - {name = "farming:seed_rye", max = 15}, - {name = "farming:seed_rice", max = 15}, - {name = "farming:seed_oat", max = 15}, - {name = "farming:soil_wet", max = 10}, - {name = "farming:cotton_wild", max = 5}, - {name = "farming:grapebush", max = 5}, - {name = "farming:asparagus", max = 7} - }}, - {"dro", {"farming:chili_powder"}, 5} -}) diff --git a/mods/.farming_old/mod.conf b/mods/.farming_old/mod.conf deleted file mode 100644 index bcaba216..00000000 --- a/mods/.farming_old/mod.conf +++ /dev/null @@ -1,4 +0,0 @@ -name = farming -description = Adds many new plants and food into Minetest. -optional_depends = default, flowers, mcl_core, mcl_sounds, mcl_farming, mcl_stairs, mcl_flowers, stairs, lucky_block, toolranks -min_minetest_version = 5.0 diff --git a/mods/.farming_old/screenshot.jpg b/mods/.farming_old/screenshot.jpg deleted file mode 100644 index 3fd5c341..00000000 Binary files a/mods/.farming_old/screenshot.jpg and /dev/null differ diff --git a/mods/.farming_old/settingtypes.txt b/mods/.farming_old/settingtypes.txt deleted file mode 100644 index 7573de9d..00000000 --- a/mods/.farming_old/settingtypes.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Contains a value used for speed of crop growth in seconds -farming_stage_length (Farming Stage Length) float 160.0 - -farming_use_utensils (Use utensil recipes) bool true diff --git a/mods/.farming_old/soil.lua b/mods/.farming_old/soil.lua deleted file mode 100644 index 7572d572..00000000 --- a/mods/.farming_old/soil.lua +++ /dev/null @@ -1,196 +0,0 @@ - -local S = minetest.get_translator("farming") - --- default dry soil node - -local dry_soil = "farming:soil" - --- add soil types to existing dirt blocks - -minetest.override_item("default:dirt", { - soil = { - base = "default:dirt", dry = "farming:soil", wet = "farming:soil_wet" - } -}) - -minetest.override_item("default:dirt_with_grass", { - soil = { - base = "default:dirt_with_grass", dry = "farming:soil", wet = "farming:soil_wet" - } -}) - -if minetest.registered_nodes["default:dirt_with_dry_grass"] then - - minetest.override_item("default:dirt_with_dry_grass", { - soil = { - base = "default:dirt_with_dry_grass", dry = "farming:soil", - wet = "farming:soil_wet" - } - }) -end - -minetest.override_item("default:dirt_with_rainforest_litter", { - soil = { - base = "default:dirt_with_rainforest_litter", dry = "farming:soil", - wet = "farming:soil_wet" - } -}) - -if minetest.registered_nodes["default:dirt_with_coniferous_litter"] then - - minetest.override_item("default:dirt_with_coniferous_litter", { - soil = { - base = "default:dirt_with_coniferous_litter", dry = "farming:soil", - wet = "farming:soil_wet" - } - }) -end - --- savanna soil - -if minetest.registered_nodes["default:dry_dirt"] then - - minetest.override_item("default:dry_dirt", { - soil = { - base = "default:dry_dirt", dry = "farming:dry_soil", - wet = "farming:dry_soil_wet" - } - }) - - minetest.override_item("default:dry_dirt_with_dry_grass", { - soil = { - base = "default:dry_dirt_with_dry_grass", dry = "farming:dry_soil", - wet = "farming:dry_soil_wet" - } - }) - - minetest.register_node("farming:dry_soil", { - description = S("Savanna Soil"), - tiles = { - "default_dry_dirt.png^farming_soil.png", - "default_dry_dirt.png" - }, - drop = "default:dry_dirt", - groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2, grassland = 1, - field = 1}, - is_ground_content = false, - sounds = default.node_sound_dirt_defaults(), - soil = { - base = "default:dry_dirt", dry = "farming:dry_soil", - wet = "farming:dry_soil_wet" - } - }) - - minetest.register_node("farming:dry_soil_wet", { - description = S("Wet Savanna Soil"), - tiles = { - "default_dry_dirt.png^farming_soil_wet.png", - "default_dry_dirt.png^farming_soil_wet_side.png" - }, - drop = "default:dry_dirt", - groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3, grassland = 1, - field = 1}, - is_ground_content = false, - sounds = default.node_sound_dirt_defaults(), - soil = { - base = "default:dry_dirt", dry = "farming:dry_soil", - wet = "farming:dry_soil_wet" - } - }) - - dry_soil = "farming:dry_soil" -end - --- normal soil - -minetest.register_node("farming:soil", { - description = S("Soil"), - tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"}, - drop = "default:dirt", - groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2, grassland = 1, - field = 1}, - is_ground_content = false, - sounds = default.node_sound_dirt_defaults(), - soil = { - base = "default:dirt", dry = "farming:soil", wet = "farming:soil_wet" - } -}) - --- wet soil - -minetest.register_node("farming:soil_wet", { - description = S("Wet Soil"), - tiles = { - "default_dirt.png^farming_soil_wet.png", - "default_dirt.png^farming_soil_wet_side.png" - }, - drop = "default:dirt", - groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 3, grassland = 1, - field = 1}, - is_ground_content = false, - sounds = default.node_sound_dirt_defaults(), - soil = { - base = "default:dirt", dry = "farming:soil", wet = "farming:soil_wet" - } -}) - --- sand is not soil, change existing sand-soil to use dry soil - -minetest.register_alias("farming:desert_sand_soil", dry_soil) -minetest.register_alias("farming:desert_sand_soil_wet", dry_soil .. "_wet") - --- if water near soil then change to wet soil - -minetest.register_abm({ - label = "Soil changes", - nodenames = {"group:field"}, - interval = 15, - chance = 4, - catch_up = false, - - action = function(pos, node) - - local ndef = minetest.registered_nodes[node.name] - if not ndef or not ndef.soil or not ndef.soil.wet - or not ndef.soil.base or not ndef.soil.dry then return end - - pos.y = pos.y + 1 - local nn = minetest.get_node_or_nil(pos) - pos.y = pos.y - 1 - - if nn then nn = nn.name else return end - - -- what's on top of soil, if solid/not plant change soil to dirt - if minetest.registered_nodes[nn] - and minetest.registered_nodes[nn].walkable - and minetest.get_item_group(nn, "plant") == 0 - and minetest.get_item_group(nn, "growing") == 0 then - - minetest.set_node(pos, {name = ndef.soil.base}) - - return - end - - -- check if water is within 3 nodes - if minetest.find_node_near(pos, 3, {"group:water"}) then - - -- only change if it's not already wet soil - if node.name ~= ndef.soil.wet then - minetest.set_node(pos, {name = ndef.soil.wet}) - end - - -- only dry out soil if no unloaded blocks nearby, just incase - elseif not minetest.find_node_near(pos, 3, {"ignore"}) then - - if node.name == ndef.soil.wet then - minetest.set_node(pos, {name = ndef.soil.dry}) - - -- if crop or seed found don't turn to dry soil - elseif node.name == ndef.soil.dry - and minetest.get_item_group(nn, "plant") == 0 - and minetest.get_item_group(nn, "growing") == 0 then - minetest.set_node(pos, {name = ndef.soil.base}) - end - end - end -}) diff --git a/mods/.farming_old/statistics.lua b/mods/.farming_old/statistics.lua deleted file mode 100644 index df12bd96..00000000 --- a/mods/.farming_old/statistics.lua +++ /dev/null @@ -1,163 +0,0 @@ - --- Approximations for erf(x) and erfInv(x) from --- https://en.wikipedia.org/wiki/Error_function - -local statistics = {} -local random, floor, ceil = math.random, math.floor, math.ceil -local exp, log, sqrt = math.exp, math.log, math.sqrt -local ROOT_2 = sqrt(2.0) -local A = 8 * (math.pi - 3.0) / (3.0 * math.pi * (4.0 - math.pi)) -local B = 4.0 / math.pi -local C = 2.0 / (math.pi * A) -local D = 1.0 / A - - -local function erf(x) - - if x == 0 then return 0 end - - local xSq = x * x - local aXSq = A * xSq - local v = sqrt(1.0 - exp(-xSq * (B + aXSq) / (1.0 + aXSq))) - - return (x > 0 and v) or -v -end - - -local function erf_inv(x) - - if x == 0 then return 0 end - - if x <= -1 or x >= 1 then return nil end - - local y = log(1 - x * x) - local u = C + 0.5 * y - local v = sqrt(sqrt(u * u - D * y) - u) - - return (x > 0 and v) or -v -end - - -local function std_normal(u) - return ROOT_2 * erf_inv(2.0 * u - 1.0) -end - - -local function generate_cdf(lambda_index, lambda) - - local max = ceil(4 * lambda) - local pdf = exp(-lambda) - local cdf = pdf - local t = { [0] = pdf } - - for i = 1, max - 1 do - pdf = pdf * lambda / i - cdf = cdf + pdf - t[i] = cdf - end - - return t -end - - -local cdf_table = {} - -for li = 1, 100 do - cdf_table[li] = generate_cdf(li, 0.25 * li) -end - - -local function poisson(lambda, max) - - if max < 2 then - return (random() < exp(-lambda) and 0) or 1 - elseif lambda >= 2 * max then - return max - end - - local u = random() - local lambda_index = floor(4 * lambda + 0.5) - local cdfs = cdf_table[lambda_index] - - if cdfs then - - lambda = 0.25 * lambda_index - - if u < cdfs[0] then return 0 end - if max > #cdfs then max = #cdfs + 1 else max = floor(max) end - if u >= cdfs[max - 1] then return max end - - if max > 4 then -- Binary search - - local s = 0 - - while s + 1 < max do - - local m = floor(0.5 * (s + max)) - - if u < cdfs[m] then max = m else s = m end - end - else - for i = 1, max - 1 do - if u < cdfs[i] then return i end - end - end - - return max - else - local x = lambda + sqrt(lambda) * std_normal(u) - - return (x < 0.5 and 0) or (x >= max - 0.5 and max) or floor(x + 0.5) - end -end - --- Error and Inverse error functions - -statistics.erf = erf -statistics.erf_inv = erf_inv - ---- Standard normal distribution function (mean 0, standard deviation 1). - -- @return - Any real number (actually between -3.0 and 3.0). - -statistics.std_normal = function() - - local u = random() - - if u < 0.001 then return -3.0 elseif u > 0.999 then return 3.0 end - - return std_normal(u) -end - ---- Standard normal distribution function (mean 0, standard deviation 1). - -- @param mu - The distribution mean. - -- @param sigma - The distribution standard deviation. - -- @return - Any real number (actually between -3*sigma and 3*sigma). - -statistics.normal = function(mu, sigma) - - local u = random() - - if u < 0.001 then - return mu - 3.0 * sigma - elseif u > 0.999 then - return mu + 3.0 * sigma - end - - return mu + sigma * std_normal(u) -end - ---- Poisson distribution function. - -- @param lambda - The distribution mean and variance. - -- @param max - The distribution maximum. - -- @return - An integer between 0 and max (both inclusive). - -statistics.poisson = function(lambda, max) - - lambda, max = tonumber(lambda), tonumber(max) - - if not lambda or not max or lambda <= 0 or max < 1 then return 0 end - - return poisson(lambda, max) -end - -return statistics diff --git a/mods/.farming_old/textures/crops_garlic.png b/mods/.farming_old/textures/crops_garlic.png deleted file mode 100644 index 831335f1..00000000 Binary files a/mods/.farming_old/textures/crops_garlic.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_braid.png b/mods/.farming_old/textures/crops_garlic_braid.png deleted file mode 100644 index e776a978..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_braid.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_braid_side.png b/mods/.farming_old/textures/crops_garlic_braid_side.png deleted file mode 100644 index de5286b0..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_braid_side.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_braid_top.png b/mods/.farming_old/textures/crops_garlic_braid_top.png deleted file mode 100644 index 0d3508ad..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_braid_top.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_clove.png b/mods/.farming_old/textures/crops_garlic_clove.png deleted file mode 100644 index 00cf9778..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_clove.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_plant_1.png b/mods/.farming_old/textures/crops_garlic_plant_1.png deleted file mode 100644 index 61eb9a86..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_plant_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_plant_2.png b/mods/.farming_old/textures/crops_garlic_plant_2.png deleted file mode 100644 index 217fd257..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_plant_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_plant_3.png b/mods/.farming_old/textures/crops_garlic_plant_3.png deleted file mode 100644 index 557b017c..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_plant_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_plant_4.png b/mods/.farming_old/textures/crops_garlic_plant_4.png deleted file mode 100644 index 80ef076c..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_plant_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_garlic_plant_5.png b/mods/.farming_old/textures/crops_garlic_plant_5.png deleted file mode 100644 index 8b8c31a4..00000000 Binary files a/mods/.farming_old/textures/crops_garlic_plant_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_onion.png b/mods/.farming_old/textures/crops_onion.png deleted file mode 100644 index 4c778c88..00000000 Binary files a/mods/.farming_old/textures/crops_onion.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_onion_plant_1.png b/mods/.farming_old/textures/crops_onion_plant_1.png deleted file mode 100644 index dea2d4b0..00000000 Binary files a/mods/.farming_old/textures/crops_onion_plant_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_onion_plant_2.png b/mods/.farming_old/textures/crops_onion_plant_2.png deleted file mode 100644 index 1f850f13..00000000 Binary files a/mods/.farming_old/textures/crops_onion_plant_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_onion_plant_3.png b/mods/.farming_old/textures/crops_onion_plant_3.png deleted file mode 100644 index d9af2394..00000000 Binary files a/mods/.farming_old/textures/crops_onion_plant_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_onion_plant_4.png b/mods/.farming_old/textures/crops_onion_plant_4.png deleted file mode 100644 index 962b21ba..00000000 Binary files a/mods/.farming_old/textures/crops_onion_plant_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_onion_plant_5.png b/mods/.farming_old/textures/crops_onion_plant_5.png deleted file mode 100644 index dfb1f7f8..00000000 Binary files a/mods/.farming_old/textures/crops_onion_plant_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper.png b/mods/.farming_old/textures/crops_pepper.png deleted file mode 100644 index bb8f40c3..00000000 Binary files a/mods/.farming_old/textures/crops_pepper.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_ground.png b/mods/.farming_old/textures/crops_pepper_ground.png deleted file mode 100644 index d72405a3..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_ground.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_1.png b/mods/.farming_old/textures/crops_pepper_plant_1.png deleted file mode 100644 index 43ce6ba5..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_2.png b/mods/.farming_old/textures/crops_pepper_plant_2.png deleted file mode 100644 index 556f9523..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_3.png b/mods/.farming_old/textures/crops_pepper_plant_3.png deleted file mode 100644 index 24e92e16..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_4.png b/mods/.farming_old/textures/crops_pepper_plant_4.png deleted file mode 100644 index e33554d2..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_5.png b/mods/.farming_old/textures/crops_pepper_plant_5.png deleted file mode 100644 index c2c92eb6..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_6.png b/mods/.farming_old/textures/crops_pepper_plant_6.png deleted file mode 100644 index f2de13ae..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_plant_7.png b/mods/.farming_old/textures/crops_pepper_plant_7.png deleted file mode 100644 index b94526ba..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_plant_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_red.png b/mods/.farming_old/textures/crops_pepper_red.png deleted file mode 100644 index 26802ec7..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_red.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_pepper_yellow.png b/mods/.farming_old/textures/crops_pepper_yellow.png deleted file mode 100644 index c0273e43..00000000 Binary files a/mods/.farming_old/textures/crops_pepper_yellow.png and /dev/null differ diff --git a/mods/.farming_old/textures/crops_peppercorn.png b/mods/.farming_old/textures/crops_peppercorn.png deleted file mode 100644 index 0ee3c497..00000000 Binary files a/mods/.farming_old/textures/crops_peppercorn.png and /dev/null differ diff --git a/mods/.farming_old/textures/default_junglegrass.png b/mods/.farming_old/textures/default_junglegrass.png deleted file mode 100644 index 5d8cdbca..00000000 Binary files a/mods/.farming_old/textures/default_junglegrass.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_banana_leaf.png b/mods/.farming_old/textures/ethereal_banana_leaf.png deleted file mode 100644 index 45770dac..00000000 Binary files a/mods/.farming_old/textures/ethereal_banana_leaf.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry.png b/mods/.farming_old/textures/ethereal_strawberry.png deleted file mode 100644 index b085fd97..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_1.png b/mods/.farming_old/textures/ethereal_strawberry_1.png deleted file mode 100644 index 531ff350..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_2.png b/mods/.farming_old/textures/ethereal_strawberry_2.png deleted file mode 100644 index 82fa6725..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_3.png b/mods/.farming_old/textures/ethereal_strawberry_3.png deleted file mode 100644 index 950a57cd..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_4.png b/mods/.farming_old/textures/ethereal_strawberry_4.png deleted file mode 100644 index ed090917..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_5.png b/mods/.farming_old/textures/ethereal_strawberry_5.png deleted file mode 100644 index 8e6c0acd..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_6.png b/mods/.farming_old/textures/ethereal_strawberry_6.png deleted file mode 100644 index c9e97664..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_7.png b/mods/.farming_old/textures/ethereal_strawberry_7.png deleted file mode 100644 index e35830d6..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/ethereal_strawberry_8.png b/mods/.farming_old/textures/ethereal_strawberry_8.png deleted file mode 100644 index 10ee97dd..00000000 Binary files a/mods/.farming_old/textures/ethereal_strawberry_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_apple_pie.png b/mods/.farming_old/textures/farming_apple_pie.png deleted file mode 100644 index a6761350..00000000 Binary files a/mods/.farming_old/textures/farming_apple_pie.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_artichoke.png b/mods/.farming_old/textures/farming_artichoke.png deleted file mode 100644 index 74af38b7..00000000 Binary files a/mods/.farming_old/textures/farming_artichoke.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_artichoke_1.png b/mods/.farming_old/textures/farming_artichoke_1.png deleted file mode 100644 index b7f2e020..00000000 Binary files a/mods/.farming_old/textures/farming_artichoke_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_artichoke_2.png b/mods/.farming_old/textures/farming_artichoke_2.png deleted file mode 100644 index 653637e0..00000000 Binary files a/mods/.farming_old/textures/farming_artichoke_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_artichoke_3.png b/mods/.farming_old/textures/farming_artichoke_3.png deleted file mode 100644 index 2d203e90..00000000 Binary files a/mods/.farming_old/textures/farming_artichoke_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_artichoke_4.png b/mods/.farming_old/textures/farming_artichoke_4.png deleted file mode 100644 index 9a44e928..00000000 Binary files a/mods/.farming_old/textures/farming_artichoke_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_artichoke_5.png b/mods/.farming_old/textures/farming_artichoke_5.png deleted file mode 100644 index dac25ddf..00000000 Binary files a/mods/.farming_old/textures/farming_artichoke_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_asparagus.png b/mods/.farming_old/textures/farming_asparagus.png deleted file mode 100644 index 4dbc1ecb..00000000 Binary files a/mods/.farming_old/textures/farming_asparagus.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_asparagus_1.png b/mods/.farming_old/textures/farming_asparagus_1.png deleted file mode 100644 index 87444d1b..00000000 Binary files a/mods/.farming_old/textures/farming_asparagus_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_asparagus_2.png b/mods/.farming_old/textures/farming_asparagus_2.png deleted file mode 100644 index cb8c6b4b..00000000 Binary files a/mods/.farming_old/textures/farming_asparagus_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_asparagus_3.png b/mods/.farming_old/textures/farming_asparagus_3.png deleted file mode 100644 index 904fb25f..00000000 Binary files a/mods/.farming_old/textures/farming_asparagus_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_asparagus_4.png b/mods/.farming_old/textures/farming_asparagus_4.png deleted file mode 100644 index 13c02ca5..00000000 Binary files a/mods/.farming_old/textures/farming_asparagus_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_asparagus_5.png b/mods/.farming_old/textures/farming_asparagus_5.png deleted file mode 100644 index 1ed183e0..00000000 Binary files a/mods/.farming_old/textures/farming_asparagus_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_baked_potato.png b/mods/.farming_old/textures/farming_baked_potato.png deleted file mode 100644 index 425c4ae3..00000000 Binary files a/mods/.farming_old/textures/farming_baked_potato.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_baking_tray.png b/mods/.farming_old/textures/farming_baking_tray.png deleted file mode 100644 index be1711c5..00000000 Binary files a/mods/.farming_old/textures/farming_baking_tray.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_banana_single.png b/mods/.farming_old/textures/farming_banana_single.png deleted file mode 100644 index b15ed2fa..00000000 Binary files a/mods/.farming_old/textures/farming_banana_single.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley.png b/mods/.farming_old/textures/farming_barley.png deleted file mode 100644 index c6819548..00000000 Binary files a/mods/.farming_old/textures/farming_barley.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_1.png b/mods/.farming_old/textures/farming_barley_1.png deleted file mode 100644 index 177fbdf1..00000000 Binary files a/mods/.farming_old/textures/farming_barley_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_2.png b/mods/.farming_old/textures/farming_barley_2.png deleted file mode 100644 index d5a5936e..00000000 Binary files a/mods/.farming_old/textures/farming_barley_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_3.png b/mods/.farming_old/textures/farming_barley_3.png deleted file mode 100644 index b456f431..00000000 Binary files a/mods/.farming_old/textures/farming_barley_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_4.png b/mods/.farming_old/textures/farming_barley_4.png deleted file mode 100644 index 62905efd..00000000 Binary files a/mods/.farming_old/textures/farming_barley_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_5.png b/mods/.farming_old/textures/farming_barley_5.png deleted file mode 100644 index cc1d66ba..00000000 Binary files a/mods/.farming_old/textures/farming_barley_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_6.png b/mods/.farming_old/textures/farming_barley_6.png deleted file mode 100644 index e72dd2e5..00000000 Binary files a/mods/.farming_old/textures/farming_barley_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_7.png b/mods/.farming_old/textures/farming_barley_7.png deleted file mode 100644 index a37c5173..00000000 Binary files a/mods/.farming_old/textures/farming_barley_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_8.png b/mods/.farming_old/textures/farming_barley_8.png deleted file mode 100644 index a2a07653..00000000 Binary files a/mods/.farming_old/textures/farming_barley_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_barley_seed.png b/mods/.farming_old/textures/farming_barley_seed.png deleted file mode 100644 index 2f00a20a..00000000 Binary files a/mods/.farming_old/textures/farming_barley_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanbush.png b/mods/.farming_old/textures/farming_beanbush.png deleted file mode 100644 index 637e7162..00000000 Binary files a/mods/.farming_old/textures/farming_beanbush.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanpole.png b/mods/.farming_old/textures/farming_beanpole.png deleted file mode 100644 index ed07572e..00000000 Binary files a/mods/.farming_old/textures/farming_beanpole.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanpole_1.png b/mods/.farming_old/textures/farming_beanpole_1.png deleted file mode 100644 index ef2bd5ab..00000000 Binary files a/mods/.farming_old/textures/farming_beanpole_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanpole_2.png b/mods/.farming_old/textures/farming_beanpole_2.png deleted file mode 100644 index 34143e47..00000000 Binary files a/mods/.farming_old/textures/farming_beanpole_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanpole_3.png b/mods/.farming_old/textures/farming_beanpole_3.png deleted file mode 100644 index d693f170..00000000 Binary files a/mods/.farming_old/textures/farming_beanpole_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanpole_4.png b/mods/.farming_old/textures/farming_beanpole_4.png deleted file mode 100644 index c779b254..00000000 Binary files a/mods/.farming_old/textures/farming_beanpole_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beanpole_5.png b/mods/.farming_old/textures/farming_beanpole_5.png deleted file mode 100644 index 910f8a07..00000000 Binary files a/mods/.farming_old/textures/farming_beanpole_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beans.png b/mods/.farming_old/textures/farming_beans.png deleted file mode 100644 index ad5cf859..00000000 Binary files a/mods/.farming_old/textures/farming_beans.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot.png b/mods/.farming_old/textures/farming_beetroot.png deleted file mode 100644 index 6a601681..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot_1.png b/mods/.farming_old/textures/farming_beetroot_1.png deleted file mode 100644 index 8b75e10f..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot_2.png b/mods/.farming_old/textures/farming_beetroot_2.png deleted file mode 100644 index 9c1ce1e7..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot_3.png b/mods/.farming_old/textures/farming_beetroot_3.png deleted file mode 100644 index 0f28e5e7..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot_4.png b/mods/.farming_old/textures/farming_beetroot_4.png deleted file mode 100644 index 35f211b0..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot_5.png b/mods/.farming_old/textures/farming_beetroot_5.png deleted file mode 100644 index c4b89572..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_beetroot_soup.png b/mods/.farming_old/textures/farming_beetroot_soup.png deleted file mode 100644 index 4df562e9..00000000 Binary files a/mods/.farming_old/textures/farming_beetroot_soup.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_berry_smoothie.png b/mods/.farming_old/textures/farming_berry_smoothie.png deleted file mode 100644 index 8da2fc55..00000000 Binary files a/mods/.farming_old/textures/farming_berry_smoothie.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_bibimbap.png b/mods/.farming_old/textures/farming_bibimbap.png deleted file mode 100644 index e1a7dfe3..00000000 Binary files a/mods/.farming_old/textures/farming_bibimbap.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blackberry.png b/mods/.farming_old/textures/farming_blackberry.png deleted file mode 100644 index 01d7ac5e..00000000 Binary files a/mods/.farming_old/textures/farming_blackberry.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blackberry_1.png b/mods/.farming_old/textures/farming_blackberry_1.png deleted file mode 100644 index 8dd8832c..00000000 Binary files a/mods/.farming_old/textures/farming_blackberry_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blackberry_2.png b/mods/.farming_old/textures/farming_blackberry_2.png deleted file mode 100644 index 7d3827c8..00000000 Binary files a/mods/.farming_old/textures/farming_blackberry_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blackberry_3.png b/mods/.farming_old/textures/farming_blackberry_3.png deleted file mode 100644 index 7d89aa0c..00000000 Binary files a/mods/.farming_old/textures/farming_blackberry_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blackberry_4.png b/mods/.farming_old/textures/farming_blackberry_4.png deleted file mode 100644 index d9d398d9..00000000 Binary files a/mods/.farming_old/textures/farming_blackberry_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberries.png b/mods/.farming_old/textures/farming_blueberries.png deleted file mode 100644 index b0c49319..00000000 Binary files a/mods/.farming_old/textures/farming_blueberries.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberry_1.png b/mods/.farming_old/textures/farming_blueberry_1.png deleted file mode 100644 index 83832c86..00000000 Binary files a/mods/.farming_old/textures/farming_blueberry_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberry_2.png b/mods/.farming_old/textures/farming_blueberry_2.png deleted file mode 100644 index 308a0caf..00000000 Binary files a/mods/.farming_old/textures/farming_blueberry_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberry_3.png b/mods/.farming_old/textures/farming_blueberry_3.png deleted file mode 100644 index 43d2ab13..00000000 Binary files a/mods/.farming_old/textures/farming_blueberry_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberry_4.png b/mods/.farming_old/textures/farming_blueberry_4.png deleted file mode 100644 index 75fb69a0..00000000 Binary files a/mods/.farming_old/textures/farming_blueberry_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberry_muffin.png b/mods/.farming_old/textures/farming_blueberry_muffin.png deleted file mode 100644 index b1253d70..00000000 Binary files a/mods/.farming_old/textures/farming_blueberry_muffin.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_blueberry_pie.png b/mods/.farming_old/textures/farming_blueberry_pie.png deleted file mode 100644 index 1fa6b1c9..00000000 Binary files a/mods/.farming_old/textures/farming_blueberry_pie.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_bottle_ethanol.png b/mods/.farming_old/textures/farming_bottle_ethanol.png deleted file mode 100644 index 84e6162d..00000000 Binary files a/mods/.farming_old/textures/farming_bottle_ethanol.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_bowl.png b/mods/.farming_old/textures/farming_bowl.png deleted file mode 100644 index c6b69bab..00000000 Binary files a/mods/.farming_old/textures/farming_bowl.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_bread.png b/mods/.farming_old/textures/farming_bread.png deleted file mode 100644 index bd00e3e1..00000000 Binary files a/mods/.farming_old/textures/farming_bread.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_bread_multigrain.png b/mods/.farming_old/textures/farming_bread_multigrain.png deleted file mode 100644 index 66dda074..00000000 Binary files a/mods/.farming_old/textures/farming_bread_multigrain.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_bread_slice.png b/mods/.farming_old/textures/farming_bread_slice.png deleted file mode 100644 index ff2714d1..00000000 Binary files a/mods/.farming_old/textures/farming_bread_slice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_burger.png b/mods/.farming_old/textures/farming_burger.png deleted file mode 100644 index 94e38fcb..00000000 Binary files a/mods/.farming_old/textures/farming_burger.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage.png b/mods/.farming_old/textures/farming_cabbage.png deleted file mode 100644 index 7f4fa05a..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage_1.png b/mods/.farming_old/textures/farming_cabbage_1.png deleted file mode 100644 index 850b0da4..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage_2.png b/mods/.farming_old/textures/farming_cabbage_2.png deleted file mode 100644 index 5ae079fb..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage_3.png b/mods/.farming_old/textures/farming_cabbage_3.png deleted file mode 100644 index 3050229c..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage_4.png b/mods/.farming_old/textures/farming_cabbage_4.png deleted file mode 100644 index 50642746..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage_5.png b/mods/.farming_old/textures/farming_cabbage_5.png deleted file mode 100644 index 45dd7777..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cabbage_6.png b/mods/.farming_old/textures/farming_cabbage_6.png deleted file mode 100644 index 253f8a71..00000000 Binary files a/mods/.farming_old/textures/farming_cabbage_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cactus_juice.png b/mods/.farming_old/textures/farming_cactus_juice.png deleted file mode 100644 index b4fb5b99..00000000 Binary files a/mods/.farming_old/textures/farming_cactus_juice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_caramel.png b/mods/.farming_old/textures/farming_caramel.png deleted file mode 100644 index bc7d1648..00000000 Binary files a/mods/.farming_old/textures/farming_caramel.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot.png b/mods/.farming_old/textures/farming_carrot.png deleted file mode 100644 index 73f2fd47..00000000 Binary files a/mods/.farming_old/textures/farming_carrot.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_1.png b/mods/.farming_old/textures/farming_carrot_1.png deleted file mode 100644 index bbeae7e8..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_2.png b/mods/.farming_old/textures/farming_carrot_2.png deleted file mode 100644 index b24ecc05..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_3.png b/mods/.farming_old/textures/farming_carrot_3.png deleted file mode 100644 index 84005057..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_4.png b/mods/.farming_old/textures/farming_carrot_4.png deleted file mode 100644 index 32ee2624..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_5.png b/mods/.farming_old/textures/farming_carrot_5.png deleted file mode 100644 index 0bcd9c1e..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_6.png b/mods/.farming_old/textures/farming_carrot_6.png deleted file mode 100644 index a17c6b2b..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_7.png b/mods/.farming_old/textures/farming_carrot_7.png deleted file mode 100644 index d26eee7c..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_8.png b/mods/.farming_old/textures/farming_carrot_8.png deleted file mode 100644 index 00b6d928..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_gold.png b/mods/.farming_old/textures/farming_carrot_gold.png deleted file mode 100644 index b817101d..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_gold.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_carrot_juice.png b/mods/.farming_old/textures/farming_carrot_juice.png deleted file mode 100644 index 5a032455..00000000 Binary files a/mods/.farming_old/textures/farming_carrot_juice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cheese_vegan.png b/mods/.farming_old/textures/farming_cheese_vegan.png deleted file mode 100644 index 22c439e3..00000000 Binary files a/mods/.farming_old/textures/farming_cheese_vegan.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_1.png b/mods/.farming_old/textures/farming_chili_1.png deleted file mode 100644 index aa11988d..00000000 Binary files a/mods/.farming_old/textures/farming_chili_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_2.png b/mods/.farming_old/textures/farming_chili_2.png deleted file mode 100644 index ae345063..00000000 Binary files a/mods/.farming_old/textures/farming_chili_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_3.png b/mods/.farming_old/textures/farming_chili_3.png deleted file mode 100644 index 5e1d9015..00000000 Binary files a/mods/.farming_old/textures/farming_chili_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_4.png b/mods/.farming_old/textures/farming_chili_4.png deleted file mode 100644 index d97769b2..00000000 Binary files a/mods/.farming_old/textures/farming_chili_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_5.png b/mods/.farming_old/textures/farming_chili_5.png deleted file mode 100644 index dd4755d9..00000000 Binary files a/mods/.farming_old/textures/farming_chili_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_6.png b/mods/.farming_old/textures/farming_chili_6.png deleted file mode 100644 index 4ee057b1..00000000 Binary files a/mods/.farming_old/textures/farming_chili_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_7.png b/mods/.farming_old/textures/farming_chili_7.png deleted file mode 100644 index 5912c2e1..00000000 Binary files a/mods/.farming_old/textures/farming_chili_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_8.png b/mods/.farming_old/textures/farming_chili_8.png deleted file mode 100644 index 976eb521..00000000 Binary files a/mods/.farming_old/textures/farming_chili_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_bowl.png b/mods/.farming_old/textures/farming_chili_bowl.png deleted file mode 100644 index 6454ba3e..00000000 Binary files a/mods/.farming_old/textures/farming_chili_bowl.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_pepper.png b/mods/.farming_old/textures/farming_chili_pepper.png deleted file mode 100644 index 922cec48..00000000 Binary files a/mods/.farming_old/textures/farming_chili_pepper.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chili_powder.png b/mods/.farming_old/textures/farming_chili_powder.png deleted file mode 100644 index 5c3e31e1..00000000 Binary files a/mods/.farming_old/textures/farming_chili_powder.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chocolate_block.png b/mods/.farming_old/textures/farming_chocolate_block.png deleted file mode 100644 index 20e5a79b..00000000 Binary files a/mods/.farming_old/textures/farming_chocolate_block.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_chocolate_dark.png b/mods/.farming_old/textures/farming_chocolate_dark.png deleted file mode 100644 index 03243b27..00000000 Binary files a/mods/.farming_old/textures/farming_chocolate_dark.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cocoa_1.png b/mods/.farming_old/textures/farming_cocoa_1.png deleted file mode 100644 index 18fd362c..00000000 Binary files a/mods/.farming_old/textures/farming_cocoa_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cocoa_2.png b/mods/.farming_old/textures/farming_cocoa_2.png deleted file mode 100644 index c304ee0e..00000000 Binary files a/mods/.farming_old/textures/farming_cocoa_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cocoa_3.png b/mods/.farming_old/textures/farming_cocoa_3.png deleted file mode 100644 index d66b47d4..00000000 Binary files a/mods/.farming_old/textures/farming_cocoa_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cocoa_4.png b/mods/.farming_old/textures/farming_cocoa_4.png deleted file mode 100644 index 990a8b45..00000000 Binary files a/mods/.farming_old/textures/farming_cocoa_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cocoa_beans.png b/mods/.farming_old/textures/farming_cocoa_beans.png deleted file mode 100644 index 9605e51f..00000000 Binary files a/mods/.farming_old/textures/farming_cocoa_beans.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_1.png b/mods/.farming_old/textures/farming_coffee_1.png deleted file mode 100644 index 48d1b7ff..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_2.png b/mods/.farming_old/textures/farming_coffee_2.png deleted file mode 100644 index e80d7bef..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_3.png b/mods/.farming_old/textures/farming_coffee_3.png deleted file mode 100644 index a057d04c..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_4.png b/mods/.farming_old/textures/farming_coffee_4.png deleted file mode 100644 index 912c5f0d..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_5.png b/mods/.farming_old/textures/farming_coffee_5.png deleted file mode 100644 index 47b11f22..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_beans.png b/mods/.farming_old/textures/farming_coffee_beans.png deleted file mode 100644 index 88e9438c..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_beans.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_coffee_cup.png b/mods/.farming_old/textures/farming_coffee_cup.png deleted file mode 100644 index d3820bc7..00000000 Binary files a/mods/.farming_old/textures/farming_coffee_cup.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cookie.png b/mods/.farming_old/textures/farming_cookie.png deleted file mode 100644 index 60d88f8a..00000000 Binary files a/mods/.farming_old/textures/farming_cookie.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn.png b/mods/.farming_old/textures/farming_corn.png deleted file mode 100644 index 2a2894a4..00000000 Binary files a/mods/.farming_old/textures/farming_corn.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_1.png b/mods/.farming_old/textures/farming_corn_1.png deleted file mode 100644 index 60e8b997..00000000 Binary files a/mods/.farming_old/textures/farming_corn_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_2.png b/mods/.farming_old/textures/farming_corn_2.png deleted file mode 100644 index 6ba6cc97..00000000 Binary files a/mods/.farming_old/textures/farming_corn_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_3.png b/mods/.farming_old/textures/farming_corn_3.png deleted file mode 100644 index c5fa80b1..00000000 Binary files a/mods/.farming_old/textures/farming_corn_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_4.png b/mods/.farming_old/textures/farming_corn_4.png deleted file mode 100644 index a43632dd..00000000 Binary files a/mods/.farming_old/textures/farming_corn_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_5.png b/mods/.farming_old/textures/farming_corn_5.png deleted file mode 100644 index 7b6fb02b..00000000 Binary files a/mods/.farming_old/textures/farming_corn_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_6.png b/mods/.farming_old/textures/farming_corn_6.png deleted file mode 100644 index 313697b9..00000000 Binary files a/mods/.farming_old/textures/farming_corn_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_7.png b/mods/.farming_old/textures/farming_corn_7.png deleted file mode 100644 index 6a937e79..00000000 Binary files a/mods/.farming_old/textures/farming_corn_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_8.png b/mods/.farming_old/textures/farming_corn_8.png deleted file mode 100644 index 77e442b0..00000000 Binary files a/mods/.farming_old/textures/farming_corn_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_corn_cob.png b/mods/.farming_old/textures/farming_corn_cob.png deleted file mode 100644 index a2fd9da7..00000000 Binary files a/mods/.farming_old/textures/farming_corn_cob.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cornstarch.png b/mods/.farming_old/textures/farming_cornstarch.png deleted file mode 100644 index d5f8218f..00000000 Binary files a/mods/.farming_old/textures/farming_cornstarch.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton.png b/mods/.farming_old/textures/farming_cotton.png deleted file mode 100644 index 8aa50e4e..00000000 Binary files a/mods/.farming_old/textures/farming_cotton.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_1.png b/mods/.farming_old/textures/farming_cotton_1.png deleted file mode 100644 index 5fc21807..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_2.png b/mods/.farming_old/textures/farming_cotton_2.png deleted file mode 100644 index db4f4a3e..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_3.png b/mods/.farming_old/textures/farming_cotton_3.png deleted file mode 100644 index df3d7a77..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_4.png b/mods/.farming_old/textures/farming_cotton_4.png deleted file mode 100644 index f314b07b..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_5.png b/mods/.farming_old/textures/farming_cotton_5.png deleted file mode 100644 index 3e890855..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_6.png b/mods/.farming_old/textures/farming_cotton_6.png deleted file mode 100644 index f4bd4fb3..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_7.png b/mods/.farming_old/textures/farming_cotton_7.png deleted file mode 100644 index 466d40a2..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_8.png b/mods/.farming_old/textures/farming_cotton_8.png deleted file mode 100644 index f835ba5b..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_seed.png b/mods/.farming_old/textures/farming_cotton_seed.png deleted file mode 100644 index f1d5b8ab..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cotton_wild.png b/mods/.farming_old/textures/farming_cotton_wild.png deleted file mode 100644 index 0107ad4a..00000000 Binary files a/mods/.farming_old/textures/farming_cotton_wild.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cucumber.png b/mods/.farming_old/textures/farming_cucumber.png deleted file mode 100644 index 2acb7b2f..00000000 Binary files a/mods/.farming_old/textures/farming_cucumber.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cucumber_1.png b/mods/.farming_old/textures/farming_cucumber_1.png deleted file mode 100644 index e008fd12..00000000 Binary files a/mods/.farming_old/textures/farming_cucumber_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cucumber_2.png b/mods/.farming_old/textures/farming_cucumber_2.png deleted file mode 100644 index 9c345ff4..00000000 Binary files a/mods/.farming_old/textures/farming_cucumber_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cucumber_3.png b/mods/.farming_old/textures/farming_cucumber_3.png deleted file mode 100644 index 25f3c54f..00000000 Binary files a/mods/.farming_old/textures/farming_cucumber_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cucumber_4.png b/mods/.farming_old/textures/farming_cucumber_4.png deleted file mode 100644 index fc62f2f4..00000000 Binary files a/mods/.farming_old/textures/farming_cucumber_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_cutting_board.png b/mods/.farming_old/textures/farming_cutting_board.png deleted file mode 100644 index 90b3f9ca..00000000 Binary files a/mods/.farming_old/textures/farming_cutting_board.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_desert_sand_soil.png b/mods/.farming_old/textures/farming_desert_sand_soil.png deleted file mode 100644 index 1450e014..00000000 Binary files a/mods/.farming_old/textures/farming_desert_sand_soil.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_desert_sand_soil_wet.png b/mods/.farming_old/textures/farming_desert_sand_soil_wet.png deleted file mode 100644 index cffa955d..00000000 Binary files a/mods/.farming_old/textures/farming_desert_sand_soil_wet.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_desert_sand_soil_wet_side.png b/mods/.farming_old/textures/farming_desert_sand_soil_wet_side.png deleted file mode 100644 index fbb2815e..00000000 Binary files a/mods/.farming_old/textures/farming_desert_sand_soil_wet_side.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_donut.png b/mods/.farming_old/textures/farming_donut.png deleted file mode 100644 index 8985299b..00000000 Binary files a/mods/.farming_old/textures/farming_donut.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_donut_apple.png b/mods/.farming_old/textures/farming_donut_apple.png deleted file mode 100644 index 6dfe63d5..00000000 Binary files a/mods/.farming_old/textures/farming_donut_apple.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_donut_chocolate.png b/mods/.farming_old/textures/farming_donut_chocolate.png deleted file mode 100644 index aa4b93fa..00000000 Binary files a/mods/.farming_old/textures/farming_donut_chocolate.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_eggplant.png b/mods/.farming_old/textures/farming_eggplant.png deleted file mode 100644 index 4315adda..00000000 Binary files a/mods/.farming_old/textures/farming_eggplant.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_eggplant_1.png b/mods/.farming_old/textures/farming_eggplant_1.png deleted file mode 100644 index 7246860d..00000000 Binary files a/mods/.farming_old/textures/farming_eggplant_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_eggplant_2.png b/mods/.farming_old/textures/farming_eggplant_2.png deleted file mode 100644 index bfaf3634..00000000 Binary files a/mods/.farming_old/textures/farming_eggplant_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_eggplant_3.png b/mods/.farming_old/textures/farming_eggplant_3.png deleted file mode 100644 index c812200c..00000000 Binary files a/mods/.farming_old/textures/farming_eggplant_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_eggplant_4.png b/mods/.farming_old/textures/farming_eggplant_4.png deleted file mode 100644 index 7b32b1be..00000000 Binary files a/mods/.farming_old/textures/farming_eggplant_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_flour.png b/mods/.farming_old/textures/farming_flour.png deleted file mode 100644 index b1a97836..00000000 Binary files a/mods/.farming_old/textures/farming_flour.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_flour_multigrain.png b/mods/.farming_old/textures/farming_flour_multigrain.png deleted file mode 100644 index 5367bc58..00000000 Binary files a/mods/.farming_old/textures/farming_flour_multigrain.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_garlic_bread.png b/mods/.farming_old/textures/farming_garlic_bread.png deleted file mode 100644 index b7600041..00000000 Binary files a/mods/.farming_old/textures/farming_garlic_bread.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_ginger.png b/mods/.farming_old/textures/farming_ginger.png deleted file mode 100644 index 22a48b5c..00000000 Binary files a/mods/.farming_old/textures/farming_ginger.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_ginger_1.png b/mods/.farming_old/textures/farming_ginger_1.png deleted file mode 100644 index 84d0d457..00000000 Binary files a/mods/.farming_old/textures/farming_ginger_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_ginger_2.png b/mods/.farming_old/textures/farming_ginger_2.png deleted file mode 100644 index c472d20c..00000000 Binary files a/mods/.farming_old/textures/farming_ginger_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_ginger_3.png b/mods/.farming_old/textures/farming_ginger_3.png deleted file mode 100644 index 96f75d75..00000000 Binary files a/mods/.farming_old/textures/farming_ginger_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_ginger_4.png b/mods/.farming_old/textures/farming_ginger_4.png deleted file mode 100644 index 32f6de5b..00000000 Binary files a/mods/.farming_old/textures/farming_ginger_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_gingerbread_man.png b/mods/.farming_old/textures/farming_gingerbread_man.png deleted file mode 100644 index f037ae20..00000000 Binary files a/mods/.farming_old/textures/farming_gingerbread_man.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapebush.png b/mods/.farming_old/textures/farming_grapebush.png deleted file mode 100644 index c2e66205..00000000 Binary files a/mods/.farming_old/textures/farming_grapebush.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes.png b/mods/.farming_old/textures/farming_grapes.png deleted file mode 100644 index f6396e21..00000000 Binary files a/mods/.farming_old/textures/farming_grapes.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_1.png b/mods/.farming_old/textures/farming_grapes_1.png deleted file mode 100644 index 64a935d2..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_2.png b/mods/.farming_old/textures/farming_grapes_2.png deleted file mode 100644 index 6cc2a337..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_3.png b/mods/.farming_old/textures/farming_grapes_3.png deleted file mode 100644 index 66d63109..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_4.png b/mods/.farming_old/textures/farming_grapes_4.png deleted file mode 100644 index 57cdc73f..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_5.png b/mods/.farming_old/textures/farming_grapes_5.png deleted file mode 100644 index aad41f41..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_6.png b/mods/.farming_old/textures/farming_grapes_6.png deleted file mode 100644 index 2e23a3ca..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_7.png b/mods/.farming_old/textures/farming_grapes_7.png deleted file mode 100644 index 9e70b6d5..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_grapes_8.png b/mods/.farming_old/textures/farming_grapes_8.png deleted file mode 100644 index 5093a066..00000000 Binary files a/mods/.farming_old/textures/farming_grapes_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_gyoza.png b/mods/.farming_old/textures/farming_gyoza.png deleted file mode 100644 index c8f036f0..00000000 Binary files a/mods/.farming_old/textures/farming_gyoza.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_1.png b/mods/.farming_old/textures/farming_hemp_1.png deleted file mode 100644 index 6fb45108..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_2.png b/mods/.farming_old/textures/farming_hemp_2.png deleted file mode 100644 index a676173c..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_3.png b/mods/.farming_old/textures/farming_hemp_3.png deleted file mode 100644 index 57136d50..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_4.png b/mods/.farming_old/textures/farming_hemp_4.png deleted file mode 100644 index b375cf3d..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_5.png b/mods/.farming_old/textures/farming_hemp_5.png deleted file mode 100644 index 890a3d28..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_6.png b/mods/.farming_old/textures/farming_hemp_6.png deleted file mode 100644 index 258d4e38..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_7.png b/mods/.farming_old/textures/farming_hemp_7.png deleted file mode 100644 index 1ce3a8d1..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_8.png b/mods/.farming_old/textures/farming_hemp_8.png deleted file mode 100644 index 8d2143f3..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_block.png b/mods/.farming_old/textures/farming_hemp_block.png deleted file mode 100644 index 285a2cda..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_block.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_fibre.png b/mods/.farming_old/textures/farming_hemp_fibre.png deleted file mode 100644 index fe3c9187..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_fibre.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_leaf.png b/mods/.farming_old/textures/farming_hemp_leaf.png deleted file mode 100644 index 997c8f0c..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_leaf.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_oil.png b/mods/.farming_old/textures/farming_hemp_oil.png deleted file mode 100644 index fa8afe26..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_oil.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_rope.png b/mods/.farming_old/textures/farming_hemp_rope.png deleted file mode 100644 index 03a7082f..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_rope.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hemp_seed.png b/mods/.farming_old/textures/farming_hemp_seed.png deleted file mode 100644 index 6be42c86..00000000 Binary files a/mods/.farming_old/textures/farming_hemp_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_hoe_bomb.png b/mods/.farming_old/textures/farming_hoe_bomb.png deleted file mode 100644 index e8db9b18..00000000 Binary files a/mods/.farming_old/textures/farming_hoe_bomb.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_jaffa_cake.png b/mods/.farming_old/textures/farming_jaffa_cake.png deleted file mode 100644 index 87cc0036..00000000 Binary files a/mods/.farming_old/textures/farming_jaffa_cake.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_jerusalem_artichokes.png b/mods/.farming_old/textures/farming_jerusalem_artichokes.png deleted file mode 100644 index db87dbc5..00000000 Binary files a/mods/.farming_old/textures/farming_jerusalem_artichokes.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_juicer.png b/mods/.farming_old/textures/farming_juicer.png deleted file mode 100644 index 46265e4b..00000000 Binary files a/mods/.farming_old/textures/farming_juicer.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_lettuce.png b/mods/.farming_old/textures/farming_lettuce.png deleted file mode 100644 index 3f29fbe4..00000000 Binary files a/mods/.farming_old/textures/farming_lettuce.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_lettuce_1.png b/mods/.farming_old/textures/farming_lettuce_1.png deleted file mode 100644 index 39ce9830..00000000 Binary files a/mods/.farming_old/textures/farming_lettuce_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_lettuce_2.png b/mods/.farming_old/textures/farming_lettuce_2.png deleted file mode 100644 index 0e4ab303..00000000 Binary files a/mods/.farming_old/textures/farming_lettuce_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_lettuce_3.png b/mods/.farming_old/textures/farming_lettuce_3.png deleted file mode 100644 index 066833b7..00000000 Binary files a/mods/.farming_old/textures/farming_lettuce_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_lettuce_4.png b/mods/.farming_old/textures/farming_lettuce_4.png deleted file mode 100644 index 847a2de5..00000000 Binary files a/mods/.farming_old/textures/farming_lettuce_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_lettuce_5.png b/mods/.farming_old/textures/farming_lettuce_5.png deleted file mode 100644 index 97651f40..00000000 Binary files a/mods/.farming_old/textures/farming_lettuce_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mac_and_cheese.png b/mods/.farming_old/textures/farming_mac_and_cheese.png deleted file mode 100644 index 9ae8b160..00000000 Binary files a/mods/.farming_old/textures/farming_mac_and_cheese.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mayo.png b/mods/.farming_old/textures/farming_mayo.png deleted file mode 100644 index 0178f140..00000000 Binary files a/mods/.farming_old/textures/farming_mayo.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_1.png b/mods/.farming_old/textures/farming_melon_1.png deleted file mode 100644 index f18f6330..00000000 Binary files a/mods/.farming_old/textures/farming_melon_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_2.png b/mods/.farming_old/textures/farming_melon_2.png deleted file mode 100644 index d5d94133..00000000 Binary files a/mods/.farming_old/textures/farming_melon_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_3.png b/mods/.farming_old/textures/farming_melon_3.png deleted file mode 100644 index 07730e97..00000000 Binary files a/mods/.farming_old/textures/farming_melon_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_4.png b/mods/.farming_old/textures/farming_melon_4.png deleted file mode 100644 index 9ff1e2f6..00000000 Binary files a/mods/.farming_old/textures/farming_melon_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_5.png b/mods/.farming_old/textures/farming_melon_5.png deleted file mode 100644 index c44afcdd..00000000 Binary files a/mods/.farming_old/textures/farming_melon_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_6.png b/mods/.farming_old/textures/farming_melon_6.png deleted file mode 100644 index f0b9c3db..00000000 Binary files a/mods/.farming_old/textures/farming_melon_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_7.png b/mods/.farming_old/textures/farming_melon_7.png deleted file mode 100644 index 95a3c633..00000000 Binary files a/mods/.farming_old/textures/farming_melon_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_bottom.png b/mods/.farming_old/textures/farming_melon_bottom.png deleted file mode 100644 index 471d6bec..00000000 Binary files a/mods/.farming_old/textures/farming_melon_bottom.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_side.png b/mods/.farming_old/textures/farming_melon_side.png deleted file mode 100644 index 7995ea5d..00000000 Binary files a/mods/.farming_old/textures/farming_melon_side.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_slice.png b/mods/.farming_old/textures/farming_melon_slice.png deleted file mode 100644 index 8ae5dec3..00000000 Binary files a/mods/.farming_old/textures/farming_melon_slice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_melon_top.png b/mods/.farming_old/textures/farming_melon_top.png deleted file mode 100644 index 9309f37d..00000000 Binary files a/mods/.farming_old/textures/farming_melon_top.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_1.png b/mods/.farming_old/textures/farming_mint_1.png deleted file mode 100644 index 1f303aeb..00000000 Binary files a/mods/.farming_old/textures/farming_mint_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_2.png b/mods/.farming_old/textures/farming_mint_2.png deleted file mode 100644 index cdcde54b..00000000 Binary files a/mods/.farming_old/textures/farming_mint_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_3.png b/mods/.farming_old/textures/farming_mint_3.png deleted file mode 100644 index 4bfc43f2..00000000 Binary files a/mods/.farming_old/textures/farming_mint_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_4.png b/mods/.farming_old/textures/farming_mint_4.png deleted file mode 100644 index a71a6e33..00000000 Binary files a/mods/.farming_old/textures/farming_mint_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_leaf.png b/mods/.farming_old/textures/farming_mint_leaf.png deleted file mode 100644 index 9e144673..00000000 Binary files a/mods/.farming_old/textures/farming_mint_leaf.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_seeds.png b/mods/.farming_old/textures/farming_mint_seeds.png deleted file mode 100644 index 2e0a0eae..00000000 Binary files a/mods/.farming_old/textures/farming_mint_seeds.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mint_tea.png b/mods/.farming_old/textures/farming_mint_tea.png deleted file mode 100644 index a4b6440c..00000000 Binary files a/mods/.farming_old/textures/farming_mint_tea.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mixing_bowl.png b/mods/.farming_old/textures/farming_mixing_bowl.png deleted file mode 100644 index e96edf0e..00000000 Binary files a/mods/.farming_old/textures/farming_mixing_bowl.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mochi.png b/mods/.farming_old/textures/farming_mochi.png deleted file mode 100644 index 7b3b2b57..00000000 Binary files a/mods/.farming_old/textures/farming_mochi.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_mortar_pestle.png b/mods/.farming_old/textures/farming_mortar_pestle.png deleted file mode 100644 index abfeb9eb..00000000 Binary files a/mods/.farming_old/textures/farming_mortar_pestle.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat.png b/mods/.farming_old/textures/farming_oat.png deleted file mode 100644 index e8d5c230..00000000 Binary files a/mods/.farming_old/textures/farming_oat.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_1.png b/mods/.farming_old/textures/farming_oat_1.png deleted file mode 100644 index 177fbdf1..00000000 Binary files a/mods/.farming_old/textures/farming_oat_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_2.png b/mods/.farming_old/textures/farming_oat_2.png deleted file mode 100644 index fe051ead..00000000 Binary files a/mods/.farming_old/textures/farming_oat_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_3.png b/mods/.farming_old/textures/farming_oat_3.png deleted file mode 100644 index 5aba1086..00000000 Binary files a/mods/.farming_old/textures/farming_oat_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_4.png b/mods/.farming_old/textures/farming_oat_4.png deleted file mode 100644 index 833b1348..00000000 Binary files a/mods/.farming_old/textures/farming_oat_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_5.png b/mods/.farming_old/textures/farming_oat_5.png deleted file mode 100644 index ec0803be..00000000 Binary files a/mods/.farming_old/textures/farming_oat_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_6.png b/mods/.farming_old/textures/farming_oat_6.png deleted file mode 100644 index 847adc56..00000000 Binary files a/mods/.farming_old/textures/farming_oat_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_7.png b/mods/.farming_old/textures/farming_oat_7.png deleted file mode 100644 index 35528110..00000000 Binary files a/mods/.farming_old/textures/farming_oat_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_8.png b/mods/.farming_old/textures/farming_oat_8.png deleted file mode 100644 index c7a55406..00000000 Binary files a/mods/.farming_old/textures/farming_oat_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_oat_seed.png b/mods/.farming_old/textures/farming_oat_seed.png deleted file mode 100644 index 893c93c0..00000000 Binary files a/mods/.farming_old/textures/farming_oat_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_onigiri.png b/mods/.farming_old/textures/farming_onigiri.png deleted file mode 100644 index e1bf0bc1..00000000 Binary files a/mods/.farming_old/textures/farming_onigiri.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_onion_soup.png b/mods/.farming_old/textures/farming_onion_soup.png deleted file mode 100644 index cd535aec..00000000 Binary files a/mods/.farming_old/textures/farming_onion_soup.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_orange.png b/mods/.farming_old/textures/farming_orange.png deleted file mode 100644 index 8b9ec299..00000000 Binary files a/mods/.farming_old/textures/farming_orange.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_paella.png b/mods/.farming_old/textures/farming_paella.png deleted file mode 100644 index e6bca52a..00000000 Binary files a/mods/.farming_old/textures/farming_paella.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_parsley.png b/mods/.farming_old/textures/farming_parsley.png deleted file mode 100644 index 183ecb75..00000000 Binary files a/mods/.farming_old/textures/farming_parsley.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_parsley_1.png b/mods/.farming_old/textures/farming_parsley_1.png deleted file mode 100644 index 632928c8..00000000 Binary files a/mods/.farming_old/textures/farming_parsley_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_parsley_2.png b/mods/.farming_old/textures/farming_parsley_2.png deleted file mode 100644 index fddbf00b..00000000 Binary files a/mods/.farming_old/textures/farming_parsley_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_parsley_3.png b/mods/.farming_old/textures/farming_parsley_3.png deleted file mode 100644 index e4aacb94..00000000 Binary files a/mods/.farming_old/textures/farming_parsley_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pasta.png b/mods/.farming_old/textures/farming_pasta.png deleted file mode 100644 index af6a48c7..00000000 Binary files a/mods/.farming_old/textures/farming_pasta.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_1.png b/mods/.farming_old/textures/farming_pea_1.png deleted file mode 100644 index aa98af7c..00000000 Binary files a/mods/.farming_old/textures/farming_pea_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_2.png b/mods/.farming_old/textures/farming_pea_2.png deleted file mode 100644 index 3a4ed622..00000000 Binary files a/mods/.farming_old/textures/farming_pea_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_3.png b/mods/.farming_old/textures/farming_pea_3.png deleted file mode 100644 index 5cfd90e3..00000000 Binary files a/mods/.farming_old/textures/farming_pea_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_4.png b/mods/.farming_old/textures/farming_pea_4.png deleted file mode 100644 index b14f301a..00000000 Binary files a/mods/.farming_old/textures/farming_pea_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_5.png b/mods/.farming_old/textures/farming_pea_5.png deleted file mode 100644 index ecd81c37..00000000 Binary files a/mods/.farming_old/textures/farming_pea_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_pod.png b/mods/.farming_old/textures/farming_pea_pod.png deleted file mode 100644 index 1c19c9f6..00000000 Binary files a/mods/.farming_old/textures/farming_pea_pod.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pea_soup.png b/mods/.farming_old/textures/farming_pea_soup.png deleted file mode 100644 index 03753cf6..00000000 Binary files a/mods/.farming_old/textures/farming_pea_soup.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple.png b/mods/.farming_old/textures/farming_pineapple.png deleted file mode 100644 index c2d2ceb1..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_1.png b/mods/.farming_old/textures/farming_pineapple_1.png deleted file mode 100644 index 7daa9176..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_2.png b/mods/.farming_old/textures/farming_pineapple_2.png deleted file mode 100644 index 6fe2a14b..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_3.png b/mods/.farming_old/textures/farming_pineapple_3.png deleted file mode 100644 index e9a625ab..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_4.png b/mods/.farming_old/textures/farming_pineapple_4.png deleted file mode 100644 index 5bc64153..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_5.png b/mods/.farming_old/textures/farming_pineapple_5.png deleted file mode 100644 index ddf2dd56..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_6.png b/mods/.farming_old/textures/farming_pineapple_6.png deleted file mode 100644 index a674df2d..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_7.png b/mods/.farming_old/textures/farming_pineapple_7.png deleted file mode 100644 index 5158af32..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_8.png b/mods/.farming_old/textures/farming_pineapple_8.png deleted file mode 100644 index 006a54ef..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_juice.png b/mods/.farming_old/textures/farming_pineapple_juice.png deleted file mode 100644 index 43a54c70..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_juice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_ring.png b/mods/.farming_old/textures/farming_pineapple_ring.png deleted file mode 100644 index 4cf3feb8..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_ring.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pineapple_top.png b/mods/.farming_old/textures/farming_pineapple_top.png deleted file mode 100644 index 78e3f36a..00000000 Binary files a/mods/.farming_old/textures/farming_pineapple_top.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_popcorn.png b/mods/.farming_old/textures/farming_popcorn.png deleted file mode 100644 index 9aa75807..00000000 Binary files a/mods/.farming_old/textures/farming_popcorn.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_porridge.png b/mods/.farming_old/textures/farming_porridge.png deleted file mode 100644 index e31929be..00000000 Binary files a/mods/.farming_old/textures/farming_porridge.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pot.png b/mods/.farming_old/textures/farming_pot.png deleted file mode 100644 index d28411d2..00000000 Binary files a/mods/.farming_old/textures/farming_pot.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato.png b/mods/.farming_old/textures/farming_potato.png deleted file mode 100644 index 6e91d6ae..00000000 Binary files a/mods/.farming_old/textures/farming_potato.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato_1.png b/mods/.farming_old/textures/farming_potato_1.png deleted file mode 100644 index a9c00409..00000000 Binary files a/mods/.farming_old/textures/farming_potato_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato_2.png b/mods/.farming_old/textures/farming_potato_2.png deleted file mode 100644 index c81830c4..00000000 Binary files a/mods/.farming_old/textures/farming_potato_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato_3.png b/mods/.farming_old/textures/farming_potato_3.png deleted file mode 100644 index a3d79209..00000000 Binary files a/mods/.farming_old/textures/farming_potato_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato_4.png b/mods/.farming_old/textures/farming_potato_4.png deleted file mode 100644 index 405b7e56..00000000 Binary files a/mods/.farming_old/textures/farming_potato_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato_omelet.png b/mods/.farming_old/textures/farming_potato_omelet.png deleted file mode 100644 index aee3cfb5..00000000 Binary files a/mods/.farming_old/textures/farming_potato_omelet.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_potato_salad.png b/mods/.farming_old/textures/farming_potato_salad.png deleted file mode 100644 index ce148bb5..00000000 Binary files a/mods/.farming_old/textures/farming_potato_salad.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_1.png b/mods/.farming_old/textures/farming_pumpkin_1.png deleted file mode 100644 index e5b9a2bf..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_2.png b/mods/.farming_old/textures/farming_pumpkin_2.png deleted file mode 100644 index d977e8c2..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_3.png b/mods/.farming_old/textures/farming_pumpkin_3.png deleted file mode 100644 index 83f81905..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_4.png b/mods/.farming_old/textures/farming_pumpkin_4.png deleted file mode 100644 index 20de004a..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_5.png b/mods/.farming_old/textures/farming_pumpkin_5.png deleted file mode 100644 index 59fa78eb..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_6.png b/mods/.farming_old/textures/farming_pumpkin_6.png deleted file mode 100644 index 6ae543e4..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_7.png b/mods/.farming_old/textures/farming_pumpkin_7.png deleted file mode 100644 index 79190e09..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_8.png b/mods/.farming_old/textures/farming_pumpkin_8.png deleted file mode 100644 index b941442c..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_bottom.png b/mods/.farming_old/textures/farming_pumpkin_bottom.png deleted file mode 100644 index 8c8f56e8..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_bottom.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_bread.png b/mods/.farming_old/textures/farming_pumpkin_bread.png deleted file mode 100644 index 0dfae08f..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_bread.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_dough.png b/mods/.farming_old/textures/farming_pumpkin_dough.png deleted file mode 100644 index 62ea7a65..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_dough.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_face_off.png b/mods/.farming_old/textures/farming_pumpkin_face_off.png deleted file mode 100644 index ed46e833..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_face_off.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_face_on.png b/mods/.farming_old/textures/farming_pumpkin_face_on.png deleted file mode 100644 index 4708c9d6..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_face_on.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_side.png b/mods/.farming_old/textures/farming_pumpkin_side.png deleted file mode 100644 index e29b7320..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_side.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_slice.png b/mods/.farming_old/textures/farming_pumpkin_slice.png deleted file mode 100644 index 1fb659e2..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_slice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_pumpkin_top.png b/mods/.farming_old/textures/farming_pumpkin_top.png deleted file mode 100644 index 6b8e91bb..00000000 Binary files a/mods/.farming_old/textures/farming_pumpkin_top.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_raspberries.png b/mods/.farming_old/textures/farming_raspberries.png deleted file mode 100644 index ab96e1bf..00000000 Binary files a/mods/.farming_old/textures/farming_raspberries.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_raspberry_1.png b/mods/.farming_old/textures/farming_raspberry_1.png deleted file mode 100644 index d1a7ffca..00000000 Binary files a/mods/.farming_old/textures/farming_raspberry_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_raspberry_2.png b/mods/.farming_old/textures/farming_raspberry_2.png deleted file mode 100644 index 308a0caf..00000000 Binary files a/mods/.farming_old/textures/farming_raspberry_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_raspberry_3.png b/mods/.farming_old/textures/farming_raspberry_3.png deleted file mode 100644 index 43d2ab13..00000000 Binary files a/mods/.farming_old/textures/farming_raspberry_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_raspberry_4.png b/mods/.farming_old/textures/farming_raspberry_4.png deleted file mode 100644 index 32da6b9f..00000000 Binary files a/mods/.farming_old/textures/farming_raspberry_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_raspberry_smoothie.png b/mods/.farming_old/textures/farming_raspberry_smoothie.png deleted file mode 100644 index fe178d11..00000000 Binary files a/mods/.farming_old/textures/farming_raspberry_smoothie.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rhubarb.png b/mods/.farming_old/textures/farming_rhubarb.png deleted file mode 100644 index 7d416ab2..00000000 Binary files a/mods/.farming_old/textures/farming_rhubarb.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rhubarb_1.png b/mods/.farming_old/textures/farming_rhubarb_1.png deleted file mode 100644 index 5ebf1160..00000000 Binary files a/mods/.farming_old/textures/farming_rhubarb_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rhubarb_2.png b/mods/.farming_old/textures/farming_rhubarb_2.png deleted file mode 100644 index 01585b1b..00000000 Binary files a/mods/.farming_old/textures/farming_rhubarb_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rhubarb_3.png b/mods/.farming_old/textures/farming_rhubarb_3.png deleted file mode 100644 index 71845c75..00000000 Binary files a/mods/.farming_old/textures/farming_rhubarb_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rhubarb_4.png b/mods/.farming_old/textures/farming_rhubarb_4.png deleted file mode 100644 index b412f7e0..00000000 Binary files a/mods/.farming_old/textures/farming_rhubarb_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rhubarb_pie.png b/mods/.farming_old/textures/farming_rhubarb_pie.png deleted file mode 100644 index d5593260..00000000 Binary files a/mods/.farming_old/textures/farming_rhubarb_pie.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice.png b/mods/.farming_old/textures/farming_rice.png deleted file mode 100644 index 9b42a346..00000000 Binary files a/mods/.farming_old/textures/farming_rice.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_1.png b/mods/.farming_old/textures/farming_rice_1.png deleted file mode 100644 index 715bb2e6..00000000 Binary files a/mods/.farming_old/textures/farming_rice_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_2.png b/mods/.farming_old/textures/farming_rice_2.png deleted file mode 100644 index 2662d42b..00000000 Binary files a/mods/.farming_old/textures/farming_rice_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_3.png b/mods/.farming_old/textures/farming_rice_3.png deleted file mode 100644 index fee87b21..00000000 Binary files a/mods/.farming_old/textures/farming_rice_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_4.png b/mods/.farming_old/textures/farming_rice_4.png deleted file mode 100644 index 97b026f6..00000000 Binary files a/mods/.farming_old/textures/farming_rice_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_5.png b/mods/.farming_old/textures/farming_rice_5.png deleted file mode 100644 index c249851c..00000000 Binary files a/mods/.farming_old/textures/farming_rice_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_6.png b/mods/.farming_old/textures/farming_rice_6.png deleted file mode 100644 index c0e7233a..00000000 Binary files a/mods/.farming_old/textures/farming_rice_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_7.png b/mods/.farming_old/textures/farming_rice_7.png deleted file mode 100644 index 9d251ee2..00000000 Binary files a/mods/.farming_old/textures/farming_rice_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_8.png b/mods/.farming_old/textures/farming_rice_8.png deleted file mode 100644 index 41b37e03..00000000 Binary files a/mods/.farming_old/textures/farming_rice_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_bread.png b/mods/.farming_old/textures/farming_rice_bread.png deleted file mode 100644 index f14f741d..00000000 Binary files a/mods/.farming_old/textures/farming_rice_bread.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_flour.png b/mods/.farming_old/textures/farming_rice_flour.png deleted file mode 100644 index 27221516..00000000 Binary files a/mods/.farming_old/textures/farming_rice_flour.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rice_seed.png b/mods/.farming_old/textures/farming_rice_seed.png deleted file mode 100644 index 8a84f58d..00000000 Binary files a/mods/.farming_old/textures/farming_rice_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rose_water.png b/mods/.farming_old/textures/farming_rose_water.png deleted file mode 100644 index 96e546f2..00000000 Binary files a/mods/.farming_old/textures/farming_rose_water.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye.png b/mods/.farming_old/textures/farming_rye.png deleted file mode 100644 index ebc5b379..00000000 Binary files a/mods/.farming_old/textures/farming_rye.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_1.png b/mods/.farming_old/textures/farming_rye_1.png deleted file mode 100644 index 932b6212..00000000 Binary files a/mods/.farming_old/textures/farming_rye_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_2.png b/mods/.farming_old/textures/farming_rye_2.png deleted file mode 100644 index b6a69b70..00000000 Binary files a/mods/.farming_old/textures/farming_rye_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_3.png b/mods/.farming_old/textures/farming_rye_3.png deleted file mode 100644 index aaa71c2c..00000000 Binary files a/mods/.farming_old/textures/farming_rye_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_4.png b/mods/.farming_old/textures/farming_rye_4.png deleted file mode 100644 index ea1246ef..00000000 Binary files a/mods/.farming_old/textures/farming_rye_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_5.png b/mods/.farming_old/textures/farming_rye_5.png deleted file mode 100644 index b359673c..00000000 Binary files a/mods/.farming_old/textures/farming_rye_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_6.png b/mods/.farming_old/textures/farming_rye_6.png deleted file mode 100644 index 749a2ef8..00000000 Binary files a/mods/.farming_old/textures/farming_rye_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_7.png b/mods/.farming_old/textures/farming_rye_7.png deleted file mode 100644 index fc78198c..00000000 Binary files a/mods/.farming_old/textures/farming_rye_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_8.png b/mods/.farming_old/textures/farming_rye_8.png deleted file mode 100644 index 0b7c33ed..00000000 Binary files a/mods/.farming_old/textures/farming_rye_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_rye_seed.png b/mods/.farming_old/textures/farming_rye_seed.png deleted file mode 100644 index e65ba9b4..00000000 Binary files a/mods/.farming_old/textures/farming_rye_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_salad.png b/mods/.farming_old/textures/farming_salad.png deleted file mode 100644 index febf40f3..00000000 Binary files a/mods/.farming_old/textures/farming_salad.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_salt.png b/mods/.farming_old/textures/farming_salt.png deleted file mode 100644 index 2b23e33f..00000000 Binary files a/mods/.farming_old/textures/farming_salt.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_salt_crystal.png b/mods/.farming_old/textures/farming_salt_crystal.png deleted file mode 100644 index e94ed7b3..00000000 Binary files a/mods/.farming_old/textures/farming_salt_crystal.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_saucepan.png b/mods/.farming_old/textures/farming_saucepan.png deleted file mode 100644 index 2625d45d..00000000 Binary files a/mods/.farming_old/textures/farming_saucepan.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_scythe_mithril.png b/mods/.farming_old/textures/farming_scythe_mithril.png deleted file mode 100644 index 17c89c5a..00000000 Binary files a/mods/.farming_old/textures/farming_scythe_mithril.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_skillet.png b/mods/.farming_old/textures/farming_skillet.png deleted file mode 100644 index 60d26a1e..00000000 Binary files a/mods/.farming_old/textures/farming_skillet.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soil.png b/mods/.farming_old/textures/farming_soil.png deleted file mode 100644 index 5cd3e681..00000000 Binary files a/mods/.farming_old/textures/farming_soil.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soil_wet.png b/mods/.farming_old/textures/farming_soil_wet.png deleted file mode 100644 index 0b4487d8..00000000 Binary files a/mods/.farming_old/textures/farming_soil_wet.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soil_wet_side.png b/mods/.farming_old/textures/farming_soil_wet_side.png deleted file mode 100644 index f0b1bd45..00000000 Binary files a/mods/.farming_old/textures/farming_soil_wet_side.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_1.png b/mods/.farming_old/textures/farming_soy_1.png deleted file mode 100644 index 9a64d873..00000000 Binary files a/mods/.farming_old/textures/farming_soy_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_2.png b/mods/.farming_old/textures/farming_soy_2.png deleted file mode 100644 index e4915941..00000000 Binary files a/mods/.farming_old/textures/farming_soy_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_3.png b/mods/.farming_old/textures/farming_soy_3.png deleted file mode 100644 index e8f39ee5..00000000 Binary files a/mods/.farming_old/textures/farming_soy_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_4.png b/mods/.farming_old/textures/farming_soy_4.png deleted file mode 100644 index 3012c2af..00000000 Binary files a/mods/.farming_old/textures/farming_soy_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_5.png b/mods/.farming_old/textures/farming_soy_5.png deleted file mode 100644 index 63f0ce49..00000000 Binary files a/mods/.farming_old/textures/farming_soy_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_6.png b/mods/.farming_old/textures/farming_soy_6.png deleted file mode 100644 index 581def50..00000000 Binary files a/mods/.farming_old/textures/farming_soy_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_7.png b/mods/.farming_old/textures/farming_soy_7.png deleted file mode 100644 index eb47e325..00000000 Binary files a/mods/.farming_old/textures/farming_soy_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_milk_glass.png b/mods/.farming_old/textures/farming_soy_milk_glass.png deleted file mode 100644 index 95c567dd..00000000 Binary files a/mods/.farming_old/textures/farming_soy_milk_glass.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_pod.png b/mods/.farming_old/textures/farming_soy_pod.png deleted file mode 100644 index eceeec53..00000000 Binary files a/mods/.farming_old/textures/farming_soy_pod.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_soy_sauce.png b/mods/.farming_old/textures/farming_soy_sauce.png deleted file mode 100644 index f32caec4..00000000 Binary files a/mods/.farming_old/textures/farming_soy_sauce.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spaghetti.png b/mods/.farming_old/textures/farming_spaghetti.png deleted file mode 100644 index b18ee439..00000000 Binary files a/mods/.farming_old/textures/farming_spaghetti.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spanish_potatoes.png b/mods/.farming_old/textures/farming_spanish_potatoes.png deleted file mode 100644 index 8571b180..00000000 Binary files a/mods/.farming_old/textures/farming_spanish_potatoes.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spinach.png b/mods/.farming_old/textures/farming_spinach.png deleted file mode 100644 index 2e7d519a..00000000 Binary files a/mods/.farming_old/textures/farming_spinach.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spinach_1.png b/mods/.farming_old/textures/farming_spinach_1.png deleted file mode 100644 index 67c95f86..00000000 Binary files a/mods/.farming_old/textures/farming_spinach_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spinach_2.png b/mods/.farming_old/textures/farming_spinach_2.png deleted file mode 100644 index 52d976db..00000000 Binary files a/mods/.farming_old/textures/farming_spinach_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spinach_3.png b/mods/.farming_old/textures/farming_spinach_3.png deleted file mode 100644 index ef2e85f9..00000000 Binary files a/mods/.farming_old/textures/farming_spinach_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_spinach_4.png b/mods/.farming_old/textures/farming_spinach_4.png deleted file mode 100644 index 9435bc66..00000000 Binary files a/mods/.farming_old/textures/farming_spinach_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_straw.png b/mods/.farming_old/textures/farming_straw.png deleted file mode 100644 index e4277723..00000000 Binary files a/mods/.farming_old/textures/farming_straw.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_strawberry.png b/mods/.farming_old/textures/farming_strawberry.png deleted file mode 100644 index 5b43e6bc..00000000 Binary files a/mods/.farming_old/textures/farming_strawberry.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_string.png b/mods/.farming_old/textures/farming_string.png deleted file mode 100644 index e2bbfd7a..00000000 Binary files a/mods/.farming_old/textures/farming_string.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sugar.png b/mods/.farming_old/textures/farming_sugar.png deleted file mode 100644 index 5cb7fa01..00000000 Binary files a/mods/.farming_old/textures/farming_sugar.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sugar_cube.png b/mods/.farming_old/textures/farming_sugar_cube.png deleted file mode 100644 index 7c9b8352..00000000 Binary files a/mods/.farming_old/textures/farming_sugar_cube.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower.png b/mods/.farming_old/textures/farming_sunflower.png deleted file mode 100644 index 17a91c97..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_1.png b/mods/.farming_old/textures/farming_sunflower_1.png deleted file mode 100644 index 719ec402..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_2.png b/mods/.farming_old/textures/farming_sunflower_2.png deleted file mode 100644 index 4ccfff3b..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_3.png b/mods/.farming_old/textures/farming_sunflower_3.png deleted file mode 100644 index 719b5f17..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_4.png b/mods/.farming_old/textures/farming_sunflower_4.png deleted file mode 100644 index 2b03eb50..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_5.png b/mods/.farming_old/textures/farming_sunflower_5.png deleted file mode 100644 index a9c474ea..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_6.png b/mods/.farming_old/textures/farming_sunflower_6.png deleted file mode 100644 index a2ee8432..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_7.png b/mods/.farming_old/textures/farming_sunflower_7.png deleted file mode 100644 index e3a09860..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_8.png b/mods/.farming_old/textures/farming_sunflower_8.png deleted file mode 100644 index 5d1022f7..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_bread.png b/mods/.farming_old/textures/farming_sunflower_bread.png deleted file mode 100644 index 49938700..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_bread.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_oil.png b/mods/.farming_old/textures/farming_sunflower_oil.png deleted file mode 100644 index 36d139ff..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_oil.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_seeds.png b/mods/.farming_old/textures/farming_sunflower_seeds.png deleted file mode 100644 index fe67a0ce..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_seeds.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_sunflower_seeds_toasted.png b/mods/.farming_old/textures/farming_sunflower_seeds_toasted.png deleted file mode 100644 index 1973e48f..00000000 Binary files a/mods/.farming_old/textures/farming_sunflower_seeds_toasted.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_toast.png b/mods/.farming_old/textures/farming_toast.png deleted file mode 100644 index 8a4524e2..00000000 Binary files a/mods/.farming_old/textures/farming_toast.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_toast_sandwich.png b/mods/.farming_old/textures/farming_toast_sandwich.png deleted file mode 100644 index c60ff5a7..00000000 Binary files a/mods/.farming_old/textures/farming_toast_sandwich.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tofu.png b/mods/.farming_old/textures/farming_tofu.png deleted file mode 100644 index aaa0a2cf..00000000 Binary files a/mods/.farming_old/textures/farming_tofu.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tofu_cooked.png b/mods/.farming_old/textures/farming_tofu_cooked.png deleted file mode 100644 index 23963cec..00000000 Binary files a/mods/.farming_old/textures/farming_tofu_cooked.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato.png b/mods/.farming_old/textures/farming_tomato.png deleted file mode 100644 index 586aa56d..00000000 Binary files a/mods/.farming_old/textures/farming_tomato.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_1.png b/mods/.farming_old/textures/farming_tomato_1.png deleted file mode 100644 index d858e586..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_2.png b/mods/.farming_old/textures/farming_tomato_2.png deleted file mode 100644 index 9d9ed6d0..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_3.png b/mods/.farming_old/textures/farming_tomato_3.png deleted file mode 100644 index fe3dcf0a..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_4.png b/mods/.farming_old/textures/farming_tomato_4.png deleted file mode 100644 index 27c32828..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_5.png b/mods/.farming_old/textures/farming_tomato_5.png deleted file mode 100644 index f369a68f..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_6.png b/mods/.farming_old/textures/farming_tomato_6.png deleted file mode 100644 index 0135cb53..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_7.png b/mods/.farming_old/textures/farming_tomato_7.png deleted file mode 100644 index 4cd85f5f..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_8.png b/mods/.farming_old/textures/farming_tomato_8.png deleted file mode 100644 index 0b490257..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tomato_soup.png b/mods/.farming_old/textures/farming_tomato_soup.png deleted file mode 100644 index d58d53db..00000000 Binary files a/mods/.farming_old/textures/farming_tomato_soup.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tool_bronzehoe.png b/mods/.farming_old/textures/farming_tool_bronzehoe.png deleted file mode 100644 index ef07a80a..00000000 Binary files a/mods/.farming_old/textures/farming_tool_bronzehoe.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tool_diamondhoe.png b/mods/.farming_old/textures/farming_tool_diamondhoe.png deleted file mode 100644 index 093acb82..00000000 Binary files a/mods/.farming_old/textures/farming_tool_diamondhoe.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tool_mesehoe.png b/mods/.farming_old/textures/farming_tool_mesehoe.png deleted file mode 100644 index ffd597a4..00000000 Binary files a/mods/.farming_old/textures/farming_tool_mesehoe.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tool_steelhoe.png b/mods/.farming_old/textures/farming_tool_steelhoe.png deleted file mode 100644 index 893a6958..00000000 Binary files a/mods/.farming_old/textures/farming_tool_steelhoe.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tool_stonehoe.png b/mods/.farming_old/textures/farming_tool_stonehoe.png deleted file mode 100644 index 4f8dade0..00000000 Binary files a/mods/.farming_old/textures/farming_tool_stonehoe.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_tool_woodhoe.png b/mods/.farming_old/textures/farming_tool_woodhoe.png deleted file mode 100644 index 8b20d2dc..00000000 Binary files a/mods/.farming_old/textures/farming_tool_woodhoe.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_trellis.png b/mods/.farming_old/textures/farming_trellis.png deleted file mode 100644 index 855b9326..00000000 Binary files a/mods/.farming_old/textures/farming_trellis.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_turkish_delight.png b/mods/.farming_old/textures/farming_turkish_delight.png deleted file mode 100644 index 198ffc45..00000000 Binary files a/mods/.farming_old/textures/farming_turkish_delight.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla.png b/mods/.farming_old/textures/farming_vanilla.png deleted file mode 100644 index ddcb540e..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_1.png b/mods/.farming_old/textures/farming_vanilla_1.png deleted file mode 100644 index fdd10c04..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_2.png b/mods/.farming_old/textures/farming_vanilla_2.png deleted file mode 100644 index 73ba2ca6..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_3.png b/mods/.farming_old/textures/farming_vanilla_3.png deleted file mode 100644 index 596b9bfa..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_4.png b/mods/.farming_old/textures/farming_vanilla_4.png deleted file mode 100644 index 55858275..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_5.png b/mods/.farming_old/textures/farming_vanilla_5.png deleted file mode 100644 index 7ac3ef73..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_6.png b/mods/.farming_old/textures/farming_vanilla_6.png deleted file mode 100644 index 10a5bfd0..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_7.png b/mods/.farming_old/textures/farming_vanilla_7.png deleted file mode 100644 index f2962ee6..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_8.png b/mods/.farming_old/textures/farming_vanilla_8.png deleted file mode 100644 index 1801a976..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_extract.png b/mods/.farming_old/textures/farming_vanilla_extract.png deleted file mode 100644 index c0668cef..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_extract.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vanilla_flan.png b/mods/.farming_old/textures/farming_vanilla_flan.png deleted file mode 100644 index 10008c4b..00000000 Binary files a/mods/.farming_old/textures/farming_vanilla_flan.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_vegan_butter.png b/mods/.farming_old/textures/farming_vegan_butter.png deleted file mode 100644 index 2e843497..00000000 Binary files a/mods/.farming_old/textures/farming_vegan_butter.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_water_glass.png b/mods/.farming_old/textures/farming_water_glass.png deleted file mode 100644 index 081f8d6e..00000000 Binary files a/mods/.farming_old/textures/farming_water_glass.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat.png b/mods/.farming_old/textures/farming_wheat.png deleted file mode 100644 index 1e0ad3b3..00000000 Binary files a/mods/.farming_old/textures/farming_wheat.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_1.png b/mods/.farming_old/textures/farming_wheat_1.png deleted file mode 100644 index c16ad94b..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_1.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_2.png b/mods/.farming_old/textures/farming_wheat_2.png deleted file mode 100644 index baddb4c5..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_2.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_3.png b/mods/.farming_old/textures/farming_wheat_3.png deleted file mode 100644 index 36ebb192..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_3.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_4.png b/mods/.farming_old/textures/farming_wheat_4.png deleted file mode 100644 index 735ed777..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_4.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_5.png b/mods/.farming_old/textures/farming_wheat_5.png deleted file mode 100644 index f40b5f04..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_5.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_6.png b/mods/.farming_old/textures/farming_wheat_6.png deleted file mode 100644 index e9c78e00..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_6.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_7.png b/mods/.farming_old/textures/farming_wheat_7.png deleted file mode 100644 index cc26ca96..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_7.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_8.png b/mods/.farming_old/textures/farming_wheat_8.png deleted file mode 100644 index d0500934..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_8.png and /dev/null differ diff --git a/mods/.farming_old/textures/farming_wheat_seed.png b/mods/.farming_old/textures/farming_wheat_seed.png deleted file mode 100644 index a9031fba..00000000 Binary files a/mods/.farming_old/textures/farming_wheat_seed.png and /dev/null differ diff --git a/mods/.farming_old/textures/vessels_drinking_cup.png b/mods/.farming_old/textures/vessels_drinking_cup.png deleted file mode 100644 index 2eba2321..00000000 Binary files a/mods/.farming_old/textures/vessels_drinking_cup.png and /dev/null differ diff --git a/mods/asuna/asuna_core/biomes.lua b/mods/asuna/asuna_core/biomes.lua index 61743bd9..e0c4345f 100644 --- a/mods/asuna/asuna_core/biomes.lua +++ b/mods/asuna/asuna_core/biomes.lua @@ -48,8 +48,8 @@ asuna.biomes = { name = "Underground", heat = 50, humidity = 50, - y_min = -10001, - y_max = -31000, + y_min = -31000, + y_max = -5, ---10001 nodes = { "default:stone", 1, "default:stone", 1, diff --git a/mods/caverealms/config.lua b/mods/caverealms/config.lua index fe950a59..ca1185da 100644 --- a/mods/caverealms/config.lua +++ b/mods/caverealms/config.lua @@ -20,7 +20,7 @@ local function setting(stype, name, default) end --generation settings -setting("number", "ymin", -15000) --bottom realm limit +setting("number", "ymin", -15100) --bottom realm limit setting("number", "ymax", -4096) --top realm limit setting("number", "tcave", 0.75) --cave threshold @@ -38,14 +38,14 @@ setting("number", "h_clac", 13) --max height of glow crystal stalactites setting("number", "gemcha", 0.03) --chance of small glow gems setting("number", "mushcha", 0.04) --chance of mushrooms setting("number", "myccha", 0.03) --chance of mycena mushrooms -setting("number", "wormcha", 0.015) --chance of glow worms +setting("number", "wormcha", 0.02) --chance of glow worms setting("number", "giantcha", 0.001) --chance of giant mushrooms setting("number", "icicha", 0.035) --chance of icicles setting("number", "flacha", 0.04) --chance of constant flames --realm limits for Dungeon Masters' Lair setting("number", "dm_top", -13000) --upper limit -setting("number", "dm_bot", -15000) --lower limit +setting("number", "dm_bot", -15100) --lower limit --should DMs spawn in DM Lair? setting("bool", "dm_spawn", true) diff --git a/mods/caverealms/init.lua b/mods/caverealms/init.lua index 8fed13a7..4c11ad58 100644 --- a/mods/caverealms/init.lua +++ b/mods/caverealms/init.lua @@ -22,18 +22,17 @@ minetest.register_on_joinplayer(function(player) end) --]] - --load companion lua files -dofile(modpath.."/config.lua") --configuration file; holds various constants -dofile(modpath.."/crafting.lua") --crafting recipes -dofile(modpath.."/nodes.lua") --node definitions -dofile(modpath.."/functions.lua") --function definitions -dofile(modpath.."/plants.lua") -dofile(modpath.."/hotsprings.lua") +dofile(modpath .. "/config.lua") --configuration file; holds various constants +dofile(modpath .. "/crafting.lua") --crafting recipes +dofile(modpath .. "/nodes.lua") --node definitions +dofile(modpath .. "/functions.lua") --function definitions +dofile(modpath .. "/plants.lua") +dofile(modpath .. "/hotsprings.lua") if minetest.get_modpath("mobs_monster") then if caverealms.config.dm_spawn == true then - dofile(modpath.."/dungeon_master.lua") --special DMs for DM's Lair biome + dofile(modpath .. "/dungeon_master.lua") --special DMs for DM's Lair biome end end @@ -61,30 +60,65 @@ local DM_TOP = caverealms.config.dm_top -- -4000 --level at which Dungeon Master local DM_BOT = caverealms.config.dm_bot -- -5000 --level at which "" ends local DEEP_CAVE = caverealms.config.deep_cave -- -7000 --level at which deep cave biomes take over +-- 3D noise for caves + +local np_cave = { + offset = 0, + scale = 1, + spread = { x = 512, y = 256, z = 512 }, -- squashed 2:1 + seed = 59033, + octaves = 6, + persist = 0.63, +} + +-- 3D noise for wave + +local np_wave = { + offset = 0, + scale = 1, + spread = { x = 256, y = 256, z = 256 }, + seed = -400000000089, + octaves = 3, + persist = 0.67, +} + +-- 2D noise for biome + +local np_biome = { + offset = 0, + scale = 1, + spread = { x = 250, y = 250, z = 250 }, + seed = 9130, + octaves = 3, + persist = 0.5, +} + -- 2D noise for biome local np_biome_evil = { offset = 0, scale = 1, - spread = {x=200, y=200, z=200}, + spread = { x = 200, y = 200, z = 200 }, seed = 9130, octaves = 3, - persist = 0.5 + persist = 0.5, } local np_biome_wonder = { offset = 0, scale = 1, - spread = {x=400, y=400, z=400}, + spread = { x = 400, y = 400, z = 400 }, seed = 8943, octaves = 2, - persist = 0.45 + persist = 0.45, } -- Stuff subterrain = {} +local yblmin = YMIN + BLEND * 1.5 +local yblmax = YMAX - BLEND * 1.5 -- On generated function @@ -102,13 +136,13 @@ minetest.register_on_generated(function(minp, maxp, seed) local x0 = minp.x local y0 = minp.y local z0 = minp.z - + --print ("[caverealms] chunk minp ("..x0.." "..y0.." "..z0..")") --tell people you are generating a chunk - + local vm, emin, emax = minetest.get_mapgen_object("voxelmanip") - local area = VoxelArea:new{MinEdge=emin, MaxEdge=emax} + local area = VoxelArea:new({ MinEdge = emin, MaxEdge = emax }) local data = vm:get_data() - + --grab content IDs local c_air = minetest.get_content_id("air") local c_stone = minetest.get_content_id("default:stone") @@ -116,10 +150,10 @@ minetest.register_on_generated(function(minp, maxp, seed) local c_sandstone = minetest.get_content_id("default:sandstone") local c_obsidian = minetest.get_content_id("default:obsidian") local c_sand = minetest.get_content_id("default:sand") - + local c_water = minetest.get_content_id("default:water_source") local c_lava = minetest.get_content_id("default:lava_source") - local c_ice = minetest.get_content_id("default:ice") + local c_iced = minetest.get_content_id("default:ice") local c_ice = minetest.get_content_id("default:sand") local c_ice = minetest.get_content_id("default:silver_sand") local c_thinice = minetest.get_content_id("caverealms:thin_ice") @@ -149,7 +183,54 @@ minetest.register_on_generated(function(minp, maxp, seed) local c_bflame = minetest.get_content_id("caverealms:constant_flame_blue") local c_firefly = minetest.get_content_id("fireflies:firefly") local c_bluefly = minetest.get_content_id("caverealms:butterfly_blue") - + + -- ethereal + --if minetest.get_modpath("ethereal") then + local c_bluegrass = minetest.get_content_id("ethereal:crystalgrass") + --else + --end + + --too_many_stones + --if minetest.get_modpath("too_many_stones") then + local c_torangecrys = minetest.get_content_id("too_many_stone:crocoite_crystal") + local c_tredcrys = minetest.get_content_id("too_many_stone:eudialite_crystal") + local c_tblackcrys = minetest.get_content_id("too_many_stone:eudialite_crystal") + local c_fakesalt = minetest.get_content_id("too_many_stone:rose_quartz_crystal") + --else + --end + + --everness + --if minetest.get_modpath("everness") then + local c_bluetwist = minetest.get_content_id("everness:twisted_crytal_grass") + local c_icevine = minetest.get_content_id("everness:lumabus_vine_1") + local c_purplevine = minetest.get_content_id("everness:whispering_gourd_vine_1") + local c_icicles_c = minetest.get_content_id("everness:frosted_icicle") + local c_icicles_f = minetest.get_content_id("everness:frosted_icicle_floor") + local c_crystcyan = minetest.get_content_id("everness:crystal_cyan") + local c_crystorange = minetest.get_content_id("everness:crystal_orange") + local c_crystpurple = minetest.get_content_id("everness:crystal_purple") + local c_flamepurple = minetest.get_content_id("everness:flame_permanent_purple") + local c_flameblue = minetest.get_content_id("everness:flame_permanent_blue") + local c_frostedice = minetest.get_content_id("everness:frosted_ice") + local c_mosspurple = minetest.get_content_id("everness:ivis_moss") + local c_bluelant = minetest.get_content_id("everness:blue_vine_lantern") + local c_redlant = minetest.get_content_id("everness:glowing_pillar") + + + --else + --end + + --herbs + --if minetest.get_modpath("herbs") then + --else + --end + + --riesenpilz + -- if minetest.get_modpath("riesenpilz") then + local c_blueglowshroom = minetest.get_content_id("riesenpilz:glowshroom") + --else + --end + -- crystals local c_crystore = minetest.get_content_id("caverealms:glow_ore") local c_emerald = minetest.get_content_id("caverealms:glow_emerald") @@ -164,7 +245,6 @@ minetest.register_on_generated(function(minp, maxp, seed) local c_amethore = minetest.get_content_id("caverealms:glow_amethyst_ore") local c_hotspring = minetest.get_content_id("caverealms:hotspring_water_source") - local stone_nodes = { [c_stone] = 1, [c_desertstone] = 1, @@ -174,7 +254,7 @@ minetest.register_on_generated(function(minp, maxp, seed) [c_desand] = 1, [c_obsidian] = 1, } - + if nil ~= minetest.get_modpath("geology") then stone_nodes[minetest.get_content_id("geology:gneiss")] = 1 stone_nodes[minetest.get_content_id("geology:slate")] = 1 @@ -189,63 +269,57 @@ minetest.register_on_generated(function(minp, maxp, seed) stone_nodes[minetest.get_content_id("geology:schist")] = 1 stone_nodes[minetest.get_content_id("geology:anthracite")] = 1 end - + --mandatory values local sidelen = x1 - x0 + 1 --length of a mapblock - local chulens = {x=sidelen, y=sidelen, z=sidelen} --table of chunk edges - local chulens2D = {x=sidelen, y=sidelen, z=1} - local minposxyz = {x=x0, y=y0, z=z0} --bottom corner - local minposxz = {x=x0, y=z0} --2D bottom corner - - local nvals_biome_e = minetest.get_perlin_map(np_biome_evil, chulens2D):get2dMap_flat({x=x0+150, y=z0+50}) --2D noise for biomes (will be 3D humidity/temp later) - local nvals_biome_w = minetest.get_perlin_map(np_biome_wonder, chulens2D):get2dMap_flat({x=x0+150, y=z0+50}) --2D noise for biomes (will be 3D humidity/temp later) - - + local chulens = { x = sidelen, y = sidelen, z = sidelen } --table of chunk edges + local chulens2D = { x = sidelen, y = sidelen, z = 1 } + local minposxyz = { x = x0, y = y0, z = z0 } --bottom corner + local minposxz = { x = x0, y = z0 } --2D bottom corner + + local nvals_biome_e = minetest.get_perlin_map(np_biome_evil, chulens2D):get2dMap_flat({ x = x0 + 150, y = z0 + 50 }) --2D noise for biomes (will be 3D humidity/temp later) + local nvals_biome_w = + minetest.get_perlin_map(np_biome_wonder, chulens2D):get2dMap_flat({ x = x0 + 150, y = z0 + 50 }) --2D noise for biomes (will be 3D humidity/temp later) + local nixyz = 1 --3D node index local nixz = 1 --2D node index local nixyz2 = 1 --second 3D index for second loop - for z = z0, z1 do -- for each xy plane progressing northwards --increment indices nixyz = nixyz + 1 - --decoration loop for y = y0, y1 do -- for each x row progressing upwards - local is_deep = false if y < DEEP_CAVE then is_deep = true end - local vi = area:index(x0, y, z) for x = x0, x1 do -- for each node do - - local ai = area:index(x,y+1,z) --above index - local bi = area:index(x,y-1,z) --below index - + local ai = area:index(x, y + 1, z) --above index + local bi = area:index(x, y - 1, z) --below index + local mode = 0 -- nothing, 1 = ground, 2 = ceiling - + if data[vi] == c_air then if stone_nodes[data[bi]] ~= nil then --ground mode = 1 - elseif stone_nodes[data[bi]] ~= nil and y < y1 then -- ceiling + elseif stone_nodes[data[ai]] ~= nil and y < y1 then -- ceiling mode = 2 end end - - + if mode > 0 then - local a2i = area:index(x,y+2,z) --above index - + local a2i = area:index(x, y + 2, z) --above index + --determine biome local biome = 0 --preliminary declaration - local n_biome_e = nvals_biome_e[nixz] --make an easier reference to the noise - local n_biome_w = nvals_biome_w[nixz] --make an easier reference to the noise + local n_biome_e = nvals_biome_e[nixz] --make an easier reference to the noise + local n_biome_w = nvals_biome_w[nixz] --make an easier reference to the noise local n_biome = (n_biome_e + n_biome_w) / 2 - + local floor = c_hcobble local floor_depth = 1 local worms = {} @@ -255,35 +329,41 @@ minetest.register_on_generated(function(minp, maxp, seed) local decos = {} local decos2 = {} local deco_mul = 1 - + local wiggle = (math.random() - 0.5) / 20 n_biome_e = n_biome_e + wiggle n_biome_w = n_biome_w + wiggle - - + if n_biome_e < -0.33 then if n_biome_w < -0.33 then -- algae floor = c_algae - worms = {c_worm_green} + worms = { c_worm_green } worm_max_len = 3 - decos = {c_mycena} + decos = { c_mycena } if mode == 1 and data[ai] == c_air and math.random() < 0.03 then data[ai] = c_firefly end elseif n_biome_w < 0.33 then -- moss floor = c_moss - worms = {c_worm_green, c_worm_blue} + worms = { c_worm_green, c_worm_blue } worm_max_len = 3 - decos = {c_mycena} + decos = { c_mycena } deco_mul = 2.0 if mode == 1 and data[ai] == c_air and math.random() < 0.001 then - caverealms:grow_green_mushroom(x,y-1,z, area, data) + caverealms:grow_green_mushroom(x, y - 1, z, area, data) end else -- lichen + if is_deep then --magical lichen deco + worms = { c_crystpurple, c_crystpurple, c_purplevine } + decos = { c_mosspurple, c_flamepurple, c_crystpurple, c_bluetwist } + else -- normal lichen + worms = { c_worm_blue } + decos = { c_mycena, c_fungus, c_fungus } + end floor = c_lichen - worms = {c_worm_blue} + worm_max_len = 3 - decos = {c_mycena, c_fungus, c_fungus} + deco_mul = 3.3 if mode == 1 and data[ai] == c_air and math.random() < 0.003 then data[ai] = c_bluefly @@ -291,44 +371,56 @@ minetest.register_on_generated(function(minp, maxp, seed) end elseif n_biome_e < 0.33 then if n_biome_w < -0.33 then -- desert - if math.random() < 0.05 then floor = c_coalblock elseif math.random() < 0.15 then floor = c_coaldust else - floor = c_desand + if is_deep then + floor = c_hcobble + else + floor = c_desand + end end floor_depth = 2 - - worms = {c_worm_red} + + worms = { c_worm_red } worm_max_len = 1 - decos = {c_flame, c_spike} + decos = { c_flame, c_spike } elseif n_biome_w < 0.33 then -- salt floor = c_salt floor_depth = 2 - worms = {c_icid} + worms = { c_fakesalt } worm_max_len = 1 no_mites = true - - decos = {c_saltgem} - else -- glacial - floor = c_thinice - floor_depth = 2 - worms = {c_icid} - worm_max_len = 1 - - decos = {c_gem} + + decos = { c_saltgem } + else + if is_deep then --magic deep glacial + floor = c_frostedice + floor_depth = 2 + worms = { c_icevine, c_crystcyan, c_crystcyan } + worm_max_len = 1 + + decos = { c_crystcyan, c_blueglowshroom } + else --glacial + floor = c_thinice + floor_depth = 2 + worms = { c_icid } + worm_max_len = 1 + + decos = { c_gem, c_iciu } + end end else if n_biome_w < -0.33 then -- hotspring floor = c_hcobble - worms = {c_icid} + worms = { c_icid } worm_max_len = 1 if mode == 1 and math.random() < 0.005 then - caverealms:spawn_hotspring(x,y,z, area, data, math.random(4) + 2) + caverealms:spawn_hotspring(x, y, z, area, data, math.random(4) + 2) end - decos = {c_fire_vine} + decos = { c_fire_vine } deco_mul = 0.7 elseif n_biome_w < 0.33 then -- dungeon if math.random() < 0.5 then @@ -336,136 +428,222 @@ minetest.register_on_generated(function(minp, maxp, seed) else floor = c_gobsidian2 end - worms = {c_worm_red} + worms = { c_worm_red } worm_max_len = 4 - decos = {c_flame, c_flame, c_fire_vine} + decos = { c_flame, c_flame, c_fire_vine } else -- deep glacial floor = c_ice floor_depth = 3 - worms = {c_icid} + worms = { c_icid } worm_max_len = 1 - - decos = {c_bflame} + + decos = { c_bflame, c_iciu } end end - - - - - - + -- place floor if mode == 1 then --ground - for i = 1,floor_depth do - local ii = area:index(x,y-i,z) + for i = 1, floor_depth do + local ii = area:index(x, y - i, z) if stone_nodes[data[bi]] ~= nil then data[ii] = floor end end - + -- decorations if math.random() < ICICHA * deco_mul and data[bi] ~= c_hotspring then data[vi] = decos[math.random(1, #decos)] end - + -- salt crystals if floor == c_salt and math.random() < SALTCRYCHA then - caverealms:salt_stalagmite(x,y-1,z, area, data) + caverealms:salt_stalagmite(x, y - 1, z, area, data) end - + -- stone stalagmites if math.random() < STAGCHA then - caverealms:stalagmite(x,y,z, area, data) + caverealms:stalagmite(x, y, z, area, data) end - + -- crystal stalagmites if not no_mites and math.random() < CRYSTAL then local ore local cry - - if n_biome_e < 0 then -- non-evil - if n_biome_w < -0.33 then - ore = c_crystore - cry = c_crystal - elseif n_biome_w < 0.33 then + --for randomness - for stalagmites or stalagtites in a different color + + local mode = 1 + if math.random(15) == 1 then --chance 1/15 + mode = 2 + end + if biome == 3 then + if math.random(25) == 1 then --chance 1/25 + mode = 2 + else + mode = 1 + end + end + if biome == 4 or biome == 5 then + if math.random(3) == 1 then --chance 1/3 + mode = 2 + end + end + + if n_biome_e < -0.33 then -- non-evil + if n_biome_w < -0.33 then --algae ore = c_emore cry = c_emerald - else - ore = c_amethore - cry = c_ameth + elseif n_biome_w < 0.33 then --moss + ore = c_emore + cry = c_emerald + else --lichen + if is_deep then --magical lichen + if math.random(10) == 1 then --chance 1/10 for mese + ore = c_meseore + cry = c_mesecry + else + ore = c_amethore + cry = c_ameth + end + else --lichen + ore = c_amethore + cry = c_ameth + end end - elseif n_biome_e < 0.4 then -- moderately evil - if n_biome_w < 0 then + elseif n_biome_e < 0.33 then -- moderately evil + if n_biome_w < -0.33 then --desert / sand + ore = c_citore + cry = c_citrine + if is_deep then --hot cobble + ore = c_rubore + cry = c_ruby + end + elseif n_biome_w < 0.33 then --salt ore = c_meseore cry = c_mesecry else - ore = c_citore - cry = c_citrine + if is_deep then --magic deep glacial + if math.random(3) == 1 then + ore = c_iced + cry = c_thinice + else + ore = c_crystore + cry = c_crystal + end + else --glacial + ore = c_crystore + cry = c_crystal + end end else -- very evil - ore = c_rubore - cry = c_ruby + if n_biome_w < -0.33 then --hotcobble-hotsprings + ore = c_rubore + cry = c_ruby + elseif n_biome_w < 0.33 then --obsidian-dungeon + ore = c_rubore + cry = c_ruby + else --deep_glacial + if math.random(3) == 1 then + ore = c_iced + cry = c_thinice + else + ore = c_crystore + cry = c_crystal + end + end end - + local base = floor - caverealms:crystal_stalagmite(x,y-1,z, area, data, ore, cry, base) + caverealms:crystal_stalagmite(x, y - 1, z, area, data, ore, cry, base) end - - + if n_biome_w > 0.5 and n_biome_e < -0.33 and math.random() < GIANTCHA then --giant mushrooms caverealms:giant_shroom(x, y, z, area, data) end - - elseif mode == 2 then -- place ceiling if math.random() < ICICHA then - local worm = worms[math.random(1,#worms)] + local worm = worms[math.random(1, #worms)] local wdepth = math.random(1, worm_max_len) - for i = 0,wdepth-1 do - local ii = area:index(x,y-i,z) + for i = 0, wdepth - 1 do + local ii = area:index(x, y - i, z) if data[ii] == c_air then data[ii] = worm end end end - - + -- stalactites if not no_tites and math.random() < CRYSTAL then local ore local cry - - if n_biome_e < 0 then -- non-evil - if n_biome_w < -0.33 then - ore = c_crystore - cry = c_crystal - elseif n_biome_w < 0.33 then + + --for randomness - for stalagmites or stalagtites in a different color + local mode = 1 + if math.random(15) == 1 then --chance 1/15 + mode = 2 + end + if biome == 3 then + if math.random(25) == 1 then --chance 1/25 + mode = 2 + else + mode = 1 + end + end + if biome == 4 or biome == 5 then + if math.random(3) == 1 then --chance 1/3 + mode = 2 + end + end + + if n_biome_e < -0.33 then -- non-evil + if n_biome_w < -0.33 then --algae ore = c_emore cry = c_emerald - else - ore = c_amethore - cry = c_ameth + elseif n_biome_w < 0.33 then --moss + ore = c_emore + cry = c_emerald + else --lichen + if is_deep then --magical lichen + ore = c_amethore + cry = c_ameth + else --lichen + ore = c_amethore + cry = c_ameth + end end - elseif n_biome_e < 0.4 then -- moderately evil - if n_biome_w < 0 then - ore = c_meseore - cry = c_mesecry - else + elseif n_biome_e < 0.33 then -- moderately evil + if n_biome_w < -0.33 then --desert / sand ore = c_citore cry = c_citrine + if is_deep then --hot cobble + ore = c_rubore + cry = c_ruby + end + elseif n_biome_w < 0.33 then --salt + ore = c_meseore + cry = c_mesecry + else --glacial + ore = c_crystore + cry = c_crystal end else -- very evil - ore = c_rubore - cry = c_ruby + if n_biome_w < -0.33 then --hotcobble-hotsprings + ore = c_rubore + cry = c_ruby + elseif n_biome_w < 0.33 then --obsidian-dungeon + ore = c_rubore + cry = c_ruby + else --deep_glacial + ore = c_crystore + cry = c_crystal + end end - + local base = c_stone - caverealms:crystal_stalactite(x,y,z, area, data, ore, cry, base) + caverealms:crystal_stalactite(x, y, z, area, data, ore, cry, base) end - end end - + nixyz2 = nixyz2 + 1 nixz = nixz + 1 vi = vi + 1 @@ -478,7 +656,7 @@ minetest.register_on_generated(function(minp, maxp, seed) --send data back to voxelmanip vm:set_data(data) --calc lighting - vm:set_lighting({day=0, night=0}) + vm:set_lighting({ day = 0, night = 0 }) vm:calc_lighting() --write it to world vm:write_to_map(data) diff --git a/mods/cucina_vegana/init.lua b/mods/cucina_vegana/init.lua index 2fea23e4..0feaf091 100644 --- a/mods/cucina_vegana/init.lua +++ b/mods/cucina_vegana/init.lua @@ -24,6 +24,11 @@ cucina_vegana.signs_bot = minetest.get_modpath("signs_bot") cucina_vegana.register_signs_bot = nil cucina_vegana.plant_settings.germ_launch = 0 cucina_vegana.modname = minetest.get_current_modname() +cucina_vegana.sandwiches = minetest.get_modpath("sandwiches") +cucina_vegana.farming = minetest.get_modpath("farming") +cucina_vegana.x_farming = minetest.get_modpath("x_farming") +cucina_vegana.ethereal = minetest.get_modpath("ethereal") + local modpath = minetest.get_modpath(minetest.get_current_modname()) local modname = cucina_vegana.modname diff --git a/mods/cucina_vegana/items.lua b/mods/cucina_vegana/items.lua index 6a3a7378..f8106318 100644 --- a/mods/cucina_vegana/items.lua +++ b/mods/cucina_vegana/items.lua @@ -65,7 +65,7 @@ minetest.register_craftitem("cucina_vegana:pizza_dough", { groups = {food = 1, pizza_dough = 1}, }) -if not(minetest.get_modpath("x_farming")) then +if not(cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:rice_flour", { description = S("Rice Flour"), @@ -88,7 +88,7 @@ if not(minetest.get_modpath("x_farming")) then end -if not(minetest.get_modpath("farming")) then +if not(cucina_vegana.farming) then minetest.register_craftitem("cucina_vegana:sunflower_seeds_dough", { description = S("Sunflower Seeds Dough"), @@ -123,6 +123,8 @@ minetest.register_craftitem("cucina_vegana:imitation_butter", { on_use = minetest.item_eat(2), }) +if not (cucina_vegana.farming) then + minetest.register_craftitem("cucina_vegana:imitation_cheese", { description = S("Imitation Cheese"), groups = {food = 1, food_cheese = 1, food_vegan = 1, eatable = 3}, @@ -130,6 +132,8 @@ minetest.register_craftitem("cucina_vegana:imitation_cheese", { on_use = minetest.item_eat(3), }) +end + minetest.register_craftitem("cucina_vegana:imitation_fish", { description = S("Imitation Fish"), groups = {food = 1, food_fish = 1, food_vegan = 1, eatable = 3, food_fish_raw = 1, fish = 1}, @@ -161,7 +165,7 @@ minetest.register_craftitem("cucina_vegana:asparagus", { on_use = minetest.item_eat(3), }) -if not(minetest.get_modpath("ethereal")) then +if not (cucina_vegana.ethereal) then minetest.register_craftitem("cucina_vegana:banana", { description = S("Banana"), @@ -180,7 +184,7 @@ minetest.register_craftitem("cucina_vegana:chives", { }) -if not(minetest.get_modpath("x_farming")) then +if not (cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:coffee_beans_raw", { description = S("Coffee Beans raw"), @@ -222,7 +226,7 @@ minetest.register_craftitem("cucina_vegana:kohlrabi", { on_use = minetest.item_eat(3), }) -if not(minetest.get_modpath("farming")) then +if not(cucina_vegana.farming) then minetest.register_craftitem("cucina_vegana:lettuce", { description = S("Lettuce"), @@ -240,7 +244,7 @@ if not(minetest.get_modpath("farming")) then end -if not(minetest.get_modpath("sandwiches")) then +if not(cucina_vegana.sandwiches) then minetest.register_craftitem("cucina_vegana:peanut", { description = S("Peanut"), @@ -251,7 +255,7 @@ if not(minetest.get_modpath("sandwiches")) then end -if not(minetest.get_modpath("x_farming")) then +if not(cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:rice", { description = S("Rice"), @@ -268,7 +272,7 @@ minetest.register_craftitem("cucina_vegana:rosemary", { on_use = minetest.item_eat(1), }) -if not(minetest.get_modpath("x_farming")) then +if not(cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:soy", { description = S("Soy Bean"), @@ -278,7 +282,7 @@ if not(minetest.get_modpath("x_farming")) then end -if not(minetest.get_modpath("farming")) then +if not(cucina_vegana.farming) then minetest.register_craftitem("cucina_vegana:sunflower", { description = S("Sunflower"), @@ -302,7 +306,7 @@ if not(minetest.get_modpath("farming")) then end -if not(minetest.get_modpath("x_farming")) then +if not(cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:potato", { description = S("Potato"), @@ -320,7 +324,7 @@ if not(minetest.get_modpath("x_farming")) then end -if not(minetest.get_modpath("farming")) then +if not(cucina_vegana.farming) then minetest.register_craftitem("cucina_vegana:garlic", { description = S("Garlic"), @@ -351,7 +355,7 @@ if not(minetest.get_modpath("farming")) then end -if not(minetest.get_modpath("x_farming")) then +if not(cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:strawberry", { description = S("Strawberry"), @@ -380,7 +384,7 @@ minetest.register_craftitem("cucina_vegana:kohlrabi_roasted", { on_use = minetest.item_eat(4), }) -if not(minetest.get_modpath("farming")) then +if not(cucina_vegana.farming) then minetest.register_craftitem("cucina_vegana:sunflower_seeds_roasted", { description = S("Roasted Sunflower Seeds"), @@ -405,7 +409,7 @@ if not(minetest.get_modpath("farming")) then end -if not(minetest.get_modpath("x_farming")) then +if not(cucina_vegana.x_farming) then minetest.register_craftitem("cucina_vegana:vegan_sushi", { description = S("Vegan Sushi"), diff --git a/mods/cucina_vegana/recipes.lua b/mods/cucina_vegana/recipes.lua index 0d524e5a..4e346036 100644 --- a/mods/cucina_vegana/recipes.lua +++ b/mods/cucina_vegana/recipes.lua @@ -8,387 +8,399 @@ minetest.register_craft({ output = "cucina_vegana:blueberry_pot", - recipe = { {"group:food_sugar", "default:stick", "group:food_sugar"}, - {"cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree"}, - {"", "bucket:bucket_water", ""} - }, - replacements = { - {"default:stick", "default:stick"} - } + recipe = { + { "group:food_sugar", "default:stick", "group:food_sugar" }, + { "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ output = "cucina_vegana:blueberry_pot", - recipe = { {"group:food_sugar", "default:stick", "group:food_sugar"}, - {"cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree"}, - {"", "bucket:bucket_river_water", ""} - }, - replacements = { - {"default:stick", "default:stick"} - } + recipe = { + { "group:food_sugar", "default:stick", "group:food_sugar" }, + { "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ output = "cucina_vegana:blueberry_pot", - recipe = { {"cucina_vegana:molasses", "default:stick", "cucina_vegana:molasses"}, - {"cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree"}, - {"", "bucket:bucket_water", ""} - }, - replacements = { - {"default:stick", "default:stick"}, - {"cucina_vegana:molasses", "vessels:drinking_glass 2"} - } + recipe = { + { "cucina_vegana:molasses", "default:stick", "cucina_vegana:molasses" }, + { "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + { "cucina_vegana:molasses", "vessels:drinking_glass 2" }, + }, }) minetest.register_craft({ output = "cucina_vegana:blueberry_pot", - recipe = { {"cucina_vegana:molasses", "default:stick", "cucina_vegana:molasses"}, - {"cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree"}, - {"", "bucket:bucket_river_water", ""} - }, - replacements = { - {"default:stick", "default:stick"}, - {"cucina_vegana:molasses", "vessels:drinking_glass 2"} - } + recipe = { + { "cucina_vegana:molasses", "default:stick", "cucina_vegana:molasses" }, + { "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree", "cucina_vegana:blueberry_puree" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + { "cucina_vegana:molasses", "vessels:drinking_glass 2" }, + }, }) minetest.register_craft({ output = "cucina_vegana:bowl 5", - recipe = { {"default:glass", "", "default:glass"}, - {"default:glass", "default:glass", "default:glass"}, - } + recipe = { + { "default:glass", "", "default:glass" }, + { "default:glass", "default:glass", "default:glass" }, + }, }) -if not(minetest.get_modpath("farming")) then - -minetest.register_craft({ - output = "cucina_vegana:ciabatta_dough", - recipe = { {"group:food_soy_milk", "cucina_vegana:sunflower_seeds_oil", ""}, - {"group:food_flour", "cucina_vegana:rosemary", ""} - }, - replacements = { - {"group:food_soy_milk", "vessels:drinking_glass"}, - {"cucina_vegana:sunflower_seeds_oil", "vessels:glass_bottle"}, - } -}) - -end - -if (minetest.get_modpath("farming")) then - +if not (cucina_vegana.farming) then minetest.register_craft({ output = "cucina_vegana:ciabatta_dough", - recipe = { {"group:food_soy_milk", "farming:sunflower_oil", ""}, - {"group:food_flour", "cucina_vegana:rosemary", ""} - }, + recipe = { + { "group:food_soy_milk", "cucina_vegana:sunflower_seeds_oil", "" }, + { "group:food_flour", "cucina_vegana:rosemary", "" }, + }, replacements = { - {"group:food_soy_milk", "vessels:drinking_glass"}, - {"farming:sunflower_oil", "vessels:glass_bottle"}, - } + { "group:food_soy_milk", "vessels:drinking_glass" }, + { "cucina_vegana:sunflower_seeds_oil", "vessels:glass_bottle" }, + }, }) - - end +end + +if (cucina_vegana.farming) then + minetest.register_craft({ + output = "cucina_vegana:ciabatta_dough", + recipe = { + { "group:food_soy_milk", "farming:sunflower_oil", "" }, + { "group:food_flour", "cucina_vegana:rosemary", "" }, + }, + replacements = { + { "group:food_soy_milk", "vessels:drinking_glass" }, + { "farming:sunflower_oil", "vessels:glass_bottle" }, + }, + }) +end minetest.register_craft({ output = "cucina_vegana:coffe_cup 4", - recipe = { {"cucina_vegana:coffee_powder", "bucket:bucket_water", "default:paper"}, - {"group:food_milk", "cucina_vegana:coffee_powder", ""} - }, - replacements = { - {"group:food_milk", "vessels:drinking_glass"}, - {"bucket:bucket_water", "bucket:bucket_empty"}, - } + recipe = { + { "cucina_vegana:coffee_powder", "bucket:bucket_water", "default:paper" }, + { "group:food_milk", "cucina_vegana:coffee_powder", "" }, + }, + replacements = { + { "group:food_milk", "vessels:drinking_glass" }, + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "cucina_vegana:coffee_cup 4", - recipe = { {"cucina_vegana:coffee_powder", "bucket:bucket_river_water", "default:paper"}, - {"group:food_milk", "cucina_vegana:coffee_powder", ""} - }, - replacements = { - {"group:food_milk", "vessels:drinking_glass"}, - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - } + recipe = { + { "cucina_vegana:coffee_powder", "bucket:bucket_river_water", "default:paper" }, + { "group:food_milk", "cucina_vegana:coffee_powder", "" }, + }, + replacements = { + { "group:food_milk", "vessels:drinking_glass" }, + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "cucina_vegana:coffee_powder", - recipe = { {"group:stone", "cucina_vegana:coffee_beans_roasted", "group:stone"}, - {"group:stone", "cucina_vegana:coffee_beans_roasted", "group:stone"} - }, - replacements = { - {"group:stone", "default:stone"}, - } + recipe = { + { "group:stone", "cucina_vegana:coffee_beans_roasted", "group:stone" }, + { "group:stone", "cucina_vegana:coffee_beans_roasted", "group:stone" }, + }, + replacements = { + { "group:stone", "default:stone" }, + }, }) minetest.register_craft({ output = "cucina_vegana:dandelion_suds", - recipe = { {"flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow"}, - {"flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow"}, - {"", "bucket:bucket_water", ""} - } + recipe = { + { "flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow" }, + { "flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow" }, + { "", "bucket:bucket_water", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:dandelion_suds", - recipe = { {"flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow"}, - {"flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow"}, - {"", "bucket:bucket_river_water", ""} - } + recipe = { + { "flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow" }, + { "flowers:dandelion_yellow", "flowers:dandelion_yellow", "flowers:dandelion_yellow" }, + { "", "bucket:bucket_river_water", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:flax_seed_oil", - recipe = { {"group:seed_flax", "group:seed_flax", "group:seed_flax"}, - {"group:seed_flax", "group:seed_flax", "group:seed_flax"}, - {"", "vessels:glass_bottle", ""} - } + recipe = { + { "group:seed_flax", "group:seed_flax", "group:seed_flax" }, + { "group:seed_flax", "group:seed_flax", "group:seed_flax" }, + { "", "vessels:glass_bottle", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:lettuce_oil", - recipe = { {"group:seed_lettuce", "group:seed_lettuce", "group:seed_lettuce"}, - {"group:seed_lettuce", "group:seed_lettuce", "group:seed_lettuce"}, - {"", "vessels:glass_bottle", ""} - } + recipe = { + { "group:seed_lettuce", "group:seed_lettuce", "group:seed_lettuce" }, + { "group:seed_lettuce", "group:seed_lettuce", "group:seed_lettuce" }, + { "", "vessels:glass_bottle", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:peanut_oil", - recipe = { {"group:seed_peanut", "group:seed_peanut", "group:seed_peanut"}, - {"group:seed_peanut", "group:seed_peanut", "group:seed_peanut"}, - {"", "vessels:glass_bottle", ""} - } + recipe = { + { "group:seed_peanut", "group:seed_peanut", "group:seed_peanut" }, + { "group:seed_peanut", "group:seed_peanut", "group:seed_peanut" }, + { "", "vessels:glass_bottle", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:corn_oil", - recipe = { {"cucina_vegana:seed_corn", "cucina_vegana:seed_corn", "cucina_vegana:seed_corn"}, - {"cucina_vegana:seed_corn", "cucina_vegana:seed_corn", "cucina_vegana:seed_corn"}, - {"", "vessels:glass_bottle", ""} - } + recipe = { + { "cucina_vegana:seed_corn", "cucina_vegana:seed_corn", "cucina_vegana:seed_corn" }, + { "cucina_vegana:seed_corn", "cucina_vegana:seed_corn", "cucina_vegana:seed_corn" }, + { "", "vessels:glass_bottle", "" }, + }, }) minetest.register_craft({ - output = "cucina_vegana:mushroomlight_glass 4", - recipe = { - {"","default:glass",""}, - {"default:glass","default:torch","default:glass"}, - {"","default:glass",""}, - } + output = "cucina_vegana:mushroomlight_glass 4", + recipe = { + { "", "default:glass", "" }, + { "default:glass", "default:torch", "default:glass" }, + { "", "default:glass", "" }, + }, }) - minetest.register_craft({ output = "cucina_vegana:pizza_dough", - recipe = { {"group:food_milk", "group:food_oil", "group:food_cheese"}, - {"group:food_flour", "group:food_flour", "group:food_flour"} - }, - replacements = { - {"group:food_milk", "vessels:glass_bottle"}, - {"group:food_oil", "vessels:glass_bottle"}, - } + recipe = { + { "group:food_milk", "group:food_oil", "group:food_cheese" }, + { "group:food_flour", "group:food_flour", "group:food_flour" }, + }, + replacements = { + { "group:food_milk", "vessels:glass_bottle" }, + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:pizza_vegana_raw", - recipe = { {"", "cucina_vegana:sauce_hollandaise", ""}, - {"cucina_vegana:asparagus", "group:food_lettuce", "cucina_vegana:rosemary"}, - {"", "group:pizza_dough", ""} - }, - replacements = { - {"cucina_vegana:sauce_hollandaise", "vessels:glass_bottle"}, - } - + recipe = { + { "", "cucina_vegana:sauce_hollandaise", "" }, + { "cucina_vegana:asparagus", "group:food_lettuce", "cucina_vegana:rosemary" }, + { "", "group:pizza_dough", "" }, + }, + replacements = { + { "cucina_vegana:sauce_hollandaise", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:pizza_funghi_raw", - recipe = { {"", "group:food_oil", "cucina_vegana:rosemary"}, - {"group:food_mushroom", "cucina_vegana:imitation_meat", "group:food_mushroom"}, - {"", "group:pizza_dough", ""} - }, - replacements = { - {"group:food_oil", "vessels:glass_bottle"}, - } - + recipe = { + { "", "group:food_oil", "cucina_vegana:rosemary" }, + { "group:food_mushroom", "cucina_vegana:imitation_meat", "group:food_mushroom" }, + { "", "group:pizza_dough", "" }, + }, + replacements = { + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:plate 5", - recipe = { {"group:wood", "", "group:wood"}, - {"group:wood", "default:cobble", "group:wood"} - } + recipe = { { "group:wood", "", "group:wood" }, { "group:wood", "default:cobble", "group:wood" } }, }) minetest.register_craft({ output = "cucina_vegana:plate 2", - recipe = { {"default:clay_lump", "", "default:clay_lump"}, - {"default:clay_lump", "default:cobble", "default:clay_lump"} - } + recipe = { + { "default:clay_lump", "", "default:clay_lump" }, + { "default:clay_lump", "default:cobble", "default:clay_lump" }, + }, }) minetest.register_craft({ output = "cucina_vegana:plate 10", - recipe = { {"default:steel_ingot", "", "default:steel_ingot"}, - {"default:steel_ingot", "default:cobble", "default:steel_ingot"} - } + recipe = { + { "default:steel_ingot", "", "default:steel_ingot" }, + { "default:steel_ingot", "default:cobble", "default:steel_ingot" }, + }, }) minetest.register_craft({ output = "cucina_vegana:plate 10", - recipe = { {"default:copper_ingot", "", "default:copper_ingot"}, - {"default:copper_ingot", "default:cobble", "default:copper_ingot"} - } + recipe = { + { "default:copper_ingot", "", "default:copper_ingot" }, + { "default:copper_ingot", "default:cobble", "default:copper_ingot" }, + }, }) minetest.register_craft({ output = "cucina_vegana:plate 10", - recipe = { {"default:tin_ingot", "", "default:tin_ingot"}, - {"default:tin_ingot", "default:cobble", "default:tin_ingot"} - } + recipe = { + { "default:tin_ingot", "", "default:tin_ingot" }, + { "default:tin_ingot", "default:cobble", "default:tin_ingot" }, + }, }) minetest.register_craft({ output = "cucina_vegana:sunflower_seeds_flour", - recipe = { {"default:stone", "default:stone", "default:stone"}, - {"cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds"}, - {"default:cobble", "default:cobble", "default:cobble"} - }, - replacements = { - {"default:stone", "default:stone 3"}, - {"default:cobble", "default:cobble 3"} - } - + recipe = { + { "default:stone", "default:stone", "default:stone" }, + { "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds" }, + { "default:cobble", "default:cobble", "default:cobble" }, + }, + replacements = { + { "default:stone", "default:stone 3" }, + { "default:cobble", "default:cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:sunflower_seeds_flour", - recipe = { {"default:stone", "default:stone", "default:stone"}, - {"cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds"}, - {"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"} - }, - replacements = { - {"default:stone", "default:stone 3"}, - {"default:desert_cobble", "default:desert_cobble 3"} - } - + recipe = { + { "default:stone", "default:stone", "default:stone" }, + { "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds" }, + { "default:desert_cobble", "default:desert_cobble", "default:desert_cobble" }, + }, + replacements = { + { "default:stone", "default:stone 3" }, + { "default:desert_cobble", "default:desert_cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:sunflower_seeds_flour", - recipe = { {"default:desert_stone", "default:desert_stone", "default:desert_stone"}, - {"cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds"}, - {"default:cobble", "default:cobble", "default:cobble"} - }, - replacements = { - {"default:desert_stone", "default:desert_stone 3"}, - {"default:cobble", "default:cobble 3"} - } - + recipe = { + { "default:desert_stone", "default:desert_stone", "default:desert_stone" }, + { "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds" }, + { "default:cobble", "default:cobble", "default:cobble" }, + }, + replacements = { + { "default:desert_stone", "default:desert_stone 3" }, + { "default:cobble", "default:cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:sunflower_seeds_flour", - recipe = { {"default:desert_stone", "default:desert_stone", "default:desert_stone"}, - {"cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds"}, - {"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"} - }, - replacements = { - {"default:desert_stone", "default:desert_stone 3"}, - {"default:desert_cobble", "default:desert_cobble 3"} - } - + recipe = { + { "default:desert_stone", "default:desert_stone", "default:desert_stone" }, + { "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds" }, + { "default:desert_cobble", "default:desert_cobble", "default:desert_cobble" }, + }, + replacements = { + { "default:desert_stone", "default:desert_stone 3" }, + { "default:desert_cobble", "default:desert_cobble 3" }, + }, }) - -if not((minetest.get_modpath("x_farming"))and(minetest.get_modpath("farming"))) then - +if not (x_farming and farming) then minetest.register_craft({ output = "cucina_vegana:rice_flour", - recipe = { {"default:stone", "default:stone", "default:stone"}, - {"cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice"}, - {"default:cobble", "default:cobble", "default:cobble"} - }, + recipe = { + { "default:stone", "default:stone", "default:stone" }, + { "cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice" }, + { "default:cobble", "default:cobble", "default:cobble" }, + }, replacements = { - {"default:stone", "default:stone 3"}, - {"default:cobble", "default:cobble 3"} - } - + { "default:stone", "default:stone 3" }, + { "default:cobble", "default:cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:rice_flour", - recipe = { {"default:desert_stone", "default:desert_stone", "default:desert_stone"}, - {"cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice"}, - {"default:cobble", "default:cobble", "default:cobble"} - }, + recipe = { + { "default:desert_stone", "default:desert_stone", "default:desert_stone" }, + { "cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice" }, + { "default:cobble", "default:cobble", "default:cobble" }, + }, replacements = { - {"default:desert_stone", "default:desert_stone 3"}, - {"default:cobble", "default:cobble 3"} - } - + { "default:desert_stone", "default:desert_stone 3" }, + { "default:cobble", "default:cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:rice_flour", - recipe = { {"default:desert_stone", "default:desert_stone", "default:desert_stone"}, - {"cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice"}, - {"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"} - }, + recipe = { + { "default:desert_stone", "default:desert_stone", "default:desert_stone" }, + { "cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice" }, + { "default:desert_cobble", "default:desert_cobble", "default:desert_cobble" }, + }, replacements = { - {"default:desert_stone", "default:desert_stone 3"}, - {"default:desert_cobble", "default:desert_cobble 3"} - } - + { "default:desert_stone", "default:desert_stone 3" }, + { "default:desert_cobble", "default:desert_cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:rice_flour", - recipe = { {"default:stone", "default:stone", "default:stone"}, - {"cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice"}, - {"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"} - }, + recipe = { + { "default:stone", "default:stone", "default:stone" }, + { "cucina_vegana:rice", "cucina_vegana:rice", "cucina_vegana:rice" }, + { "default:desert_cobble", "default:desert_cobble", "default:desert_cobble" }, + }, replacements = { - {"default:stone", "default:stone 3"}, - {"default:cobble", "default:cobble 3"} - } - + { "default:stone", "default:stone 3" }, + { "default:cobble", "default:cobble 3" }, + }, }) minetest.register_craft({ output = "cucina_vegana:rice_starch 2", - recipe = { {"wool:white", "cucina_vegana:rice", "wool:white"}, - {"wool:white", "cucina_vegana:rice", "wool:white"}, - {"", "bucket:bucket_water", ""} - }, + recipe = { + { "wool:white", "cucina_vegana:rice", "wool:white" }, + { "wool:white", "cucina_vegana:rice", "wool:white" }, + { "", "bucket:bucket_water", "" }, + }, replacements = { - {"wool:white", "farming:cotton 2"}, - {"bucket:bucket_water", "bucket:bucket_empty"} - } - + { "wool:white", "farming:cotton 2" }, + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "cucina_vegana:rice_starch 2", - recipe = { {"wool:white", "cucina_vegana:rice", "wool:white"}, - {"wool:white", "cucina_vegana:rice", "wool:white"}, - {"", "bucket:bucket_river_water", ""} - }, + recipe = { + { "wool:white", "cucina_vegana:rice", "wool:white" }, + { "wool:white", "cucina_vegana:rice", "wool:white" }, + { "", "bucket:bucket_river_water", "" }, + }, replacements = { - {"wool:white", "farming:cotton 2"}, - {"bucket:bucket_river_water", "bucket:bucket_empty"} - } - + { "wool:white", "farming:cotton 2" }, + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) - end minetest.register_craft({ output = "wool:white", - recipe = { {"cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted"}, - {"cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted"}, - } + recipe = { + { "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted" }, + { "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted", "cucina_vegana:flax_roasted" }, + }, }) -- ******************************************* @@ -397,79 +409,89 @@ minetest.register_craft({ minetest.register_craft({ output = "cucina_vegana:imitation_butter", - recipe = { {"group:dye,color_yellow", "group:food_soy_milk", "group:food_soy_milk"} - }, - replacements = { - {"group:food_soy_milk", "vessels:drinking_glass 2"} - } + recipe = { { "group:dye,color_yellow", "group:food_soy_milk", "group:food_soy_milk" } }, + replacements = { + { "group:food_soy_milk", "vessels:drinking_glass 2" }, + }, }) -minetest.register_craft({ - output = "cucina_vegana:imitation_cheese", - recipe = { {"group:dye,color_orange","cucina_vegana:imitation_butter", "cucina_vegana:imitation_butter"} - }, -}) +if minetest.get_modpath("farming") then + minetest.register_craft({ + output = "farming:cheese_vegan", + recipe = { { "group:dye,color_orange", "cucina_vegana:imitation_butter", "cucina_vegana:imitation_butter" } }, + }) +else + minetest.register_craft({ + output = "cucina_vegana:imitation_cheese", + recipe = { { "group:dye,color_orange", "cucina_vegana:imitation_butter", "cucina_vegana:imitation_butter" } }, + }) +end minetest.register_craft({ output = "cucina_vegana:imitation_fish", recipe = { - {"group:dye,color_blue","group:food_tofu_raw", "group:dye,color_blue"}, - {"group:food_tofu_raw","group:food_tofu_raw", "group:food_tofu_raw"}, - {"","group:food_tofu_raw", ""}, - - }, + { "group:dye,color_blue", "group:food_tofu_raw", "group:dye,color_blue" }, + { "group:food_tofu_raw", "group:food_tofu_raw", "group:food_tofu_raw" }, + { "", "group:food_tofu_raw", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:imitation_meat", - recipe = { {"group:dye,color_red", "group:food_tofu_raw", "group:dye,color_white"}, - {"", "group:food_tofu_raw", ""}, - {"", "group:food_tofu_raw", ""} - }, + recipe = { + { "group:dye,color_red", "group:food_tofu_raw", "group:dye,color_white" }, + { "", "group:food_tofu_raw", "" }, + { "", "group:food_tofu_raw", "" }, + }, }) +if (cucina_vegana.farming) and (cucina_vegana.sandwiches) then + minetest.register_craft({ + output = "sandwiches:raw_bacon", + type = "shapeless", + recipe = { "cucina_vegana:imitation_meat", "farming:cutting_board", "" }, + replacements = { { "farming:cutting_board", "farming:cutting_board" } }, + }) +end + minetest.register_craft({ output = "cucina_vegana:imitation_poultry", - recipe = { {"group:food_tofu_raw", "", "group:dye,color_yellow"}, - {"", "group:food_tofu_raw", ""}, - {"group:food_tofu_raw", "group:food_tofu_raw", "group:food_tofu_raw"} - }, + recipe = { + { "group:food_tofu_raw", "", "group:dye,color_yellow" }, + { "", "group:food_tofu_raw", "" }, + { "group:food_tofu_raw", "group:food_tofu_raw", "group:food_tofu_raw" }, + }, }) minetest.register_craft({ output = "cucina_vegana:soy_milk", recipe = { - {"group:food_soy", "group:food_soy", "group:food_soy"}, - {"", "group:food_soy", ""}, - {"", "vessels:drinking_glass", ""}, - }, + { "group:food_soy", "group:food_soy", "group:food_soy" }, + { "", "group:food_soy", "" }, + { "", "vessels:drinking_glass", "" }, + }, }) - -if (minetest.get_modpath("x_farming")) then - +if (cucina_vegana.x_farming) then minetest.register_craft({ output = "x_farming:bottle_soymilk_raw", recipe = { - {"group:food_soy", "group:food_soy", "group:food_soy"}, - {"", "group:food_soy", ""}, - {"", "vessels:glass_bottle", ""}, - }, + { "group:food_soy", "group:food_soy", "group:food_soy" }, + { "", "group:food_soy", "" }, + { "", "vessels:glass_bottle", "" }, + }, }) - end -if not(minetest.get_modpath("farming")) then - +if not (cucina_vegana.farming) then minetest.register_craft({ output = "cucina_vegana:tofu", recipe = { - {"group:food_soy", "group:food_soy", "group:food_soy"}, - {"group:food_soy", "group:food_soy", "group:food_soy"}, - {"group:food_soy", "group:food_soy", "group:food_soy"}, - }, + { "group:food_soy", "group:food_soy", "group:food_soy" }, + { "group:food_soy", "group:food_soy", "group:food_soy" }, + { "group:food_soy", "group:food_soy", "group:food_soy" }, + }, }) - end -- ******************************************* @@ -478,155 +500,157 @@ end minetest.register_craft({ output = "cucina_vegana:blueberry_jam", - recipe = { {"cucina_vegana:blueberry_pot_cooked", "", ""}, - {"group:wool", "", ""}, - {"vessels:glass_bottle", "", ""} - }, - replacements = { - {"cucina_vegana:blueberry_pot_cooked", "bucket:bucket_empty"}, - {"group:wool", "farming:cotton"} - } + recipe = { + { "cucina_vegana:blueberry_pot_cooked", "", "" }, + { "group:wool", "", "" }, + { "vessels:glass_bottle", "", "" }, + }, + replacements = { + { "cucina_vegana:blueberry_pot_cooked", "bucket:bucket_empty" }, + { "group:wool", "farming:cotton" }, + }, }) minetest.register_craft({ output = "cucina_vegana:cucumber_in_glass", - recipe = { {"cucina_vegana:cucumber", "cucina_vegana:cucumber", "cucina_vegana:cucumber"}, - {"", "cucina_vegana:cucumber", ""}, - {"", "vessels:glass_bottle", ""} - }, + recipe = { + { "cucina_vegana:cucumber", "cucina_vegana:cucumber", "cucina_vegana:cucumber" }, + { "", "cucina_vegana:cucumber", "" }, + { "", "vessels:glass_bottle", "" }, + }, }) -if not(minetest.get_modpath("x_farming")) then - +if not (cucina_vegana.x_farming) then minetest.register_craft({ output = "cucina_vegana:bowl_rice", recipe = { - {"group:food_rice"}, - {"bucket:bucket_water"}, - {"group:food_bowl"}, - }, - replacements = { - {"bucket:bucket_water", "bucket:bucket_empty"}, - } + { "group:food_rice" }, + { "bucket:bucket_water" }, + { "group:food_bowl" }, + }, + replacements = { + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "cucina_vegana:bowl_rice", recipe = { - {"group:food_rice"}, - {"bucket:bucket_river_water"}, - {"group:food_bowl"}, - }, - replacements = { - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - } + { "group:food_rice" }, + { "bucket:bucket_river_water" }, + { "group:food_bowl" }, + }, + replacements = { + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) - end minetest.register_craft({ output = "cucina_vegana:dandelion_honey", - recipe = { {"cucina_vegana:dandelion_suds_cooking", "", ""}, - {"group:wool", "", ""}, - {"vessels:glass_bottle", "", ""} - }, - replacements = { - {"cucina_vegana:dandelion_suds_cooking", "bucket:bucket_empty"}, - {"group:wool", "farming:cotton 2"} - } + recipe = { + { "cucina_vegana:dandelion_suds_cooking", "", "" }, + { "group:wool", "", "" }, + { "vessels:glass_bottle", "", "" }, + }, + replacements = { + { "cucina_vegana:dandelion_suds_cooking", "bucket:bucket_empty" }, + { "group:wool", "farming:cotton 2" }, + }, }) minetest.register_craft({ output = "cucina_vegana:edamame", - recipe = { {"cucina_vegana:rosemary", "group:seed_soy", "group:food_peanut"}, - {"group:seed_soy", "group:seed_soy", "group:seed_soy"}, - {"", "group:food_plate", ""} - } + recipe = { + { "cucina_vegana:rosemary", "group:seed_soy", "group:food_peanut" }, + { "group:seed_soy", "group:seed_soy", "group:seed_soy" }, + { "", "group:food_plate", "" }, + }, }) minetest.register_craft({ output = "cucina_vegana:sauce_hollandaise", - recipe = { {"group:food_parsley", "group:food_butter", "cucina_vegana:rosemary"}, - {"", "group:food_soy_milk", ""}, - {"", "vessels:glass_bottle", ""} - }, - replacements = { - {"group:food_soy_milk", "vessels:glass_bottle"} - } -}) - -if not(minetest.get_modpath("farming")) then - -minetest.register_craft({ - output = "cucina_vegana:sunflower_seeds_oil", - recipe = { {"cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds"}, - {"cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds"}, - {"", "vessels:glass_bottle", ""} - } + recipe = { + { "group:food_parsley", "group:food_butter", "cucina_vegana:rosemary" }, + { "", "group:food_soy_milk", "" }, + { "", "vessels:glass_bottle", "" }, + }, + replacements = { + { "group:food_soy_milk", "vessels:glass_bottle" }, + }, }) +if not (cucina_vegana.farming) then + minetest.register_craft({ + output = "cucina_vegana:sunflower_seeds_oil", + recipe = { + { "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds" }, + { "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds", "cucina_vegana:sunflower_seeds" }, + { "", "vessels:glass_bottle", "" }, + }, + }) end minetest.register_craft({ output = "cucina_vegana:molasses", recipe = { - {"", "default:stick", ""}, - {"cucina_vegana:kohlrabi", "vessels:drinking_glass", "cucina_vegana:kohlrabi"}, - {"", "bucket:bucket_water", ""}, - }, - replacements = { - {"bucket:bucket_water", "bucket:bucket_empty"}, - {"default:stick", "default:stick"} - } + { "", "default:stick", "" }, + { "cucina_vegana:kohlrabi", "vessels:drinking_glass", "cucina_vegana:kohlrabi" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "bucket:bucket_water", "bucket:bucket_empty" }, + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ output = "cucina_vegana:molasses", recipe = { - {"", "default:stick", ""}, - {"cucina_vegana:kohlrabi", "vessels:drinking_glass", "cucina_vegana:kohlrabi"}, - {"", "bucket:bucket_river_water", ""}, - }, - replacements = { - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - {"default:stick", "default:stick"} - } + { "", "default:stick", "" }, + { "cucina_vegana:kohlrabi", "vessels:drinking_glass", "cucina_vegana:kohlrabi" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ output = "cucina_vegana:peanut_butter", recipe = { - {"group:food_peanut", "default:stick", "group:food_peanut"}, - {"group:food_peanut", "group:food_butter", "group:food_peanut"}, - {"", "vessels:glass_bottle", ""}, - }, - replacements = { - {"default:stick", "default:stick"}, - } + { "group:food_peanut", "default:stick", "group:food_peanut" }, + { "group:food_peanut", "group:food_butter", "group:food_peanut" }, + { "", "vessels:glass_bottle", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ output = "cucina_vegana:vegan_strawberry_milk", recipe = { - {"cucina_vegana:strawberry", "default:stick", "cucina_vegana:strawberry"}, - {"cucina_vegana:strawberry", "cucina_vegana:strawberry", "cucina_vegana:strawberry"}, - {"", "group:food_soy_milk", ""}, - }, - replacements = { - {"default:stick", "default:stick"}, - } + { "cucina_vegana:strawberry", "default:stick", "cucina_vegana:strawberry" }, + { "cucina_vegana:strawberry", "cucina_vegana:strawberry", "cucina_vegana:strawberry" }, + { "", "group:food_soy_milk", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ output = "cucina_vegana:vegan_strawberry_milk", recipe = { - {"group:food_strawberry", "default:stick", "group:food_strawberry"}, - {"group:food_strawberry", "group:food_strawberry", "group:food_strawberry"}, - {"", "group:food_soy_milk", ""}, - }, - replacements = { - {"default:stick", "default:stick"}, - } + { "group:food_strawberry", "default:stick", "group:food_strawberry" }, + { "group:food_strawberry", "group:food_strawberry", "group:food_strawberry" }, + { "", "group:food_soy_milk", "" }, + }, + replacements = { + { "default:stick", "default:stick" }, + }, }) -- ******************************************* -- ***** Dinners ***** @@ -634,307 +658,321 @@ minetest.register_craft({ minetest.register_craft({ output = "cucina_vegana:asparagus_hollandaise", - recipe = { {"cucina_vegana:asparagus", "cucina_vegana:sauce_hollandaise", "group:food_parsley"}, - {"", "group:food_plate", ""} - }, - replacements = { {"group:food_sauce", "vessels:glass_bottle"}, - } + recipe = { + { "cucina_vegana:asparagus", "cucina_vegana:sauce_hollandaise", "group:food_parsley" }, + { "", "group:food_plate", "" }, + }, + replacements = { { "group:food_sauce", "vessels:glass_bottle" } }, }) minetest.register_craft({ output = "cucina_vegana:asparagus_rice", recipe = { - {"cucina_vegana:asparagus", "group:food_rice", "group:food_butter"}, - {"", "group:food_plate", ""} - }, - replacements = { - {"group:food_rice", "cucina_vegana:bowl"}, - } + { "cucina_vegana:asparagus", "group:food_rice", "group:food_butter" }, + { "", "group:food_plate", "" }, + }, + replacements = { + { "group:food_rice", "cucina_vegana:bowl" }, + }, }) minetest.register_craft({ output = "cucina_vegana:asparagus_soup", - recipe = { {"cucina_vegana:chives", "group:food_oil", "cucina_vegana:asparagus"}, - {"", "group:food_soy_milk", ""}, - {"", "group:food_plate", ""} - }, - replacements = {{"group:food_milk", "vessels:glass_bottle"}, - {"group:food_oil", "vessels:glass_bottle"}, - } + recipe = { + { "cucina_vegana:chives", "group:food_oil", "cucina_vegana:asparagus" }, + { "", "group:food_soy_milk", "" }, + { "", "group:food_plate", "" }, + }, + replacements = { + { "group:food_milk", "vessels:glass_bottle" }, + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:fish_parsley_rosemary", recipe = { - {"group:food_parsley","group:food_oil", "cucina_vegana:rosemary"}, - {"","group:food_fish", ""}, - {"","group:food_plate", ""}, - }, - replacements = { - {"group:food_oil", "vessels:glass_bottle"}, - } + { "group:food_parsley", "group:food_oil", "cucina_vegana:rosemary" }, + { "", "group:food_fish", "" }, + { "", "group:food_plate", "" }, + }, + replacements = { + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:fryer_raw", recipe = { - {"default:paper","", "default:paper"}, - {"group:food_parsley","cucina_vegana:molasses", "cucina_vegana:rosemary"}, - {"","group:food_chicken_raw", ""}, - }, - replacements = { - {"cucina_vegana:molasses", "vessels:drinking_glass"}, - } + { "default:paper", "", "default:paper" }, + { "group:food_parsley", "cucina_vegana:molasses", "cucina_vegana:rosemary" }, + { "", "group:food_chicken_raw", "" }, + }, + replacements = { + { "cucina_vegana:molasses", "vessels:drinking_glass" }, + }, }) minetest.register_craft({ output = "cucina_vegana:fryer_raw", recipe = { - {"default:paper","", "default:paper"}, - {"group:food_potato","group:food_parsley", "group:food_potato"}, - {"group:food_carrot","group:food_chicken_raw", "group:food_carrot"}, - }, + { "default:paper", "", "default:paper" }, + { "group:food_potato", "group:food_parsley", "group:food_potato" }, + { "group:food_carrot", "group:food_chicken_raw", "group:food_carrot" }, + }, }) minetest.register_craft({ output = "cucina_vegana:kohlrabi_soup", - recipe = { {"cucina_vegana:kohlrabi", "group:food_oil", "group:food_parsley"}, - {"", "bucket:bucket_water", ""}, - {"", "group:food_plate", ""} - }, - replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}, - {"group:food_oil", "vessels:glass_bottle"}, - } + recipe = { + { "cucina_vegana:kohlrabi", "group:food_oil", "group:food_parsley" }, + { "", "bucket:bucket_water", "" }, + { "", "group:food_plate", "" }, + }, + replacements = { + { "bucket:bucket_water", "bucket:bucket_empty" }, + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:kohlrabi_soup", - recipe = { {"cucina_vegana:kohlrabi", "group:food_oil", "group:food_parsley"}, - {"", "bucket:bucket_river_water", ""}, - {"", "group:food_plate", ""} - }, - replacements = {{"bucket:bucket_river_water", "bucket:bucket_empty"}, - {"group:food_oil", "vessels:glass_bottle"}, - } + recipe = { + { "cucina_vegana:kohlrabi", "group:food_oil", "group:food_parsley" }, + { "", "bucket:bucket_river_water", "" }, + { "", "group:food_plate", "" }, + }, + replacements = { + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:salad_bowl", - recipe = { {"group:food_parsley", "group:food_lettuce", "cucina_vegana:chives"}, - {"", "group:food_oil", ""}, - {"", "group:food_bowl", ""} - }, - replacements = { - {"group:food_oil", "vessels:glass_bottle"} - } + recipe = { + { "group:food_parsley", "group:food_lettuce", "cucina_vegana:chives" }, + { "", "group:food_oil", "" }, + { "", "group:food_bowl", "" }, + }, + replacements = { + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:salad_hollandaise", recipe = { - {"cucina_vegana:sauce_hollandaise", "cucina_vegana:salad_bowl", ""} - }, - replacements = { - {"cucina_vegana:sauce_hollandaise", "vessels:glass_bottle"}, - } + { "cucina_vegana:sauce_hollandaise", "cucina_vegana:salad_bowl", "" }, + }, + replacements = { + { "cucina_vegana:sauce_hollandaise", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:salad_hollandaise", - recipe = { {"group:food_parsley", "group:food_lettuce", "cucina_vegana:chives"}, - {"cucina_vegana:sauce_hollandaise", "group:food_oil", ""}, - {"", "group:food_bowl", ""} - }, - replacements = { - {"group:food_oil", "vessels:glass_bottle"}, - {"cucina_vegana:sauce_hollandaise", "vessels:glass_bottle"} - } - + recipe = { + { "group:food_parsley", "group:food_lettuce", "cucina_vegana:chives" }, + { "cucina_vegana:sauce_hollandaise", "group:food_oil", "" }, + { "", "group:food_bowl", "" }, + }, + replacements = { + { "group:food_oil", "vessels:glass_bottle" }, + { "cucina_vegana:sauce_hollandaise", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:sea_salad", - recipe = { {"default:jungleleaves", "group:food_parsley", "group:food_lettuce"}, - {"cucina_vegana:chives", "bucket:bucket_water", "cucina_vegana:asparagus"}, - {"", "group:food_bowl", ""} - }, - replacements = { - {"bucket:bucket_water", "bucket:bucket_empty"}, - } - + recipe = { + { "default:jungleleaves", "group:food_parsley", "group:food_lettuce" }, + { "cucina_vegana:chives", "bucket:bucket_water", "cucina_vegana:asparagus" }, + { "", "group:food_bowl", "" }, + }, + replacements = { + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "cucina_vegana:soy_soup", - recipe = { {"cucina_vegana:chives", "group:food_oil", "group:food_parsley"}, - {"", "group:food_soy_milk", ""}, - {"", "group:food_plate", ""} - }, - replacements = {{"group:food_milk", "vessels:glass_bottle"}, - {"group:food_oil", "vessels:glass_bottle"}, - } + recipe = { + { "cucina_vegana:chives", "group:food_oil", "group:food_parsley" }, + { "", "group:food_soy_milk", "" }, + { "", "group:food_plate", "" }, + }, + replacements = { + { "group:food_milk", "vessels:glass_bottle" }, + { "group:food_oil", "vessels:glass_bottle" }, + }, }) minetest.register_craft({ output = "cucina_vegana:tofu_chives_rosemary", - recipe = { {"cucina_vegana:chives", "", "cucina_vegana:rosemary"}, - {"", "group:food_tofu_raw", ""}, - {"", "group:food_plate", ""} - }, + recipe = { + { "cucina_vegana:chives", "", "cucina_vegana:rosemary" }, + { "", "group:food_tofu_raw", "" }, + { "", "group:food_plate", "" }, + }, }) -if not(minetest.get_modpath("x_farming")) then - +if not (cucina_vegana.x_farming) then minetest.register_craft({ output = "cucina_vegana:vegan_sushi", - recipe = { {"cucina_vegana:imitation_fish", "group:food_rice", ""}, - {"default:papyrus", "", ""} - }, + recipe = { { "cucina_vegana:imitation_fish", "group:food_rice", "" }, { "default:papyrus", "", "" } }, replacements = { - {"cucina_vegana:bowl_rice", "cucina_vegana:bowl"} - } + { "cucina_vegana:bowl_rice", "cucina_vegana:bowl" }, + }, }) - end -- ******************************************* -- ***** Miscelanous ***** -- ******************************************* -if not(minetest.get_modpath("farming")) then +if not (cucina_vegana.farming) then + minetest.register_craft({ + type = "shapeless", + output = "cucina_vegana:sunflower_seeds 4", + recipe = { "flowers:sunflower" }, + replacements = { + { "flowers:sunflower", "dye:yellow" }, + }, + }) -minetest.register_craft({ - type = "shapeless", - output = "cucina_vegana:sunflower_seeds 4", - recipe = {"flowers:sunflower"}, - replacements = { - {"flowers:sunflower", "dye:yellow"} - } -}) - -minetest.register_craft({ - output = "cucina_vegana:sunflower_seeds_dough", - recipe = { {"", "cucina_vegana:sunflower_seeds", ""}, - {"farming:flour", "farming:flour", "farming:flour"} - } -}) - -minetest.register_craft({ - output = "cucina_vegana:sunflower_seeds_dough", - recipe = { {"", "cucina_vegana:sunflower_seeds", ""}, - {"group:food_flour", "group:food_flour", "group:food_flour"} - } -}) + minetest.register_craft({ + output = "cucina_vegana:sunflower_seeds_dough", + recipe = { + { "", "cucina_vegana:sunflower_seeds", "" }, + { "farming:flour", "farming:flour", "farming:flour" }, + }, + }) + minetest.register_craft({ + output = "cucina_vegana:sunflower_seeds_dough", + recipe = { + { "", "cucina_vegana:sunflower_seeds", "" }, + { "group:food_flour", "group:food_flour", "group:food_flour" }, + }, + }) end minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:stone", "cucina_vegana:flax_roasted", "default:stone"}, - {"default:stone", "cucina_vegana:flax_roasted", "default:stone"}, - {"", "bucket:bucket_water", ""}, - }, - replacements = { - {"default:stone", "default:stone 4"}, - {"bucket:bucket_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:stone", "cucina_vegana:flax_roasted", "default:stone" }, + { "default:stone", "cucina_vegana:flax_roasted", "default:stone" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "default:stone", "default:stone 4" }, + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone"}, - {"default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone"}, - {"", "bucket:bucket_water", ""}, - }, - replacements = { - {"default:desert_stone", "default:desert_stone 4"}, - {"bucket:bucket_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone" }, + { "default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "default:desert_stone", "default:desert_stone 4" }, + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:cobble", "cucina_vegana:flax_roasted", "default:cobble"}, - {"default:cobble", "cucina_vegana:flax_roasted", "default:cobble"}, - {"", "bucket:bucket_water", ""}, - }, - replacements = { - {"default:cobble", "default:cobble 4"}, - {"bucket:bucket_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:cobble", "cucina_vegana:flax_roasted", "default:cobble" }, + { "default:cobble", "cucina_vegana:flax_roasted", "default:cobble" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "default:cobble", "default:cobble 4" }, + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble"}, - {"default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble"}, - {"", "bucket:bucket_water", ""}, - }, - replacements = { - {"default:desert_cobble", "default:desert_cobble 4"}, - {"bucket:bucket_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble" }, + { "default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble" }, + { "", "bucket:bucket_water", "" }, + }, + replacements = { + { "default:desert_cobble", "default:desert_cobble 4" }, + { "bucket:bucket_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:stone", "cucina_vegana:flax_roasted", "default:stone"}, - {"default:stone", "cucina_vegana:flax_roasted", "default:stone"}, - {"", "bucket:bucket_river_water", ""}, - }, - replacements = { - {"default:stone", "default:stone 4"}, - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:stone", "cucina_vegana:flax_roasted", "default:stone" }, + { "default:stone", "cucina_vegana:flax_roasted", "default:stone" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "default:stone", "default:stone 4" }, + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone"}, - {"default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone"}, - {"", "bucket:bucket_river_water", ""}, - }, - replacements = { - {"default:desert_stone", "default:desert_stone 4"}, - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone" }, + { "default:desert_stone", "cucina_vegana:flax_roasted", "default:desert_stone" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "default:desert_stone", "default:desert_stone 4" }, + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:cobble", "cucina_vegana:flax_roasted", "default:cobble"}, - {"default:cobble", "cucina_vegana:flax_roasted", "default:cobble"}, - {"", "bucket:bucket_river_water", ""}, - }, - replacements = { - {"default:cobble", "default:cobble 4"}, - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:cobble", "cucina_vegana:flax_roasted", "default:cobble" }, + { "default:cobble", "cucina_vegana:flax_roasted", "default:cobble" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "default:cobble", "default:cobble 4" }, + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "default:paper 4", - recipe = { {"default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble"}, - {"default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble"}, - {"", "bucket:bucket_river_water", ""}, - }, - replacements = { - {"default:desert_cobble", "default:desert_cobble 4"}, - {"bucket:bucket_river_water", "bucket:bucket_empty"}, - } + recipe = { + { "default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble" }, + { "default:desert_cobble", "cucina_vegana:flax_roasted", "default:desert_cobble" }, + { "", "bucket:bucket_river_water", "" }, + }, + replacements = { + { "default:desert_cobble", "default:desert_cobble 4" }, + { "bucket:bucket_river_water", "bucket:bucket_empty" }, + }, }) minetest.register_craft({ output = "farming:cotton 2", recipe = { - {"cucina_vegana:flax_roasted","default:stick","cucina_vegana:flax_roasted"}, - }, - replacements = { - {"default:stick", "default:stick"}, - }, + { "cucina_vegana:flax_roasted", "default:stick", "cucina_vegana:flax_roasted" }, + }, + replacements = { + { "default:stick", "default:stick" }, + }, }) minetest.register_craft({ type = "shapeless", output = "cucina_vegana:seed_corn 10", - recipe = {"cucina_vegana:corn"}, + recipe = { "cucina_vegana:corn" }, }) diff --git a/mods/cucina_vegana/recipes_cook.lua b/mods/cucina_vegana/recipes_cook.lua index d510f3ab..3ef0fae1 100644 --- a/mods/cucina_vegana/recipes_cook.lua +++ b/mods/cucina_vegana/recipes_cook.lua @@ -30,7 +30,7 @@ minetest.register_craft({ recipe = "cucina_vegana:blueberry_pot" }) -if not(minetest.get_modpath("x_farming")) then +if not (cucina_vegana.x_farming) then minetest.register_craft({ type = "cooking", @@ -127,7 +127,7 @@ minetest.register_craft({ replacements = {{"cucina_vegana:molasses", "vessels:drinking_glass"}} }) -if not(minetest.get_modpath("farming")) then +if not (cucina_vegana.farming) then minetest.register_craft({ type = "cooking", @@ -151,7 +151,7 @@ minetest.register_craft({ recipe = "cucina_vegana:tofu_chives_rosemary" }) -if not(minetest.get_modpath("farming")) then +if not (cucina_vegana.farming) then minetest.register_craft({ type = "cooking", @@ -169,7 +169,7 @@ minetest.register_craft({ cooktime = 10, }) -if not(minetest.get_modpath("x_farming")) then +if not (cucina_vegana.x_farming) then minetest.register_craft({ type = "cooking", diff --git a/mods/ethereal/biomes.lua b/mods/ethereal/biomes.lua index bc42296f..bc4c810b 100644 --- a/mods/ethereal/biomes.lua +++ b/mods/ethereal/biomes.lua @@ -31,7 +31,7 @@ local old = minetest.settings:get_bool("ethereal.old_biomes") register_biome(1, { name = "mountain", heat_point = 50, humidity_point = 50, - y_min = 140, y_max = 31000, + y_min = 311, y_max = 31000, node_top = "default:snow", depth_top = 1, node_filler = "default:snowblock", depth_filler = 2}) diff --git a/mods/floating_anchor/.gitignore b/mods/floating_anchor/.gitignore new file mode 100644 index 00000000..6fd0a376 --- /dev/null +++ b/mods/floating_anchor/.gitignore @@ -0,0 +1,41 @@ +# Compiled Lua sources +luac.out + +# luarocks build files +*.src.rock +*.zip +*.tar.gz + +# Object files +*.o +*.os +*.ko +*.obj +*.elf + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo +*.def +*.exp + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + diff --git a/mods/floating_anchor/LICENSE b/mods/floating_anchor/LICENSE new file mode 100644 index 00000000..a612ad98 --- /dev/null +++ b/mods/floating_anchor/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/mods/floating_anchor/README.md b/mods/floating_anchor/README.md new file mode 100644 index 00000000..37642e70 --- /dev/null +++ b/mods/floating_anchor/README.md @@ -0,0 +1,48 @@ +# minetest-floating-anchor +> A floating anchor mod for minetest. Adds an item that, when used, places a floating anchor block below the player's feet. + +![A picture of the floating anchor block in mid-air.](https://i.imgur.com/4RYlEDO.png) + + - [Forum Post](https://forum.minetest.net/viewtopic.php?f=9&t=20180) + + +## Installation +Clone this repository into the `worldmods` subfolder of the folder that contains your world. If it doesn't exist, then you'll need to create it. + + +## Usage +This mod adds two items: + +1. A floating anchor node +2. A floating anchor item + +As indicated by the description, the node is _not_ the one you should use. For general use, it's the item you want. If you try and place the item like a node (even if you're not pointing at anything), the node form will be placed at your current position. + +Upon breaking, the node form will drop the item form again for you to re-use use. If you somehow end up with the node form in your inventory, simply place it normally and break it again to turn it back into the more useful item form. + +## Survival +In survival mode, a crafting recipe is available: + +![The survival recipe for crafting a floating anchor. A textual representation is detailed below.](https://i.imgur.com/b7svaDT.png) + +x | 1 | 2 | 3 +----|-------|-------|---------- +1 | wool | wool | wool +2 | wool | steel ingot | wool +3 | wool | wool | wool + +Feedback on the balance of this recipe is appreciated, as the author does not play survival very often. + + +## Contributing +Pull requests are welcome! By contributing, you agree to release your contribution under the same licenses that this repository is currently under. + + +### Todo List + - Don't deduct an item from players in creative mode when placing + - Don't drop an item for creative players breaking the node form + - ...? ([Open an issue](https://github.com/sbrl/minetest-floating_anchor/issues/new) or [send a pull request](https://github.com/sbrl/minetest-floating_anchor/compare)!) + + +## License +Everything here is licensed under the _Mozilla Public License 2.0_ - except the textures (which can be found in the `textures/` folder), which are licensed under CC-BY-SA (https://creativecommons.org/licenses/by-sa/4.0/). A copy of the Mozilla Public License 2.0 can be found in the `LICENSE` file in this repository. diff --git a/mods/floating_anchor/depends.txt b/mods/floating_anchor/depends.txt new file mode 100644 index 00000000..4ad96d51 --- /dev/null +++ b/mods/floating_anchor/depends.txt @@ -0,0 +1 @@ +default diff --git a/mods/floating_anchor/description.txt b/mods/floating_anchor/description.txt new file mode 100644 index 00000000..48cb43eb --- /dev/null +++ b/mods/floating_anchor/description.txt @@ -0,0 +1 @@ +ExtraUtilities' Angel Block for Minecraft in Minetest! Place structures in mid-air with ease. diff --git a/mods/floating_anchor/init.lua b/mods/floating_anchor/init.lua new file mode 100644 index 00000000..8f4cb744 --- /dev/null +++ b/mods/floating_anchor/init.lua @@ -0,0 +1,63 @@ +--- floating_anchor +-- @module floating_anchor +-- @release 0.5 +-- @copyright 2018 Starbeamrainbowlabs +-- @license Mozilla Public License, 2.0 (MPL-2.0) +-- @author Starbeamrainbowlabs + +local function log_message(level, msg) + minetest.log(level, "[floating-anchor] " .. msg) +end + +local function do_anchor_place(itemstack, player, pointed_thing) + + -- user.getpos() -> {x, y, z} + + -- Figure out where to put the anchor + local place_position = player:getpos() + place_position.y = place_position.y - 0.8 + log_message("action", string.format("(%d, %d, %d)", place_position.x, place_position.y, place_position.z)) + + -- Place the floating anchor in the world + local node_to_check = minetest.get_node(place_position) + if node_to_check.name == "air" then + minetest.set_node(place_position, { name = "floating_anchor:floating_anchor" }) + -- Take an item from the player's stack & return the new stack with 1 fewer items in it + itemstack:take_item(1) + end + + return itemstack +end + +minetest.register_node("floating_anchor:floating_anchor", { + description = "Floating Anchor (node - don't use)", + tiles = {"floating-anchor.png"}, + groups = { + cracky = 1, + not_in_creative_inventory = 1, + oddly_breakable_by_hand = 2 + }, + drop = "floating_anchor:floating_anchor_item" +}) + +minetest.register_craftitem("floating_anchor:floating_anchor_item", { + description = "Floating Anchor", + _doc_items_longdesc = "A strange floating anchor that can be placed in mid-air.", + _doc_items_usagehelp = "Right click to place it beneath your feet when flying (or falling).", + inventory_image = "[inventorycube{floating-anchor.png{floating-anchor.png{floating-anchor.png", + wield_image = "floating-anchor.png", + visual = "cube", + on_place = do_anchor_place, + on_secondary_use = do_anchor_place +}) + +minetest.register_craft({ + output = "floating_anchor:floating_anchor_item", + recipe = { + {"group:wool", "group:wool", "group:wool"}, + {"group:wool", "default:steel_ingot", "group:wool"}, + {"group:wool", "group:wool", "group:wool"}, + } +}) + +log_message("info", "Loaded!") diff --git a/mods/floating_anchor/mod.conf b/mods/floating_anchor/mod.conf new file mode 100644 index 00000000..f852f56a --- /dev/null +++ b/mods/floating_anchor/mod.conf @@ -0,0 +1,5 @@ +release = 8478 +author = Starbeamrainbowlabs +name = floating_anchor +description = ExtraUtilities' Angel Block for Minecraft in Minetest! Place structures in mid-air with ease. +title = Floating Anchor diff --git a/mods/floating_anchor/screenshot.png b/mods/floating_anchor/screenshot.png new file mode 100644 index 00000000..d95a0146 Binary files /dev/null and b/mods/floating_anchor/screenshot.png differ diff --git a/mods/floating_anchor/textures/floating-anchor.png b/mods/floating_anchor/textures/floating-anchor.png new file mode 100644 index 00000000..bdc98b8b Binary files /dev/null and b/mods/floating_anchor/textures/floating-anchor.png differ diff --git a/mods/pbj_pup/README.txt b/mods/pbj_pup/README.txt new file mode 100644 index 00000000..c7c125d4 --- /dev/null +++ b/mods/pbj_pup/README.txt @@ -0,0 +1,23 @@ +Minetest Game mod: nyancat +========================== +See license.txt for license information. + +Authors of source code +---------------------- +Originally by celeron55, Perttu Ahola (LGPL 2.1) +Various Minetest developers and contributors (LGPL 2.1) + +Authors of media files +---------------------- +VanessaE (CC BY-SA 3.0): + nyancat_front.png + nyancat_back.png + nyancat_side.png + nyancat_rainbow.png + +VanessaE (CC BY 4.0): + + pbj_pup_front.png + pbj_pup_back.png + pbj_pup_jelly.png + pbj_pup_sides.png diff --git a/mods/pbj_pup/init.lua b/mods/pbj_pup/init.lua new file mode 100644 index 00000000..b0536957 --- /dev/null +++ b/mods/pbj_pup/init.lua @@ -0,0 +1,166 @@ + +-- mod check and sound settings + +local def = core.get_modpath("default") +local mcl = core.get_modpath("mcl_core") +local snd = mcl and mcl_sounds.node_sound_glass_defaults() or default.node_sound_glass_defaults() + +-- PB&J Pup node + +core.register_node("pbj_pup:pbj_pup", { + description = "PB&J Pup", + tiles = { + "pbj_pup_sides.png", "pbj_pup_jelly.png", "pbj_pup_sides.png", + "pbj_pup_sides.png", "pbj_pup_back.png", "pbj_pup_front.png" + }, + paramtype = "light", + light_source = 15, + paramtype2 = "facedir", + groups = {cracky = 2, handy = 1}, + is_ground_content = false, + sounds = snd, + _mcl_hardness = 1, +}) + +-- Nyan Cat node + +core.register_node(":nyancat:nyancat", { + description = "Nyan Cat", + tiles = { + "nyancat_side.png", "nyancat_side.png", "nyancat_side.png", + "nyancat_side.png", "nyancat_back.png", "nyancat_front.png" + }, + paramtype = "light", + light_source = 15, + paramtype2 = "facedir", + groups = {cracky = 2, handy = 1}, + is_ground_content = false, + sounds = snd, + _mcl_hardness = 1, +}) + +-- MooGNU node + +core.register_node(":moognu:moognu", { + description = "MooGNU", + tiles = { + "moognu_side.png", "moognu_side.png", "moognu_side.png", + "moognu_side.png", "moognu_back.png", "moognu_front.png" + }, + paramtype = "light", + light_source = 15, + paramtype2 = "facedir", + groups = {cracky = 2, handy = 1}, + is_ground_content = false, + sounds = snd, + _mcl_hardness = 1, +}) + +-- Rainbow node + +core.register_node(":nyancat:nyancat_rainbow", { + description = "Rainbow", + tiles = { + "nyancat_rainbow.png^[transformR90", + "nyancat_rainbow.png^[transformR90", + "nyancat_rainbow.png" + }, + paramtype = "light", + light_source = 15, + paramtype2 = "facedir", + groups = {cracky = 2, handy = 1}, + is_ground_content = false, + sounds = snd, + _mcl_hardness = 1, +}) + +-- Fuels + +core.register_craft({ + type = "fuel", + recipe = "pbj_pup:pbj_pup", + burntime = 10 +}) + +core.register_craft({ + type = "fuel", + recipe = "nyancat:nyancat", + burntime = 10 +}) + +core.register_craft({ + type = "fuel", + recipe = "moognu:moognu", + burntime = 10 +}) + +core.register_craft({ + type = "fuel", + recipe = "nyancat:nyancat_rainbow", + burntime = 10 +}) + +-- helper function to place Nyan/Pup/Moo with rainbow tail + +local types = {"pbj_pup:pbj_pup", "nyancat:nyancat", "moognu:moognu"} + +local function place(pos, facedir, length) + + if facedir > 3 then facedir = 0 end + + local tailvec = core.facedir_to_dir(facedir) + local p = {x = pos.x, y = pos.y, z = pos.z} + local num = math.random(#types) + + core.swap_node(p, {name = types[num], param2 = facedir}) + + for i = 1, length do + + p.x = p.x + tailvec.x + p.z = p.z + tailvec.z + + core.swap_node(p, {name = "nyancat:nyancat_rainbow", param2 = facedir}) + end +end + +-- Do we generate PB&J Pup and Nyan Cat's in world? + +if core.settings:get_bool("pbj_pup_generate") ~= false then + + local function generate(minp, maxp, seed) + + local height_min = -31000 + local height_max = -32 + local chance = 1000 + + if maxp.y < height_min or minp.y > height_max then return end + + local y_min = math.max(minp.y, height_min) + local y_max = math.min(maxp.y, height_max) + local pr = PseudoRandom(seed + 9324342) + + if pr:next(0, chance) == 0 then + + local x0 = pr:next(minp.x, maxp.x) + local y0 = pr:next(minp.y, maxp.y) + local z0 = pr:next(minp.z, maxp.z) + local p0 = {x = x0, y = y0, z = z0} + + place(p0, pr:next(0, 3), pr:next(3, 15)) + end + end + + core.register_on_generated(generate) + + if def then default.generate_nyancats = generate end --Legacy +end + +-- Legacy + +core.register_alias("default:nyancat", "nyancat:nyancat") +core.register_alias("default:nyancat_rainbow", "nyancat:nyancat_rainbow") +core.register_alias("pbj_pup:pbj_pup_candies", "nyancat:nyancat_rainbow") + +if def then default.make_nyancat = place end + +print("[MOD] PB&J Pup loaded") diff --git a/mods/pbj_pup/license.txt b/mods/pbj_pup/license.txt new file mode 100644 index 00000000..3aa38617 --- /dev/null +++ b/mods/pbj_pup/license.txt @@ -0,0 +1,50 @@ +License of source code +---------------------- + +GNU Lesser General Public License, version 2.1 +Copyright (C) 2011-2016 celeron55, Perttu Ahola +Copyright (C) 2012-2016 Various Minetest developers and contributors + +This program is free software; you can redistribute it and/or modify it under the terms +of the GNU Lesser General Public License as published by the Free Software Foundation; +either version 2.1 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +See the GNU Lesser General Public License for more details: +https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html + + +Licenses of media (textures) +---------------------------- + +Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) +Copyright (C) 2012-2016 VanessaE + +You are free to: +Share — copy and redistribute the material in any medium or format. +Adapt — remix, transform, and build upon the material for any purpose, even commercially. +The licensor cannot revoke these freedoms as long as you follow the license terms. + +Under the following terms: + +Attribution — You must give appropriate credit, provide a link to the license, and +indicate if changes were made. You may do so in any reasonable manner, but not in any way +that suggests the licensor endorses you or your use. + +ShareAlike — If you remix, transform, or build upon the material, you must distribute +your contributions under the same license as the original. + +No additional restrictions — You may not apply legal terms or technological measures that +legally restrict others from doing anything the license permits. + +Notices: + +You do not have to comply with the license for elements of the material in the public +domain or where your use is permitted by an applicable exception or limitation. +No warranties are given. The license may not give you all of the permissions necessary +for your intended use. For example, other rights such as publicity, privacy, or moral +rights may limit how you use the material. + +For more details: +http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/mods/pbj_pup/mod.conf b/mods/pbj_pup/mod.conf new file mode 100644 index 00000000..11e05a51 --- /dev/null +++ b/mods/pbj_pup/mod.conf @@ -0,0 +1,7 @@ +name = pbj_pup +description = Randomly generates PB&J Pups, Nyan Cats or MooGnu's in your world with a rainbow tail. +optional_depends = default, mcl_sounds +min_minetest_version = 5.0 +release = 30956 +author = TenPlus1 +title = PB&J Pup and Nyan Cat diff --git a/mods/pbj_pup/screenshot.png b/mods/pbj_pup/screenshot.png new file mode 100644 index 00000000..ff61c441 Binary files /dev/null and b/mods/pbj_pup/screenshot.png differ diff --git a/mods/pbj_pup/settingtypes.txt b/mods/pbj_pup/settingtypes.txt new file mode 100644 index 00000000..d50f8866 --- /dev/null +++ b/mods/pbj_pup/settingtypes.txt @@ -0,0 +1,2 @@ +# If enabled generates PB&J Pup and Nyan Cats in world +pbj_pup_generate (Generate PB&J Pup) bool false diff --git a/mods/pbj_pup/textures/moognu_back.png b/mods/pbj_pup/textures/moognu_back.png new file mode 100644 index 00000000..826f4f21 Binary files /dev/null and b/mods/pbj_pup/textures/moognu_back.png differ diff --git a/mods/pbj_pup/textures/moognu_front.png b/mods/pbj_pup/textures/moognu_front.png new file mode 100644 index 00000000..03e59bf1 Binary files /dev/null and b/mods/pbj_pup/textures/moognu_front.png differ diff --git a/mods/pbj_pup/textures/moognu_side.png b/mods/pbj_pup/textures/moognu_side.png new file mode 100644 index 00000000..fee7b6f6 Binary files /dev/null and b/mods/pbj_pup/textures/moognu_side.png differ diff --git a/mods/pbj_pup/textures/nyancat_back.png b/mods/pbj_pup/textures/nyancat_back.png new file mode 100644 index 00000000..e479ace8 Binary files /dev/null and b/mods/pbj_pup/textures/nyancat_back.png differ diff --git a/mods/pbj_pup/textures/nyancat_front.png b/mods/pbj_pup/textures/nyancat_front.png new file mode 100644 index 00000000..c9dd6a33 Binary files /dev/null and b/mods/pbj_pup/textures/nyancat_front.png differ diff --git a/mods/pbj_pup/textures/nyancat_rainbow.png b/mods/pbj_pup/textures/nyancat_rainbow.png new file mode 100644 index 00000000..685a22cc Binary files /dev/null and b/mods/pbj_pup/textures/nyancat_rainbow.png differ diff --git a/mods/pbj_pup/textures/nyancat_side.png b/mods/pbj_pup/textures/nyancat_side.png new file mode 100644 index 00000000..3152c337 Binary files /dev/null and b/mods/pbj_pup/textures/nyancat_side.png differ diff --git a/mods/pbj_pup/textures/pbj_pup_back.png b/mods/pbj_pup/textures/pbj_pup_back.png new file mode 100644 index 00000000..f72fc246 Binary files /dev/null and b/mods/pbj_pup/textures/pbj_pup_back.png differ diff --git a/mods/pbj_pup/textures/pbj_pup_front.png b/mods/pbj_pup/textures/pbj_pup_front.png new file mode 100644 index 00000000..d1c5739f Binary files /dev/null and b/mods/pbj_pup/textures/pbj_pup_front.png differ diff --git a/mods/pbj_pup/textures/pbj_pup_jelly.png b/mods/pbj_pup/textures/pbj_pup_jelly.png new file mode 100644 index 00000000..ec0c1ebf Binary files /dev/null and b/mods/pbj_pup/textures/pbj_pup_jelly.png differ diff --git a/mods/pbj_pup/textures/pbj_pup_sides.png b/mods/pbj_pup/textures/pbj_pup_sides.png new file mode 100644 index 00000000..62ac227c Binary files /dev/null and b/mods/pbj_pup/textures/pbj_pup_sides.png differ diff --git a/mods/rainbow_ore/README.md b/mods/rainbow_ore/README.md new file mode 100644 index 00000000..8db48170 --- /dev/null +++ b/mods/rainbow_ore/README.md @@ -0,0 +1,28 @@ +Rainbow Ore +=========== + +This mod features a new ore called "Rainbow Ore" (as if you guessed it :D) which is pretty rare but also pretty powerful. + +License +======= + +Copyright (C) 2015 Robin Kuhn (KingSmarty) + +Rainbow Ore code is licensed under the GNU LGPLv2.1. + +Textures are licensed under the same license as minetest_game. + +Crafting: +========= + +Smelt "Rainbow Ore Block" --> "Rainbow Ingots" + +- Tools: + - crafted as always but with "Rainbow Ingots" as material instead. + - if default mod is not available, "default:stick" is replaced with "rainbow_ore:rainbow_ore_ingot". +- Armor: + - crafted like Armor but with "Rainbow Ingots" as material instead. +- Shield: + - crafted like a shield but with "Rainbow Ingots" as material instead. + +You can craft Nyancat_rainbow blocks like any other "solid" blocks but with "Rainbow Ingots" as material instead. diff --git a/mods/rainbow_ore/init.lua b/mods/rainbow_ore/init.lua new file mode 100644 index 00000000..2d7bd6a5 --- /dev/null +++ b/mods/rainbow_ore/init.lua @@ -0,0 +1,198 @@ +-- Rainbow_Ore Test Mod ----------- Copyright Robin Kuhn 2015 + +rainbow_ore = {} +rainbow_ore.modname = minetest.get_current_modname() +rainbow_ore.modpath = minetest.get_modpath(rainbow_ore.modname) + +--Check for mods +if minetest.get_modpath("3d_armor") then +dofile(rainbow_ore.modpath.."/rainbow_armor.lua") +end + +if minetest.get_modpath("shields") then +dofile(rainbow_ore.modpath.."/rainbow_shield.lua") +end + + +local S = minetest.get_translator(rainbow_ore.modname) + +-- Define Rainbow_Ore_Block node +minetest.register_node("rainbow_ore:rainbow_ore_block", { + description = S("Rainbow Ore"), + tiles = {"rainbow_ore_block.png"}, + groups = {stone=2, cracky=3}, + drop = "rainbow_ore:rainbow_ore_block", + is_ground_content = true, +}) + + +--Define Rainbow_Ore_Ingot node +minetest.register_craftitem("rainbow_ore:rainbow_ore_ingot", { + description = S("Rainbow Ore Ingot"), + inventory_image = "rainbow_ore_ingot.png", +}) + +--Define Rainbow_Ore Smelt Recipe +minetest.register_craft({ + type = "cooking", + output = "rainbow_ore:rainbow_ore_ingot", + recipe = "rainbow_ore:rainbow_ore_block", + cooktime = 10, +}) + + +--Register Rainbow Pickaxe +minetest.register_tool("rainbow_ore:rainbow_ore_pickaxe", { + description = S("Rainbow Pickaxe"), + inventory_image = "rainbow_ore_pickaxe.png", + tool_capabilities = { + full_punch_interval = 0.9, + max_drop_level=3, + groupcaps={ + cracky = {times={[1]=1.0, [2]=0.5, [3]=0.25}, uses=15, maxlevel=3}, + }, + damage_groups = {fleshy=5}, + }, +}) + + +local stick = minetest.settings:get("rainbow_ore.stick") +if not stick then + if minetest.registered_items["default:stick"] then + stick = "default:stick" + else + stick = "rainbow_ore:rainbow_ore_ingot" + end +end + +--Define Rainbow_Ore_Pickaxe crafting recipe +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_pickaxe", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"", stick, ""}, + {"", stick, ""} + } +}) + + +--Register Rainbow Axe +minetest.register_tool("rainbow_ore:rainbow_ore_axe", { + description = S("Rainbow Axe"), + inventory_image = "rainbow_ore_axe.png", + tool_capabilities = { + full_punch_interval = 0.9, + max_drop_level=3, + groupcaps={ + choppy={times={[1]=1.05, [2]=0.45, [3]=0.25}, uses=15, maxlevel=3}, + }, + damage_groups = {fleshy=7}, + } +}) + + +--Define Rainbow Axe crafting recipe +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_axe", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", ""}, + {"rainbow_ore:rainbow_ore_ingot", stick, ""}, + {"", stick, ""} + } +}) + +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_axe", + recipe = { + {"", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"", stick, "rainbow_ore:rainbow_ore_ingot"}, + {"", stick, ""} + } +}) + + +--Register Rainbow shovel +minetest.register_tool("rainbow_ore:rainbow_ore_shovel", { + description = S("Rainbow Shovel"), + inventory_image = "rainbow_ore_shovel.png", + wield_image = "rainbow_ore_shovel.png^[transformR90", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=3, + groupcaps={ + crumbly = {times={[1]=0.55, [2]=0.25, [3]=0.15}, uses=15, maxlevel=3}, + }, + damage_groups = {fleshy=4}, + }, +}) + + +--Define Rainbow shovel crafting recipe +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_shovel", + recipe = { + {"", "rainbow_ore:rainbow_ore_ingot", ""}, + {"", stick, ""}, + {"", stick, ""} + } +}) + + +--Register Rainbow sword +minetest.register_tool("rainbow_ore:rainbow_ore_sword", { + description = S("Rainbow Sword"), + inventory_image = "rainbow_ore_sword.png", + tool_capabilities = { + full_punch_interval = 0.7, + max_drop_level=3, + groupcaps={ + snappy={times={[1]=0.95, [2]=0.45, [3]=0.15}, uses=20, maxlevel=3}, + }, + damage_groups = {fleshy=8}, + } +}) + + +--Define Rainbow sword crafting recipe +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_sword", + recipe = { + {"", "rainbow_ore:rainbow_ore_ingot", ""}, + {"", "rainbow_ore:rainbow_ore_ingot", ""}, + {"", stick, ""} + } +}) + + +--Define Nyan Rainbow crafting recipe +minetest.register_craft({ + output = "default:nyancat_rainbow", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"} + } +}) + + +--Make Rainbow Ore spawn +local spawn_within = minetest.settings:get("rainbow_ore.spawn_within") or "default:stone" +minetest.log("action", "[rainbow_ore] ore set to spawn within " .. spawn_within + .. ", this can be changed with rainbow_ore.spawn_within setting") + +minetest.register_on_mods_loaded(function() + if minetest.registered_nodes[spawn_within] then + minetest.register_ore({ + ore_type = "scatter", + ore = "rainbow_ore:rainbow_ore_block", + wherein = spawn_within, + clust_scarcity = 17*17*17, + clust_num_ores = 3, + clust_size = 3, + y_min = -31000, + y_max = -200, + }) + else + minetest.log("warning", "[rainbow_ore] " .. spawn_within .. " is not a registered node, rainbow ore will not spawn") + end +end) diff --git a/mods/rainbow_ore/locale/rainbow_ore.es.tr b/mods/rainbow_ore/locale/rainbow_ore.es.tr new file mode 100644 index 00000000..69e07351 --- /dev/null +++ b/mods/rainbow_ore/locale/rainbow_ore.es.tr @@ -0,0 +1,16 @@ +# textdomain:rainbow_ore + +# Translators: Jordan Irwin (AntumDeluge) + + +Rainbow Ore=Mineral de Arcoíris +Rainbow Ore Ingot=Lingote de Arcoíris +Rainbow Pickaxe=Pico de Arcoíris +Rainbow Axe=Hacha de Arcoíris +Rainbow Shovel=Pala de Arcoíris +Rainbow Sword=Espada de Arcoíris +Rainbow Helmet=Casco de Arcoíris +Rainbow Chestplate=Pechera de Arcoíris +Rainbow Leggings=Esquinela de Arcoíris +Rainbow Boots=Botas de Arcoíris +Rainbow Shield=Escudo de Arcoíris diff --git a/mods/rainbow_ore/locale/template.txt b/mods/rainbow_ore/locale/template.txt new file mode 100644 index 00000000..7c8959b8 --- /dev/null +++ b/mods/rainbow_ore/locale/template.txt @@ -0,0 +1,16 @@ +# textdomain:rainbow_ore + +# Translators: + + +Rainbow Ore= +Rainbow Ore Ingot= +Rainbow Pickaxe= +Rainbow Axe= +Rainbow Shovel= +Rainbow Sword= +Rainbow Helmet= +Rainbow Chestplate= +Rainbow Leggings= +Rainbow Boots= +Rainbow Shield= diff --git a/mods/rainbow_ore/mod.conf b/mods/rainbow_ore/mod.conf new file mode 100644 index 00000000..37bc6896 --- /dev/null +++ b/mods/rainbow_ore/mod.conf @@ -0,0 +1,8 @@ +name = rainbow_ore +title = Rainbow Ore +description = Rainbow materials & equipment. +author = KingSmarty +license = LGPL +min_minetest_version = 5.0 +optional_depends = default, 3d_armor, shields +release = 8775 diff --git a/mods/rainbow_ore/rainbow_armor.lua b/mods/rainbow_ore/rainbow_armor.lua new file mode 100644 index 00000000..02882e6a --- /dev/null +++ b/mods/rainbow_ore/rainbow_armor.lua @@ -0,0 +1,63 @@ + +local S = minetest.get_translator(rainbow_ore.modname) + + +--Define Rainbow Armor +minetest.register_tool("rainbow_ore:rainbow_ore_helmet", { + description = S("Rainbow Helmet"), + inventory_image = "rainbow_ore_helmet_inv.png", + groups = {armor_head=20, armor_heal=17, armor_use=40}, + wear = 0, +}) +minetest.register_tool("rainbow_ore:rainbow_ore_chestplate", { + description = S("Rainbow Chestplate"), + inventory_image = "rainbow_ore_chestplate_inv.png", + groups = {armor_torso=25, armor_heal=17, armor_use=40}, + wear = 0, +}) +minetest.register_tool("rainbow_ore:rainbow_ore_leggings", { + description = S("Rainbow Leggings"), + inventory_image = "rainbow_ore_leggings_inv.png", + groups = {armor_legs=25, armor_heal=17, armor_use=40}, + wear = 0, +}) +minetest.register_tool("rainbow_ore:rainbow_ore_boots", { + description = S("Rainbow Boots"), + inventory_image = "rainbow_ore_boots_inv.png", + groups = {armor_feet=20, armor_heal=17, armor_use=40}, + wear = 0, +}) + + +--Define Rainbow Armor crafting recipe +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_helmet", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "", "rainbow_ore:rainbow_ore_ingot"}, + {"", "", ""}, + }, +}) +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_chestplate", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + }, +}) +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_leggings", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "", "rainbow_ore:rainbow_ore_ingot"}, + }, +}) +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_boots", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "", "rainbow_ore:rainbow_ore_ingot"}, + }, +}) \ No newline at end of file diff --git a/mods/rainbow_ore/rainbow_shield.lua b/mods/rainbow_ore/rainbow_shield.lua new file mode 100644 index 00000000..11c8201f --- /dev/null +++ b/mods/rainbow_ore/rainbow_shield.lua @@ -0,0 +1,22 @@ + +local S = minetest.get_translator(rainbow_ore.modname) + + +--Define Rainbow shield +minetest.register_tool("rainbow_ore:rainbow_ore_shield", { + description = S("Rainbow Shield"), + inventory_image = "rainbow_ore_shield_inv.png", + groups = {armor_shield=20, armor_heal=17, armor_use=40, armor_fire=1}, + wear = 0, +}) + + +--Define Rainbow shield crafting recipe +minetest.register_craft({ + output = "rainbow_ore:rainbow_ore_shield", + recipe = { + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"}, + {"", "rainbow_ore:rainbow_ore_ingot", ""}, + }, +}) \ No newline at end of file diff --git a/mods/rainbow_ore/settingtypes.txt b/mods/rainbow_ore/settingtypes.txt new file mode 100644 index 00000000..98241707 --- /dev/null +++ b/mods/rainbow_ore/settingtypes.txt @@ -0,0 +1,9 @@ + +# Determines the item used as "stick" component in rainbow tool craft recipes. +# Default is "default:stick". If default mod is not available, then default +# is "rainbow_ore:rainbow_ore_block". +rainbow_ore.stick (Stick item for rainbow tools recipes) string default:stick + +# Determines node that will be replaced with "rainbow_ore:rainbow_ore_block" +# when ore is spawned. +rainbow_ore.spawn_within (Rainbow ore spawns within) string default:stone diff --git a/mods/rainbow_ore/textures/raibow_ore.png b/mods/rainbow_ore/textures/raibow_ore.png new file mode 100644 index 00000000..11a95309 Binary files /dev/null and b/mods/rainbow_ore/textures/raibow_ore.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_axe.png b/mods/rainbow_ore/textures/rainbow_ore_axe.png new file mode 100644 index 00000000..17b8a495 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_axe.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_block.png b/mods/rainbow_ore/textures/rainbow_ore_block.png new file mode 100644 index 00000000..3ea6d8d3 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_block.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_boots_inv.png b/mods/rainbow_ore/textures/rainbow_ore_boots_inv.png new file mode 100644 index 00000000..1ab1c8ee Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_boots_inv.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_chestplate_inv.png b/mods/rainbow_ore/textures/rainbow_ore_chestplate_inv.png new file mode 100644 index 00000000..7e47e95c Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_chestplate_inv.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_helmet_inv.png b/mods/rainbow_ore/textures/rainbow_ore_helmet_inv.png new file mode 100644 index 00000000..86849098 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_helmet_inv.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_ingot.png b/mods/rainbow_ore/textures/rainbow_ore_ingot.png new file mode 100644 index 00000000..85fede9d Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_ingot.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_leggings_inv.png b/mods/rainbow_ore/textures/rainbow_ore_leggings_inv.png new file mode 100644 index 00000000..7a343191 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_leggings_inv.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_pickaxe.png b/mods/rainbow_ore/textures/rainbow_ore_pickaxe.png new file mode 100644 index 00000000..457b2192 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_pickaxe.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_boots.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_boots.png new file mode 100644 index 00000000..bdf446e9 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_boots.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_boots_preview.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_boots_preview.png new file mode 100644 index 00000000..3f2c33b1 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_boots_preview.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_chestplate.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_chestplate.png new file mode 100644 index 00000000..69be41cd Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_chestplate.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_chestplate_preview.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_chestplate_preview.png new file mode 100644 index 00000000..63878e9d Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_chestplate_preview.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_helmet.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_helmet.png new file mode 100644 index 00000000..18cd1a52 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_helmet.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_helmet_preview.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_helmet_preview.png new file mode 100644 index 00000000..c1270230 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_helmet_preview.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_leggings.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_leggings.png new file mode 100644 index 00000000..f90fdeac Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_leggings.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_leggings_preview.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_leggings_preview.png new file mode 100644 index 00000000..213356c6 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_leggings_preview.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_shield.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_shield.png new file mode 100644 index 00000000..49561e80 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_shield.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_shield_preview.png b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_shield_preview.png new file mode 100644 index 00000000..f24a8975 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_rainbow_ore_shield_preview.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_shield_inv.png b/mods/rainbow_ore/textures/rainbow_ore_shield_inv.png new file mode 100644 index 00000000..b6f38ffe Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_shield_inv.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_shovel.png b/mods/rainbow_ore/textures/rainbow_ore_shovel.png new file mode 100644 index 00000000..10ab4938 Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_shovel.png differ diff --git a/mods/rainbow_ore/textures/rainbow_ore_sword.png b/mods/rainbow_ore/textures/rainbow_ore_sword.png new file mode 100644 index 00000000..591bebcd Binary files /dev/null and b/mods/rainbow_ore/textures/rainbow_ore_sword.png differ diff --git a/mods/underworlds/LICENSE b/mods/underworlds/LICENSE new file mode 100644 index 00000000..19e30718 --- /dev/null +++ b/mods/underworlds/LICENSE @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +(This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.) + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random + Hacker. + + {signature of Ty Coon}, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/mods/underworlds/README.md b/mods/underworlds/README.md new file mode 100644 index 00000000..ce6f6a82 --- /dev/null +++ b/mods/underworlds/README.md @@ -0,0 +1,18 @@ +# underworlds + +This mod adds large underworlds to Minetest. Each is an open horizontal plane with different characteristics. The underzones table in init.lua contains all the data on each plane, including how far underground to generate it. + +![screenshot](https://raw.githubusercontent.com/duane-r/underworlds/master/textures/screenshot-1.jpg) +![screenshot](https://raw.githubusercontent.com/duane-r/underworlds/master/textures/screenshot-2.jpg) +![screenshot](https://raw.githubusercontent.com/duane-r/underworlds/master/textures/screenshot-3.jpg) +![screenshot](https://raw.githubusercontent.com/duane-r/underworlds/master/textures/screenshot-4.jpg) +![screenshot](https://raw.githubusercontent.com/duane-r/underworlds/master/textures/screenshot-5.jpg) + + +The source is available on github. + +Code: LGPL2 + +Mod dependencies: default + +Download: https://github.com/duane-r/underworlds/archive/master.zip diff --git a/mods/underworlds/deco.lua b/mods/underworlds/deco.lua new file mode 100644 index 00000000..06eab84f --- /dev/null +++ b/mods/underworlds/deco.lua @@ -0,0 +1,248 @@ +-- Underworlds deco.lua +-- Copyright Duane Robertson (duane@duanerobertson.com), 2017 +-- Distributed under the LGPLv2.1 (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) + +minetest.register_alias("underworlds:hot_cobble", "caverealms:hot_cobble") + +local newnode +local light_max = default.light_max or 10 + + +local spel = { + {type1="stalactite", type2="stalagmite", tile="default_stone.png"}, + {type1="stalactite_slimy", type2="stalagmite_slimy", tile="default_stone.png^underworlds_algae.png"}, + {type1="stalactite_mossy", type2="stalagmite_mossy", tile="default_stone.png^underworlds_moss.png"}, + {type1="icicle_down", type2="icicle_up", desc="Icicle", tile="caverealms_thin_ice.png", drop="default:ice"}, +} + +-- Speleothems can be made into cobblestone, to get them out of inventory. +minetest.register_craft({ + output = "default:cobble", + recipe = { + {"", "", ""}, + {"underworlds:stalactite", "underworlds:stalactite", ""}, + {"underworlds:stalactite", "underworlds:stalactite", ""}, + }, +}) + +minetest.register_craft({ + output = "default:cobble", + recipe = { + {"", "", ""}, + {"underworlds:stalagmite", "underworlds:stalagmite", ""}, + {"underworlds:stalagmite", "underworlds:stalagmite", ""}, + }, +}) + +-- What's a cave without speleothems? +for _, desc in pairs(spel) do + minetest.register_node("underworlds:"..desc.type1, { + description = (desc.desc or "Stalactite"), + tiles = {desc.tile}, + is_ground_content = true, + walkable = false, + paramtype = "light", + drop = (desc.drop or "underworlds:stalactite"), + drawtype = "nodebox", + node_box = { type = "fixed", + fixed = { + {-0.07, 0.0, -0.07, 0.07, 0.5, 0.07}, + {-0.04, -0.25, -0.04, 0.04, 0.0, 0.04}, + {-0.02, -0.5, -0.02, 0.02, 0.25, 0.02}, + } }, + groups = {rock=1, cracky=3}, + sounds = default.node_sound_stone_defaults(), + }) + + minetest.register_node("underworlds:"..desc.type2, { + description = (desc.desc or "Stalagmite"), + tiles = {desc.tile}, + is_ground_content = true, + walkable = false, + paramtype = "light", + drop = "underworlds:stalagmite", + drawtype = "nodebox", + node_box = { type = "fixed", + fixed = { + {-0.07, -0.5, -0.07, 0.07, 0.0, 0.07}, + {-0.04, 0.0, -0.04, 0.04, 0.25, 0.04}, + {-0.02, 0.25, -0.02, 0.02, 0.5, 0.02}, + } }, + groups = {rock=1, cracky=3}, + sounds = default.node_sound_stone_defaults(), + }) +end + +-- stone, hot +minetest.register_node("underworlds:hot_stone", { + description = "Hot Stone", + tiles = {"default_desert_stone.png^[colorize:#FF0000:150"}, + is_ground_content = true, + groups = {crumbly=2, surface_hot=3}, + light_source = light_max - 5, + damage_per_second = 1, + sounds = default.node_sound_stone_defaults({ + footstep = {name="default_stone_footstep", gain=0.25}, + }), +}) + +-- Glowing fungal stone provides an eerie light. +minetest.register_node("underworlds:glowing_fungal_stone", { + description = "Glowing Fungal Stone", + tiles = {"default_stone.png^vmg_glowing_fungal.png",}, + is_ground_content = true, + light_source = light_max - 4, + groups = {cracky=3, stone=1}, + drop = {items={ {items={"default:cobble"},}, {items={"underworlds:glowing_fungus",},},},}, + sounds = default.node_sound_stone_defaults(), +}) + +-- Glowing fungus grows underground. +minetest.register_craftitem("underworlds:glowing_fungus", { + description = "Glowing Fungus", + drawtype = "plantlike", + paramtype = "light", + tiles = {"vmg_glowing_fungus.png"}, + inventory_image = "vmg_glowing_fungus.png", + groups = {dig_immediate = 3}, +}) + +-- black (oily) sand +local newnode = underworlds_mod.clone_node("default:sand") +newnode.description = "Black Sand" +newnode.tiles = {"underworlds_black_sand.png"} +newnode.groups['falling_node'] = 0 +minetest.register_node("underworlds:black_sand", newnode) + +--[[ +newnode = underworlds_mod.clone_node("default:water_source") +newnode.description = "Poisonous Water" +newnode.groups.poison = 3 +newnode.light_source = 6 +newnode.liquid_alternative_flowing = "underworlds:water_poison_flowing" +newnode.liquid_alternative_source = "underworlds:water_poison_source" +newnode.post_effect_color = {a = 103, r = 108, g = 128, b = 64} +newnode.special_tiles = "underworlds_water_poison_source_animated.png" +newnode.tiles = "underworlds_water_poison_source_animated.png" +minetest.register_node("underworlds:water_poison_source", newnode) + +newnode = underworlds_mod.clone_node("default:water_flowing") +newnode.description = "Poisonous Water" +newnode.groups.poison = 3 +newnode.light_source = 6 +newnode.liquid_alternative_flowing = "underworlds:water_poison_flowing" +newnode.liquid_alternative_source = "underworlds:water_poison_source" +newnode.post_effect_color = {a = 103, r = 108, g = 128, b = 64} +newnode.special_tiles = "underworlds_water_poison_flowing_animated.png" +newnode.tiles = "underworlds_water_poison.png" +minetest.register_node("underworlds:water_poison_flowing", newnode) +]] +minetest.register_alias("underworlds:water_poison_source", "loud_walking:water_poison_source") +minetest.register_alias("underworlds:water_poison_flowing", "loud_walking:water_poison_flowing") + +-- ice, thin -- transparent +minetest.register_node("underworlds:thin_ice", { + description = "Thin Ice", + tiles = {"caverealms_thin_ice.png"}, + is_ground_content = true, + groups = {cracky=3}, + sounds = default.node_sound_glass_defaults(), + use_texture_alpha = true, + light_source = 1, + drawtype = "glasslike", + sunlight_propagates = true, + freezemelt = "default:water_source", + paramtype = "light", +}) + +-- Iron, hot +newnode = underworlds_mod.clone_node("default:steelblock") +newnode.description = "Hot Iron Block" +newnode.tiles = {"default_steel_block.png^[colorize:#FF3000:150"} +newnode.groups.surface_hot=3 +newnode.light_source = 3 +minetest.register_node("underworlds:hot_iron", newnode) + +-- Brass, hot +newnode = underworlds_mod.clone_node("default:steelblock") +newnode.description = "Hot Brass Block" +newnode.tiles = {"default_steel_block.png^[colorize:#FFBF00:150"} +newnode.groups.surface_hot=3 +newnode.light_source = 2 +minetest.register_node("underworlds:hot_brass", newnode) + +-- Polluted dirt +newnode = underworlds_mod.clone_node("default:dirt") +newnode.description = "Polluted Dirt" +newnode.tiles = {"default_dirt.png^[colorize:#100020:100"} +newnode.groups.soil = 0 +minetest.register_node("underworlds:polluted_dirt", newnode) + +-- Bare branches +minetest.register_node('underworlds:sticks_default', { + description = 'Sticks', + drawtype = 'allfaces_optional', + waving = 1, + visual_scale = 1.3, + tiles = {'underworlds_dry_twigs.png'}, + paramtype = 'light', + is_ground_content = false, + drop = 'default:stick 2', + groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1}, +}) + +--[[ Black leaves +newnode = underworlds_mod.clone_node("default:leaves") +newnode.description = "Blackened Leaves" +newnode.tiles = {"default_leaves.png^[colorize:#100020:200"} +newnode.special_tiles = {"default_leaves_simple.png^[colorize:#100020:200"} +newnode.groups = {snappy = 3, flammable = 2} +minetest.register_node("underworlds:leaves_black", newnode) +]] +minetest.register_alias("underworlds:leaves_black", "loud_walking:leaves_black") + +underworlds_mod.schematics = {} +do + local w, h, d = 5, 8, 5 + local s = underworlds_mod.schematic_array(w, h, d) + + for y = 0, math.floor(h/2)-1 do + s.data[2*d*h + y*d + 2 + 1].name = 'default:tree' + s.data[2*d*h + y*d + 2 + 1].param1 = 255 + end + + for z = 0, d-1 do + for y = math.floor(h/2), h-1 do + for x = 0, w-1 do + if y < h - 1 or (x ~= 0 and x ~= w-1 and z ~= 0 and z ~= d-1) then + if math.random(2) == 1 then + s.data[z*d*h + y*d + x + 1].name = 'underworlds:leaves_black' + else + s.data[z*d*h + y*d + x + 1].name = 'underworlds:sticks_default' + end + + if y == h-1 or x == 0 or x == w-1 or z == 0 or z == d-1 then + s.data[z*d*h + y*d + x + 1].param1 = 150 + else + s.data[z*d*h + y*d + x + 1].param1 = 225 + end + end + end + end + end + + for z = math.floor(d/2)-1, math.floor(d/2)+1, 2 do + for x = math.floor(w/2)-1, math.floor(w/2)+1, 2 do + s.data[z*d*h + math.floor(h/2)*d + x + 1].name = 'default:tree' + s.data[z*d*h + math.floor(h/2)*d + x + 1].param1 = 150 + end + end + + for y = 0, h-1 do + if y / 3 == math.floor(y / 3) then + s.yslice_prob[#s.yslice_prob+1] = {ypos=y,prob=170} + end + end + + underworlds_mod.schematics['decaying_tree'] = s +end diff --git a/mods/underworlds/depends.txt b/mods/underworlds/depends.txt new file mode 100644 index 00000000..69834c16 --- /dev/null +++ b/mods/underworlds/depends.txt @@ -0,0 +1,2 @@ +default +caverealms diff --git a/mods/underworlds/init.lua b/mods/underworlds/init.lua new file mode 100644 index 00000000..815ce00b --- /dev/null +++ b/mods/underworlds/init.lua @@ -0,0 +1,199 @@ +-- Underworlds init.lua +-- Copyright Duane Robertson (duane@duanerobertson.com), 2017 +-- Distributed under the LGPLv2.1 (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) + + +underworlds_mod = {} +underworlds_mod.version = "1.0" +underworlds_mod.path = minetest.get_modpath(minetest.get_current_modname()) +underworlds_mod.world = minetest.get_worldpath() + +underworlds_mod.integration = minetest.setting_getbool('underworlds_mod_integration') +if underworlds_mod.integration == nil then + underworlds_mod.integration = false +end + + +underworlds_mod.underzones = { + Caina = { + name = 'Caina', + ceiling_node = 'default:ice', + column_node = 'default:ice', + column_node_rare = 'underworlds:thin_ice', + floor_node = 'default:ice', + high_chunk = -22, + low_chunk = -25, + regular_columns = false, + stalactite = 'underworlds:icicle_down', + stalactite_chance = 12, + stone_depth = 2, + vary = true, + }, + Phlegethos = { + name = 'Phlegethos', + ceiling_node = 'underworlds:black_sand', + column_node = 'default:stone', + column_node_rare = 'underworlds:hot_stone', + floor_node = 'caverealms:hot_cobble', + fluid = 'default:lava_source', + fluid_chance = 1200, + high_chunk = -26, + low_chunk = -28, + lake = 'default:lava_source', + lake_level = 5, + regular_columns = false, + stone_depth = 1, + vary = true, + }, + Dis = { + name = 'Dis', + ceiling_height = 2, + ceiling_node = 'underworlds:hot_brass', + city = true, + column_node = 'default:steelblock', + floor_depth = 10, + floor_node = 'underworlds:hot_brass', + high_chunk = -30, + low_chunk = -30, + regular_columns = true, + stone_depth = 1, + vary = false, + }, + Minauros = { + name = 'Minauros', + ceiling_node = 'underworlds:black_sand', + column_node = 'underworlds:polluted_dirt', + column_node_rare = 'underworlds:glowing_fungal_stone', + floor_node = 'underworlds:polluted_dirt', + fluid = 'underworlds:water_poison_source', + fluid_chance = 2000, + high_chunk = -32, + lake = 'underworlds:water_poison_source', + lake_level = 10, + low_chunk = -35, + regular_columns = false, + stone_depth = 2, + vary = true, + }, + Styx = { + name = 'Styx', + ceiling_node = 'default:dirt', + floor_node = 'default:dirt', + high_chunk = -36, + low_chunk = -40, + regular_columns = false, + stone_depth = 2, + sea_chunk = -16, + vary = true, + }, +} + +for _, uz in pairs(underworlds_mod.underzones) do + if uz.low_chunk and uz.high_chunk then + uz.lower_bound = uz.low_chunk * 80 - 32 + uz.floor = uz.lower_bound + (uz.floor_depth or 20) + uz.upper_bound = uz.high_chunk * 80 + 47 + uz.ceiling = uz.upper_bound - (uz.ceiling_height or 20) + end + if uz.sea_chunk then + uz.sealevel = uz.sea_chunk * 80 + end +end + + +function underworlds_mod.clone_node(name) + if not (name and type(name) == 'string') then + return + end + + local node = minetest.registered_nodes[name] + local node2 = table.copy(node) + return node2 +end + + +underworlds_mod.place_schematic = function(minp, maxp, data, p2data, area, node, pos, schem, center) + if not (minp and maxp and data and p2data and area and node and pos and schem and type(data) == 'table' and type(p2data) == 'table' and type(schem) == 'table') then + return + end + + local rot = math.random(4) - 1 + local yslice = {} + if schem.yslice_prob then + for _, ys in pairs(schem.yslice_prob) do + yslice[ys.ypos] = ys.prob + end + end + + if center then + pos.x = pos.x - math.floor(schem.size.x / 2) + pos.z = pos.z - math.floor(schem.size.z / 2) + end + + for z1 = 0, schem.size.z - 1 do + for x1 = 0, schem.size.x - 1 do + local x, z + if rot == 0 then + x, z = x1, z1 + elseif rot == 1 then + x, z = schem.size.z - z1 - 1, x1 + elseif rot == 2 then + x, z = schem.size.x - x1 - 1, schem.size.z - z1 - 1 + elseif rot == 3 then + x, z = z1, schem.size.x - x1 - 1 + end + local dz = pos.z - minp.z + z + local dx = pos.x - minp.x + x + if pos.x + x > minp.x and pos.x + x < maxp.x and pos.z + z > minp.z and pos.z + z < maxp.z then + local ivm = area:index(pos.x + x, pos.y, pos.z + z) + local isch = z1 * schem.size.y * schem.size.x + x1 + 1 + local math_random = math.random + for y = 0, schem.size.y - 1 do + local dy = pos.y - minp.y + y + if yslice[y] or 255 >= math_random(255) then + local prob = schem.data[isch].prob or schem.data[isch].param1 or 255 + if prob >= math_random(255) and schem.data[isch].name ~= "air" then + data[ivm] = node[schem.data[isch].name] + end + local param2 = schem.data[isch].param2 or 0 + p2data[ivm] = param2 + end + + ivm = ivm + area.ystride + isch = isch + schem.size.x + end + end + end + end +end + + +-- Create and initialize a table for a schematic. +function underworlds_mod.schematic_array(width, height, depth) + if not (width and height and depth and type(width) == 'number' and type(height) == 'number' and type(depth) == 'number') then + return + end + + -- Dimensions of data array. + local s = {size={x=width, y=height, z=depth}} + s.data = {} + + for z = 0,depth-1 do + for y = 0,height-1 do + for x = 0,width-1 do + local i = z*width*height + y*width + x + 1 + s.data[i] = {} + s.data[i].name = "air" + s.data[i].param1 = 000 + end + end + end + + s.yslice_prob = {} + + return s +end + + +dofile(underworlds_mod.path .. "/deco.lua") +dofile(underworlds_mod.path .. "/mapgen.lua") diff --git a/mods/underworlds/mapgen.lua b/mods/underworlds/mapgen.lua new file mode 100644 index 00000000..e0c88dc0 --- /dev/null +++ b/mods/underworlds/mapgen.lua @@ -0,0 +1,91 @@ +-- Underworlds mapgen.lua +-- Copyright Duane Robertson (duane@duanerobertson.com), 2017 +-- Distributed under the LGPLv2.1 (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) + + +local DEBUG = false + + +-- This tables looks up nodes that aren't already stored. +local node = setmetatable({}, { + __index = function(t, k) + if not (t and k and type(t) == 'table') then + return + end + + t[k] = minetest.get_content_id(k) + return t[k] + end +}) + + +local data = {} +local p2data = {} + + +local function generate(p_minp, p_maxp, seed) + if not (p_minp and p_maxp and seed) then + return + end + + local minp, maxp = p_minp, p_maxp + local vm, emin, emax = minetest.get_mapgen_object("voxelmanip") + if not (vm and emin and emax) then + return + end + + vm:get_data(data) + p2data = vm:get_param2_data() + local heightmap + local area = VoxelArea:new({MinEdge = emin, MaxEdge = emax}) + local csize = vector.add(vector.subtract(maxp, minp), 1) + + local write = false + if not underworlds_mod.underzones then + return + end + + do + local avg = (minp.y + maxp.y) / 2 + for _, uz in pairs(underworlds_mod.underzones) do + if avg <= uz.upper_bound and avg >= uz.lower_bound then + write = underworlds_mod.undergen(minp, maxp, data, p2data, area, node, uz) + end + end + end + + if write then + vm:set_data(data) + vm:set_param2_data(p2data) + minetest.generate_ores(vm, minp, maxp) + + if DEBUG then + vm:set_lighting({day = 8, night = 8}) + else + vm:set_lighting({day = 0, night = 0}, minp, maxp) + vm:calc_lighting() + end + vm:update_liquids() + vm:write_to_map() + end +end + + +if underworlds_mod.path then + dofile(underworlds_mod.path .. "/undergen.lua") +end + + +local function pgenerate(...) + local status, err = pcall(generate, ...) + --local status, err = true + --generate(...) + if not status then + print('Underworlds: Could not generate terrain:') + print(dump(err)) + collectgarbage("collect") + end +end + + +minetest.register_on_generated(pgenerate) diff --git a/mods/underworlds/mod.conf b/mods/underworlds/mod.conf new file mode 100644 index 00000000..e8cd083d --- /dev/null +++ b/mods/underworlds/mod.conf @@ -0,0 +1 @@ +name = underworlds diff --git a/mods/.caverealms_old/textures/caverealms_thin_ice.png b/mods/underworlds/textures/caverealms_thin_ice.png similarity index 100% rename from mods/.caverealms_old/textures/caverealms_thin_ice.png rename to mods/underworlds/textures/caverealms_thin_ice.png diff --git a/mods/underworlds/textures/screenshot-1.jpg b/mods/underworlds/textures/screenshot-1.jpg new file mode 100644 index 00000000..c48dccf2 Binary files /dev/null and b/mods/underworlds/textures/screenshot-1.jpg differ diff --git a/mods/underworlds/textures/screenshot-2.jpg b/mods/underworlds/textures/screenshot-2.jpg new file mode 100644 index 00000000..8a11884c Binary files /dev/null and b/mods/underworlds/textures/screenshot-2.jpg differ diff --git a/mods/underworlds/textures/screenshot-3.jpg b/mods/underworlds/textures/screenshot-3.jpg new file mode 100644 index 00000000..9635d6d3 Binary files /dev/null and b/mods/underworlds/textures/screenshot-3.jpg differ diff --git a/mods/underworlds/textures/screenshot-4.jpg b/mods/underworlds/textures/screenshot-4.jpg new file mode 100644 index 00000000..4889bd58 Binary files /dev/null and b/mods/underworlds/textures/screenshot-4.jpg differ diff --git a/mods/underworlds/textures/screenshot-5.jpg b/mods/underworlds/textures/screenshot-5.jpg new file mode 100644 index 00000000..7f81e9f2 Binary files /dev/null and b/mods/underworlds/textures/screenshot-5.jpg differ diff --git a/mods/underworlds/textures/underworlds_algae.png b/mods/underworlds/textures/underworlds_algae.png new file mode 100644 index 00000000..2e75111a Binary files /dev/null and b/mods/underworlds/textures/underworlds_algae.png differ diff --git a/mods/underworlds/textures/underworlds_black_sand.png b/mods/underworlds/textures/underworlds_black_sand.png new file mode 100644 index 00000000..82345e82 Binary files /dev/null and b/mods/underworlds/textures/underworlds_black_sand.png differ diff --git a/mods/underworlds/textures/underworlds_dry_twigs.png b/mods/underworlds/textures/underworlds_dry_twigs.png new file mode 100644 index 00000000..a278c80c Binary files /dev/null and b/mods/underworlds/textures/underworlds_dry_twigs.png differ diff --git a/mods/underworlds/textures/underworlds_moss.png b/mods/underworlds/textures/underworlds_moss.png new file mode 100644 index 00000000..ea0f75af Binary files /dev/null and b/mods/underworlds/textures/underworlds_moss.png differ diff --git a/mods/underworlds/textures/underworlds_water_poison.png b/mods/underworlds/textures/underworlds_water_poison.png new file mode 100644 index 00000000..c4197c9b Binary files /dev/null and b/mods/underworlds/textures/underworlds_water_poison.png differ diff --git a/mods/underworlds/textures/underworlds_water_poison_flowing_animated.png b/mods/underworlds/textures/underworlds_water_poison_flowing_animated.png new file mode 100644 index 00000000..15178ab1 Binary files /dev/null and b/mods/underworlds/textures/underworlds_water_poison_flowing_animated.png differ diff --git a/mods/underworlds/textures/underworlds_water_poison_source_animated.png b/mods/underworlds/textures/underworlds_water_poison_source_animated.png new file mode 100644 index 00000000..2327d8de Binary files /dev/null and b/mods/underworlds/textures/underworlds_water_poison_source_animated.png differ diff --git a/mods/underworlds/textures/vmg_glowing_fungal.png b/mods/underworlds/textures/vmg_glowing_fungal.png new file mode 100644 index 00000000..d3a71349 Binary files /dev/null and b/mods/underworlds/textures/vmg_glowing_fungal.png differ diff --git a/mods/underworlds/textures/vmg_glowing_fungus.png b/mods/underworlds/textures/vmg_glowing_fungus.png new file mode 100644 index 00000000..0645e30c Binary files /dev/null and b/mods/underworlds/textures/vmg_glowing_fungus.png differ diff --git a/mods/underworlds/undergen.lua b/mods/underworlds/undergen.lua new file mode 100644 index 00000000..151c0ad8 --- /dev/null +++ b/mods/underworlds/undergen.lua @@ -0,0 +1,255 @@ +-- Underworlds undergen.lua +-- Copyright Duane Robertson (duane@duanerobertson.com), 2017 +-- Distributed under the LGPLv2.1 (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) + + +underworlds_mod.cave_width = 0.05 -- figurative width +local max_depth = 31000 + + +local terrain_noise = {offset = 15, scale = 10, seed = 3721, spread = {x = 40, y = 40, z = 40}, octaves = 3, persist = 1, lacunarity = 2} +local terrain_map +local terrain = {} + + +underworlds_mod.undergen = function(minp, maxp, data, p2data, area, node, underzone) + if not (minp and maxp and data and area and node and type(data) == 'table' and underzone and underworlds_mod.underzones) then + return + end + + local csize = vector.add(vector.subtract(maxp, minp), 1) + local map_max = {x = csize.x, y = csize.y + 2, z = csize.z} + local map_min = {x = minp.x, y = minp.y - 1, z = minp.z} + + if not terrain_map then + terrain_map = minetest.get_perlin_map(terrain_noise, {x=csize.x, y=csize.z}) + + if not terrain_map then + return + end + end + + terrain = terrain_map:get2dMap_flat({x=minp.x, y=minp.z}, terrain) + if not terrain then + return + end + + local math_random = math.random + local dis_map = {} + if underzone and underzone.city then + for i = 0, 10, 2 do + dis_map[i] = {} + for j = 0, 10, 2 do + dis_map[i][j] = math_random(6) + if dis_map[i][j] == 6 then + dis_map[i][j] = 5 + math_random(10) + end + end + end + end + + local write = false + + local index = 0 + local index3d = 0 + local cave_width = underworlds_mod.cave_width + local styx_sea_level = underworlds_mod.underzones['Styx'].sealevel + for z = minp.z, maxp.z do + for x = minp.x, maxp.x do + index = index + 1 + index3d = (z - minp.z) * (csize.y + 2) * csize.x + (x - minp.x) + 1 + local ivm = area:index(x, minp.y-1, z) + + local column = 0 + if terrain[index] < 30 then + column = 1 + elseif terrain[index] < 35 then + column = 2 + end + + for y = minp.y-1, maxp.y+1 do + if underzone.regular_columns and (x - minp.x) < 8 and (z - minp.z) < 8 then + data[ivm] = node[underzone.column_node] + write = true + elseif underzone.column_node and not underzone.regular_columns and column == 2 then + if underzone.column_node_rare and math.random(70) == 1 then + data[ivm] = node[underzone.column_node_rare] + else + data[ivm] = node[underzone.column_node] + end + write = true + elseif (y < underzone.ceiling - (underzone.vary and terrain[index] or 0) and y > underzone.floor + (underzone.vary and terrain[index] or 0)) then + if underzone.sealevel and y <= underzone.sealevel then + data[ivm] = node["default:water_source"] + elseif underzone.lake and y < underzone.floor + underzone.lake_level then + data[ivm] = node[underzone.lake] + else + data[ivm] = node["air"] + end + write = true + elseif y < underzone.ceiling + 10 - (underzone.vary and terrain[index] or 0) and (not underworlds_mod.integration or data[ivm] ~= node['air']) then + data[ivm] = node["default:stone"] + elseif y > underzone.floor - 10 + (underzone.vary and terrain[index] or 0) and (not underworlds_mod.integration or data[ivm] ~= node['air']) then + data[ivm] = node["default:stone"] + end + + ivm = ivm + area.ystride + index3d = index3d + csize.x + end + end + end + + + local math_floor = math.floor + + for z = minp.z, maxp.z do + for x = minp.x, maxp.x do + index = index + 1 + index3d = (z - minp.z) * (csize.y + 2) * csize.x + (x - minp.x) + 1 + local ivm = area:index(x, minp.y-1, z) + + --local column = 0 + --if terrain[index] < 30 then + -- column = 1 + --elseif terrain[index] < 35 then + -- column = 2 + --end + + for y = minp.y-1, maxp.y+1 do + local node_below + if y > minp.y then + node_below = data[ivm - area.ystride] + end + local node_above = data[ivm + area.ystride] + + for deco_non_loop = 1, 1 do + if data[ivm] == node["default:stone"] then + if node_above == node["air"] and underzone.dirt and math_random(underzone.dirt_chance) == 1 then + data[ivm] = node[underzone.dirt] + write = true + break + end + + local air_above = false + for i = 1, underzone.stone_depth do + if data[ivm + area.ystride * i] == node["air"] or (y < styx_sea_level and data[ivm + area.ystride * i] == node["default:water_source"]) then + air_above = true + end + end + + if air_above then + if underzone.deco and math_random(underzone.deco_chance) == 1 then + data[ivm] = node[underzone.deco] + write = true + break + else + data[ivm] = node[underzone.floor_node] + write = true + break + end + end + + local air_below = false + for i = 1, underzone.stone_depth do + if data[ivm - area.ystride * i] == node["air"] then + air_below = true + end + end + + if not air_above and underzone.floor_node == "default:sand" then + data[ivm] = node["default:sandstone"] + write = true + break + end + + if air_below then + if underzone.deco and math_random(underzone.deco_chance) == 1 then + data[ivm] = node[underzone.deco] + write = true + break + else + data[ivm] = node[underzone.ceiling_node] + write = true + break + end + end + end + + -- smallest city generator ever + if underzone.city and data[ivm] == node['air'] and math_floor((x - minp.x) / 8) % 2 == 0 and math_floor((z - minp.z) / 8) % 2 == 0 and y - underzone.floor < dis_map[math_floor((x - minp.x) / 8)][math_floor((z - minp.z) / 8)] * 4 + 1 and y - underzone.floor >= 0 then + local dx = (x - minp.x) % 16 + local dy = y - underzone.floor + 1 + local dz = (z - minp.z) % 16 + if dx == 1 and dz == 1 then + data[ivm] = node["default:ladder_steel"] + p2data[ivm] = 3 + --write_p2 = true + elseif ((dx == 0 or dx == 7) and (dz % 3 ~= 2 or dy % 4 == 0)) or ((dz == 0 or dz == 7) and (dx % 3 ~= 2 or dy % 4 == 0)) then + data[ivm] = node["underworlds:hot_iron"] + elseif dy % 4 == 0 then + data[ivm] = node["underworlds:hot_brass"] + end + write = true + break + end + + if data[ivm] == node["air"] and y < maxp.y then + -- hanging down + -- stone hasn't yet been changed + if underzone.stalactite and node_above == node["default:stone"] and math_random(underzone.stalactite_chance) == 1 then + data[ivm] = node[underzone.stalactite] + write = true + break + end + + -- fluids + if y > minp.y and underzone.fluid and node_below == node[underzone.floor_node] and math_random(underzone.fluid_chance) == 1 then + data[ivm] = node[underzone.fluid] + write = true + break + + -- standing up + elseif node_below == node[underzone.floor_node] and underzone.stalagmite and math_random(underzone.stalagmite_chance) == 1 then + if type(underzone.stalagmite) == 'table' then + data[ivm] = node[underzone.stalagmite[math_random(#underzone.stalagmite)]] + else + data[ivm] = node[underzone.stalagmite] + end + write = true + break + + -- vegetation + elseif node_below == node["underworlds:polluted_dirt"] then + if math_random(10) == 1 then + data[ivm] = node["default:dry_shrub"] + write = true + break + elseif math_random(50) == 1 then + local air_count = 0 + local pos = {} + local j + for i = 1, 9 do + j = ivm + area.ystride * i + if j <= #data and data[j] == node["air"] then + air_count = air_count + 1 + end + end + if air_count > 6 then + pos.x = x + pos.y = y + pos.z = z + underworlds_mod.place_schematic(minp, maxp, data, p2data, area, node, pos, underworlds_mod.schematics['decaying_tree'], true) + end + end + end + end + end + + ivm = ivm + area.ystride + index3d = index3d + csize.x + end + end + end + + return write +end diff --git a/mods/x_farming/crafting.lua b/mods/x_farming/crafting.lua index 23876fe0..f7571ae9 100644 --- a/mods/x_farming/crafting.lua +++ b/mods/x_farming/crafting.lua @@ -804,7 +804,7 @@ minetest.register_craft({ } }) -if minetest.get_modpath("ethereal") then +if x_farming.ethereal then minetest.register_craft({ output = 'x_farming:rope', recipe = { @@ -815,7 +815,7 @@ if minetest.get_modpath("ethereal") then }) end -if minetest.get_modpath("farming") and farming.mod == "redo" then +if x_farming.farming and farming.mod == "redo" then minetest.register_alias_force("farming:hemp_rope","x_farming:rope") minetest.register_craft({ output = 'x_farming:rope', @@ -954,7 +954,7 @@ minetest.register_craft({ recipe = { 'group:food_rice', 'group:food_seaweed', 'group:fish' } }) -if not(minetest.get_modpath("ethereal")) then +if not x_farming.ethereal then minetest.register_craft({ type = 'shapeless', diff --git a/mods/x_farming/init.lua b/mods/x_farming/init.lua index b81ec0bf..ba2d4804 100644 --- a/mods/x_farming/init.lua +++ b/mods/x_farming/init.lua @@ -15,6 +15,11 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to juraj.vajda@gmail.com --]] +x_farming = {} +x_farming.farming = minetest.get_modpath("farming") +x_farming.sandwiches = minetest.get_modpath("sandwiches") +x_farming.ethereal = minetest.get_modpath("ethereal") +x_farming.mcl_farming = minetest.get_modpath('mcl_farming') local mod_start_time = minetest.get_us_time() local path = minetest.get_modpath('x_farming') diff --git a/mods/x_farming/nodes.lua b/mods/x_farming/nodes.lua index d470c16d..02e27b26 100644 --- a/mods/x_farming/nodes.lua +++ b/mods/x_farming/nodes.lua @@ -17,6 +17,8 @@ --]] local S = minetest.get_translator(minetest.get_current_modname()) +local mcl_farming = x_farming.mcl_farming + -- Donuts local donut_def = { @@ -67,7 +69,7 @@ local donut_def = { sunlight_propagates = true } -if minetest.get_modpath('mcl_farming') then +if mcl_farming then donut_def.on_secondary_use = minetest.item_eat(3) end @@ -121,7 +123,7 @@ local donut_chocolate_def = { sunlight_propagates = true } -if minetest.get_modpath('mcl_farming') then +if mcl_farming then donut_chocolate_def.on_secondary_use = minetest.item_eat(4) end @@ -177,7 +179,7 @@ local fries_def = { sunlight_propagates = true } -if minetest.get_modpath('mcl_farming') then +if mcl_farming then fries_def.on_secondary_use = minetest.item_eat(6) end @@ -233,7 +235,7 @@ local pumpkin_pie_def = { sunlight_propagates = true } -if minetest.get_modpath('mcl_farming') then +if mcl_farming then pumpkin_pie_def.on_secondary_use = minetest.item_eat(6) end @@ -289,7 +291,7 @@ local beetroot_soup_def = { _mcl_hardness = 0, } -if minetest.get_modpath('mcl_farming') then +if mcl_farming then beetroot_soup_def.on_secondary_use = minetest.item_eat(6, 'x_farming:bowl') end @@ -343,7 +345,7 @@ local fish_stew_def = { sunlight_propagates = true } -if minetest.get_modpath('mcl_farming') then +if mcl_farming then fish_stew_def.on_secondary_use = minetest.item_eat(8, 'x_farming:bowl') end @@ -1419,7 +1421,7 @@ x_farming.register_pie('honey_kiwi_pie', { -- -- Convert farming soils - copy from MTG -- -if not minetest.get_modpath('farming') then +if not x_farming.farming then minetest.register_abm({ label = 'X Farming soil', nodenames = { 'group:field' },