1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Add core.spawn_tree_on_vmanip (#15415)

This function works like `core.spawn_tree`, but spawns an L-system tree onto a VoxelManip object instead on the map.
This commit is contained in:
cx384 2024-12-08 20:27:22 +01:00 committed by GitHub
parent 8d43ad2522
commit c7fe2ee5c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 110 additions and 10 deletions

View file

@ -131,6 +131,9 @@ private:
// replacements, force_placement, flagstring)
static int l_place_schematic_on_vmanip(lua_State *L);
// spawn_tree_on_vmanip(vmanip, pos, treedef)
static int l_spawn_tree_on_vmanip(lua_State *L);
// serialize_schematic(schematic, format, options={...})
static int l_serialize_schematic(lua_State *L);