-
-
Save Amaz1/54ad76374316e98660fa to your computer and use it in GitHub Desktop.
Schems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minetest.register_decoration({ | |
--This is the schem deco | |
deco_type = "schematic", | |
--This defines what node it is placed on. | |
place_on = "default:snowblock", | |
sidelen = 16, | |
--This is the chance it has of spawning on that node. | |
fill_ratio = 0.004, | |
--This is where minetest gets the schem from. So create a schems folder in your mod, put the name where the abandoned fort is, and put your mod name wher lottmapgen is. | |
schematic = minetest.get_modpath("lottmapgen").."/schems/abandoned_fort.mts", | |
flags = "place_center_x, place_center_z", | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment