{"id":2423,"date":"2025-11-18T20:24:19","date_gmt":"2025-11-18T20:24:19","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=2423"},"modified":"2025-11-21T21:22:38","modified_gmt":"2025-11-21T21:22:38","password":"","slug":"blueprint-queue-slot","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/blueprint-queue-slot\/","title":{"rendered":"Blueprint Queue Slot"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Introduction<\/h2>\n\n\n\n<p>The Blueprint Queue Slot simply refreshes its information based on the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprint<\/a> that is assigned to it, while also being used a Button to select a <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprint<\/a> or clear the slot. <br><br>Note &#8211; The first <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprint<\/a> currently being crafted should also have this component, and enabling the IsResultBtn option.<\/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 is a prefab BlueprintQueueSlot located in \/prefabs\/UI.<br><br>Setting up without the prefab is easy and requires an Image for the Icon of <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprint&#8217;s<\/a> Result <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item\/\" title=\"Item\">Item<\/a>, the Button to click the slot and a Gameobject to display when hovering over the Button (This only works with a mouse). <br><br>There is null checking throughout, so use what you need for your game. <br><br>This component should be placed under a Canvas.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Settings<\/h2>\n\n\n\n<p><strong>Icon<\/strong><br>Assign an Image component to display the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprint<\/a> Result <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item\/\" title=\"Item\">Item<\/a> Icon.<br><br><strong>Btn<\/strong><br>Assign an Button component to enable clicking the Blueprint Queue Slot to open the Blueprint Select Menu. <br><br><strong>Close Overlay<\/strong><br>Assign a Gameobject to display the Icon on hover of this slot. Could be something like an &#8216;X&#8217; as in the prefab. <br><br><strong>Is Result Btn<\/strong><br>If this slot is the first slot &#8211; the one that is currently being crafted. This Slot is always visible by design. <br><br><strong>Is Add Btn<\/strong><br>If this slot is the last slot &#8211; the slot that can add <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprints<\/a> to the menu. This slot will be hidden if the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/crafter\/\" title=\"Crafter\">Crafters<\/a> MaxQueuedBlueprints is equal to the number of <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/blueprint\/\" title=\"Blueprint\">Blueprints<\/a> in the queue currently and reappear when there is space.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Scripting<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-csharp\" data-lang=\"C#\" data-show-lang=\"0\"><code>\/\/\/ &lt;summary&gt;\n\/\/\/ Setup the button listeners to bring up the Blueprint menu\n\/\/\/ &lt;\/summary&gt;\n\/\/\/ &lt;param name=&quot;crafter&quot;&gt;The crafter that will have its queue changed&lt;\/param&gt;\npublic void InitSlot(Crafter crafter)\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ Visually update the slot image \n\/\/\/ &lt;\/summary&gt;\n\/\/\/ &lt;param name=&quot;blueprint&quot;&gt;The blueprint that was selected&lt;\/param&gt;\npublic void SetSlot(Blueprint blueprint)\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ Empties the slot visually\n\/\/\/ &lt;\/summary&gt;\npublic void ClearSlot()<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The Blueprint Queue Slot simply refreshes its information based on the Blueprint that is assigned to it, while also being used a Button to select a Blueprint or clear the slot. Note &#8211; The first Blueprint currently being crafted should also have this component, and enabling the IsResultBtn option. Setting up There is a [&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-2423","docs","type-docs","status-publish","hentry","doc_category-resource-and-production"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":327,"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\/2423","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=2423"}],"version-history":[{"count":3,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2423\/revisions"}],"predecessor-version":[{"id":2569,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2423\/revisions\/2569"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2423"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=2423"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=2423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}