{"id":2299,"date":"2025-11-15T21:02:07","date_gmt":"2025-11-15T21:02:07","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=2299"},"modified":"2025-12-28T19:12:29","modified_gmt":"2025-12-28T19:12:29","password":"","slug":"item","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/item\/","title":{"rendered":"Item"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Introduction<\/h2>\n\n\n\n<p>Items are Scriptable Objects that store an Items data for use throughout the system. They are mainly used in <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource\/\" title=\"Resource\">Resources<\/a> and <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprints<\/a> but also internally used in ItemAmounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Setting up<\/h2>\n\n\n\n<p>There are some ready made Items in \/Items in the root of the folder. <br>You can set up new Items with Create&gt;ResourceAndProduction&gt;Item.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"716\" height=\"378\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-21.png\" alt=\"\" class=\"wp-image-2302\" style=\"width:400px\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-21.png 716w, https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-21-300x158.png 300w\" sizes=\"(max-width: 716px) 100vw, 716px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Settings<\/h2>\n\n\n\n<p><strong>Name<\/strong><br>The name can be entered directly in the top bar and will be used throughout the system.<br><br><strong>Icon<\/strong><br>The sprite used to display the Item. You can either click the Icon section on the top left to enter the selection screen or drag a sprite onto the slot. <br><br><strong>Description<\/strong><br>The description of the Item displayed in the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount-info-panel\/\" title=\"Item Amount Info Panel\">ItemAmountInfoPanel<\/a> in the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/inventory-manager\/\" title=\"Inventory Manager\">Inventory<\/a>.<br><br><strong>ID<\/strong><br>Self populating ID. Every duplicate or new Item created should assign a new unique ID for Item. Each Item needs a unique ID for the Items to be distinguished. You can click &#8216;Auto&#8217; to assign the next unique one manually if there is an issue. <br><br><strong>Precision Type<\/strong><br>Integer &#8211; Items with this Precision Type can only be collected and used in whole integer units such as 1, 2 etc. <br><br>Float &#8211; Item with this Precision Type can be collected in floating point numbers such as 1.2, 1.5 etc. The floating point precision is a global setting set on the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-and-production-manager\/\" title=\"Resource And Production\">Resource And Production Manager<\/a> component. <br><br><strong>Has Stack Limit<\/strong><br>Does this Item have a limit for how many can be put in one single stack before requiring another stack to be created. <br><br><strong>Stack Limit<\/strong><br>If Has Stack Limit is true, this setting will appear and you can assign how many Items of this type can be put in a single stack before requiring another to be created. <br><br><strong>Saleable<\/strong><br>Can this Item be sold in the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item-amount-info-panel\/\" title=\"Item Amount Info Panel\">ItemAmountInfoPanel<\/a> screen? <br><br><strong>Value<\/strong><br>If this Item is Saleable, then how much is 1 unit worth?<br><br><strong>Spawn Prefabs<\/strong><br>If <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">ResourceNode<\/a> is using collect type as WorldCollect, which prefabs should be used. Prefabs need to have the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/world-item\/\" title=\"World Item\">WorldItem<\/a> component attached.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Items are Scriptable Objects that store an Items data for use throughout the system. They are mainly used in Resources and Blueprints but also internally used in ItemAmounts. Setting up There are some ready made Items in \/Items in the root of the folder. You can set up new Items with Create&gt;ResourceAndProduction&gt;Item. Settings NameThe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_category":[46],"doc_tag":[],"class_list":["post-2299","docs","type-docs","status-publish","hentry","doc_category-resource-and-production"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":317,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"rickitz5h","author_nicename":"rickitz5h","author_url":"https:\/\/golemitegames.com\/index.php\/author\/rickitz5h\/"},"doc_category_info":[{"term_name":"Resource And Production","term_url":"https:\/\/golemitegames.com\/index.php\/docs-category\/resource-and-production\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/comments?post=2299"}],"version-history":[{"count":7,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2299\/revisions"}],"predecessor-version":[{"id":2602,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2299\/revisions\/2602"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2299"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=2299"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=2299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}