<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Tutorial%3ACustom_Ground_Item_Actions</id>
	<title>Tutorial:Custom Ground Item Actions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Tutorial%3ACustom_Ground_Item_Actions"/>
	<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;action=history"/>
	<updated>2026-07-31T15:41:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=4609&amp;oldid=prev</id>
		<title>Imbion: Imbion moved page Custom Ground Item Actions to Tutorial:Custom Ground Item Actions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=4609&amp;oldid=prev"/>
		<updated>2025-10-16T15:45:19Z</updated>

		<summary type="html">&lt;p&gt;Imbion moved page &lt;a href=&quot;/Custom_Ground_Item_Actions&quot; class=&quot;mw-redirect&quot; title=&quot;Custom Ground Item Actions&quot;&gt;Custom Ground Item Actions&lt;/a&gt; to &lt;a href=&quot;/Tutorial:Custom_Ground_Item_Actions&quot; title=&quot;Tutorial:Custom Ground Item Actions&quot;&gt;Tutorial:Custom Ground Item Actions&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:45, 16 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Imbion</name></author>
	</entry>
	<entry>
		<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=1358&amp;oldid=prev</id>
		<title>Trio at 04:28, 29 June 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=1358&amp;oldid=prev"/>
		<updated>2023-06-29T04:28:25Z</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:28, 29 June 2023&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-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&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;== Eat Action ==&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;== Eat Action ==&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;&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;Begin by finding the Apple in the Items list and double-click on it.&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;Begin by finding the Apple in the Items list and double-click on it.&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-lineno&quot; id=&quot;mw-diff-left-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&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;== Use Action ==&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;== Use Action ==&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;&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;Return back to Ground Use Actions for the Apple item&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;Return back to Ground Use Actions for the Apple item&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;/table&gt;</summary>
		<author><name>Trio</name></author>
	</entry>
	<entry>
		<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=1357&amp;oldid=prev</id>
		<title>Trio at 04:26, 29 June 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=1357&amp;oldid=prev"/>
		<updated>2023-06-29T04:26:51Z</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:26, 29 June 2023&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-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&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;* Use: The player is a prompted whether or not they want to enter Tropical Path. The item is consumed only if the player answers Yes.&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;* Use: The player is a prompted whether or not they want to enter Tropical Path. The item is consumed only if the player answers Yes.&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;== Eat Action &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&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;== Eat Action ==&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;Begin by finding the Apple in the Items list and double-click on it.&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;Begin by finding the Apple in the Items list and double-click on it.&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-l61&quot;&gt;Line 61:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&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;If you check the Stats menu, you&amp;#039;ll notice that your base Attack has increased!&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;If you check the Stats menu, you&amp;#039;ll notice that your base Attack has increased!&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;== Use Action &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&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;== Use Action ==&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;Return back to Ground Use Actions for the Apple item&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;Return back to Ground Use Actions for the Apple item&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-l126&quot;&gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&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;This concludes adding your own custom ground actions to items! You learned how to mod existing items to have ground actions and wrote a custom Lua item script!&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;This concludes adding your own custom ground actions to items! You learned how to mod existing items to have ground actions and wrote a custom Lua item script!&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;== Notes &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&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;== Notes ==&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;This includes some important members variables in the [https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Ground/GroundContext.cs#L5, GroundContext] class&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;This includes some important members variables in the [https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Ground/GroundContext.cs#L5, GroundContext] class&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;* context.Item - The current inventory being used ([https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Dungeon/InvItem.cs#L11, InvItem])&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;* context.Item - The current inventory being used ([https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Dungeon/InvItem.cs#L11, InvItem])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Trio</name></author>
	</entry>
	<entry>
		<id>https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=1356&amp;oldid=prev</id>
		<title>Trio: Created page with &quot;In this tutorial, we&#039;ll create our own custom ground actions for currently existing items. This tutorial will cover writing your own custom Lua GroundItemScript. Make your game is set to a mod in Modding Intro so that you’re editing a mod instead of the base game.  We want add the following custom ground actions to the Apple: * Eat: The player gains an attack stat boost after it is consumed. * Use: The player is a prompted whether or not they want to enter Tropical...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pmdo.pmdcollab.org/wiki/index.php?title=Tutorial:Custom_Ground_Item_Actions&amp;diff=1356&amp;oldid=prev"/>
		<updated>2023-06-29T04:26:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In this tutorial, we&amp;#039;ll create our own custom ground actions for currently existing items. This tutorial will cover writing your own custom Lua GroundItemScript. Make your game is set to a mod in &lt;a href=&quot;/Modding_Intro&quot; class=&quot;mw-redirect&quot; title=&quot;Modding Intro&quot;&gt;Modding Intro&lt;/a&gt; so that you’re editing a mod instead of the base game.  We want add the following custom ground actions to the Apple: * Eat: The player gains an attack stat boost after it is consumed. * Use: The player is a prompted whether or not they want to enter Tropical...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In this tutorial, we&amp;#039;ll create our own custom ground actions for currently existing items. This tutorial will cover writing your own custom Lua GroundItemScript. Make your game is set to a mod in [[Modding Intro]] so that you’re editing a mod instead of the base game.&lt;br /&gt;
