{"id":5726,"date":"2021-05-19T22:50:29","date_gmt":"2021-05-19T22:50:29","guid":{"rendered":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/getting-started\/damage-types\/"},"modified":"2021-07-08T13:43:52","modified_gmt":"2021-07-08T13:43:52","slug":"damage-types","status":"publish","type":"docs","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/","title":{"rendered":"Damage Types"},"content":{"rendered":"\n<p>Damage Types can be used to determine a &#8220;kind of damage&#8221; required to interact with a Foliage, this can for example be an Axe to chop wood or Pickaxe to hit a rock<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">creating the damage type<\/h2>\n\n\n\n<p>Create a new Blueprint class of type &#8220;<strong>DamageType<\/strong>&#8220;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1023\" height=\"689\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png\" alt=\"\" class=\"wp-image-606\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png 1023w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1-300x202.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1-768x517.png 768w\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" \/><\/a><\/figure>\n\n\n\n<p>Set your newly created <strong>Damage Type <\/strong>in the Data table for the Foliage that requires the Damage Type<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"684\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2-1024x684.png\" alt=\"\" class=\"wp-image-607\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2-1024x684.png 1024w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2-300x200.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2-768x513.png 768w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2-450x300.png 450w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage2.png 1401w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>When applying damage to Foliage, include the <strong>Damage Type<\/strong> that you created to be able to harvest that Foliage, if the <strong>Damage Type<\/strong> is not correct the user will not be able to interact with the Foliage<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage3.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"547\" src=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage3.png\" alt=\"\" class=\"wp-image-608\" srcset=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage3.png 901w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage3-300x182.png 300w, https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage3-768x466.png 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/a><\/figure>\n","protected":false},"featured_media":0,"parent":6653,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-5726","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Damage Types - eelDev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Damage Types - eelDev\" \/>\n<meta property=\"og:description\" content=\"Damage Types can be used to determine a &#8220;kind of damage&#8221; required to interact with a Foliage, this can for example be an Axe to chop wood or Pickaxe to hit a rock creating the damage type Create a new Blueprint class of type &#8220;DamageType&#8220; Set your newly created Damage Type in the Data table ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/\" \/>\n<meta property=\"og:site_name\" content=\"eelDev\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-08T13:43:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/\",\"url\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/\",\"name\":\"Damage Types - eelDev\",\"isPartOf\":{\"@id\":\"https:\/\/eeldev.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png\",\"datePublished\":\"2021-05-19T22:50:29+00:00\",\"dateModified\":\"2021-07-08T13:43:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#primaryimage\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png\",\"width\":1023,\"height\":689},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eeldev.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Foliage Plugin\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bonus Examples\",\"item\":\"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Damage Types\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eeldev.com\/#website\",\"url\":\"https:\/\/eeldev.com\/\",\"name\":\"eelDev\",\"description\":\"eelDev.com\",\"publisher\":{\"@id\":\"https:\/\/eeldev.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eeldev.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eeldev.com\/#organization\",\"name\":\"eelDev\",\"url\":\"https:\/\/eeldev.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"contentUrl\":\"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png\",\"width\":2048,\"height\":682,\"caption\":\"eelDev\"},\"image\":{\"@id\":\"https:\/\/eeldev.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Damage Types - eelDev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/","og_locale":"en_US","og_type":"article","og_title":"Damage Types - eelDev","og_description":"Damage Types can be used to determine a &#8220;kind of damage&#8221; required to interact with a Foliage, this can for example be an Axe to chop wood or Pickaxe to hit a rock creating the damage type Create a new Blueprint class of type &#8220;DamageType&#8220; Set your newly created Damage Type in the Data table ... Read more","og_url":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/","og_site_name":"eelDev","article_modified_time":"2021-07-08T13:43:52+00:00","og_image":[{"url":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/","url":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/","name":"Damage Types - eelDev","isPartOf":{"@id":"https:\/\/eeldev.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#primaryimage"},"image":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#primaryimage"},"thumbnailUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png","datePublished":"2021-05-19T22:50:29+00:00","dateModified":"2021-07-08T13:43:52+00:00","breadcrumb":{"@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#primaryimage","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2019\/02\/damage1.png","width":1023,"height":689},{"@type":"BreadcrumbList","@id":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/damage-types\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eeldev.com\/"},{"@type":"ListItem","position":2,"name":"Foliage Plugin","item":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/"},{"@type":"ListItem","position":3,"name":"Bonus Examples","item":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/"},{"@type":"ListItem","position":4,"name":"Damage Types"}]},{"@type":"WebSite","@id":"https:\/\/eeldev.com\/#website","url":"https:\/\/eeldev.com\/","name":"eelDev","description":"eelDev.com","publisher":{"@id":"https:\/\/eeldev.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eeldev.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eeldev.com\/#organization","name":"eelDev","url":"https:\/\/eeldev.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/","url":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","contentUrl":"https:\/\/eeldev.com\/wp-content\/uploads\/2022\/12\/logo_new_transparent-4.png","width":2048,"height":682,"caption":"eelDev"},"image":{"@id":"https:\/\/eeldev.com\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/comments?post=5726"}],"version-history":[{"count":3,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5726\/revisions"}],"predecessor-version":[{"id":6675,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5726\/revisions\/6675"}],"up":[{"embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6653"}],"next":[{"title":"Foliage Actor Overrides","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/foliage-actor-overrides\/","href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/6677"}],"prev":[{"title":"Destructible Meshes","link":"https:\/\/eeldev.com\/index.php\/docs\/foliage-plugin\/bonus-examples\/destructible-meshes\/","href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/docs\/5724"}],"wp:attachment":[{"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/media?parent=5726"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/eeldev.com\/index.php\/wp-json\/wp\/v2\/doc_tag?post=5726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}