<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://olddev.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AMinetest.set_mapgen_params</id>
	<title>Talk:Minetest.set mapgen params - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://olddev.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AMinetest.set_mapgen_params"/>
	<link rel="alternate" type="text/html" href="https://olddev.minetest.org/index.php?title=Talk:Minetest.set_mapgen_params&amp;action=history"/>
	<updated>2026-04-15T12:43:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.7</generator>
	<entry>
		<id>https://olddev.minetest.org/index.php?title=Talk:Minetest.set_mapgen_params&amp;diff=346&amp;oldid=prev</id>
		<title>&gt;Prestidigitator: Created page with &quot;==Flags Conflict== lua_api.txt states that ''flags'' has the same syntax as in minetest.conf, and that adding a &quot;no&quot; prefix clears a flag.  The [[Mapgen Parameters#minetest.se...&quot;</title>
		<link rel="alternate" type="text/html" href="https://olddev.minetest.org/index.php?title=Talk:Minetest.set_mapgen_params&amp;diff=346&amp;oldid=prev"/>
		<updated>2014-07-06T21:28:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Flags Conflict== lua_api.txt states that &amp;#039;&amp;#039;flags&amp;#039;&amp;#039; has the same syntax as in minetest.conf, and that adding a &amp;quot;no&amp;quot; prefix clears a flag.  The [[Mapgen Parameters#minetest.se...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Flags Conflict==&lt;br /&gt;
lua_api.txt states that ''flags'' has the same syntax as in minetest.conf, and that adding a &amp;quot;no&amp;quot; prefix clears a flag.  The [[Mapgen Parameters#minetest.set_mapgen_params()]] section, on the other hand, also mentioned a ''flagmask'' parameter and stated:&lt;br /&gt;
:The ''flags'' field is a comma-delimited string of flag names as described in the previous section that are to be SET; the flagmask field is a comma-delimited string of flag names that are to be MODIFIED.  In other words, to set a flag, it must be present in both ''flags'' and ''flagmask'' fields, and to unset a flag, it must be present in the ''flagmask'' field but not in the ''flags'' field.&lt;br /&gt;
If a flag is present in ''flags'' but not in ''flagmask'', the result is undefined.&lt;br /&gt;
I'm not sure which is true, so I went with what lua_api.txt (HEAD) said.  Confirmation or fixes appreciated.&lt;br /&gt;
:--[[User:Prestidigitator|Prestidigitator]] ([[User talk:Prestidigitator|talk]]) 01:28, 7 July 2014 (MSK)&lt;/div&gt;</summary>
		<author><name>&gt;Prestidigitator</name></author>
	</entry>
</feed>