Skip to content

minetest-australopithecus/minetest-australopithecus-terragenitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minetest-australopithecus-terragenitor

A simple, module based system to create value maps, sculpting the world or placing decorations and plants.

Terragenitor

A system for creating value maps. A "value map" in this case is really just a 2D array with the values you give it and assign to it.

Example usage:

-- Create a new instance of TerraGenitor.
local terragenitor = TerraGenitor:new()

-- Register the modules.
terragenitor:register(ExampleModule:new())
terragenitor:register(OtherModule:new())

-- Register a function.
terragenitor:register(function(self, x, z, value, info, support)
	return value, info
end)

-- Init the whole system.
terragenitor:init()

-- Gets a map starting at the coordinates 0 and 0.
-- The size of the map defaults to constants.block_size, which is most
-- likely 80.
local map = terragenitor:get_map(0, 0)

-- Gets the value for the coordinates x 25 and z 30
local value = map[25][30].value

Sculptor

A system for sculpting the world using the LuaVoxelManipulator.

Flora

A system for placing plants and/or decorations.

About

A simple, module based system to create value maps, sculpting the world or placing decorations and plants. This is a mirror of the GitLab repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published