&lt;br /&gt;
We want add the following custom ground actions to the Apple:&lt;br /&gt;
* Eat: The player gains an attack stat boost after it is consumed.&lt;br /&gt;
* Use: The player is a prompted whether or not they want to enter Tropical Path. The item is consumed only if the player answers Yes.&lt;br /&gt;
&lt;br /&gt;
=== Eat Action ===&lt;br /&gt;
&lt;br /&gt;
Begin by finding the Apple in the Items list and double-click on it.&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_FindItem.png | frameless | 200px]]&lt;br /&gt;
&lt;br /&gt;
You should see the following page below.&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_AppleMain.png | frameless]]&lt;br /&gt;
&lt;br /&gt;
Scroll down until you see &amp;quot;Ground Use Actions&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_GroundUseAction.png | frameless | 700px]]&lt;br /&gt;
&lt;br /&gt;
Click on [Add]. Then do the following:&lt;br /&gt;
* Set the Type to be ScriptItemEvent.&lt;br /&gt;
* Set the Script to be AppleGroundEatAction. We will later code the logic for this event.&lt;br /&gt;
* Set the &amp;quot;Ground Usage Type&amp;quot; to be Eat. This will set the menu action name to be Eat when using the item.&lt;br /&gt;
* Set the Selection to be Others. This allows the player to choose which party member the item will effect. &lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_AppleGroundEatAction.png | frameless | 300px]]&lt;br /&gt;
&lt;br /&gt;
Click on [OK] and then save. You should see a new event added to &amp;quot;Ground Use Actions&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_AfterEatAction.png | frameless | 700px]]&lt;br /&gt;
&lt;br /&gt;
If you spawn in an Apple and attempt to Eat, nothings happens. We need to code the logic for our Eat event! &lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_Eat.png | frameless]]&lt;br /&gt;
&lt;br /&gt;
Create a file called &amp;quot;event_misc.lua&amp;quot; in &amp;quot;PMDO/MODS/{MOD_NAME}/SCRIPT&amp;quot;. And copy the code below into the file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GROUND_ITEM_EVENT_SCRIPT = {}&lt;br /&gt;
&lt;br /&gt;
function GROUND_ITEM_EVENT_SCRIPT.AppleGroundEatAction(context)&lt;br /&gt;
  local player = context.User&lt;br /&gt;
  local prevStat = player.BaseAtk&lt;br /&gt;
  player.AtkBonus = player.AtkBonus + 1&lt;br /&gt;
  local newStat = player.BaseAtk&lt;br /&gt;
&lt;br /&gt;
  local player_name = player:GetDisplayName(false)&lt;br /&gt;
  local stat_diff = newStat - prevStat&lt;br /&gt;
  local msg = player_name .. &amp;quot;&amp;#039;s base Attack was boosted by &amp;quot; .. stat_diff .. &amp;quot;.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  UI:ResetSpeaker()&lt;br /&gt;
  UI:WaitShowDialogue(msg)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reload the scripts through the Dev Menu and attempt to Eat the Apple again! You should now see similar results below. &lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_EatResult.png | frameless]]&lt;br /&gt;
