Noch mehr mods
This commit is contained in:
parent
a063db5d3b
commit
cf017b2ca1
527 changed files with 21113 additions and 181 deletions
27
mods/more_structures/LICENSE.txt
Normal file
27
mods/more_structures/LICENSE.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2023 ClothierEdward
|
||||
|
||||
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.
|
||||
|
||||
Textures added into the mod follow the CC-BY-SA-4.0 license.
|
||||
Click here to learn more about the CC-BY-SA-4.0 license.
|
||||
|
||||
https://creativecommons.org/licenses/by-sa/4.0/
|
||||
https://creativecommons.org/licenses/by-sa/4.0/legalcode
|
11
mods/more_structures/README.txt
Normal file
11
mods/more_structures/README.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
The More Structures Mod (aka more_structures)
|
||||
|
||||
This mod adds several new structures to make your Minetest world more alive.
|
||||
============================================
|
||||
|
||||
License: MIT License (for code), CC-BY-SA-4.0 (for textures)
|
||||
|
||||
Notes:
|
||||
This mod was made by ClothierEdward (aka u/ClothierCrafter on Reddit)
|
||||
|
||||
The mod icon is a screenshot which uses textures from Minetest Game.
|
8
mods/more_structures/depends.txt
Normal file
8
mods/more_structures/depends.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
default
|
||||
xpanes
|
||||
vessels
|
||||
doors
|
||||
beds
|
||||
stairs
|
||||
lootchests
|
||||
lootchests_default
|
1
mods/more_structures/description.txt
Normal file
1
mods/more_structures/description.txt
Normal file
|
@ -0,0 +1 @@
|
|||
This mod adds several new structures to make your Minetest world more alive.
|
606
mods/more_structures/init.lua
Normal file
606
mods/more_structures/init.lua
Normal file
|
@ -0,0 +1,606 @@
|
|||
morestructures = {}
|
||||
|
||||
--Towers
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_grass", "default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
|
||||
biomes = {"grassland", "deciduous_forest", "coniferous_forest", "taiga", "snowy_grassland"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.0000052,
|
||||
y_max = 300,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/tower_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Wells
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_grass", "default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
|
||||
biomes = {"grassland"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 50,
|
||||
y_min = 3,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/well_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -7,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_grass", "default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
|
||||
biomes = {"snowy_grassland"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 50,
|
||||
y_min = 3,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/well_2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -7,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Desert Wells
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/well_3.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/well_4.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Campsites
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_grass"},
|
||||
biomes = {"grassland", "deciduous_forest"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.00001,
|
||||
y_max = 300,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/campsite_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -2,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_coniferous_litter"},
|
||||
biomes = {"coniferous_forest"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.00001,
|
||||
y_max = 300,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/campsite_2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -2,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_rainforest_litter"},
|
||||
biomes = {"rainforest"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.00001,
|
||||
y_max = 300,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/campsite_3.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -2,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Igloos
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_snow", "default:snowblock"},
|
||||
biomes = {"taiga", "snowy_grassland", "icesheet"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 50,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/igloo_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_snow", "default:snowblock"},
|
||||
biomes = {"taiga", "snowy_grassland", "icesheet"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 50,
|
||||
y_min = 7,
|
||||
place_offset_y = -17,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/igloo_2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_snow", "default:snowblock"},
|
||||
biomes = {"taiga", "snowy_grassland", "icesheet"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 50,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/igloo_3.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -17,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_snow", "default:snowblock"},
|
||||
biomes = {"taiga", "snowy_grassland", "icesheet"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 50,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/igloo_4.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -8,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Sand Pillars
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00003,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/sand_pillar1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00004,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/sand_pillar2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Desert Sand Pillars
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00005,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desertsand_pillar1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00003,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desertsand_pillar2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Silver Sand Pillars
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:silver_sand"},
|
||||
biomes = {"cold_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00005,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/silversand_pillar1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:silver_sand"},
|
||||
biomes = {"cold_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00003,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/silversand_pillar2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Obsidian Pillars
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand", "default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.0000008,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/obsidian_pillar1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand", "default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.0000005,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/obsidian_pillar2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Sand Arches
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00004,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/sand_arch1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/sand_arch2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Desert Sand Arches
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00005,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desertsand_arch1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desertsand_arch2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Silver Sand Arches
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:silver_sand"},
|
||||
biomes = {"cold_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00005,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/silversand_arch1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:silver_sand"},
|
||||
biomes = {"cold_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.00002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/silversand_arch2.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Mese Hoards
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000004,
|
||||
y_max = -1024,
|
||||
y_min = -31000,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/mese_hoard.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement, all_floors",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:grass"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = 300,
|
||||
y_min = 7,
|
||||
decoration = "more_structures:villagehouse_1",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Jungle Temple
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.00002,
|
||||
y_max = 100,
|
||||
y_min = 5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/jungle_temple.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Stonehenge
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt", "default:dirt_with_grass"},
|
||||
biomes = {"grassland"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000009,
|
||||
y_max = 100,
|
||||
y_min = 2,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/stonehenge_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = -1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Graveyard
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt", "default:dirt_with_grass"},
|
||||
biomes = {"deciduous_forest"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000009,
|
||||
y_max = 100,
|
||||
y_min = 2,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/graveyard_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Ruined Hut
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_grass"},
|
||||
biomes = {"deciduous_forest"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000006,
|
||||
y_max = 150,
|
||||
y_min = 2,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/ruined_hut_1.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Spike
|
||||
minetest.register_node("more_structures:spike", {
|
||||
description = ("Spike"),
|
||||
drawtype = "plantlike",
|
||||
paramtype = "light",
|
||||
tiles = {"ms_spike.png"},
|
||||
inventory_image = "ms_spike.png",
|
||||
wield_image = "ms_spike.png",
|
||||
walkable = false,
|
||||
damage_per_second = 5,
|
||||
groups = {choppy = 1},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.375, 0.25},
|
||||
},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "more_structures:spike 3",
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||
{"group:wood", "group:wood", "group:wood"}
|
||||
}
|
||||
})
|
||||
|
||||
--Desert Outposts
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desert_outpost_1a.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desert_outpost_1b.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desert_outpost_2a.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:desert_sand"},
|
||||
biomes = {"desert", "sandstone_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000002,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/desert_outpost_2b.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Flame Obelisks
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:silver_sand"},
|
||||
biomes = {"cold_desert"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000004,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/flame_obelisk.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
})
|
||||
|
||||
--Totem Poles
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_rainforest_litter", "default:dry_dirt_with_dry_grass"},
|
||||
biomes = {"rainforest", "savanna"},
|
||||
sidelen = 50,
|
||||
fill_ratio = 0.000009,
|
||||
y_max = 300,
|
||||
y_min = -5,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/totem_pole.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Tradewagon
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone", "default:dirt", "default:dirt_with_grass", "default:dry_dirt_with_dry_grass"},
|
||||
biomes = {"grassland", "savanna"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.00001,
|
||||
y_max = 300,
|
||||
y_min = 7,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/tradewagon.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement",
|
||||
place_offset_y = 1,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--Fortress
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:stone"},
|
||||
sidelen = 100,
|
||||
fill_ratio = 0.000007,
|
||||
y_max = -512,
|
||||
y_min = -31000,
|
||||
schematic = minetest.get_modpath("more_structures") .. "/schematics/fortress.mts",
|
||||
flags = "place_center_x, place_center_z, force_placement, all_floors",
|
||||
place_offset_y = -3,
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
--minetest.register_node("more_structures:villagehouse_1", {
|
||||
-- description = ("Village House 1"),
|
||||
-- tiles = {"default_wood.png"},
|
||||
-- is_ground_content = false,
|
||||
-- groups = {choppy = 2, oddly_breakable_by_hand = 2},
|
||||
-- on_place = morestructures.place_house(pos)
|
||||
--})
|
||||
|
||||
--function morestructures.place_house(pos)
|
||||
-- local node = minetest.get_node(pos)
|
||||
-- if node.name == "more_structures:villagehouse_1" then
|
||||
-- local path = minetest.get_modpath("more_structures") .. "/schematics/villagehouse_1.mts",
|
||||
-- minetest.place_schematic({x = pos.x, y = pos.y, z = pos.z}, path, "0", nil, true)
|
||||
-- end
|
||||
--end
|
9
mods/more_structures/mod.conf
Normal file
9
mods/more_structures/mod.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
mod_name = more_structures
|
||||
depends = default, xpanes, vessels, doors, beds, stairs, lootchests, lootchests_default
|
||||
description = This mod adds several new structures to make your Minetest world more alive.
|
||||
release_version = 1
|
||||
author = ClothierEdward
|
||||
title = More Structures
|
||||
name = more_structures
|
||||
|
||||
release = 24128
|
BIN
mods/more_structures/schematics/campsite_1.mts
Normal file
BIN
mods/more_structures/schematics/campsite_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/campsite_2.mts
Normal file
BIN
mods/more_structures/schematics/campsite_2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/campsite_3.mts
Normal file
BIN
mods/more_structures/schematics/campsite_3.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desert_outpost_1.mts
Normal file
BIN
mods/more_structures/schematics/desert_outpost_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desert_outpost_1a.mts
Normal file
BIN
mods/more_structures/schematics/desert_outpost_1a.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desert_outpost_1b.mts
Normal file
BIN
mods/more_structures/schematics/desert_outpost_1b.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desert_outpost_2.mts
Normal file
BIN
mods/more_structures/schematics/desert_outpost_2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desert_outpost_2a.mts
Normal file
BIN
mods/more_structures/schematics/desert_outpost_2a.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desert_outpost_2b.mts
Normal file
BIN
mods/more_structures/schematics/desert_outpost_2b.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desertsand_arch1.mts
Normal file
BIN
mods/more_structures/schematics/desertsand_arch1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desertsand_arch2.mts
Normal file
BIN
mods/more_structures/schematics/desertsand_arch2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desertsand_pillar1.mts
Normal file
BIN
mods/more_structures/schematics/desertsand_pillar1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/desertsand_pillar2.mts
Normal file
BIN
mods/more_structures/schematics/desertsand_pillar2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/flame_obelisk.mts
Normal file
BIN
mods/more_structures/schematics/flame_obelisk.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/fortress.mts
Normal file
BIN
mods/more_structures/schematics/fortress.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/graveyard_1.mts
Normal file
BIN
mods/more_structures/schematics/graveyard_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/igloo_1.mts
Normal file
BIN
mods/more_structures/schematics/igloo_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/igloo_2.mts
Normal file
BIN
mods/more_structures/schematics/igloo_2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/igloo_3.mts
Normal file
BIN
mods/more_structures/schematics/igloo_3.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/igloo_4.mts
Normal file
BIN
mods/more_structures/schematics/igloo_4.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/jungle_temple.mts
Normal file
BIN
mods/more_structures/schematics/jungle_temple.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/mese_hoard.mts
Normal file
BIN
mods/more_structures/schematics/mese_hoard.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/obsidian_pillar1.mts
Normal file
BIN
mods/more_structures/schematics/obsidian_pillar1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/obsidian_pillar2.mts
Normal file
BIN
mods/more_structures/schematics/obsidian_pillar2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/ruined_hut_1.mts
Normal file
BIN
mods/more_structures/schematics/ruined_hut_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/sand_arch1.mts
Normal file
BIN
mods/more_structures/schematics/sand_arch1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/sand_arch2.mts
Normal file
BIN
mods/more_structures/schematics/sand_arch2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/sand_pillar1.mts
Normal file
BIN
mods/more_structures/schematics/sand_pillar1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/sand_pillar2.mts
Normal file
BIN
mods/more_structures/schematics/sand_pillar2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/silversand_arch1.mts
Normal file
BIN
mods/more_structures/schematics/silversand_arch1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/silversand_arch2.mts
Normal file
BIN
mods/more_structures/schematics/silversand_arch2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/silversand_pillar1.mts
Normal file
BIN
mods/more_structures/schematics/silversand_pillar1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/silversand_pillar2.mts
Normal file
BIN
mods/more_structures/schematics/silversand_pillar2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/stonehenge_1.mts
Normal file
BIN
mods/more_structures/schematics/stonehenge_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/totem_pole.mts
Normal file
BIN
mods/more_structures/schematics/totem_pole.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/tower_1.mts
Normal file
BIN
mods/more_structures/schematics/tower_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/tradewagon.mts
Normal file
BIN
mods/more_structures/schematics/tradewagon.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/villagehouse_1.mts
Normal file
BIN
mods/more_structures/schematics/villagehouse_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/well_1.mts
Normal file
BIN
mods/more_structures/schematics/well_1.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/well_2.mts
Normal file
BIN
mods/more_structures/schematics/well_2.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/well_3.mts
Normal file
BIN
mods/more_structures/schematics/well_3.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/schematics/well_4.mts
Normal file
BIN
mods/more_structures/schematics/well_4.mts
Normal file
Binary file not shown.
BIN
mods/more_structures/screenshot.png
Normal file
BIN
mods/more_structures/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 489 KiB |
BIN
mods/more_structures/textures/ms_spike.png
Normal file
BIN
mods/more_structures/textures/ms_spike.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 435 B |
Loading…
Add table
Add a link
Reference in a new issue