From c1638590577d487e620f9a037727b91a0f62ceea Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 15 Feb 2014 19:46:57 -0500 Subject: Schematic: Add force_placement parameter to minetest.place_structure API --- doc/lua_api.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 4e645ada3..0e2f6360e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1595,11 +1595,13 @@ minetest.create_schematic(p1, p2, probability_list, filename, slice_prob_list) ^ If slice probability list is nil, no slice probabilities are applied. ^ Saves schematic in the Minetest Schematic format to filename. -minetest.place_schematic(pos, schematic, rotation, replacements) +minetest.place_schematic(pos, schematic, rotation, replacements, force_placement) ^ Place the schematic specified by schematic (see: Schematic specifier) at pos. ^ Rotation can be "0", "90", "180", "270", or "random". ^ If the rotation parameter is omitted, the schematic is not rotated. ^ replacements = {{"oldname", "convert_to"}, ...} +^ force_placement is a boolean indicating whether nodes other than air and +^ ignore are replaced by the schematic Random: minetest.get_connected_players() -> list of ObjectRefs -- cgit v1.2.3