&lt;br /&gt;
If you check the Stats menu, you&amp;#039;ll notice that your base Attack has increased!&lt;br /&gt;
&lt;br /&gt;
=== Use Action ===&lt;br /&gt;
&lt;br /&gt;
Return back to Ground Use Actions for the Apple item&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_AfterEatAction.png | frameless | 700px]]&lt;br /&gt;
&lt;br /&gt;
Click on [Add] and do the following:&lt;br /&gt;
* Set the Type to be ScriptItemEvent.&lt;br /&gt;
* Set the Script to be AppleGroundUseAction.&lt;br /&gt;
* Set the &amp;quot;Ground Usage Type&amp;quot; to be Use.&lt;br /&gt;
* Set the Selection to be Self.&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_AppleGroundUseAction.png | frameless | 300px]]&lt;br /&gt;
&lt;br /&gt;
Click on [OK] and save. You will now see two items under &amp;quot;Ground Use Actions&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_Multiple.png | frameless | 700px]]&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s define the logic for the AppleGroundUseAction.&lt;br /&gt;
&lt;br /&gt;
In event_misc.lua, copy the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function GROUND_ITEM_EVENT_SCRIPT.AppleGroundUseAction(context)&lt;br /&gt;
  UI:ResetSpeaker()&lt;br /&gt;
  local zone = _DATA.DataIndices[RogueEssence.Data.DataManager.DataType.Zone]:Get(&amp;#039;tropical_path&amp;#039;)&lt;br /&gt;
  UI:ChoiceMenuYesNo(STRINGS:FormatKey(&amp;quot;DLG_ASK_ENTER_DUNGEON&amp;quot;, zone:GetColoredName()), false)&lt;br /&gt;
  UI:WaitForChoice()&lt;br /&gt;
  ch = UI:ChoiceResult()&lt;br /&gt;
  if ch then&lt;br /&gt;
    _DATA:PreLoadZone(&amp;#039;tropical_path&amp;#039;)&lt;br /&gt;
    SOUND:PlayBGM(&amp;quot;&amp;quot;, true)&lt;br /&gt;
    GAME:FadeOut(false, 20)&lt;br /&gt;
    GAME:EnterDungeon(&amp;#039;tropical_path&amp;#039;, 0, 0, 0, RogueEssence.Data.GameProgress.DungeonStakes.Risk, true, true)&lt;br /&gt;
  else&lt;br /&gt;
    context.CancelState.Cancel = true&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One important thing to note is the line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
context.CancelState.Cancel = true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default CancelState.Cancel is set to false. But by setting it to true, the item isn&amp;#039;t consumed in the inventory if the player chooses No. &lt;br /&gt;
&lt;br /&gt;
If you spawn in an Apple again, you&amp;#039;ll notice that Use has been added to the list of menu actions!&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_Use.png | frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you attempt to Use the Apple, you&amp;#039;ll see the following prompt below:&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_EnterTropicalPath.png | frameless]]&lt;br /&gt;
&lt;br /&gt;
Clicking on [Yes] will consume the Apple in the inventory and transport you to Tropical Path.&lt;br /&gt;
&lt;br /&gt;
[[File:CustomGroundAction_TropicalPath.png | frameless]]&lt;br /&gt;
&lt;br /&gt;
But clicking [No] will not consume the Apple and keep you in the same area.&lt;br /&gt;
&lt;br /&gt;
This concludes adding your own custom ground actions to items! You learned how to mod existing items to have ground actions and wrote a custom Lua item script!&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
This includes some important members variables in the [https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Ground/GroundContext.cs#L5, GroundContext] class&lt;br /&gt;
* context.Item - The current inventory being used ([https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Dungeon/InvItem.cs#L11, InvItem])&lt;br /&gt;
* context.Owner - The current ground user that used the item ([https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Ground/GroundChar.cs#L20, GroundChar])&lt;br /&gt;
* context.User - The party member that the item is going to apply its effect to ([https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Dungeon/Characters/Character.cs#L18, Character])&lt;br /&gt;
* context.CancelState.Cancel - Whether the item is consumed or not ([https://github.com/RogueCollab/RogueEssence/blob/b6eafc83063f603bdb470689e5918346ed097e2e/RogueEssence/Dungeon/GameEffects/GameContext.cs#L5, AbortStatus])&lt;br /&gt;
&lt;br /&gt;
[[Category:Modding Data]]&lt;/div&gt;</summary>
		<author><name>Trio</name></author>
	</entry>
</feed>