<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modded.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ABrewing</id>
	<title>Module:Brewing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modded.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ABrewing"/>
	<link rel="alternate" type="text/html" href="https://modded.wiki/index.php?title=Module:Brewing&amp;action=history"/>
	<updated>2026-06-02T16:26:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://modded.wiki/index.php?title=Module:Brewing&amp;diff=11226&amp;oldid=prev</id>
		<title>Patbox: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://modded.wiki/index.php?title=Module:Brewing&amp;diff=11226&amp;oldid=prev"/>
		<updated>2025-03-17T14:54:23Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:54, 17 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key modded_wiki:diff:1.41:old-11225:rev-11226 --&gt;
&lt;/table&gt;</summary>
		<author><name>Patbox</name></author>
	</entry>
	<entry>
		<id>https://modded.wiki/index.php?title=Module:Brewing&amp;diff=11225&amp;oldid=prev</id>
		<title>minecraft&gt;MarkusRost at 03:26, 5 February 2025</title>
		<link rel="alternate" type="text/html" href="https://modded.wiki/index.php?title=Module:Brewing&amp;diff=11225&amp;oldid=prev"/>
		<updated>2025-02-05T03:26:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local i18n = {&lt;br /&gt;
	defaultBasePotion = &amp;#039;Awkward Potion&amp;#039;,&lt;br /&gt;
	defaultSplashPotion = &amp;#039;Splash $1&amp;#039;,&lt;br /&gt;
	defaultLingeringPotion = &amp;#039;Lingering $1&amp;#039;,&lt;br /&gt;
	specialPotionNames = {&lt;br /&gt;
		[&amp;#039;Any Potion&amp;#039;] = {&amp;#039;Any Splash Potion&amp;#039;, &amp;#039;Any Lingering Potion&amp;#039;},&lt;br /&gt;
		[&amp;#039;Awkward Potion&amp;#039;] = {&amp;#039;Awkward Splash Potion&amp;#039;, &amp;#039;Awkward Lingering Potion&amp;#039;},&lt;br /&gt;
		[&amp;#039;Thick Potion&amp;#039;] = {&amp;#039;Thick Splash Potion&amp;#039;, &amp;#039;Thick Lingering Potion&amp;#039;},&lt;br /&gt;
		[&amp;#039;Mundane Potion&amp;#039;] = {&amp;#039;Mundane Splash Potion&amp;#039;, &amp;#039;Mundane Lingering Potion&amp;#039;},&lt;br /&gt;
		[&amp;#039;Uncraftable Potion&amp;#039;] = {&amp;#039;Uncraftable Splash Potion&amp;#039;, &amp;#039;Uncraftable Lingering Potion&amp;#039;},&lt;br /&gt;
	},&lt;br /&gt;
	moduleArgs = [[Module:ProcessArgs]],&lt;br /&gt;
	moduleRecipe = [[Module:Recipe table]],&lt;br /&gt;
	type = &amp;#039;Brewing&amp;#039;,&lt;br /&gt;
}&lt;br /&gt;
p.i18n = i18n&lt;br /&gt;
&lt;br /&gt;
local recipeTable = require( i18n.moduleRecipe ).table&lt;br /&gt;
&lt;br /&gt;
function p.table( f )&lt;br /&gt;
	local args = f&lt;br /&gt;
	if f == mw.getCurrentFrame() then&lt;br /&gt;
		args = require( i18n.moduleArgs ).merge( true )&lt;br /&gt;
	else&lt;br /&gt;
		f = mw.getCurrentFrame()&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	args.Input = args[1]&lt;br /&gt;
	args.base1 = args.base1 or args.base&lt;br /&gt;
	if not args.base1 and not args.base2 and not args.base3 then&lt;br /&gt;
		args.base1 = i18n.defaultBasePotion&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local ingredientArgs = { &amp;#039;Input&amp;#039;, &amp;#039;Base1&amp;#039;, &amp;#039;Base2&amp;#039;, &amp;#039;Base3&amp;#039; }&lt;br /&gt;
	local outputArgs = { &amp;#039;Output1&amp;#039;, &amp;#039;Output2&amp;#039;, &amp;#039;Output3&amp;#039; }&lt;br /&gt;
	&lt;br /&gt;
	if args.showvariants then&lt;br /&gt;
		ingredientArgs = { &amp;#039;Input&amp;#039;, &amp;#039;Base1&amp;#039; }&lt;br /&gt;
		outputArgs = { &amp;#039;Output1&amp;#039; }&lt;br /&gt;
		local base2 = {}&lt;br /&gt;
		local base3 = {}&lt;br /&gt;
		local output2 = {}&lt;br /&gt;
		local output3 = {}&lt;br /&gt;
		for potion in mw.text.gsplit( args.base1, &amp;#039;%s*;%s*&amp;#039; ) do&lt;br /&gt;
			if i18n.specialPotionNames[potion] then&lt;br /&gt;
				table.insert( base2, i18n.specialPotionNames[potion][1] )&lt;br /&gt;
				table.insert( base3, i18n.specialPotionNames[potion][2] )&lt;br /&gt;
			else&lt;br /&gt;
				local splash = i18n.defaultSplashPotion:gsub( &amp;#039;%$1&amp;#039;, potion )&lt;br /&gt;
				local lingering = i18n.defaultLingeringPotion:gsub( &amp;#039;%$1&amp;#039;, potion )&lt;br /&gt;
				table.insert( base2, splash )&lt;br /&gt;
				table.insert( base3, lingering )&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		for potion in mw.text.gsplit( args[2], &amp;#039;%s*;%s*&amp;#039; ) do&lt;br /&gt;
			if i18n.specialPotionNames[potion] then&lt;br /&gt;
				table.insert( output2, i18n.specialPotionNames[potion][1] )&lt;br /&gt;
				table.insert( output3, i18n.specialPotionNames[potion][2] )&lt;br /&gt;
			else&lt;br /&gt;
				local splash = i18n.defaultSplashPotion:gsub( &amp;#039;%$1&amp;#039;, potion )&lt;br /&gt;
				local lingering = i18n.defaultLingeringPotion:gsub( &amp;#039;%$1&amp;#039;, potion )&lt;br /&gt;
				table.insert( output2, splash )&lt;br /&gt;
				table.insert( output3, lingering )&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		args.Base1 = args.base1&lt;br /&gt;
		args.Base2 = table.concat( base2, &amp;#039;;&amp;#039; )&lt;br /&gt;
		args.Base3 = table.concat( base3, &amp;#039;;&amp;#039; )&lt;br /&gt;
		args.Output1 = args[2]&lt;br /&gt;
		args.Output2 = table.concat( output2, &amp;#039;;&amp;#039; )&lt;br /&gt;
		args.Output3 = table.concat( output3, &amp;#039;;&amp;#039; )&lt;br /&gt;
	else&lt;br /&gt;
		args.Base1 = args.base2&lt;br /&gt;
		args.Base2 = args.base1&lt;br /&gt;
		args.Base3 = args.base3&lt;br /&gt;
		args.Output1 = args[3]&lt;br /&gt;
		args.Output2 = args[2]&lt;br /&gt;
		args.Output3 = args[4]&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local out = recipeTable( args, {&lt;br /&gt;
		uiFunc = &amp;#039;brewingStand&amp;#039;,&lt;br /&gt;
		type = i18n.type,&lt;br /&gt;
		ingredientArgs = ingredientArgs,&lt;br /&gt;
		outputArgs = outputArgs,&lt;br /&gt;
	} )&lt;br /&gt;
	&lt;br /&gt;
	local title = mw.title.getCurrentTitle()&lt;br /&gt;
	&lt;br /&gt;
	return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>minecraft&gt;MarkusRost</name></author>
	</entry>
</feed>