<?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=Modding%3ABuffs</id>
	<title>Modding:Buffs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stardew.fastobject.net/index.php?action=history&amp;feed=atom&amp;title=Modding%3ABuffs"/>
	<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;action=history"/>
	<updated>2026-10-29T18:13:11Z</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=Modding:Buffs&amp;diff=171132&amp;oldid=prev</id>
		<title>imported&gt;Sunbeam135: added ru link</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=171132&amp;oldid=prev"/>
		<updated>2026-03-08T21:13:02Z</updated>

		<summary type="html">&lt;p&gt;added ru link&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 21:13, 8 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l104&quot;&gt;Line 104:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 104:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can also implement your own custom effects in code by checking if the buff is active, like &amp;lt;code&amp;gt;Game1.player.hasBuff(&amp;quot;Example.ModId_ZoomZoom&amp;quot;)&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can also implement your own custom effects in code by checking if the buff is active, like &amp;lt;code&amp;gt;Game1.player.hasBuff(&amp;quot;Example.ModId_ZoomZoom&amp;quot;)&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[ru:Модификации:Бонусы]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[zh:模组:效果]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[zh:模组:效果]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-164510:rev-171132:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Sunbeam135</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=164510&amp;oldid=prev</id>
		<title>imported&gt;8AwA8: Added CombatLevel as applicable buff effect to skills section of buff effects.</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=164510&amp;oldid=prev"/>
		<updated>2025-02-08T16:17:22Z</updated>

		<summary type="html">&lt;p&gt;Added CombatLevel as applicable buff effect to skills section of buff effects.&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 16:17, 8 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;! purpose&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;! purpose&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;FarmingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;FishingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;ForagingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;LuckLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MiningLevel&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;FarmingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;FishingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;ForagingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;LuckLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MiningLevel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;CombatLevel&lt;/ins&gt;&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; An amount applied to the matching [[Skills|skill level]] while the buff is active. This can be negative for a debuff. Default 0.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; An amount applied to the matching [[Skills|skill level]] while the buff is active. This can be negative for a debuff. Default 0.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-164292:rev-164510:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;8AwA8</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=164292&amp;oldid=prev</id>
		<title>imported&gt;8AwA8: Fills in 6 missing buff effects that were absent from this page into the buff effect&#039;s purpose section.</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=164292&amp;oldid=prev"/>
		<updated>2025-02-01T19:27:52Z</updated>

		<summary type="html">&lt;p&gt;Fills in 6 missing buff effects that were absent from this page into the buff effect&amp;#039;s purpose section.&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 19:27, 1 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l51&quot;&gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; An amount applied to the matching [[Skills|skill level]] while the buff is active. This can be negative for a debuff. Default 0.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; An amount applied to the matching [[Skills|skill level]] while the buff is active. This can be negative for a debuff. Default 0.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;Attack&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Defense&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MagneticRadius&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MaxStamina&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Speed&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;Attack&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Defense&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MagneticRadius&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MaxStamina&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Speed&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Immunity&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;KnockbackMultiplier&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;WeaponSpeedMultiplier&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;AttackMultiplier&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;CriticalChanceMultiplier&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;CriticalPowerMultiplier&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;WeaponPrecisionMultiplier&lt;/ins&gt;&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; An amount applied to the player&#039;s [[attack]], [[defense]], [[Magnetism|magnetic radius]], maximum [[Energy|stamina]], &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;[[speed]] while the buff is active. This can be negative for a debuff. Default 0.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; An amount applied to the player&#039;s [[attack]], [[defense]], [[Magnetism|magnetic radius]], maximum [[Energy|stamina]], [[speed]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, [[immunity]], [[weight]] multiplier, [[speed|weapon speed]] multipler, [[attack]] multiplier, [[Crit._Chance|crit chance]] multiplier, [[Crit._Power|crit power]] multiplier, or weapon percision multiplier &lt;/ins&gt;while the buff is active. This can be negative for a debuff. Default 0.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-163445:rev-164292:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;8AwA8</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=163445&amp;oldid=prev</id>
		<title>imported&gt;VulpesLucida: +zh link</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=163445&amp;oldid=prev"/>
		<updated>2025-01-10T23:46:35Z</updated>

		<summary type="html">&lt;p&gt;+zh link&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 23:46, 10 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot;&gt;Line 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can also implement your own custom effects in code by checking if the buff is active, like &amp;lt;code&amp;gt;Game1.player.hasBuff(&amp;quot;Example.ModId_ZoomZoom&amp;quot;)&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can also implement your own custom effects in code by checking if the buff is active, like &amp;lt;code&amp;gt;Game1.player.hasBuff(&amp;quot;Example.ModId_ZoomZoom&amp;quot;)&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[zh:模组:效果]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-159181:rev-163445:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;VulpesLucida</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159181&amp;oldid=prev</id>
		<title>imported&gt;Margotbean: Nipping unnecessary underscores in the bud</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159181&amp;oldid=prev"/>
		<updated>2024-10-16T00:29:10Z</updated>

		<summary type="html">&lt;p&gt;Nipping unnecessary underscores in the bud&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 00:29, 16 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;GlowColor&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;GlowColor&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The glow color to apply to the player. See [[Modding:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Common_data_field_types&lt;/del&gt;#Color]]. Default none.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The glow color to apply to the player. See [[Modding:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Common data field types&lt;/ins&gt;#Color]]. Default none.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;CustomFields&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;CustomFields&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The [[Modding:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Common_data_field_types&lt;/del&gt;#Custom fields|custom fields]] for this entry.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The [[Modding:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Common data field types&lt;/ins&gt;#Custom fields|custom fields]] for this entry.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-159180:rev-159181:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Margotbean</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159180&amp;oldid=prev</id>
		<title>imported&gt;Selph: fix custom fields link</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159180&amp;oldid=prev"/>
		<updated>2024-10-15T04:57:50Z</updated>

		<summary type="html">&lt;p&gt;fix custom fields link&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 04:57, 15 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;CustomFields&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;CustomFields&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The [[#Custom &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;data &lt;/del&gt;fields|custom fields]] for this entry.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Modding:Common_data_field_types&lt;/ins&gt;#Custom fields|custom fields]] for this entry.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-159179:rev-159180:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Selph</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159179&amp;oldid=prev</id>
		<title>imported&gt;Selph: fix link to color</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159179&amp;oldid=prev"/>
		<updated>2024-10-15T04:22:43Z</updated>

		<summary type="html">&lt;p&gt;fix link to color&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 04:22, 15 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;GlowColor&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;GlowColor&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The glow color to apply to the player. See [[#Color &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fields|color format&lt;/del&gt;]]. Default none.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &#039;&#039;(Optional)&#039;&#039; The glow color to apply to the player. See [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Modding:Common_data_field_types&lt;/ins&gt;#Color]]. Default none.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-159176:rev-159179:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Selph</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159176&amp;oldid=prev</id>
		<title>imported&gt;Selph at 04:18, 15 October 2024</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159176&amp;oldid=prev"/>
		<updated>2024-10-15T04:18:28Z</updated>

		<summary type="html">&lt;p&gt;&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 04:18, 15 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{upcoming|1.6}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;← [[Modding:Index|Index]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;← [[Modding:Index|Index]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-159175:rev-159176:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Selph</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159175&amp;oldid=prev</id>
		<title>imported&gt;Selph at 04:18, 15 October 2024</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159175&amp;oldid=prev"/>
		<updated>2024-10-15T04:18:20Z</updated>

		<summary type="html">&lt;p&gt;&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 04:18, 15 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;← [[Modding:Index|Index]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;← [[Modding:Index|Index]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page documents custom buffs&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &amp;lt;brief description&amp;gt;&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page documents custom buffs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Data format==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Data format==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key stardewwiki:diff:1.41:old-159174:rev-159175:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Selph</name></author>
	</entry>
	<entry>
		<id>https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159174&amp;oldid=prev</id>
		<title>imported&gt;Selph: create new page for buffs from Modding:Migrate to Stardew Valley 1.6 (main author Pathoschild with example code fixes by atravita)</title>
		<link rel="alternate" type="text/html" href="https://stardew.fastobject.net/index.php?title=Modding:Buffs&amp;diff=159174&amp;oldid=prev"/>
		<updated>2024-10-15T04:17:58Z</updated>

		<summary type="html">&lt;p&gt;create new page for buffs from &lt;a href=&quot;/wiki/Modding:Migrate_to_Stardew_Valley_1.6&quot; title=&quot;Modding:Migrate to Stardew Valley 1.6&quot;&gt;Modding:Migrate to Stardew Valley 1.6&lt;/a&gt; (main author Pathoschild with example code fixes by atravita)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{upcoming|1.6}}&lt;br /&gt;
&lt;br /&gt;
← [[Modding:Index|Index]]&lt;br /&gt;
&lt;br /&gt;
This page documents custom buffs, &amp;lt;brief description&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Data format==&lt;br /&gt;
You can define custom buffs by editing the &amp;lt;samp&amp;gt;Data/Buffs&amp;lt;/samp&amp;gt; asset. You can then use the buff from other places like &amp;lt;samp&amp;gt;Data/Object&amp;lt;/samp&amp;gt;&amp;#039;s &amp;lt;samp&amp;gt;Buff&amp;lt;/samp&amp;gt; field or the C# &amp;lt;samp&amp;gt;Buff&amp;lt;/samp&amp;gt; constructor.&lt;br /&gt;
&lt;br /&gt;
This consists of a string → model lookup, where...&lt;br /&gt;
* The key is a [[Modding:Common data field types#Unique string ID|unique string ID]] for the buff.&lt;br /&gt;
* The value is a model with the fields listed below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! field&lt;br /&gt;
! purpose&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;DisplayName&amp;lt;/samp&amp;gt;&lt;br /&gt;
| A [[Modding:Tokenizable strings|tokenizable string]] for the buff name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;Description&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; A [[Modding:Tokenizable strings|tokenizable string]] for the buff name. Default none.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;IsDebuff&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; &amp;gt;Whether this buff counts as a debuff, so its duration should be halved when wearing a [[Sturdy Ring|sturdy ring]]. Default false.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;GlowColor&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; The glow color to apply to the player. See [[#Color fields|color format]]. Default none.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt;&lt;br /&gt;
| The duration in milliseconds for which the buff should be active. This can be set to value &amp;lt;samp&amp;gt;-2&amp;lt;/samp&amp;gt; for a buff that should last for the rest of the day.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;MaxDuration&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; The maximum buff duration in milliseconds. If specified and larger than &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt;, a random value between &amp;lt;samp&amp;gt;Duration&amp;lt;/samp&amp;gt; and &amp;lt;samp&amp;gt;MaxDuration&amp;lt;/samp&amp;gt; will be selected for each buff. Default none.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;IconTexture&amp;lt;/samp&amp;gt;&lt;br /&gt;
| The asset name for the texture containing the buff&amp;#039;s sprite.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;IconSpriteIndex&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; The sprite index for the buff icon within the &amp;lt;samp&amp;gt;IconTexture&amp;lt;/samp&amp;gt;. Default 0.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;Effects&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; The buff attributes to apply. Default none.&lt;br /&gt;
&lt;br /&gt;
This consists of a model with any combination of these fields:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! field&lt;br /&gt;
! purpose&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;FarmingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;FishingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;ForagingLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;LuckLevel&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MiningLevel&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; An amount applied to the matching [[Skills|skill level]] while the buff is active. This can be negative for a debuff. Default 0.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;Attack&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Defense&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MagneticRadius&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;MaxStamina&amp;lt;/samp&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;samp&amp;gt;Speed&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; An amount applied to the player&amp;#039;s [[attack]], [[defense]], [[Magnetism|magnetic radius]], maximum [[Energy|stamina]], or [[speed]] while the buff is active. This can be negative for a debuff. Default 0.&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;ActionsOnApply&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; Run any number of [[Modding:Trigger actions|trigger action strings]] when the buff is applied to the current player. For example, this increments a player stat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;ActionsOnApply&amp;quot;: [&lt;br /&gt;
    &amp;quot;IncrementStat {{ModId}}_NumberEaten 1&amp;quot;&lt;br /&gt;
]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;samp&amp;gt;CustomFields&amp;lt;/samp&amp;gt;&lt;br /&gt;
| &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; The [[#Custom data fields|custom fields]] for this entry. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Modding]]&lt;br /&gt;
&lt;br /&gt;
==For C# mod authors==&lt;br /&gt;
1.6 rewrites buffs to work more consistently and be more extensible:&lt;br /&gt;
&lt;br /&gt;
* Buff logic is unified into &amp;lt;samp&amp;gt;Game1.player.buffs&amp;lt;/samp&amp;gt;, which is the single source of truth for buff data. This replaces the previous &amp;lt;samp&amp;gt;player.added*&amp;lt;/samp&amp;gt; and &amp;lt;samp&amp;gt;player.appliedBuffs&amp;lt;/samp&amp;gt; fields, &amp;lt;samp&amp;gt;BuffsDisplay&amp;lt;/samp&amp;gt; logic, enchantment stat bonuses, and boots/ring attribute changes on (un)equip.&lt;br /&gt;
* This also removes limitations on buff types (e.g. buffs can add weapon bonuses and weapons can add attribute buffs) and buffable equipment (e.g. equipped tools can have buffs too).&lt;br /&gt;
* Buff effects are now fully recalculated when they change, to fix a range of longstanding bugs like attribute drift and double-debuffs. Just like before, the buffs are managed locally; only the buff IDs and aggregate attribute effects are synced.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For C# mods:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Each buff now has a unique string ID. You can apply a new buff with the same ID to replace it (so you no longer need to manually find and remove previous instances of the buff).&lt;br /&gt;
* The buff duration can now be set to &amp;lt;samp&amp;gt;Buff.ENDLESS&amp;lt;/samp&amp;gt; to remove the duration. It&amp;#039;ll last all day until the player sleeps.&lt;br /&gt;
* You can add standard buff effects to any equipment by overriding &amp;lt;samp&amp;gt;Item.AddEquipmentEffects&amp;lt;/samp&amp;gt;, or add custom behaviour/buffs by overriding &amp;lt;samp&amp;gt;Item.onEquip&amp;lt;/samp&amp;gt; and &amp;lt;samp&amp;gt;Item.onUnequip&amp;lt;/samp&amp;gt;.&lt;br /&gt;
* You can add custom food or drink buffs by overriding &amp;lt;samp&amp;gt;Item.GetFoodOrDrinkBuffs()&amp;lt;/samp&amp;gt;.&lt;br /&gt;
* The &amp;lt;samp&amp;gt;Buff&amp;lt;/samp&amp;gt; constructor now supports a custom icon texture, sprite index, display name, description, and millisecond duration to fully support custom buffs.&lt;br /&gt;
* You can change how buff attributes are displayed (or add new attributes) by extending the &amp;lt;samp&amp;gt;BuffsDisplay.displayAttributes&amp;lt;/samp&amp;gt; list.&lt;br /&gt;
* You can have invisible buffs by setting &amp;lt;samp&amp;gt;buff.visible = false&amp;lt;/samp&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For example, here&amp;#039;s how to add a custom buff which adds +3 speed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
Buff buff = new Buff(&lt;br /&gt;
    id: &amp;quot;Example.ModId_ZoomZoom&amp;quot;,&lt;br /&gt;
    displayName: &amp;quot;Zoom Zoom&amp;quot;, // can optionally specify description text too&lt;br /&gt;
    iconTexture: this.Helper.ModContent.Load&amp;lt;Texture2D&amp;gt;(&amp;quot;assets/zoom.png&amp;quot;),&lt;br /&gt;
    iconSheetIndex: 0,&lt;br /&gt;
    duration: 30_000, // 30 seconds&lt;br /&gt;
    effects: new BuffEffects()&lt;br /&gt;
    {&lt;br /&gt;
        Speed = { 10 } // shortcut for buff.Speed.Value = 10&lt;br /&gt;
    }&lt;br /&gt;
);&lt;br /&gt;
Game1.player.applyBuff(buff);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also implement your own custom effects in code by checking if the buff is active, like &amp;lt;code&amp;gt;Game1.player.hasBuff(&amp;quot;Example.ModId_ZoomZoom&amp;quot;)&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>imported&gt;Selph</name></author>
	</entry>
</feed>