Jump to content

Question

5 answers to this question

Recommended Posts

  • 0
Posted

Stuff like arrows do not need their own item type. Simply make them a stackable basic item, so of type none. Item type only refers to unique items with specific interactions. Something basic like arrows that hold no purpose interacting with them on their own should be type none.

  • 1
Posted

Yea just edit the config.xml in the server resources folder.

 

Just new lines:

 

  <Equipment>
    <WeaponSlot>2</WeaponSlot>
    <ShieldSlot>3</ShieldSlot>
    <Slot0>Helmet</Slot0>
    <Slot1>Armor</Slot1>
    <Slot2>Weapon</Slot2>
    <Slot3>Shield</Slot3>
    <Slot4>Boots</Slot4>
    <Slot5>New Item Type</Slot5>
    <Slot5>New Item Type 2</Slot5>

Then you want to do the same for the paperdoll if you are using that. You need to edit it for all the directions.

 

  <Paperdoll>
    <Up>
      <!--Paperdoll is rendered in the following order when facing up. If you want to change when each piece of equipment gets rendered simply swap the equipment names.-->
      <Slot0>Helmet</Slot0>
      <Slot1>Armor</Slot1>
      <Slot2>Weapon</Slot2>
      <Slot3>Shield</Slot3>
      <Slot4>Boots</Slot4>
      <Slot4>New Item</Slot4>
      <Slot4>New Item 2</Slot4>
    </Up>

 

 

  • 0
Posted
5 hours ago, NewWun said:

Will this work if i'm trying to add another item type to the list of types?

Like consumable,spell,ammo? etc etc

 

No, sorry this is only for adding in additional equipment. Adding anything else would most likely require a source edit. Out of curiosity what kind of item type are you trying to add? It might be achievable though an event or something.

×
×
  • Create New...