Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
|
2017-02-19 12:01:09 -05:00
|
|
|
-- decoration function
|
2019-04-28 21:13:18 -04:00
|
|
|
local function register_plant(name, min, max, spawnon, spawnby, num, rarety)
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
|
2019-04-28 21:13:18 -04:00
|
|
|
-- do not place on mapgen if no value given (or not true)
|
|
|
|
if not rarety then
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2019-04-28 21:13:18 -04:00
|
|
|
-- set rarety value or default to farming.rarety if not a number
|
|
|
|
rarety = tonumber(rarety) or farming.rarety
|
|
|
|
|
2017-02-19 12:01:09 -05:00
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
place_on = spawnon or {"default:dirt_with_grass"},
|
2017-02-19 12:01:09 -05:00
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0,
|
2019-04-28 21:13:18 -04:00
|
|
|
scale = rarety,
|
2017-02-19 12:01:09 -05:00
|
|
|
spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 329,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.6
|
|
|
|
},
|
|
|
|
y_min = min,
|
|
|
|
y_max = max,
|
|
|
|
decoration = "farming:" .. name,
|
|
|
|
spawn_by = spawnby,
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
num_spawn_by = num
|
2017-02-19 12:01:09 -05:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
-- add crops to mapgen
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
register_plant("potato_3", 15, 40, nil, "", -1, farming.potato)
|
|
|
|
register_plant("tomato_7", 5, 20, nil, "", -1, farming.tomato)
|
|
|
|
register_plant("corn_7", 12, 22, nil, "", -1, farming.corn)
|
|
|
|
register_plant("coffee_5", 20, 45, {"default:dirt_with_dry_grass",
|
update castles, areas, bakedclay, basic_materials, currency, digistuff,
farming_redo, homedecor, street_signs, technic, and unified inventory
removed item_tweaks and teleport_request
2020-04-05 22:04:00 -04:00
|
|
|
"default:dirt_with_rainforest_litter",
|
|
|
|
"default:dry_dirt_with_dry_grass"}, "", -1, farming.coffee)
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
register_plant("raspberry_4", 3, 10, nil, "", -1, farming.raspberry)
|
|
|
|
register_plant("rhubarb_3", 3, 15, nil, "", -1, farming.rhubarb)
|
|
|
|
register_plant("blueberry_4", 3, 10, nil, "", -1, farming.blueberry)
|
|
|
|
register_plant("beanbush", 18, 35, nil, "", -1, farming.beans)
|
|
|
|
register_plant("grapebush", 25, 45, nil, "", -1, farming.grapes)
|
|
|
|
register_plant("onion_5", 5, 22, nil, "", -1, farming.onion)
|
|
|
|
register_plant("garlic_5", 3, 30, nil, "group:tree", 1, farming.garlic)
|
|
|
|
register_plant("pea_5", 25, 50, nil, "", -1, farming.peas)
|
|
|
|
register_plant("beetroot_5", 1, 15, nil, "", -1, farming.beetroot)
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
register_plant("mint_4", 1, 75, {"default:dirt_with_grass",
|
updated cool_trees, basic_materials, bonemeal, castles, cblocks,
currency, facade, farming redo, item_drop, mesecons, pipeworks, technic,
titanium, and worldedit.
Switched to cheapie's display_blocks redo mod (replaces jojo1997's old
version).
2020-05-31 16:20:11 -04:00
|
|
|
"default:dirt_with_coniferous_litter"}, "group:water", 1, farming.mint)
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
register_plant("cabbage_6", 2, 10, nil, "", -1, farming.cabbage)
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
|
2017-02-19 12:01:09 -05:00
|
|
|
|
updated boost cart, homedecor modpack, castles modpack, currency, farming-redo,
maptools, mesecons, moreblocks, moreores, pipeworks, quartz
2017-10-27 15:13:31 -04:00
|
|
|
if minetest.get_mapgen_setting("mg_name") == "v6" then
|
2017-02-19 12:01:09 -05:00
|
|
|
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
register_plant("carrot_8", 1, 30, nil, "group:water", 1, farming.carrot)
|
|
|
|
register_plant("cucumber_4", 1, 20, nil, "group:water", 1, farming.cucumber)
|
|
|
|
register_plant("melon_8", 1, 20, nil, "group:water", 1, farming.melon)
|
|
|
|
register_plant("pumpkin_8", 1, 20, nil, "group:water", 1, farming.pumpkin)
|
2017-02-19 12:01:09 -05:00
|
|
|
else
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
-- v7 maps have a beach so plants growing near water is limited to 6 high
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
register_plant("carrot_8", 1, 15, nil, "", -1, farming.carrot)
|
|
|
|
register_plant("cucumber_4", 1, 10, nil, "", -1, farming.cucumber)
|
|
|
|
register_plant("melon_8", 1, 6, {"default:dirt_with_dry_grass",
|
2019-04-28 21:13:18 -04:00
|
|
|
"default:dirt_with_rainforest_litter"}, "", -1, farming.melon)
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
register_plant("pumpkin_8", 1, 6, nil, "", -1, farming.pumpkin)
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
if farming.hemp then
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0,
|
2019-04-28 21:13:18 -04:00
|
|
|
scale = tonumber(farming.hemp) or farming.rarety,
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 420,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.6
|
|
|
|
},
|
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
2018-05-11 10:22:53 -04:00
|
|
|
y_min = 3,
|
|
|
|
y_max = 45,
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
decoration = "farming:hemp_7",
|
|
|
|
spawn_by = "group:tree",
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
num_spawn_by = 1
|
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
2017-06-16 18:12:21 -04:00
|
|
|
})
|
2017-02-19 12:01:09 -05:00
|
|
|
end
|
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
2017-09-26 00:11:57 -04:00
|
|
|
|
|
|
|
if farming.chili then
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0,
|
2019-04-28 21:13:18 -04:00
|
|
|
scale = tonumber(farming.chili) or farming.rarety,
|
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
2017-09-26 00:11:57 -04:00
|
|
|
spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 760,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.6
|
|
|
|
},
|
|
|
|
y_min = 5,
|
|
|
|
y_max = 35,
|
|
|
|
decoration = {"farming:chili_8"},
|
|
|
|
spawn_by = "group:tree",
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
num_spawn_by = 1
|
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
2017-09-26 00:11:57 -04:00
|
|
|
})
|
|
|
|
end
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
|
|
|
|
if farming.pepper then
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0,
|
2019-04-28 21:13:18 -04:00
|
|
|
scale = tonumber(farming.pepper) or farming.rarety,
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 933,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.6
|
|
|
|
},
|
|
|
|
y_min = 5,
|
|
|
|
y_max = 35,
|
|
|
|
decoration = {"farming:pepper_5"},
|
|
|
|
spawn_by = "group:tree",
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
num_spawn_by = 1
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if farming.pineapple then
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
update castles, areas, bakedclay, basic_materials, currency, digistuff,
farming_redo, homedecor, street_signs, technic, and unified inventory
removed item_tweaks and teleport_request
2020-04-05 22:04:00 -04:00
|
|
|
place_on = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"},
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0,
|
2019-04-28 21:13:18 -04:00
|
|
|
scale = tonumber(farming.pineapple) or farming.rarety,
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 917,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.6
|
|
|
|
},
|
|
|
|
y_min = 18,
|
|
|
|
y_max = 30,
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
decoration = {"farming:pineapple_8"}
|
removed boost_cart and carbone_mobs -- too many crashes
updated blox, homedecor, plantlifed, cottages, farming_redo,
framedglass, gloopblocks, mesecons, moreblocks, moretrees,
pipeworks, player_textures, replacer, signs_lib, stained_glass,
technic, travelnet, unified_inventory, unifieddyes, and worldedit.
2018-02-13 14:05:34 -05:00
|
|
|
})
|
|
|
|
end
|
update bakedclay, basic_materials, bonemeal, currency, farming_redo,
maptools, mesecons, moreblocks, moreores, new_campfire, cool_trees,
pipeworks, staines_glass, technic, unified_inventory, and unifieddyes.
2020-07-12 08:03:52 -04:00
|
|
|
|
|
|
|
minetest.register_decoration({
|
|
|
|
name = "farming:cotton_wild",
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"default:dry_dirt_with_dry_grass"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = -0.1,
|
|
|
|
scale = 0.1,
|
|
|
|
spread = {x = 50, y = 50, z = 50},
|
|
|
|
seed = 4242,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.7
|
|
|
|
},
|
|
|
|
biomes = {"savanna"},
|
|
|
|
y_max = 31000,
|
|
|
|
y_min = 1,
|
|
|
|
decoration = "farming:cotton_wild"
|
|
|
|
})
|