Difference between revisions of "NDEquipmentTemplates"
(Created page with "<p style="width:60%;margin: 0 auto">[Main] [Templates]</p> <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Exa...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<p style="width:60%;margin: 0 auto">[[NewDawnHome|[Main]]] [[NDServerIndexTemplateMain|[Templates]]]</p> | <p style="width:60%;margin: 0 auto">[[NewDawnHome|[Main]]] [[NDServerIndexTemplateMain|[Templates]]]</p> | ||
− | <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Example | + | <p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Example Equipment Template</p> |
− | + | <p style="width: 60%;margin: 0 auto">Below is a sample armor template file.</p> | |
− | <p style="width: 60%;margin: 0 auto">Below is a sample | ||
<div style="width:60%;margin: 0 auto"> | <div style="width:60%;margin: 0 auto"> | ||
− | <ObjectTemplate> | + | <ObjectTemplate> |
<Name>[d9d9d9]Bone Helm[-]</Name> | <Name>[d9d9d9]Bone Helm[-]</Name> | ||
<ClientId>813</ClientId> | <ClientId>813</ClientId> |
Latest revision as of 02:17, 5 December 2019
Example Equipment Template
Below is a sample armor template file.
<ObjectTemplate> <Name>[d9d9d9]Bone Helm[-]</Name> <ClientId>813</ClientId> <SharedStateEntry name="Variation" type="string" value="NoHue"/> <SharedStateEntry name="Weight" type="int" value="3"/> <ObjectVariableComponent> <DoubleVariable Name="MaxDurability">40</DoubleVariable> <StringVariable Name="ArmorType">Bone</StringVariable> <DoubleVariable Name="ArmorBonus">1</DoubleVariable> </ObjectVariableComponent> <ScriptEngineComponent> <LuaModule Name="set_initializer_variables"> <Initializer> { Enchants = { { essenceName = "CharredBones", essenceModifier = 5 }, } } </Initializer> </LuaModule> </ScriptEngineComponent> </ObjectTemplate>