<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://stardew.fastobject.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ATcartprice</id>
	<title>Module:Tcartprice - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stardew.fastobject.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ATcartprice"/>
	<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Module:Tcartprice&amp;action=history"/>
	<updated>2026-10-29T02:58:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Module:Tcartprice&amp;diff=129849&amp;oldid=prev</id>
		<title>imported&gt;Margotbean: create</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Module:Tcartprice&amp;diff=129849&amp;oldid=prev"/>
		<updated>2023-06-17T17:58:58Z</updated>

		<summary type="html">&lt;p&gt;create&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;
function p.tprice(frame)&lt;br /&gt;
	local price = frame.args[&amp;quot;price&amp;quot;]&lt;br /&gt;
	local separator = frame.args[&amp;quot;separator&amp;quot;]&lt;br /&gt;
	local gold = frame.args[&amp;quot;gold&amp;quot;]&lt;br /&gt;
	local space = string.lower(frame.args[&amp;quot;spacearoundseparator&amp;quot;])&lt;br /&gt;
	local ulang = string.upper(mw.language.getContentLanguage():getCode())&lt;br /&gt;
&lt;br /&gt;
	local formattedprice = &amp;quot;[[File:Gold.png|18px|link=]]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	if (string.lower(price) == &amp;quot;furniture&amp;quot;) then&lt;br /&gt;
		formattedprice = formattedprice .. &amp;quot;250&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		if space == &amp;quot;true&amp;quot; then formattedprice = formattedprice .. &amp;quot; &amp;quot; .. separator .. &amp;quot; &amp;quot;&lt;br /&gt;
		else formattedprice = formattedprice .. separator&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if (ulang ~= &amp;quot;ES&amp;quot;) then&lt;br /&gt;
			formattedprice = formattedprice .. tostring(mw.language.getContentLanguage():formatNum(2500))&lt;br /&gt;
		else&lt;br /&gt;
			formattedprice = formattedprice .. &amp;quot;2.500&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		local lowprice = tonumber(price) * 3&lt;br /&gt;
		local highprice = tonumber(price) * 5&lt;br /&gt;
		local fmlowprice = tostring(mw.language.getContentLanguage():formatNum(lowprice))&lt;br /&gt;
		local fmhighprice = tostring(mw.language.getContentLanguage():formatNum(highprice))&lt;br /&gt;
		&lt;br /&gt;
		if (lowprice &amp;lt;= 100) then&lt;br /&gt;
			formattedprice = formattedprice .. &amp;quot;100&amp;quot;		&lt;br /&gt;
		elseif (ulang ~= &amp;quot;ES&amp;quot;) then 	&lt;br /&gt;
			formattedprice = formattedprice .. fmlowprice&lt;br /&gt;
		else&lt;br /&gt;
			--Spanish&lt;br /&gt;
			if (lowprice &amp;lt; 1000) then&lt;br /&gt;
				formattedprice = formattedprice .. fmlowprice			&lt;br /&gt;
			elseif (lowprice &amp;lt; 10000) then&lt;br /&gt;
				local length = #(fmlowprice)&lt;br /&gt;
				local temp = string.sub(fmlowprice, -3)&lt;br /&gt;
				formattedprice = formattedprice .. string.sub(fmlowprice, 1, (length-3)) .. &amp;quot;.&amp;quot; .. temp&lt;br /&gt;
			else				&lt;br /&gt;
				local temp = {mw.ustring.gsub(tostring(fmlowprice), &amp;quot;%s&amp;quot; , &amp;quot;.&amp;quot;)}&lt;br /&gt;
				formattedprice = formattedprice .. temp[1]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
			&lt;br /&gt;
		if space == &amp;quot;true&amp;quot; then formattedprice = formattedprice .. &amp;quot; &amp;quot; .. separator .. &amp;quot; &amp;quot;&lt;br /&gt;
		else formattedprice = formattedprice .. separator&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if (highprice &amp;lt;= 1000) then&lt;br /&gt;
			if (ulang ~= &amp;quot;ES&amp;quot;) then &lt;br /&gt;
				formattedprice = formattedprice .. tostring(mw.language.getContentLanguage():formatNum(1000))&lt;br /&gt;
			else formattedprice = formattedprice .. &amp;quot;1.000&amp;quot;&lt;br /&gt;
			end		&lt;br /&gt;
		elseif (ulang ~= &amp;quot;ES&amp;quot;) then 	&lt;br /&gt;
			formattedprice = formattedprice .. fmhighprice&lt;br /&gt;
		else&lt;br /&gt;
			--Spanish and highprice &amp;gt; 1000			&lt;br /&gt;
			if (highprice &amp;lt; 10000) then&lt;br /&gt;
				local length = #(fmhighprice)&lt;br /&gt;
				local temp = string.sub(fmhighprice, -3)&lt;br /&gt;
				formattedprice = formattedprice .. string.sub(fmhighprice, 1, (length-3)) .. &amp;quot;.&amp;quot; .. temp&lt;br /&gt;
			else				&lt;br /&gt;
				local temp = {mw.ustring.gsub(tostring(fmhighprice), &amp;quot;%s&amp;quot; , &amp;quot;.&amp;quot;)}&lt;br /&gt;
				formattedprice = formattedprice .. temp[1]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return formattedprice .. gold&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Margotbean</name></author>
	</entry>
</feed>