<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunkfinmer_docs=self.webpackChunkfinmer_docs||[]).push([[881],{3905:(e,t,a)=&gt;{a.d(t,{Zo:()=&gt;m,kt:()=&gt;b});var n=a(7294);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&amp;&amp;(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t&lt;arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){r(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function o(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n&lt;l.length;n++)a=l[n],t.indexOf(a)&gt;=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n&lt;l.length;n++)a=l[n],t.indexOf(a)&gt;=0||Object.prototype.propertyIsEnumerable.call(e,a)&amp;&amp;(r[a]=e[a])}return r}var s=n.createContext({}),p=function(e){var t=n.useContext(s),a=t;return e&amp;&amp;(a="function"==typeof e?e(t):i(i({},t),e)),a},m=function(e){var t=p(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,l=e.originalType,s=e.parentName,m=o(e,["components","mdxType","originalType","parentName"]),u=p(a),c=r,b=u["".concat(s,".").concat(c)]||u[c]||d[c]||l;return a?n.createElement(b,i(i({ref:t},m),{},{components:a})):n.createElement(b,i({ref:t},m))}));function b(e,t){var a=arguments,r=t&amp;&amp;t.mdxType;if("string"==typeof e||r){var l=a.length,i=new Array(l);i[0]=c;var o={};for(var s in t)hasOwnProperty.call(t,s)&amp;&amp;(o[s]=t[s]);o.originalType=e,o[u]="string"==typeof e?e:r,i[1]=o;for(var p=2;p&lt;l;p++)i[p]=a[p];return n.createElement.apply(null,i)}return n.createElement.apply(null,a)}c.displayName="MDXCreateElement"},4562:(e,t,a)=&gt;{a.r(t),a.d(t,{assets:()=&gt;s,contentTitle:()=&gt;i,default:()=&gt;d,frontMatter:()=&gt;l,metadata:()=&gt;o,toc:()=&gt;p});var n=a(7462),r=(a(7294),a(3905));const l={sidebar_position:2},i="Items",o={unversionedId:"asset-types/items",id:"asset-types/items",title:"Items",description:"Items are anything the player or NPCs can equip, use, or carry in an inventory. They are used for story-relevant quest items, combat-influencing equipment, and shop merchandise.",source:"@site/content/asset-types/items.md",sourceDirName:"asset-types",slug:"/asset-types/items",permalink:"/asset-types/items",draft:!1,editUrl:"https://github.com/pileofwolves/finmer/edit/master/Docs/content/asset-types/items.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"mainSidebar",previous:{title:"Scenes",permalink:"/asset-types/scenes"},next:{title:"Creatures",permalink:"/asset-types/creatures"}},s={},p=[{value:"Properties",id:"properties",level:2},{value:"Equipable items",id:"equipable-items",level:2},{value:"Usable items",id:"usable-items",level:2}],m={toc:p},u="wrapper";function d(e){let{components:t,...a}=e;return(0,r.kt)(u,(0,n.Z)({},m,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"items"},"Items"),(0,r.kt)("p",null,"Items are anything the player or NPCs can equip, use, or carry in an inventory. They are used for story-relevant quest items, combat-influencing equipment, and shop merchandise."),(0,r.kt)("h2",{id:"properties"},"Properties"),(0,r.kt)("p",null,"The following properties are available when editing an Item: "),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Property"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Item Name"),(0,r.kt)("td",{parentName:"tr",align:null},"The canonical name of the object, as it appears in the inventory screen and shops.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Alias"),(0,r.kt)("td",{parentName:"tr",align:null},"Alternate name of the object, as it is used in dialogue and combat.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Type"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt)("strong",{parentName:"td"},"Generic:")," Not interactive. Useful for quest items and the like.",(0,r.kt)("br",null),(0,r.kt)("strong",{parentName:"td"},"Equipable:")," Can be placed in an equip slot and may provide equip effects.",(0,r.kt)("br",null),(0,r.kt)("strong",{parentName:"td"},"Usable:")," Can be activated by the player, executing a custom script.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Value"),(0,r.kt)("td",{parentName:"tr",align:null},"Purchase value of the item. When selling, sale price is half the purchase value. Set to zero to forbid selling.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Icon"),(0,r.kt)("td",{parentName:"tr",align:null},"Image representing the item. Must be 32 x 32 pixels, PNG format.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Quest Item"),(0,r.kt)("td",{parentName:"tr",align:null},"If ticked, item cannot be discarded or sold.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Flavor Text"),(0,r.kt)("td",{parentName:"tr",align:null},"Additional lore text shown on item tooltip. Optional, but recommended.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Asset GUID"),(0,r.kt)("td",{parentName:"tr",align:null},"Unique ID number of the asset. For advanced users.")))),(0,r.kt)("h2",{id:"equipable-items"},"Equipable items"),(0,r.kt)("p",null,"When the item's ",(0,r.kt)("strong",{parentName:"p"},"Type")," is set to ",(0,r.kt)("strong",{parentName:"p"},"Equipable"),", the following additional properties are available:"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Property"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Equip Slot"),(0,r.kt)("td",{parentName:"tr",align:null},"Determines in which slot the player must put the item. The player has 1 Weapon slot, 1 Armor slot, and 2 Accessory slots. NPC Creatures do not observe equip slots.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Equip Effects"),(0,r.kt)("td",{parentName:"tr",align:null},"List of effects that will be applied to the Creature while this item is equipped.")))),(0,r.kt)("h2",{id:"usable-items"},"Usable items"),(0,r.kt)("p",null,"When the item's ",(0,r.kt)("strong",{parentName:"p"},"Type")," is set to ",(0,r.kt)("strong",{parentName:"p"},"Usable"),", the following additional properties are available:"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Property"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Item Script"),(0,r.kt)("td",{parentName:"tr",align:null},"The script that is run when the player uses this item.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Use Description"),(0,r.kt)("td",{parentName:"tr",align:null},"Informational text shown in the item tooltip, describing what the item's effects are.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Consumable"),(0,r.kt)("td",{parentName:"tr",align:null},"If ticked, item is removed from player inventory after use.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Allow Use in Field"),(0,r.kt)("td",{parentName:"tr",align:null},"Allow item to be used from the Character Sheet.")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"Allow Use in Battle"),(0,r.kt)("td",{parentName:"tr",align:null},"Allow item to be used in combat.")))))}d.isMDXComponent=!0}}]);</pre></body></html>