{"id":2314,"date":"2025-11-15T21:59:05","date_gmt":"2025-11-15T21:59:05","guid":{"rendered":"https:\/\/golemitegames.com\/?post_type=docs&#038;p=2314"},"modified":"2025-11-21T08:16:59","modified_gmt":"2025-11-21T08:16:59","password":"","slug":"resource","status":"publish","type":"docs","link":"https:\/\/golemitegames.com\/index.php\/docs\/resource\/","title":{"rendered":"Resource"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Introduction<\/h2>\n\n\n\n<p>A Resource is unique to the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">Resource Node<\/a> component and has its own property drawer setup. This setup involves how much and when this Resource will trigger and be given to the player.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"697\" height=\"572\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-24.png\" alt=\"\" class=\"wp-image-2317\" style=\"width:400px\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-24.png 697w, https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-24-300x246.png 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:22px;text-transform:capitalize\">Setting up<\/h2>\n\n\n\n<p>To add a new resource, assign a new Resource to the Resources list on a <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-node\/\" title=\"Resource Node\">Resource Node<\/a>. This is done in the usual way by clicking the plus icon and can be deleted with the minus icon.<\/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>Item<\/strong><br>The <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item\/\" title=\"Item\">Item<\/a> that will resource is and will use for int or float precision.<br><br><strong>Amount OR Min Max<\/strong><br>Only available to the HP Threshold Resource Trigger Type of Resource Node. <br>The small square button on the right hand side of the Resource is a toggle for using a fixed amount, or by assigning a range between two values at trigger time. These are also determined and clamped if the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/item\/\" title=\"Item\">Item&#8217;s<\/a> Precision Type is set to Integer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"307\" height=\"48\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-26.png\" alt=\"\" class=\"wp-image-2319\" style=\"width:200px\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-26.png 307w, https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-26-300x47.png 300w\" sizes=\"(max-width: 307px) 100vw, 307px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"309\" height=\"51\" src=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-25.png\" alt=\"\" class=\"wp-image-2318\" style=\"width:200px\" srcset=\"https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-25.png 309w, https:\/\/golemitegames.com\/wp-content\/uploads\/2025\/11\/image-25-300x50.png 300w\" sizes=\"(max-width: 309px) 100vw, 309px\" \/><\/figure>\n\n\n\n<p>Example output &#8211; 1 min and 3 min floats could return anywhere between those two values as floating point value (precision determined by the <a href=\"https:\/\/golemitegames.com\/index.php\/docs\/resource-and-production-manager\/\" title=\"Resource And Production Manager\">Resource And Production Manager<\/a> global variable) while integer would only return 1, 2 or 3. <br><br><strong>HpThreshold<\/strong><br>Only available to the HP Threshold Resource Trigger Type of Resource Node.<br>What Threshold needs to be passed in order to trigger this Resource. This is a value between 0 and 1. A value of 1 means at 100% Hp, a Resource is triggered (in other words, on the first hit). A value of 0.5 means at 50% Hp, this Resource gets triggered. <br><br><strong>Chance<\/strong><br>How likely is this Resource to trigger. A value of 1 means the Resource will trigger 100% of the time, while a value of 0.5 means it will only trigger 50% of the time. <br><br><strong>Recurring<\/strong><br>This is a simple checkbox on the right hand side that decides if after the first trigger, should it keep triggering? <br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction A Resource is unique to the Resource Node component and has its own property drawer setup. This setup involves how much and when this Resource will trigger and be given to the player. Setting up To add a new resource, assign a new Resource to the Resources list on a Resource Node. This is [&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-2314","docs","type-docs","status-publish","hentry","doc_category-resource-and-production"],"acf":[],"aioseo_notices":[],"year_month":"2026-04","word_count":291,"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\/2314","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=2314"}],"version-history":[{"count":4,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2314\/revisions"}],"predecessor-version":[{"id":2540,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/docs\/2314\/revisions\/2540"}],"wp:attachment":[{"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2314"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_category?post=2314"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/golemitegames.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=2314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}