Imported from trollstream "ContentDB"
commit
8238f9b3fb
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2022 Tim7
|
||||||
|
|
||||||
|
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.
|
|
@ -0,0 +1,5 @@
|
||||||
|
local modpath = minetest.get_modpath("fantasy_biomes")
|
||||||
|
|
||||||
|
dofile(modpath.."/nodes.lua")
|
||||||
|
dofile(modpath.."/mapgen.lua")
|
||||||
|
dofile(modpath.."/recipes.lua")
|
Binary file not shown.
|
@ -0,0 +1,189 @@
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "lapis_forest",
|
||||||
|
node_top = "fantasy_biomes:lapis_dirt",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "fantasy_biomes:lapis_dirt",
|
||||||
|
depth_filler = 1,
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 6,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 75,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "lapis_forest_dunes",
|
||||||
|
node_top = "default:sand",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:sand",
|
||||||
|
depth_filler = 2,
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
vertical_blend = 1,
|
||||||
|
y_max = 5,
|
||||||
|
y_min = 4,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 75,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "lapis_forest_ocean",
|
||||||
|
node_top = "default:sand",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:sand",
|
||||||
|
depth_filler = 3,
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_cave_liquid = "default:water_source",
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
y_max = 3,
|
||||||
|
y_min = -255,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 75,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "lapis_forest_under",
|
||||||
|
node_cave_liquid = {"default:water_source", "default:lava_source"},
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
y_max = -256,
|
||||||
|
y_min = -31000,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 75,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "flower_forest",
|
||||||
|
node_top = "fantasy_biomes:dirt_with_grass_and_flowers",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:dirt",
|
||||||
|
depth_filler = 1,
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 6,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 85,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "flower_forest_dunes",
|
||||||
|
node_top = "default:sand",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:sand",
|
||||||
|
depth_filler = 2,
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
vertical_blend = 1,
|
||||||
|
y_max = 5,
|
||||||
|
y_min = 4,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 85,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "flower_forest_ocean",
|
||||||
|
node_top = "default:sand",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:sand",
|
||||||
|
depth_filler = 3,
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_cave_liquid = "default:water_source",
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
y_max = 3,
|
||||||
|
y_min = -255,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 85,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "flower_forest_under",
|
||||||
|
node_cave_liquid = {"default:water_source", "default:lava_source"},
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "stairs:stair_cobble",
|
||||||
|
y_max = -256,
|
||||||
|
y_min = -31000,
|
||||||
|
heat_point = 40,
|
||||||
|
humidity_point = 85,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = "fantasy_biomes:lapis_dirt",
|
||||||
|
sidelen = 4,
|
||||||
|
fill_ratio = 0.001,
|
||||||
|
biome = {"lapis_forest"},
|
||||||
|
height = 2,
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 32000,
|
||||||
|
place_offset_y = 0,
|
||||||
|
schematic = "lapis_tree.mts",
|
||||||
|
flags = "place_center_x, place_center_z, force_placement",
|
||||||
|
rotation = "random",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "fantasy_biomes:rafflesia",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_rainforest_litter"},
|
||||||
|
sidelen = 80,
|
||||||
|
fill_ratio = 0.01,
|
||||||
|
biomes = {"rainforest"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
decoration = "fantasy_biomes:rafflesia",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "fantasy_biomes:anthill",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 80,
|
||||||
|
fill_ratio = 0.0001,
|
||||||
|
biomes = {"grassland"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
decoration = "fantasy_biomes:anthill",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "fantasy_biomes:apple_tree",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"fantasy_biomes:dirt_with_grass_and_flowers"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.024,
|
||||||
|
scale = 0.015,
|
||||||
|
spread = {x = 250, y = 250, z = 250},
|
||||||
|
seed = 2,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.42
|
||||||
|
},
|
||||||
|
biomes = {"flower_forest"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
schematic = minetest.get_modpath("default") .. "/schematics/apple_tree.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
rotation = "random",
|
||||||
|
})
|
|
@ -0,0 +1,4 @@
|
||||||
|
name = fantasy_biomes
|
||||||
|
title = Fantasy Biomes
|
||||||
|
description = Cool biomes for Minetest.
|
||||||
|
depends = default
|
|
@ -0,0 +1,84 @@
|
||||||
|
minetest.register_node("fantasy_biomes:lapis_tree", {
|
||||||
|
description = ("Lapis Tree"),
|
||||||
|
tiles = {"default_tree_top.png^[colorize:blue:100", "default_tree_top.png^[colorize:blue:100", "default_tree.png^[colorize:blue:100"},
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
|
||||||
|
on_place = minetest.rotate_node
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("fantasy_biomes:dirt_with_grass_and_flowers", {
|
||||||
|
description = ("Dirt with Grass and Flowers"),
|
||||||
|
tiles = {"fantasy_biomes_grass_with_flowers.png", "default_dirt.png",
|
||||||
|
{name = "default_dirt.png^default_grass_side.png",
|
||||||
|
tileable_vertical = false}},
|
||||||
|
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
|
||||||
|
drop = "default:dirt",
|
||||||
|
sounds = default.node_sound_dirt_defaults({
|
||||||
|
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||||
|
}),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("fantasy_biomes:lapis_tree_leaves", {
|
||||||
|
description = ("Lapis Tree Leaves"),
|
||||||
|
drawtype = "allfaces_optional",
|
||||||
|
waving = 1,
|
||||||
|
tiles = {"default_leaves.png^[colorize:blue:100"},
|
||||||
|
special_tiles = {"default_leaves_simple.png^[colorize:blue:100"},
|
||||||
|
paramtype = "light",
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1},
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
|
||||||
|
after_place_node = after_place_leaves,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("fantasy_biomes:lapis_dirt", {
|
||||||
|
description = ("Lapis Dirt"),
|
||||||
|
tiles = {"default_gravel.png^[colorize:blue:100"},
|
||||||
|
groups = {crumbly = 3, soil = 1},
|
||||||
|
sounds = default.node_sound_dirt_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("fantasy_biomes:rafflesia", {
|
||||||
|
description = ("Rafflesia"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
waving = 1,
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
buildable_to = true,
|
||||||
|
tiles = {"fantasy_biomes_rafflesia.png"},
|
||||||
|
groups = {oddly_breakable_by_hand = 1},
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("fantasy_biomes:anthill", {
|
||||||
|
description = ("Anthill"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
waving = 0,
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
buildable_to = true,
|
||||||
|
tiles = {"fantasy_biomes_anthill.png"},
|
||||||
|
groups = {oddly_breakable_by_hand = 3},
|
||||||
|
damage_per_second = 1,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 2 / 16, 4 / 16}
|
||||||
|
},
|
||||||
|
sounds = default.node_sound_dirt_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("fantasy_biomes:lapis_wood_planks", {
|
||||||
|
description = ("Lapis Wood Planks"),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
place_param2 = 0,
|
||||||
|
tiles = {"default_wood.png^[colorize:blue:100"},
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
})
|
|
@ -0,0 +1,13 @@
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "fantasy_biomes:lapis_wood_planks 4",
|
||||||
|
recipe = {
|
||||||
|
{"fantasy_biomes:lapis_tree"},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "dye:red 8",
|
||||||
|
recipe = {
|
||||||
|
{"fantasy_biomes:rafflesia"}
|
||||||
|
},
|
||||||
|
})
|
Binary file not shown.
After Width: | Height: | Size: 464 B |
Binary file not shown.
After Width: | Height: | Size: 696 B |
Binary file not shown.
After Width: | Height: | Size: 432 B |
Loading…
Reference in New Issue