<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://silvematt.com/URPGCreationKitDocumentation/index.php?action=history&amp;feed=atom&amp;title=Harvestables</id>
	<title>Harvestables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?action=history&amp;feed=atom&amp;title=Harvestables"/>
	<link rel="alternate" type="text/html" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Harvestables&amp;action=history"/>
	<updated>2026-07-28T11:41:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Harvestables&amp;diff=817&amp;oldid=prev</id>
		<title>Silvematt: Created page with &quot;''HARVESTABLE_GreenHerb'' placed in the &quot;TutorialsCave&quot; cell. Harvestables are ingredient sources placed in the world (plants, herbs, mushrooms, ore veins, etc) that the Player can harvest to obtain Items.  When a Harvestable is harvested, its Loot Table is rolled and the resulting items are added directly to the Player's inventory, the object switches to its ''harvested'' visual and it '''regrows''' after a given amo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://silvematt.com/URPGCreationKitDocumentation/index.php?title=Harvestables&amp;diff=817&amp;oldid=prev"/>
		<updated>2026-07-27T16:34:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/URPGCreationKitDocumentation/index.php/File:Harvestables_1.png&quot; title=&quot;File:Harvestables 1.png&quot;&gt;thumb|&amp;#039;&amp;#039;HARVESTABLE_GreenHerb&amp;#039;&amp;#039; placed in the &amp;quot;TutorialsCave&amp;quot; cell.&lt;/a&gt; Harvestables are ingredient sources placed in the world (plants, herbs, mushrooms, ore veins, etc) that the Player can harvest to obtain &lt;a href=&quot;/URPGCreationKitDocumentation/index.php/Items&quot; title=&quot;Items&quot;&gt;Items&lt;/a&gt;.  When a Harvestable is harvested, its &lt;a href=&quot;/URPGCreationKitDocumentation/index.php/Loot_Tables&quot; title=&quot;Loot Tables&quot;&gt;Loot Table&lt;/a&gt; is rolled and the resulting items are added directly to the Player&amp;#039;s inventory, the object switches to its &amp;#039;&amp;#039;harvested&amp;#039;&amp;#039; visual and it &amp;#039;&amp;#039;&amp;#039;regrows&amp;#039;&amp;#039;&amp;#039; after a given amo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Harvestables 1.png|thumb|''HARVESTABLE_GreenHerb'' placed in the &amp;quot;TutorialsCave&amp;quot; cell.]]&lt;br /&gt;
Harvestables are ingredient sources placed in the world (plants, herbs, mushrooms, ore veins, etc) that the Player can harvest to obtain [[Items]].&lt;br /&gt;
&lt;br /&gt;
When a Harvestable is harvested, its [[Loot Tables|Loot Table]] is rolled and the resulting items are added directly to the Player's inventory, the object switches to its ''harvested'' visual and it '''regrows''' after a given amount of in-game hours.&lt;br /&gt;
&lt;br /&gt;
Harvestables are saved on the Save File, so both their state and the moment they were harvested survive save/load and cell streaming.&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
A Harvestable is a GameObject with the tag &amp;quot;'''RPG Creation Kit/Harvestable'''&amp;quot;, a '''Collider''' and the '''Harvestable''' component.&lt;br /&gt;
&lt;br /&gt;
[[File:Harvestables 2.png]]&lt;br /&gt;
&lt;br /&gt;
The Harvestable component exposes the following fields:&lt;br /&gt;
&lt;br /&gt;
*'''GUID Str:''' the '''ID''' of this Harvestable, it is generated automatically and it is the key used to save its state on the Save File. '''It must be unique.'''&lt;br /&gt;
*'''Harvestable Name:''' the name displayed to the Player in the interaction prompt (''[E] Harvest: Green Herb'').&lt;br /&gt;
*'''Loot Table:''' the [[Loot Tables|Loot Table]] (or Leveled Loot Table) rolled '''on every harvest'''.&lt;br /&gt;
*'''Hours To Regrow:''' how many '''in-game hours''' must pass before this Harvestable can be harvested again.&lt;br /&gt;
*'''Grown Visual:''' the GameObject that is active while the Harvestable can be harvested.&lt;br /&gt;
*'''Harvested Visual:''' the GameObject that is active while the Harvestable is regrowing. '''This field can be null''', in that case the Harvestable is simply hidden until it regrows.&lt;br /&gt;
*'''Events:''' [[Events And Consequences|Quest Dealers, Quest Updaters and Consequences]] triggered when the Harvestable is harvested.&lt;br /&gt;
*'''S On Harvest:''' an AudioClip played when the Harvestable is harvested.&lt;br /&gt;
&lt;br /&gt;
==Regrowth==&lt;br /&gt;
Regrowth is driven by the in-game clock, because the timestamp is stored as total elapsed in-game hours, the timer keeps running while the Harvestable is not loaded. if the Player harvests a plant with 48 Hours To Regrow, leaves the cell for three in-game days and comes back, the plant is already grown when the cell is streamed back in. Waiting, sleeping or any other mechanic that advances the in-game time advances regrowth as well.&lt;br /&gt;
&lt;br /&gt;
==Creating a new Harvestable with the Wizard==&lt;br /&gt;
The fastest way to create a Harvestable is the '''Harvestable Creation Wizard''', that you can open from '''RPG Creation Kit -&amp;gt; Create New -&amp;gt; Harvestable'''.&lt;br /&gt;
&lt;br /&gt;
[[File:Harvestables 3.png]]&lt;br /&gt;
&lt;br /&gt;
Before opening it, create the [[Loot Tables|Loot Table]] you want the Harvestable to roll.&lt;br /&gt;
&lt;br /&gt;
The Wizard fields are:&lt;br /&gt;
&lt;br /&gt;
*'''Grown Model:''' the 3D model of the grown plant. It can be a Prefab from the Project window or an object already placed in the scene. Assigning it also fills the '''Name''' field and shows an interactive preview.&lt;br /&gt;
*'''Harvested Model:''' the optional 3D model shown while the plant is regrowing (e.g. the same plant without flowers). Leave it empty to simply hide the plant. It's best if the Harvested model is a child of the harvestable game object.&lt;br /&gt;
*'''Name:''' the '''Harvestable Name''' displayed to the Player.&lt;br /&gt;
*'''Collider Type.'''&lt;br /&gt;
*'''Collider Is Trigger:''' leave it if the Player should be able to walk through the plants.&lt;br /&gt;
*'''Loot Table:''' the Loot Table rolled on each harvest.&lt;br /&gt;
*'''Hours To Regrow:''' the in-game hours before the plant can be harvested again.&lt;br /&gt;
*'''Save as Prefab?''' and '''Path:''' if enabled, the created Harvestable is also saved as a Prefab in the given path (that must start with &amp;quot;Assets/&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
==Demo==&lt;br /&gt;
The Demo contains three ready-to-use Harvestables in &amp;quot;''RPG Creation Kit/Demos/__RckDemo__/Harvestables''&amp;quot;: '''HARVESTABLE_GreenHerb''', '''HARVESTABLE_VioletHerb''' and '''HARVESTABLE_YellowHerb'''.&lt;br /&gt;
&lt;br /&gt;
They all follow the same setup: a guaranteed loot entry of 0 to 2 herbs, '''48''' Hours To Regrow, a grown and a harvested model, and a harvest sound. You can find them placed in the &amp;quot;'''TutorialsCave'''&amp;quot; and &amp;quot;'''CityInterior'''&amp;quot; cells. The herbs they give are [[Consumable Item|Consumable Items]] and can be used by the [[Crafting &amp;amp; Enchanting]] system.&lt;/div&gt;</summary>
		<author><name>Silvematt</name></author>
	</entry>
</feed>